[PATCH 2/3] gl-renderer: read PIXMAN_x8r8g8b8 as GL_BGRA_EXT
Olivier Blin
olivier.blin at softathome.com
Thu Jul 6 10:06:14 UTC 2017
This is needed by the RDP backend, which uses PIXMAN_x8r8g8b8 for its
shadow buffers.
---
libweston/gl-renderer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libweston/gl-renderer.c b/libweston/gl-renderer.c
index da29b072..b8b120a1 100644
--- a/libweston/gl-renderer.c
+++ b/libweston/gl-renderer.c
@@ -1213,6 +1213,7 @@ gl_renderer_read_pixels(struct weston_output *output,
switch (format) {
case PIXMAN_a8r8g8b8:
+ case PIXMAN_x8r8g8b8:
gl_format = GL_BGRA_EXT;
break;
case PIXMAN_a8b8g8r8:
--
2.13.0
More information about the wayland-devel
mailing list