[Spice-devel] [PATCH spice-gtk 0/7] Add OpenGL scanout drawing

Marc-André Lureau marcandre.lureau at gmail.com
Mon Jan 4 06:46:17 PST 2016


The following series implements the client-side support for local-only
shared OpenGL scanout rendering.

The implementation doesn't rely on gtkglarea yet since it's quite
recent (3.16 while rhel7 is currently 3.14), and this code was
initially implemented before gtkglarea existed. Furthemore, using
gtkglarea isn't possible without either uncovenient API changes (new
widget) or ABI break (SpiceDisplay widget to inherit from something
more flexible than GtkDrawingArea). Nevertheless I am working on
gtkglarea support, I think it makes still sense to have this egl
approach first, since it has been working for a while (except on
wayland) and is a good step before gtkglarea (bringing hopefully
wayland support).

Marc-André Lureau (7):
  gtk: replace configure-event for size-allocate
  Update spice-common
  build-sys: bump to spice-protocol 0.12.11
  Add spice_channel_unix_read_fd()
  build-sys: check for epoxy-egl support
  glib: add local GL scanout support
  gtk: add spice-widget GL scanout support

 configure.ac                         |  27 +-
 doc/reference/spice-gtk-sections.txt |   1 +
 spice-common                         |   2 +-
 src/Makefile.am                      |   9 +
 src/channel-display.c                | 169 ++++++++++-
 src/channel-display.h                |  19 ++
 src/map-file                         |   4 +
 src/spice-channel-priv.h             |   3 +
 src/spice-channel.c                  |  68 +++++
 src/spice-glib-sym-file              |   4 +
 src/spice-marshal.txt                |   1 +
 src/spice-widget-egl.c               | 530 +++++++++++++++++++++++++++++++++++
 src/spice-widget-priv.h              |  30 ++
 src/spice-widget.c                   | 159 +++++++++--
 14 files changed, 995 insertions(+), 31 deletions(-)
 create mode 100644 src/spice-widget-egl.c

-- 
2.5.0



More information about the Spice-devel mailing list