diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-08-19 16:13:48 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-09-02 16:36:15 -0400 |
commit | 17f872f162f138098900b8e564f0e5e5ec059364 (patch) | |
tree | ec07859b3df0cac968195418c6dbb8c1ad2cd07a | |
parent | a9557b4dd1bd63de0c122d546ec0b13be3f26e53 (diff) |
Add support for Composite command
All the real work is done in spice-common, so this is a pretty simple
change.
Conflicts:
spice-common
-rw-r--r-- | gtk/channel-display.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/channel-display.c b/gtk/channel-display.c index 4ed3bbb..99fe41c 100644 --- a/gtk/channel-display.c +++ b/gtk/channel-display.c @@ -1428,6 +1428,13 @@ static void display_handle_draw_alpha_blend(SpiceChannel *channel, SpiceMsgIn *i } /* coroutine context */ +static void display_handle_draw_composite(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisplayDrawComposite *op = spice_msg_in_parsed(in); + DRAW(composite); +} + +/* coroutine context */ static void display_handle_surface_create(SpiceChannel *channel, SpiceMsgIn *in) { SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; @@ -1569,6 +1576,7 @@ static const spice_msg_handler display_handlers[] = { [ SPICE_MSG_DISPLAY_DRAW_TEXT ] = display_handle_draw_text, [ SPICE_MSG_DISPLAY_DRAW_TRANSPARENT ] = display_handle_draw_transparent, [ SPICE_MSG_DISPLAY_DRAW_ALPHA_BLEND ] = display_handle_draw_alpha_blend, + [ SPICE_MSG_DISPLAY_DRAW_COMPOSITE ] = display_handle_draw_composite, [ SPICE_MSG_DISPLAY_SURFACE_CREATE ] = display_handle_surface_create, [ SPICE_MSG_DISPLAY_SURFACE_DESTROY ] = display_handle_surface_destroy, |