From eb83079b35ec0a72e4c913c2c6a6f5a92a12bb9f Mon Sep 17 00:00:00 2001 From: Tomasz Lis Date: Wed, 17 Jul 2013 13:49:23 +0200 Subject: [PATCH] glx: Enable floating-point fbconfig extensions Signed-off-by: Tomasz Lis Reviewed-by: Ian Romanick --- src/glx/glxextensions.c | 2 ++ src/glx/glxextensions.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c index caa6d9939db..7b00a9e338d 100644 --- a/src/glx/glxextensions.c +++ b/src/glx/glxextensions.c @@ -74,6 +74,7 @@ static const struct extension_info known_glx_extensions[] = { { GLX(ARB_create_context), VER(0,0), Y, N, N, N }, { GLX(ARB_create_context_profile), VER(0,0), Y, N, N, N }, { GLX(ARB_create_context_robustness), VER(0,0), Y, N, N, N }, + { GLX(ARB_fbconfig_float), VER(0,0), Y, Y, N, N }, { GLX(ARB_framebuffer_sRGB), VER(0,0), Y, Y, N, N }, { GLX(ARB_get_proc_address), VER(1,4), Y, N, Y, N }, { GLX(ARB_multisample), VER(1,4), Y, Y, N, N }, @@ -81,6 +82,7 @@ static const struct extension_info known_glx_extensions[] = { { GLX(EXT_import_context), VER(0,0), Y, Y, N, N }, { GLX(EXT_visual_info), VER(0,0), Y, Y, N, N }, { GLX(EXT_visual_rating), VER(0,0), Y, Y, N, N }, + { GLX(EXT_fbconfig_packed_float), VER(0,0), Y, Y, N, N }, { GLX(EXT_framebuffer_sRGB), VER(0,0), Y, Y, N, N }, { GLX(EXT_create_context_es2_profile), VER(0,0), Y, N, N, Y }, { GLX(MESA_copy_sub_buffer), VER(0,0), Y, N, N, N }, diff --git a/src/glx/glxextensions.h b/src/glx/glxextensions.h index 3c5d407b807..0ca50a6d7e4 100644 --- a/src/glx/glxextensions.h +++ b/src/glx/glxextensions.h @@ -36,6 +36,7 @@ enum ARB_create_context_bit = 0, ARB_create_context_profile_bit, ARB_create_context_robustness_bit, + ARB_fbconfig_float_bit, ARB_get_proc_address_bit, ARB_multisample_bit, ATI_pixel_format_float_bit, @@ -43,6 +44,7 @@ enum EXT_visual_rating_bit, EXT_import_context_bit, EXT_framebuffer_sRGB_bit, + EXT_fbconfig_packed_float_bit, EXT_create_context_es2_profile_bit, MESA_copy_sub_buffer_bit, MESA_depth_float_bit, -- 2.30.2