[PATCH weston 0/2] Allow falling back to ARGB visuals

Derek Foreman derekf at osg.samsung.com
Mon May 11 12:19:01 PDT 2015


Supersedes:
[PATCH weston v2] gl-renderer: if an XRGB format is requested but unavailable, try ARGB

This lets back-ends specify multiple acceptable visual ids.  The drm
compositor uses this to fall back to ARGB visuals if XRGB isn't
present.

Derek Foreman (2):
  gl-renderer: Take a list of acceptable formats in create functions
  compositor-drm: pass ARGB fallback to gl create functions for XRGB
    formats

 src/compositor-drm.c     | 53 +++++++++++++++++++++++++++------
 src/compositor-fbdev.c   |  4 +--
 src/compositor-wayland.c | 12 ++++----
 src/compositor-x11.c     |  5 ++--
 src/gl-renderer.c        | 76 +++++++++++++++++++++++++++++++++---------------
 src/gl-renderer.h        |  6 ++--
 6 files changed, 112 insertions(+), 44 deletions(-)

-- 
2.1.4



More information about the wayland-devel mailing list