Commit 5458935b authored by Luca Barbieri's avatar Luca Barbieri

mesa: expose GL_ARB_color_buffer_float

TODO: what about display lists?
parent aef5c3c6
<?xml version="1.0"?>
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
<!-- Note: no GLX protocol info yet. -->
<OpenGLAPI>
<category name="GL_ARB_color_buffer_float" number="39">
<enum name="RGBA_FLOAT_MODE_ARB" value="0x8820"/>
<enum name="CLAMP_VERTEX_COLOR_ARB" value="0x891A"/>
<enum name="CLAMP_FRAGMENT_COLOR_ARB" value="0x891B"/>
<enum name="CLAMP_READ_COLOR_ARB" value="0x891C"/>
<enum name="FIXED_ONLY_ARB" value="0x891D"/>
<function name="ClampColorARB" offset="assign">
<param name="target" type="GLenum"/>
<param name="clamp" type="GLenum"/>
<glx rop="234"/>
</function>
</category>
</OpenGLAPI>
......@@ -71,6 +71,7 @@ XORG_OUTPUTS = \
API_XML = \
gl_API.xml \
ARB_color_buffer_float.xml \
ARB_copy_buffer.xml \
ARB_depth_clamp.xml \
ARB_draw_elements_base_vertex.xml \
......
......@@ -7973,6 +7973,7 @@
<xi:include href="ARB_geometry_shader4.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="ARB_color_buffer_float.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<!-- Non-ARB extensions sorted by extension number. -->
......
......@@ -738,6 +738,7 @@ _mesa_create_exec_table(void)
SET_FramebufferTextureFaceARB(exec, _mesa_FramebufferTextureFaceARB);
#endif
SET_ClampColorARB(exec, _mesa_ClampColorARB);
return exec;
}
......
......@@ -45,6 +45,7 @@ static const struct {
int flag_offset;
} default_extensions[] = {
{ OFF, "GL_ARB_blend_func_extended", F(ARB_blend_func_extended) },
{ OFF, "GL_ARB_color_buffer_float", F(ARB_color_buffer_float) },
{ OFF, "GL_ARB_copy_buffer", F(ARB_copy_buffer) },
{ OFF, "GL_ARB_depth_buffer_float", F(ARB_depth_buffer_float) },
{ OFF, "GL_ARB_depth_clamp", F(ARB_depth_clamp) },
......
......@@ -2630,6 +2630,7 @@ struct gl_extensions
{
GLboolean dummy; /* don't remove this! */
GLboolean ARB_blend_func_extended;
GLboolean ARB_color_buffer_float;
GLboolean ARB_copy_buffer;
GLboolean ARB_depth_buffer_float;
GLboolean ARB_depth_clamp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment