[Spice-devel] [PATCH spice-gtk 0/5] "Couldn't find current GLX or EGL context" on X11

marcandre.lureau at redhat.com marcandre.lureau at redhat.com
Wed Jun 7 20:55:36 UTC 2017


From: Marc-André Lureau <marcandre.lureau at redhat.com>

Hi,

The following patches fixes the "Couldn't find current GLX or EGL
context" error on X11. I don't know when and why the regression
happened, but there is some GL context create races left in spice-gtk.

I added a few cleanup patches too, hope you don't mind it sent
together.

cheers

Marc-André Lureau (5):
  egl: add a precondition on gl_make_current()
  widget: minor code style improvements
  widget: skip spice_egl_resize_display() if context is not ready
  widget: call gl-draw when skipping draw
  widget: switch 'display' type to DisplayChannel*

 src/spice-widget-egl.c  |  4 +++-
 src/spice-widget-priv.h |  2 +-
 src/spice-widget.c      | 29 +++++++++++++++++++----------
 3 files changed, 23 insertions(+), 12 deletions(-)

-- 
2.13.0.91.g00982b8dd



More information about the Spice-devel mailing list