[Mesa-dev] [PATCH 1/3] mesa: add xbgr support adjacent to xrgb

Daniel Stone daniel at fooishbar.org
Mon Feb 5 11:24:51 UTC 2018


Hi Ilia,

On 4 February 2018 at 19:09, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> One might have split this up into multiple patches, but it's just very
> repetitive and similar code.

You probably want to add this into gbm_to_dri_image_formats[] inside
src/gbm/backends/dri/gbm_dri.c, so Wayland compositors running on KMS
and xf86-video-modesetting can also use these modes.

Grepping for XRGB210 inside src/egl/drivers/dri2/platform_wayland.c
would also show the fairly obvious points to add it there.

Cheers,
Daniel


More information about the mesa-dev mailing list