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 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel