summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/client_marshallers.h1
-rw-r--r--common/messages.h13
-rw-r--r--spice.proto13
3 files changed, 27 insertions, 0 deletions
diff --git a/common/client_marshallers.h b/common/client_marshallers.h
index 85051a0..d9e7e70 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 a8a0eee..8fbb567 100644
--- a/common/messages.h
+++ b/common/messages.h
@@ -630,6 +630,19 @@ typedef struct SpiceMsgcPortEvent {
uint8_t event;
} SpiceMsgcPortEvent;
+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 */
diff --git a/spice.proto b/spice.proto
index 67b3803..6f49648 100644
--- a/spice.proto
+++ b/spice.proto
@@ -901,6 +901,15 @@ channel DisplayChannel : BaseChannel {
uint32 timeout_ms;
} stream_activate_report;
+ message {
+ uint32 name_size;
+ uint8 *name[name_size] @zero_terminated @marshall @nonnull;
+ } egl_socket_path;
+
+ message {
+ uint32 egl_heads_mask;
+ } egl_state;
+
client:
message {
uint8 pixmap_cache_id;
@@ -919,6 +928,10 @@ channel DisplayChannel : BaseChannel {
int32 last_frame_delay;
uint32 audio_delay;
} stream_report;
+
+ message {
+ uint32 egl_heads_mask;
+ } egl_state_ack;
};
flags16 keyboard_modifier_flags {