summaryrefslogtreecommitdiffstats
path: root/src/glx/glxextensions.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-03-06 19:54:37 +1000
committerDave Airlie <airlied@redhat.com>2011-03-06 19:56:22 +1000
commitb09b3e5c8f4f5d71b986bf359b56e7b60424538d (patch)
treed2ec849880e1d1b0418b06d10060d5f903457051 /src/glx/glxextensions.c
parent7cb17862c6a5690fbe88508cbb772ba92373292f (diff)
downloadexternal_mesa3d-b09b3e5c8f4f5d71b986bf359b56e7b60424538d.zip
external_mesa3d-b09b3e5c8f4f5d71b986bf359b56e7b60424538d.tar.gz
external_mesa3d-b09b3e5c8f4f5d71b986bf359b56e7b60424538d.tar.bz2
glx: add initial GLX_EXT_framebuffer_sRGB support.
this doesn't bind to drivers yet, just enough to in theory make indirect work against other servers. I'm really not sure what the rules for adding extensions to the known_gl_extensions list as it looks to be missing a few. are these GL extensions that have GLX protocol?? Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/glx/glxextensions.c')
-rw-r--r--src/glx/glxextensions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c
index ffd4664..d6eb408 100644
--- a/src/glx/glxextensions.c
+++ b/src/glx/glxextensions.c
@@ -83,6 +83,7 @@ static const struct extension_info known_glx_extensions[] = {
{ GLX(EXT_visual_info), VER(0,0), Y, Y, N, N },
#endif
{ GLX(EXT_visual_rating), VER(0,0), Y, Y, N, N },
+ { GLX(EXT_framebuffer_sRGB), VER(0,0), Y, Y, N, N },
#ifdef GLX_USE_APPLEGL
{ GLX(MESA_agp_offset), VER(0,0), N, N, N, N }, /* Deprecated */
{ GLX(MESA_copy_sub_buffer), VER(0,0), N, N, N, N },
@@ -190,6 +191,7 @@ static const struct extension_info known_gl_extensions[] = {
{ GL(EXT_framebuffer_blit), VER(0,0), Y, N, N, N },
{ GL(EXT_framebuffer_multisample), VER(0,0), Y, N, N, N },
{ GL(EXT_framebuffer_object), VER(0,0), Y, N, N, N },
+ { GL(EXT_framebuffer_sRGB), VER(0,0), Y, N, N, N },
{ GL(EXT_multi_draw_arrays), VER(1,4), Y, N, Y, N },
{ GL(EXT_packed_depth_stencil), VER(0,0), Y, N, N, N },
{ GL(EXT_packed_pixels), VER(1,2), Y, N, N, N },