[Mesa-dev] Mesa doesn't expose any sRGB visuals

Marek Olšák maraeo at gmail.com
Tue Jun 9 17:57:30 PDT 2015


OK. I will have to expose them for EGL_KHR_gl_colorspace / EGL 1.5.

The side effect is that GLX will also start to expose them.

Marek

On Wed, Jun 10, 2015 at 2:10 AM, Dave Airlie <airlied at gmail.com> wrote:
> On 10 June 2015 at 07:45, Marek Olšák <maraeo at gmail.com> wrote:
>> Hi,
>>
>> The spec doesn't specify any behavior for
>> GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB other than it being accepted by a few
>> functions, so it's questionable whether we should do anything for it,
>> but all drivers currently only support FALSE.
>>
>> All the infrastructure is there. Drivers only have to add a mesa sRGB
>> format into the list of supported window formats.
>>
>> Is the lack of support of sRGB visuals intentional?
>
> No I think it was just I wrote some code way back, and then I think
> stalled on some X server
> side changes for it, then never got back to it.
>
> Dave.


More information about the mesa-dev mailing list