diff options
author | Brian Paul <[email protected]> | 2011-04-10 12:41:39 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-04-10 13:12:49 -0600 |
commit | d40ec9a884757b065410ecfa8dadff2079b27afc (patch) | |
tree | f84ce0e8eacb4f507fb243d58bb623db0971d408 /src/mapi | |
parent | a26121f37530619610a78a5fbe5ef87e44047fda (diff) |
glapi: interface for GL_ARB_sampler_objects
Diffstat (limited to 'src/mapi')
-rw-r--r-- | src/mapi/glapi/gen/ARB_sampler_objects.xml | 96 | ||||
-rw-r--r-- | src/mapi/glapi/gen/Makefile | 1 | ||||
-rw-r--r-- | src/mapi/glapi/gen/gl_API.xml | 2 |
3 files changed, 99 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/ARB_sampler_objects.xml b/src/mapi/glapi/gen/ARB_sampler_objects.xml new file mode 100644 index 00000000000..0d39db4d33f --- /dev/null +++ b/src/mapi/glapi/gen/ARB_sampler_objects.xml @@ -0,0 +1,96 @@ +<?xml version="1.0"?> +<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd"> + +<!-- Note: no GLX protocol info yet. --> + +<OpenGLAPI> + +<category name="GL_ARB_sampler_objects" number="81"> + + <function name="GenSamplers" offset="assign"> + <param name="count" type="GLsizei"/> + <param name="samplers" type="GLuint *"/> + </function> + + <function name="DeleteSamplers" offset="assign"> + <param name="count" type="GLsizei"/> + <param name="samplers" type="const GLuint *"/> + </function> + + <function name="IsSampler" offset="assign"> + <param name="sampler" type="GLuint"/> + <return type="GLboolean"/> + </function> + + <function name="BindSampler" offset="assign"> + <param name="unit" type="GLuint"/> + <param name="sampler" type="GLuint"/> + </function> + + <function name="SamplerParameteri" offset="assign"> + <param name="sampler" type="GLuint"/> + <param name="pname" type="GLenum"/> + <param name="param" type="GLint"/> + </function> + + <function name="SamplerParameterf" offset="assign"> + <param name="sampler" type="GLuint"/> + <param name="pname" type="GLenum"/> + <param name="param" type="GLfloat"/> + </function> + + <function name="SamplerParameteriv" offset="assign"> + <param name="sampler" type="GLuint"/> + <param name="pname" type="GLenum"/> + <param name="params" type="const GLint *"/> + </function> + + <function name="SamplerParameterfv" offset="assign"> + <param name="sampler" type="GLuint"/> + <param name="pname" type="GLenum"/> + <param name="params" type="const GLfloat *"/> + </function> + + <function name="SamplerParameterIiv" offset="assign"> + <param name="sampler" type="GLuint"/> + <param name="pname" type="GLenum"/> + <param name="params" type="const GLint *"/> + </function> + + <function name="SamplerParameterIuiv" offset="assign"> + <param name="sampler" type="GLuint"/> + <param name="pname" type="GLenum"/> + <param name="params" type="const GLuint *"/> + </function> + + <function name="GetSamplerParameteriv" offset="assign"> + <param name="sampler" type="GLuint"/> + <param name="pname" type="GLenum"/> + <param name="params" type="GLint *"/> + </function> + + <function name="GetSamplerParameterfv" offset="assign"> + <param name="sampler" type="GLuint"/> + <param name="pname" type="GLenum"/> + <param name="params" type="GLfloat *"/> + </function> + + <function name="GetSamplerParameterIiv" offset="assign"> + <param name="sampler" type="GLuint"/> + <param name="pname" type="GLenum"/> + <param name="params" type="GLint *"/> + </function> + + <function name="GetSamplerParameterIuiv" offset="assign"> + <param name="sampler" type="GLuint"/> + <param name="pname" type="GLenum"/> + <param name="params" type="GLuint *"/> + </function> + + <enum name="SAMPLER_BINDING" count="1" value="0x8919"> + <size name="Get" mode="get"/> + </enum> + +</category> + +</OpenGLAPI> diff --git a/src/mapi/glapi/gen/Makefile b/src/mapi/glapi/gen/Makefile index f9aae84d194..b56ce863992 100644 --- a/src/mapi/glapi/gen/Makefile +++ b/src/mapi/glapi/gen/Makefile @@ -80,6 +80,7 @@ API_XML = \ ARB_geometry_shader4.xml \ ARB_instanced_arrays.xml \ ARB_map_buffer_range.xml \ + ARB_sampler_objects.xml \ ARB_seamless_cube_map.xml \ ARB_sync.xml \ ARB_texture_buffer_object.xml \ diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index fe44a834f96..ef68ad62cf7 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -7973,6 +7973,8 @@ <xi:include href="NV_texture_barrier.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> +<xi:include href="ARB_sampler_objects.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> + <xi:include href="EXT_transform_feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> <xi:include href="ARB_draw_instanced.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |