[RFC v3 0/3] xwayland: Add support for eglstreams

Lyude Paul lyude at redhat.com
Fri Feb 9 21:41:07 UTC 2018


Some changes since the last version:
 - Get rid of some unecessary context switches
 - Remove EGLSurface from current context on deletion with
   eglMakeCurrent() since an EGLSurface can stay around after deletion
   for as long as it's current
 - Use EGL_CONTEXT_PRIORITY_LEVEL_IMG to set our rendering priority to
   high, speeds things up a tiny bit more.

Lyude Paul (3):
  xwayland: Decouple GBM from glamor
  xwayland: Add xwayland-config.h
  xwayland: Add glamor egl_backend for EGLStreams

 configure.ac                            |  31 ++
 hw/xwayland/Makefile.am                 |  26 +-
 hw/xwayland/meson.build                 |  18 +-
 hw/xwayland/xwayland-glamor-eglstream.c | 824 ++++++++++++++++++++++++++++++++
 hw/xwayland/xwayland-glamor-gbm.c       | 628 ++++++++++++++++++++++++
 hw/xwayland/xwayland-glamor.c           | 577 +++++-----------------
 hw/xwayland/xwayland.c                  |  57 ++-
 hw/xwayland/xwayland.h                  |  95 +++-
 include/meson.build                     |  10 +-
 include/xwayland-config.h.in            |  13 +
 include/xwayland-config.h.meson.in      |  11 +
 meson.build                             |  15 +
 meson_options.txt                       |   2 +
 13 files changed, 1816 insertions(+), 491 deletions(-)
 create mode 100644 hw/xwayland/xwayland-glamor-eglstream.c
 create mode 100644 hw/xwayland/xwayland-glamor-gbm.c
 create mode 100644 include/xwayland-config.h.in
 create mode 100644 include/xwayland-config.h.meson.in

-- 
2.14.3



More information about the xorg-devel mailing list