Re: [Mesa-dev] more EXT_framebuffer_sRGB, 965 support

2011-01-31 Thread Brian Paul
On 01/27/2011 09:34 PM, Dave Airlie wrote: Okay looking for some review/comments, esp on the addition to the ctx->Const structure to denote if sRGB on FBOs is possible. Since just enabling the extension doesn't mean anything, we should probably enable it on anything that enables EXT_texture_sRGB

Re: [Mesa-dev] more EXT_framebuffer_sRGB, 965 support

2011-01-30 Thread Marek Olšák
If we enable it everywhere, this will break: http://cgit.freedesktop.org/mesa/mesa/commit/?id=81ae8c6313adbe7681a73636dee4d5d34334d4d7 We need drivers to return GL_LINEAR if it's unsupported and we'd need another way to check for support. Marek On Sun, Jan 30, 2011 at 8:28 AM, Eric Anholt wrot

Re: [Mesa-dev] more EXT_framebuffer_sRGB, 965 support

2011-01-29 Thread Eric Anholt
On Fri, 28 Jan 2011 14:34:19 +1000, Dave Airlie wrote: > Okay looking for some review/comments, esp on the addition to the > ctx->Const structure to denote if sRGB on FBOs is possible. > > Since just enabling the extension doesn't mean anything, we should > probably enable it on anything that ena

[Mesa-dev] more EXT_framebuffer_sRGB, 965 support

2011-01-27 Thread Dave Airlie
Okay looking for some review/comments, esp on the addition to the ctx->Const structure to denote if sRGB on FBOs is possible. Since just enabling the extension doesn't mean anything, we should probably enable it on anything that enables EXT_texture_sRGB. Dave. 0001-mesa-965-add-support-for-GL_E