[Mesa-dev] [PATCH 9/9] Float fbconfigs frontend patch [2/2] Float configs extension strings.
Tomasz Lis
listom at gmail.com
Tue Jul 16 16:13:28 PDT 2013
I forgot about the YNYN to YYNN change in this patch - sorry for that, will
re-submit in ~9 hours.
2013/7/16 Tomasz Lis <listom at gmail.com>
> From: Tomasz Lis <tomasz.lis at intel.com>
>
> glx: Float configs extension strings.
>
> The patch defines fbconfig_float in tables of extensions and enables
> reporting the extension availability.
>
> Signed-off-by: Tomasz Lis <listom at gmail.com>
> ---
> src/glx/glxextensions.c | 2 ++
> src/glx/glxextensions.h | 6 +++++-
> 2 files changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c
> index caa6d99..b6f6af7 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, N, Y, 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, N, Y, 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 3c5d407..7d2bf96 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,
> @@ -72,7 +74,8 @@ enum
>
> enum
> {
> - GL_ARB_depth_texture_bit = 0,
> + GL_ARB_color_buffer_float_bit = 0,
> + GL_ARB_depth_texture_bit,
> GL_ARB_draw_buffers_bit,
> GL_ARB_fragment_program_bit,
> GL_ARB_fragment_program_shadow_bit,
> @@ -122,6 +125,7 @@ enum
> GL_EXT_framebuffer_sRGB_bit,
> GL_EXT_multi_draw_arrays_bit,
> GL_EXT_packed_depth_stencil_bit,
> + GL_EXT_packed_float_bit,
> GL_EXT_packed_pixels_bit,
> GL_EXT_paletted_texture_bit,
> GL_EXT_pixel_buffer_object_bit,
> --
> 1.7.9.5
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130717/8a2d800c/attachment.html>
More information about the mesa-dev
mailing list