summaryrefslogtreecommitdiff
path: root/specs/glapi.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2014-08-13 18:36:53 +0100
committerJosé Fonseca <jfonseca@vmware.com>2014-08-13 18:36:53 +0100
commit12a2b6d3ed4f1aadedf49c935305513aee6f3109 (patch)
treee9fc4265b1f8429e5bfe94dc8ddb2e79695920f8 /specs/glapi.py
parent0dda25477c6a47fa7cb789380f3ef5f22539ede1 (diff)
specs: Support GL_KHR_robustness.
Diffstat (limited to 'specs/glapi.py')
-rw-r--r--specs/glapi.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/specs/glapi.py b/specs/glapi.py
index a4557147..14a194cc 100644
--- a/specs/glapi.py
+++ b/specs/glapi.py
@@ -2439,6 +2439,13 @@ glapi.addFunctions([
GlFunction(Void, "glObjectPtrLabel", [(OpaquePointer(Const(Void)), "ptr"), (GLsizei, "length"), InGlString(GLchar, "length", "label")], sideeffects=True),
GlFunction(Void, "glGetObjectPtrLabel", [(OpaquePointer(Const(Void)), "ptr"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), OutGlString(GLchar, "length", "label")], sideeffects=False),
+ # GL_KHR_robustness
+ GlFunction(GLenum, "glGetGraphicsResetStatus", [], sideeffects=False),
+ GlFunction(Void, "glReadnPixels", [(GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLenum, "type"), (GLsizei, "bufSize"), Out(OpaqueBlob(GLvoid, "bufSize"), "data")]),
+ GlFunction(Void, "glGetnUniformfv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "bufSize"), Out(Array(GLfloat, "bufSize"), "params")], sideeffects=False),
+ GlFunction(Void, "glGetnUniformiv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "bufSize"), Out(Array(GLint, "bufSize"), "params")], sideeffects=False),
+ GlFunction(Void, "glGetnUniformuiv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "bufSize"), Out(Array(GLuint, "bufSize"), "params")], sideeffects=False),
+
# GL_KTX_buffer_region
# XXX: http://www.west.net/~brittain/3dsmax2.htm does not mention EXT suffix
GlFunction(GLregion, "glNewBufferRegion", [(GLenum, "type")]),