weston/libweston/renderer-gl
Loïc Yhuel 71616edc4d gl-renderer: use correct read-back format and support WL_SHM_FORMAT_ABGR8888
PIXMAN_a8r8g8b8 / PIXMAN_a8b8g8r8 only matches GL_BGRA_EXT / GL_BGRA on little-endian.
So to have a GL format, we should use DRM_FORMAT_ARGB8888 / DRM_FORMAT_ABGR8888.

Without GL_EXT_read_format_bgra, the read-back format is DRM_FORMAT_ABGR8888.
Then weston-screenshooter fails to create a wl_shm buffer with WL_SHM_FORMAT_ABGR8888,
unless it has been added with wl_display_add_shm_format.

Signed-off-by: Loïc Yhuel <loic.yhuel@softathome.com>
2023-09-15 07:04:02 +00:00
..
egl-glue.c gl-renderer: use pixel_format_info instead of drm fourccs 2023-01-29 14:47:03 +01:00
fragment.glsl gl-renderer: Use highest precision for vertex shaders 2023-02-02 21:46:06 +00:00
gl-renderer-internal.h gl-renderer: Derive texcoords from position in the vertex shader 2023-06-12 11:15:51 +00:00
gl-renderer.c gl-renderer: use correct read-back format and support WL_SHM_FORMAT_ABGR8888 2023-09-15 07:04:02 +00:00
gl-renderer.h gl-renderer: support automatically downloading FBO renderbuffers 2023-06-09 15:37:09 +00:00
gl-shader-config-color-transformation.c gl-renderer: add matrix 2022-09-28 10:28:28 +00:00
gl-shaders.c gl-renderer: Stop reading presentation clock without shaders to time 2023-08-02 11:51:56 +03:00
meson.build gl-renderer: implement 3 x 1D LUT color pre-curve 2021-06-21 14:36:33 +00:00
vertex.glsl gl-renderer: Derive texcoords from position in the vertex shader 2023-06-12 11:15:51 +00:00