Re: [Mesa-dev] Adding support for sRGB KHR images to EGL

2012-10-08 Thread John Kåre Alsaker
So I wrote a proper proposal. It differs slightly from my implementation (EGL_DEFAULT_MESA is added), so I'll have to revise that. Could someone point me in the correct direction to get enums allocated from Khronos? Name MESA_image_sRGB Name Strings EGL_MESA_image_sRGB Contact Joh

Re: [Mesa-dev] Adding support for sRGB KHR images to EGL

2012-10-05 Thread John Kåre Alsaker
On Fri, Oct 5, 2012 at 12:41 AM, Eric Anholt wrote: > John Kåre Alsaker writes: > >> I would like add support for sRGB KHR images to EGL. This is primarily >> so Wayland compositors can create sRGB views of client buffers, but >> there's nothing preventing it from being useful in other cases. >>

Re: [Mesa-dev] Adding support for sRGB KHR images to EGL

2012-10-04 Thread Eric Anholt
John Kåre Alsaker writes: > I would like add support for sRGB KHR images to EGL. This is primarily > so Wayland compositors can create sRGB views of client buffers, but > there's nothing preventing it from being useful in other cases. > > To allow this I propose a new EGL attribute which can be p

[Mesa-dev] Adding support for sRGB KHR images to EGL

2012-09-29 Thread John Kåre Alsaker
I would like add support for sRGB KHR images to EGL. This is primarily so Wayland compositors can create sRGB views of client buffers, but there's nothing preventing it from being useful in other cases. To allow this I propose a new EGL attribute which can be passed to eglCreateImageKHR, EGL_GAMMA