[PATCH spice-common 2/2] Add GL scanout channel structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



See related protocol changes.

Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxx>
---
 common/messages.h | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/common/messages.h b/common/messages.h
index 5f5de54..2a5fabb 100644
--- a/common/messages.h
+++ b/common/messages.h
@@ -634,6 +634,22 @@ typedef struct SpiceMsgcDisplayPreferredCompression {
     uint8_t image_compression;
 } SpiceMsgcDisplayPreferredCompression;
 
+typedef struct SpiceMsgDisplayGlScanoutUnix {
+    int fd;
+    uint32_t width;
+    uint32_t height;
+    uint32_t stride;
+    uint32_t format;
+    uint8_t flags;
+} SpiceMsgDisplayGlScanoutUnix;
+
+typedef struct SpiceMsgDisplayGlScanoutUpdate {
+    uint32_t x;
+    uint32_t y;
+    uint32_t w;
+    uint32_t h;
+} SpiceMsgDisplayGlScanoutUpdate;
+
 SPICE_END_DECLS
 
 #endif /* _H_SPICE_PROTOCOL */
-- 
2.5.0

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]