summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-03-10 12:21:07 +1000
committerPavel Grunt <pgrunt@redhat.com>2015-08-26 11:24:54 +0200
commit3510eeafd97dd71127dcd1245ee6466eb770414f (patch)
tree3dc52bc803ddb68192cb3f7501119ebec7aecda8
parent449c5da90f6ab65a49139eb6c70be6004eb4ee31 (diff)
spice-common: start adding egl protocolvirgil
-rw-r--r--common/client_marshallers.h1
-rw-r--r--common/messages.h13
2 files changed, 14 insertions, 0 deletions
diff --git a/common/client_marshallers.h b/common/client_marshallers.h
index 522f620..42aba1e 100644
--- a/common/client_marshallers.h
+++ b/common/client_marshallers.h
@@ -45,6 +45,7 @@ typedef struct {
void (*msgc_main_migrate_dst_do_seamless)(SpiceMarshaller *m, SpiceMsgcMainMigrateDstDoSeamless *msg);
void (*msgc_display_init)(SpiceMarshaller *m, SpiceMsgcDisplayInit *msg);
void (*msgc_display_stream_report)(SpiceMarshaller *m, SpiceMsgcDisplayStreamReport *msg);
+ void (*msgc_display_egl_state_ack)(SpiceMarshaller *m, SpiceMsgcDisplayEglStateAck *msg);
void (*msgc_inputs_key_down)(SpiceMarshaller *m, SpiceMsgcKeyDown *msg);
void (*msgc_inputs_key_up)(SpiceMarshaller *m, SpiceMsgcKeyUp *msg);
void (*msgc_inputs_key_modifiers)(SpiceMarshaller *m, SpiceMsgcKeyModifiers *msg);
diff --git a/common/messages.h b/common/messages.h
index 5f5de54..98fd61c 100644
--- a/common/messages.h
+++ b/common/messages.h
@@ -634,6 +634,19 @@ typedef struct SpiceMsgcDisplayPreferredCompression {
uint8_t image_compression;
} SpiceMsgcDisplayPreferredCompression;
+typedef struct SpiceMsgDisplayEglSocketPath {
+ uint32_t name_size;
+ uint8_t *name;
+} SpiceMsgDisplayEglSocketPath;
+
+typedef struct SpiceMsgDisplayEglState {
+ uint32_t egl_heads_mask;
+} SpiceMsgDisplayEglState;
+
+typedef struct SpiceMsgcDisplayEglStateAck {
+ uint32_t egl_heads_mask;
+} SpiceMsgcDisplayEglStateAck;
+
SPICE_END_DECLS
#endif /* _H_SPICE_PROTOCOL */