<div dir="ltr">I forgot about the YNYN to YYNN change in this patch - sorry for that, will re-submit in ~9 hours.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/16 Tomasz Lis <span dir="ltr"><<a href="mailto:listom@gmail.com" target="_blank">listom@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Tomasz Lis <<a href="mailto:tomasz.lis@intel.com">tomasz.lis@intel.com</a>><br>
<br>
glx: Float configs extension strings.<br>
<br>
The patch defines fbconfig_float in tables of extensions and enables<br>
reporting the extension availability.<br>
<br>
Signed-off-by: Tomasz Lis <<a href="mailto:listom@gmail.com">listom@gmail.com</a>><br>
---<br>
src/glx/glxextensions.c | 2 ++<br>
src/glx/glxextensions.h | 6 +++++-<br>
2 files changed, 7 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c<br>
index caa6d99..b6f6af7 100644<br>
--- a/src/glx/glxextensions.c<br>
+++ b/src/glx/glxextensions.c<br>
@@ -74,6 +74,7 @@ static const struct extension_info known_glx_extensions[] = {<br>
{ GLX(ARB_create_context), VER(0,0), Y, N, N, N },<br>
{ GLX(ARB_create_context_profile), VER(0,0), Y, N, N, N },<br>
{ GLX(ARB_create_context_robustness), VER(0,0), Y, N, N, N },<br>
+ { GLX(ARB_fbconfig_float), VER(0,0), Y, N, Y, N },<br>
{ GLX(ARB_framebuffer_sRGB), VER(0,0), Y, Y, N, N },<br>
{ GLX(ARB_get_proc_address), VER(1,4), Y, N, Y, N },<br>
{ GLX(ARB_multisample), VER(1,4), Y, Y, N, N },<br>
@@ -81,6 +82,7 @@ static const struct extension_info known_glx_extensions[] = {<br>
{ GLX(EXT_import_context), VER(0,0), Y, Y, N, N },<br>
{ GLX(EXT_visual_info), VER(0,0), Y, Y, N, N },<br>
{ GLX(EXT_visual_rating), VER(0,0), Y, Y, N, N },<br>
+ { GLX(EXT_fbconfig_packed_float), VER(0,0), Y, N, Y, N },<br>
{ GLX(EXT_framebuffer_sRGB), VER(0,0), Y, Y, N, N },<br>
{ GLX(EXT_create_context_es2_profile), VER(0,0), Y, N, N, Y },<br>
{ GLX(MESA_copy_sub_buffer), VER(0,0), Y, N, N, N },<br>
diff --git a/src/glx/glxextensions.h b/src/glx/glxextensions.h<br>
index 3c5d407..7d2bf96 100644<br>
--- a/src/glx/glxextensions.h<br>
+++ b/src/glx/glxextensions.h<br>
@@ -36,6 +36,7 @@ enum<br>
ARB_create_context_bit = 0,<br>
ARB_create_context_profile_bit,<br>
ARB_create_context_robustness_bit,<br>
+ ARB_fbconfig_float_bit,<br>
ARB_get_proc_address_bit,<br>
ARB_multisample_bit,<br>
ATI_pixel_format_float_bit,<br>
@@ -43,6 +44,7 @@ enum<br>
EXT_visual_rating_bit,<br>
EXT_import_context_bit,<br>
EXT_framebuffer_sRGB_bit,<br>
+ EXT_fbconfig_packed_float_bit,<br>
EXT_create_context_es2_profile_bit,<br>
MESA_copy_sub_buffer_bit,<br>
MESA_depth_float_bit,<br>
@@ -72,7 +74,8 @@ enum<br>
<br>
enum<br>
{<br>
- GL_ARB_depth_texture_bit = 0,<br>
+ GL_ARB_color_buffer_float_bit = 0,<br>
+ GL_ARB_depth_texture_bit,<br>
GL_ARB_draw_buffers_bit,<br>
GL_ARB_fragment_program_bit,<br>
GL_ARB_fragment_program_shadow_bit,<br>
@@ -122,6 +125,7 @@ enum<br>
GL_EXT_framebuffer_sRGB_bit,<br>
GL_EXT_multi_draw_arrays_bit,<br>
GL_EXT_packed_depth_stencil_bit,<br>
+ GL_EXT_packed_float_bit,<br>
GL_EXT_packed_pixels_bit,<br>
GL_EXT_paletted_texture_bit,<br>
GL_EXT_pixel_buffer_object_bit,<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.7.9.5<br>
<br>
</font></span></blockquote></div><br></div>