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

Ilia Mirkin imirkin at alum.mit.edu
Mon Feb 5 11:42:14 UTC 2018


On Mon, Feb 5, 2018 at 6:24 AM, Daniel Stone <daniel at fooishbar.org> wrote:
> 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.

I thought I covered all the places where this was done, but obviously
not. Perhaps in my euphoria of getting glxgears displaying the correct
colors I decided I was done.

I'll do another passthrough, and definitely hit that file explicitly.

Thanks!

  -ilia


More information about the mesa-dev mailing list