summaryrefslogtreecommitdiff
path: root/specs/glapi.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2014-08-13 18:41:14 +0100
committerJosé Fonseca <jfonseca@vmware.com>2014-08-13 18:41:14 +0100
commit1449075738a1bf85ffda3013beecaa2fe8285e5e (patch)
tree0a7d04361053712dce104a2224008199bd9d66ef /specs/glapi.py
parent0d70970d3b8af45c0b68a88537519ccbd5cd7b44 (diff)
specs: Add missing 4.5 extensions.
GL_ARB_clip_control and GL_ARB_texture_barrier
Diffstat (limited to 'specs/glapi.py')
-rw-r--r--specs/glapi.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/specs/glapi.py b/specs/glapi.py
index 14a194cc..6759bea6 100644
--- a/specs/glapi.py
+++ b/specs/glapi.py
@@ -798,7 +798,7 @@ glapi.addFunctions([
# GL_AMD_stencil_operation_extended
GlFunction(Void, "glStencilOpValueAMD", [(GLenum, "face"), (GLuint, "value")]),
- # GL_AMD_vertex_shader_tesselator
+ # GL_AMD_vertex_shader_tessellator
GlFunction(Void, "glTessellationFactorAMD", [(GLfloat, "factor")]),
GlFunction(Void, "glTessellationModeAMD", [(GLenum, "mode")]),
@@ -864,6 +864,9 @@ glapi.addFunctions([
GlFunction(Void, "glDepthRangef", [(GLfloat, "n"), (GLfloat, "f")]),
GlFunction(Void, "glClearDepthf", [(GLfloat, "d")]),
+ # GL_ARB_ES3_1_compatibility
+ GlFunction(Void, "glMemoryBarrierByRegion", [(GLbitfield, "barriers")]),
+
# GL_ARB_base_instance
GlFunction(Void, "glDrawArraysInstancedBaseInstance", [(GLenum_mode, "mode"), (GLint, "first"), (GLsizei, "count"), (GLsizei, "primcount"), (GLuint, "baseinstance")]),
GlFunction(Void, "glDrawElementsInstancedBaseInstance", [(GLenum_mode, "mode"), (GLsizei, "count"), (GLenum, "type"), (GLindexBuffer("count", "type"), "indices"), (GLsizei, "primcount"), (GLuint, "baseinstance")]),
@@ -908,6 +911,9 @@ glapi.addFunctions([
GlFunction(Void, "glClearTexImage", [ (GLtexture, "texture"), (GLint, "level"), (GLenum, "format"), (GLenum, "type"), (Blob(Const(GLvoid), "_glClearBufferData_size(format, type)"), "data")]),
GlFunction(Void, "glClearTexSubImage", [ (GLtexture, "texture"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "zoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLenum, "format"), (GLenum, "type"), (Blob(Const(GLvoid), "_glClearBufferData_size(format, type)"), "data")]),
+ # GL_ARB_clip_control
+ GlFunction(Void, "glClipControl", [(GLenum, "origin"), (GLenum, "depth")]),
+
# GL_ARB_color_buffer_float
GlFunction(Void, "glClampColorARB", [(GLenum, "target"), (GLenum, "clamp")]),
@@ -1408,6 +1414,9 @@ glapi.addFunctions([
GlFunction(Void, "glPatchParameteri", [(GLenum, "pname"), (GLint, "value")]),
GlFunction(Void, "glPatchParameterfv", [(GLenum, "pname"), (Array(Const(GLfloat), "_gl_param_size(pname)"), "values")]),
+ # GL_ARB_texture_barrier
+ GlFunction(Void, "glTextureBarrier", []),
+
# GL_ARB_texture_buffer_object
GlFunction(Void, "glTexBufferARB", [(GLenum, "target"), (GLenum, "internalformat"), (GLbuffer, "buffer")]),