[Mesa-dev] [PATCH 1/4] st/dri: expose sRGB visuals (v2)

Emil Velikov emil.l.velikov at gmail.com
Thu Jul 16 08:18:42 PDT 2015

On 16/07/15 15:31, Marek Olšák wrote:
> I'm not familiar with DRI3, but it looks like sRGB visuals should work
> with DRI3 too.
> Now that I think about it, I can drop the change in
> dri2_drawable_get_buffers, because it's not needed with the change in
> dri_drawable_get_format.
In theory one might want to update the image_format passed to the loader
(image.loader->getBuffers()) although it seems like we don't need to.

So yes, both __DRI_SWRAST and __DRI_IMAGE should just work. Wrt swrast,
perhaps we can follow up on patch 2, for the drm, wayland and x11
platforms (android doesn't have swrast support yet). If you want I can
go that.


More information about the mesa-dev mailing list