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

2015-06-09 Thread Marek Olšák
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 wrote: > On 10 June 2015 at 07:45, Marek Olšák wrote: >> Hi, >> >> The spec doesn't specify any behavior for >> GLX

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

2015-06-09 Thread Dave Airlie
On 10 June 2015 at 07:45, Marek Olšák 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

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

2015-06-09 Thread Marek Olšák
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