[PATCH 2/3] gl-renderer: read PIXMAN_x8r8g8b8 as GL_BGRA_EXT
Hardening
rdp.effort at gmail.com
Tue Apr 3 15:22:21 UTC 2018
Le 06/07/2017 à 12:06, Olivier Blin a écrit :
> 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:
>
Reviewed-by: David Fort <contact at hardening-consulting.com>
--
David FORT
website: http://www.hardening-consulting.com/
More information about the wayland-devel
mailing list