]> git.cworth.org Git - apitrace/commitdiff
Handle NV_vertex_array_range GLX entry points.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Mon, 19 Sep 2011 18:59:44 +0000 (19:59 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Mon, 19 Sep 2011 18:59:44 +0000 (19:59 +0100)
glxapi.py

index 7c389b6380e1352641728e476ffd6dfbc6b22b1b..4a35ce1ca776a93bb4145b51cc886ec643d66e8d 100644 (file)
--- a/glxapi.py
+++ b/glxapi.py
@@ -433,6 +433,10 @@ glxapi.add_functions([
     # GLX_NV_copy_image
     Function(Void, "glXCopyImageSubDataNV", [(Display, "dpy"), (GLXContext, "srcCtx"), (GLuint, "srcName"), (GLenum, "srcTarget"), (GLint, "srcLevel"), (GLint, "srcX"), (GLint, "srcY"), (GLint, "srcZ"), (GLXContext, "dstCtx"), (GLuint, "dstName"), (GLenum, "dstTarget"), (GLint, "dstLevel"), (GLint, "dstX"), (GLint, "dstY"), (GLint, "dstZ"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth")]),
 
+    # GLX_NV_vertex_array_range
+    Function(OpaquePointer(Void), "glXAllocateMemoryNV", [(GLsizei, "size"), (GLfloat, "readfreq"), (GLfloat, "writefreq"), (GLfloat, "priority")]),
+    Function(Void, "glXFreeMemoryNV", [(OpaquePointer(Void), "pointer")]),
+
     # Must be last
     Function(PROC, "glXGetProcAddressARB", [(Alias("const GLubyte *", CString), "procName")]),
     Function(PROC, "glXGetProcAddress", [(Alias("const GLubyte *", CString), "procName")]),