summaryrefslogtreecommitdiff
path: root/specs/glapi.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2014-08-13 18:36:38 +0100
committerJosé Fonseca <jfonseca@vmware.com>2014-08-13 18:36:38 +0100
commit0dda25477c6a47fa7cb789380f3ef5f22539ede1 (patch)
tree3c221486fcd08bef5bb64ddbb4cfe392837bf95c /specs/glapi.py
parent4920c308b30b71e661d418acd0e387376a6d5ee0 (diff)
specs: Support GL_ARB_get_texture_sub_image.
Diffstat (limited to 'specs/glapi.py')
-rw-r--r--specs/glapi.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/specs/glapi.py b/specs/glapi.py
index 905454f5..a4557147 100644
--- a/specs/glapi.py
+++ b/specs/glapi.py
@@ -1087,6 +1087,10 @@ glapi.addFunctions([
GlFunction(Void, "glProgramBinary", [(GLprogram, "program"), (GLenum, "binaryFormat"), (Blob(Const(GLvoid), "length"), "binary"), (GLsizei, "length")]),
GlFunction(Void, "glProgramParameteri", [(GLprogram, "program"), (GLenum, "pname"), (GLint, "value")]),
+ # GL_ARB_get_texture_sub_image
+ GlFunction(Void, "glGetTextureSubImage", [(GLtexture, "texture"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "zoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLenum, "format"), (GLenum, "type"), (GLsizei, "bufSize"), Out(GLpointer, "pixels")]),
+ GlFunction(Void, "glGetCompressedTextureSubImage", [(GLtexture, "texture"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "zoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLsizei, "bufSize"), Out(GLpointer, "pixels")]),
+
# GL_ARB_gpu_shader_fp64
GlFunction(Void, "glUniform1d", [(GLlocation, "location"), (GLdouble, "x")]),
GlFunction(Void, "glUniform2d", [(GLlocation, "location"), (GLdouble, "x"), (GLdouble, "y")]),