[Spice-devel] [PATCH v2 00/10] Drop gtk2, use GtkGlArea if possible

Marc-André Lureau marcandre.lureau at gmail.com
Fri Mar 11 20:50:31 UTC 2016


Using GtkGlArea is the proper way of doing opengl with gtk+ and solves
virgl-client on wayland. Unfortunately, it requires spice-gtk to break ABI or
API since the widget is a child of GtkDrawingArea and this is part of the ABI.
We may want to introduce a new widget (new API), but then each and every
application will need to handle the change. It seems better to avoid that by
keeping the API but breaking our ABI. While at it, clean up a bunch of
deprecated API and hide some ABI details away.

v1->v2 after Fabiano reivew:
- rebased after 0.31 release
- split gtk session patch
- remove now useless shmid field in display_surface
- fix year comment

Marc-André Lureau (10):
  build-sys: bump spice-gtk current version info
  gtk: make SpiceDisplay private
  gtk: move gtk session
  gtk: move SpiceUsbDeviceWidget
  gtk: move SpiceGrabSequence
  Drop GTK+ 2.0
  gtk: drop deprecated stuff from spice-gtk
  gtk: require gtk+ 3.16
  gtk: use GtkStack
  gtk: add GtkGLArea

 Makefile.am                   |   2 +-
 configure.ac                  | 149 +---------------------
 doc/reference/Makefile.am     |   2 +-
 spice-client-gtk-2.0.pc.in    |  12 --
 src/Makefile.am               |  85 +------------
 src/channel-display-priv.h    |   1 -
 src/channel-display.c         |  41 +------
 src/gtk-compat.h              |  24 ----
 src/spice-grabsequence-priv.h |  28 +++++
 src/spice-grabsequence.c      |   1 +
 src/spice-grabsequence.h      |  13 --
 src/spice-gtk-session-priv.h  |  13 ++
 src/spice-gtk-session.h       |  33 -----
 src/spice-widget-cairo.c      |  20 ---
 src/spice-widget-egl.c        |   9 ++
 src/spice-widget-priv.h       |  40 +++---
 src/spice-widget-x11.c        | 280 ------------------------------------------
 src/spice-widget.c            | 256 +++++++++++++++++---------------------
 src/spice-widget.h            |  42 -------
 src/usb-device-widget.c       |  16 +++
 src/usb-device-widget.h       |  36 ------
 vapi/Makefile.am              |  11 +-
 22 files changed, 216 insertions(+), 898 deletions(-)
 delete mode 100644 spice-client-gtk-2.0.pc.in
 create mode 100644 src/spice-grabsequence-priv.h
 delete mode 100644 src/spice-widget-x11.c

-- 
2.5.0



More information about the Spice-devel mailing list