From 8dc031d4e65a5b5c5c7032cb9136f1db689c06f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 28 Jan 2010 13:18:58 +0000 Subject: [PATCH] Trace aliased functions too. --- opengl32.py | 153 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 153 insertions(+) diff --git a/opengl32.py b/opengl32.py index 7b5e233..e8a5b59 100644 --- a/opengl32.py +++ b/opengl32.py @@ -770,49 +770,99 @@ wglgetprocaddress.functions += [ WglFunction(Void, "glGetQueryivARB", [(GLenum, "target"), (GLenum, "pname"), (Pointer(GLint), "params")]), WglFunction(GLboolean, "glIsQueryARB", [(GLuint, "id")]), WglFunction(Void, "glAttachObjectARB", [(GLhandleARB, "containerObj"), (GLhandleARB, "obj")]), + WglFunction(Void, "glCompileShader", [(GLhandleARB, "shader")]), WglFunction(Void, "glCompileShaderARB", [(GLhandleARB, "shader")]), WglFunction(GLhandleARB, "glCreateProgramObjectARB", []), WglFunction(GLhandleARB, "glCreateShaderObjectARB", [(GLenum, "shaderType")]), WglFunction(Void, "glDeleteObjectARB", [(GLhandleARB, "obj")]), WglFunction(Void, "glDetachObjectARB", [(GLhandleARB, "containerObj"), (GLhandleARB, "attachedObj")]), + WglFunction(Void, "glGetActiveUniform", [(GLhandleARB, "program"), (GLuint, "index"), (GLsizei, "bufSize"), (Pointer(GLsizei), "length"), (Pointer(GLint), "size"), (Pointer(GLenum), "type"), (Pointer(GLcharARB), "name")]), WglFunction(Void, "glGetActiveUniformARB", [(GLhandleARB, "program"), (GLuint, "index"), (GLsizei, "bufSize"), (Pointer(GLsizei), "length"), (Pointer(GLint), "size"), (Pointer(GLenum), "type"), (Pointer(GLcharARB), "name")]), WglFunction(Void, "glGetAttachedObjectsARB", [(GLhandleARB, "containerObj"), (GLsizei, "maxLength"), (Pointer(GLsizei), "length"), (Pointer(GLhandleARB), "infoLog")]), WglFunction(GLhandleARB, "glGetHandleARB", [(GLenum, "pname")]), WglFunction(Void, "glGetInfoLogARB", [(GLhandleARB, "obj"), (GLsizei, "maxLength"), (Pointer(GLsizei), "length"), (Pointer(GLcharARB), "infoLog")]), WglFunction(Void, "glGetObjectParameterfvARB", [(GLhandleARB, "obj"), (GLenum, "pname"), (Pointer(GLfloat), "params")]), WglFunction(Void, "glGetObjectParameterivARB", [(GLhandleARB, "obj"), (GLenum, "pname"), (Pointer(GLint), "params")]), + WglFunction(Void, "glGetShaderSource", [(GLhandleARB, "shader"), (GLsizei, "bufSize"), (Pointer(GLsizei), "length"), (Pointer(GLcharARB), "source")]), WglFunction(Void, "glGetShaderSourceARB", [(GLhandleARB, "shader"), (GLsizei, "bufSize"), (Pointer(GLsizei), "length"), (Pointer(GLcharARB), "source")]), + WglFunction(GLint, "glGetUniformLocation", [(GLhandleARB, "program"), (Pointer(Const(GLcharARB)), "name")]), WglFunction(GLint, "glGetUniformLocationARB", [(GLhandleARB, "program"), (Pointer(Const(GLcharARB)), "name")]), + WglFunction(Void, "glGetUniformfv", [(GLhandleARB, "program"), (GLint, "location"), (Pointer(GLfloat), "params")]), WglFunction(Void, "glGetUniformfvARB", [(GLhandleARB, "program"), (GLint, "location"), (Pointer(GLfloat), "params")]), + WglFunction(Void, "glGetUniformiv", [(GLhandleARB, "program"), (GLint, "location"), (Pointer(GLint), "params")]), WglFunction(Void, "glGetUniformivARB", [(GLhandleARB, "program"), (GLint, "location"), (Pointer(GLint), "params")]), + WglFunction(Void, "glLinkProgram", [(GLhandleARB, "program")]), WglFunction(Void, "glLinkProgramARB", [(GLhandleARB, "program")]), + WglFunction(Void, "glShaderSource", [(GLhandleARB, "shader"), (GLsizei, "count"), (Pointer(Pointer(Const(GLcharARB))), "string"), (Pointer(Const(GLint)), "length")]), WglFunction(Void, "glShaderSourceARB", [(GLhandleARB, "shader"), (GLsizei, "count"), (Pointer(Pointer(Const(GLcharARB))), "string"), (Pointer(Const(GLint)), "length")]), + WglFunction(Void, "glUniform1f", [(GLint, "location"), (GLfloat, "v0")]), WglFunction(Void, "glUniform1fARB", [(GLint, "location"), (GLfloat, "v0")]), + WglFunction(Void, "glUniform1fv", [(GLint, "location"), (GLsizei, "count"), (Pointer(Const(GLfloat)), "value")]), WglFunction(Void, "glUniform1fvARB", [(GLint, "location"), (GLsizei, "count"), (Pointer(Const(GLfloat)), "value")]), + WglFunction(Void, "glUniform1i", [(GLint, "location"), (GLint, "v0")]), WglFunction(Void, "glUniform1iARB", [(GLint, "location"), (GLint, "v0")]), + WglFunction(Void, "glUniform1iv", [(GLint, "location"), (GLsizei, "count"), (Pointer(Const(GLint)), "value")]), WglFunction(Void, "glUniform1ivARB", [(GLint, "location"), (GLsizei, "count"), (Pointer(Const(GLint)), "value")]), + WglFunction(Void, "glUniform2f", [(GLint, "location"), (GLfloat, "v0"), (GLfloat, "v1")]), WglFunction(Void, "glUniform2fARB", [(GLint, "location"), (GLfloat, "v0"), (GLfloat, "v1")]), + WglFunction(Void, "glUniform2fv", [(GLint, "location"), (GLsizei, "count"), (Pointer(Const(GLfloat)), "value")]), WglFunction(Void, "glUniform2fvARB", [(GLint, "location"), (GLsizei, "count"), (Pointer(Const(GLfloat)), "value")]), + WglFunction(Void, "glUniform2i", [(GLint, "location"), (GLint, "v0"), (GLint, "v1")]), WglFunction(Void, "glUniform2iARB", [(GLint, "location"), (GLint, "v0"), (GLint, "v1")]), + WglFunction(Void, "glUniform2iv", [(GLint, "location"), (GLsizei, "count"), (Pointer(Const(GLint)), "value")]), WglFunction(Void, "glUniform2ivARB", [(GLint, "location"), (GLsizei, "count"), (Pointer(Const(GLint)), "value")]), + WglFunction(Void, "glUniform3f", [(GLint, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2")]), WglFunction(Void, "glUniform3fARB", [(GLint, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2")]), + WglFunction(Void, "glUniform3fv", [(GLint, "location"), (GLsizei, "count"), (Pointer(Const(GLfloat)), "value")]), WglFunction(Void, "glUniform3fvARB", [(GLint, "location"), (GLsizei, "count"), (Pointer(Const(GLfloat)), "value")]), + WglFunction(Void, "glUniform3i", [(GLint, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2")]), WglFunction(Void, "glUniform3iARB", [(GLint, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2")]), + WglFunction(Void, "glUniform3iv", [(GLint, "location"), (GLsizei, "count"), (Pointer(Const(GLint)), "value")]), WglFunction(Void, "glUniform3ivARB", [(GLint, "location"), (GLsizei, "count"), (Pointer(Const(GLint)), "value")]), + WglFunction(Void, "glUniform4f", [(GLint, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2"), (GLfloat, "v3")]), WglFunction(Void, "glUniform4fARB", [(GLint, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2"), (GLfloat, "v3")]), + WglFunction(Void, "glUniform4fv", [(GLint, "location"), (GLsizei, "count"), (Pointer(Const(GLfloat)), "value")]), WglFunction(Void, "glUniform4fvARB", [(GLint, "location"), (GLsizei, "count"), (Pointer(Const(GLfloat)), "value")]), + WglFunction(Void, "glUniform4i", [(GLint, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2"), (GLint, "v3")]), WglFunction(Void, "glUniform4iARB", [(GLint, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2"), (GLint, "v3")]), + WglFunction(Void, "glUniform4iv", [(GLint, "location"), (GLsizei, "count"), (Pointer(Const(GLint)), "value")]), WglFunction(Void, "glUniform4ivARB", [(GLint, "location"), (GLsizei, "count"), (Pointer(Const(GLint)), "value")]), + WglFunction(Void, "glUniformMatrix2fv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Pointer(Const(GLfloat)), "value")]), WglFunction(Void, "glUniformMatrix2fvARB", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Pointer(Const(GLfloat)), "value")]), + WglFunction(Void, "glUniformMatrix3fv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Pointer(Const(GLfloat)), "value")]), WglFunction(Void, "glUniformMatrix3fvARB", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Pointer(Const(GLfloat)), "value")]), + WglFunction(Void, "glUniformMatrix4fv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Pointer(Const(GLfloat)), "value")]), WglFunction(Void, "glUniformMatrix4fvARB", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Pointer(Const(GLfloat)), "value")]), + WglFunction(Void, "glUseProgram", [(GLhandleARB, "program")]), WglFunction(Void, "glUseProgramObjectARB", [(GLhandleARB, "program")]), + WglFunction(Void, "glValidateProgram", [(GLhandleARB, "program")]), WglFunction(Void, "glValidateProgramARB", [(GLhandleARB, "program")]), + WglFunction(Void, "glBindAttribLocation", [(GLhandleARB, "program"), (GLuint, "index"), (Pointer(Const(GLcharARB)), "name")]), WglFunction(Void, "glBindAttribLocationARB", [(GLhandleARB, "program"), (GLuint, "index"), (Pointer(Const(GLcharARB)), "name")]), + WglFunction(Void, "glGetActiveAttrib", [(GLhandleARB, "program"), (GLuint, "index"), (GLsizei, "bufSize"), (Pointer(GLsizei), "length"), (Pointer(GLint), "size"), (Pointer(GLenum), "type"), (Pointer(GLcharARB), "name")]), WglFunction(Void, "glGetActiveAttribARB", [(GLhandleARB, "program"), (GLuint, "index"), (GLsizei, "bufSize"), (Pointer(GLsizei), "length"), (Pointer(GLint), "size"), (Pointer(GLenum), "type"), (Pointer(GLcharARB), "name")]), + WglFunction(GLint, "glGetAttribLocation", [(GLhandleARB, "program"), (Pointer(Const(GLcharARB)), "name")]), WglFunction(GLint, "glGetAttribLocationARB", [(GLhandleARB, "program"), (Pointer(Const(GLcharARB)), "name")]), + WglFunction(Void, "glDrawBuffers", [(GLsizei, "n"), (Pointer(Const(GLenum)), "bufs")]), WglFunction(Void, "glDrawBuffersARB", [(GLsizei, "n"), (Pointer(Const(GLenum)), "bufs")]), + WglFunction(Void, "glDrawBuffersATI", [(GLsizei, "n"), (Pointer(Const(GLenum)), "bufs")]), WglFunction(Void, "glRenderbufferStorageMultisample", [(GLenum, "target"), (GLsizei, "samples"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height")]), + WglFunction(Void, "glRenderbufferStorageMultisampleEXT", [(GLenum, "target"), (GLsizei, "samples"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height")]), + WglFunction(Void, "glFlushMappedBufferRange", [(GLenum, "target"), (GLintptr, "offset"), (GLsizeiptr, "length")]), + WglFunction(Pointer(GLvoid), "glMapBufferRange", [(GLenum, "target"), (GLintptr, "offset"), (GLsizeiptr, "length"), (GLbitfield, "access")]), + WglFunction(Void, "glBindVertexArray", [(GLuint, "array")]), + WglFunction(Void, "glGenVertexArrays", [(GLsizei, "n"), (Pointer(GLuint), "arrays")]), + WglFunction(Void, "glCopyBufferSubData", [(GLenum, "readTarget"), (GLenum, "writeTarget"), (GLintptr, "readOffset"), (GLintptr, "writeOffset"), (GLsizeiptr, "size")]), + #WglFunction(GLenum, "glClientWaitSync", [(GLsync, "sync"), (GLbitfield, "flags"), (GLuint64, "timeout")]), + #WglFunction(Void, "glDeleteSync", [(GLsync, "sync")]), + #WglFunction(GLsync, "glFenceSync", [(GLenum, "condition"), (GLbitfield, "flags")]), + #WglFunction(Void, "glGetInteger64v", [(GLenum, "pname"), (Pointer(GLint64), "params")]), + #WglFunction(Void, "glGetSynciv", [(GLsync, "sync"), (GLenum, "pname"), (GLsizei, "bufSize"), (Pointer(GLsizei), "length"), (Pointer(GLint), "values")]), + #WglFunction(GLboolean, "glIsSync", [(GLsync, "sync")]), + #WglFunction(Void, "glWaitSync", [(GLsync, "sync"), (GLbitfield, "flags"), (GLuint64, "timeout")]), + WglFunction(Void, "glDrawElementsBaseVertex", [(GLenum, "mode"), (GLsizei, "count"), (GLenum, "type"), (Pointer(Const(GLvoid)), "indices"), (GLint, "basevertex")]), + WglFunction(Void, "glDrawRangeElementsBaseVertex", [(GLenum, "mode"), (GLuint, "start"), (GLuint, "end"), (GLsizei, "count"), (GLenum, "type"), (Pointer(Const(GLvoid)), "indices"), (GLint, "basevertex")]), + WglFunction(Void, "glMultiDrawElementsBaseVertex", [(GLenum, "mode"), (Pointer(Const(GLsizei)), "count"), (GLenum, "type"), (Pointer(Pointer(Const(GLvoid))), "indices"), (GLsizei, "primcount"), (Pointer(Const(GLint)), "basevertex")]), WglFunction(Void, "glPolygonOffsetEXT", [(GLfloat, "factor"), (GLfloat, "bias")]), WglFunction(Void, "glGetPixelTexGenParameterfvSGIS", [(GLenum, "pname"), (Pointer(GLfloat), "params")]), WglFunction(Void, "glGetPixelTexGenParameterivSGIS", [(GLenum, "pname"), (Pointer(GLint), "params")]), @@ -821,45 +871,79 @@ wglgetprocaddress.functions += [ WglFunction(Void, "glPixelTexGenParameteriSGIS", [(GLenum, "pname"), (GLint, "param")]), WglFunction(Void, "glPixelTexGenParameterivSGIS", [(GLenum, "pname"), (Pointer(Const(GLint)), "params")]), WglFunction(Void, "glSampleMaskSGIS", [(GLclampf, "value"), (GLboolean, "invert")]), + WglFunction(Void, "glSampleMaskEXT", [(GLclampf, "value"), (GLboolean, "invert")]), WglFunction(Void, "glSamplePatternSGIS", [(GLenum, "pattern")]), + WglFunction(Void, "glSamplePatternEXT", [(GLenum, "pattern")]), WglFunction(Void, "glColorPointerEXT", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (GLsizei, "count"), (Pointer(Const(GLvoid)), "pointer")]), WglFunction(Void, "glEdgeFlagPointerEXT", [(GLsizei, "stride"), (GLsizei, "count"), (Pointer(Const(GLboolean)), "pointer")]), WglFunction(Void, "glIndexPointerEXT", [(GLenum, "type"), (GLsizei, "stride"), (GLsizei, "count"), (Pointer(Const(GLvoid)), "pointer")]), WglFunction(Void, "glNormalPointerEXT", [(GLenum, "type"), (GLsizei, "stride"), (GLsizei, "count"), (Pointer(Const(GLvoid)), "pointer")]), WglFunction(Void, "glTexCoordPointerEXT", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (GLsizei, "count"), (Pointer(Const(GLvoid)), "pointer")]), WglFunction(Void, "glVertexPointerEXT", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (GLsizei, "count"), (Pointer(Const(GLvoid)), "pointer")]), + WglFunction(Void, "glPointParameterf", [(GLenum, "pname"), (GLfloat, "param")]), + WglFunction(Void, "glPointParameterfARB", [(GLenum, "pname"), (GLfloat, "param")]), WglFunction(Void, "glPointParameterfEXT", [(GLenum, "pname"), (GLfloat, "param")]), + WglFunction(Void, "glPointParameterfSGIS", [(GLenum, "pname"), (GLfloat, "param")]), + WglFunction(Void, "glPointParameterfv", [(GLenum, "pname"), (Pointer(Const(GLfloat)), "params")]), + WglFunction(Void, "glPointParameterfvARB", [(GLenum, "pname"), (Pointer(Const(GLfloat)), "params")]), WglFunction(Void, "glPointParameterfvEXT", [(GLenum, "pname"), (Pointer(Const(GLfloat)), "params")]), + WglFunction(Void, "glPointParameterfvSGIS", [(GLenum, "pname"), (Pointer(Const(GLfloat)), "params")]), WglFunction(Void, "glLockArraysEXT", [(GLint, "first"), (GLsizei, "count")]), WglFunction(Void, "glUnlockArraysEXT", []), WglFunction(Void, "glCullParameterdvEXT", [(GLenum, "pname"), (Pointer(GLdouble), "params")]), WglFunction(Void, "glCullParameterfvEXT", [(GLenum, "pname"), (Pointer(GLfloat), "params")]), + WglFunction(Void, "glSecondaryColor3b", [(GLbyte, "red"), (GLbyte, "green"), (GLbyte, "blue")]), WglFunction(Void, "glSecondaryColor3bEXT", [(GLbyte, "red"), (GLbyte, "green"), (GLbyte, "blue")]), + WglFunction(Void, "glSecondaryColor3bv", [(Pointer(Const(GLbyte)), "v")]), WglFunction(Void, "glSecondaryColor3bvEXT", [(Pointer(Const(GLbyte)), "v")]), + WglFunction(Void, "glSecondaryColor3d", [(GLdouble, "red"), (GLdouble, "green"), (GLdouble, "blue")]), WglFunction(Void, "glSecondaryColor3dEXT", [(GLdouble, "red"), (GLdouble, "green"), (GLdouble, "blue")]), + WglFunction(Void, "glSecondaryColor3dv", [(Pointer(Const(GLdouble)), "v")]), WglFunction(Void, "glSecondaryColor3dvEXT", [(Pointer(Const(GLdouble)), "v")]), + WglFunction(Void, "glSecondaryColor3f", [(GLfloat, "red"), (GLfloat, "green"), (GLfloat, "blue")]), WglFunction(Void, "glSecondaryColor3fEXT", [(GLfloat, "red"), (GLfloat, "green"), (GLfloat, "blue")]), + WglFunction(Void, "glSecondaryColor3fv", [(Pointer(Const(GLfloat)), "v")]), WglFunction(Void, "glSecondaryColor3fvEXT", [(Pointer(Const(GLfloat)), "v")]), + WglFunction(Void, "glSecondaryColor3i", [(GLint, "red"), (GLint, "green"), (GLint, "blue")]), WglFunction(Void, "glSecondaryColor3iEXT", [(GLint, "red"), (GLint, "green"), (GLint, "blue")]), + WglFunction(Void, "glSecondaryColor3iv", [(Pointer(Const(GLint)), "v")]), WglFunction(Void, "glSecondaryColor3ivEXT", [(Pointer(Const(GLint)), "v")]), + WglFunction(Void, "glSecondaryColor3s", [(GLshort, "red"), (GLshort, "green"), (GLshort, "blue")]), WglFunction(Void, "glSecondaryColor3sEXT", [(GLshort, "red"), (GLshort, "green"), (GLshort, "blue")]), + WglFunction(Void, "glSecondaryColor3sv", [(Pointer(Const(GLshort)), "v")]), WglFunction(Void, "glSecondaryColor3svEXT", [(Pointer(Const(GLshort)), "v")]), + WglFunction(Void, "glSecondaryColor3ub", [(GLubyte, "red"), (GLubyte, "green"), (GLubyte, "blue")]), WglFunction(Void, "glSecondaryColor3ubEXT", [(GLubyte, "red"), (GLubyte, "green"), (GLubyte, "blue")]), + WglFunction(Void, "glSecondaryColor3ubv", [(Pointer(Const(GLubyte)), "v")]), WglFunction(Void, "glSecondaryColor3ubvEXT", [(Pointer(Const(GLubyte)), "v")]), + WglFunction(Void, "glSecondaryColor3ui", [(GLuint, "red"), (GLuint, "green"), (GLuint, "blue")]), WglFunction(Void, "glSecondaryColor3uiEXT", [(GLuint, "red"), (GLuint, "green"), (GLuint, "blue")]), + WglFunction(Void, "glSecondaryColor3uiv", [(Pointer(Const(GLuint)), "v")]), WglFunction(Void, "glSecondaryColor3uivEXT", [(Pointer(Const(GLuint)), "v")]), + WglFunction(Void, "glSecondaryColor3us", [(GLushort, "red"), (GLushort, "green"), (GLushort, "blue")]), WglFunction(Void, "glSecondaryColor3usEXT", [(GLushort, "red"), (GLushort, "green"), (GLushort, "blue")]), + WglFunction(Void, "glSecondaryColor3usv", [(Pointer(Const(GLushort)), "v")]), WglFunction(Void, "glSecondaryColor3usvEXT", [(Pointer(Const(GLushort)), "v")]), + WglFunction(Void, "glSecondaryColorPointer", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Pointer(Const(GLvoid)), "pointer")]), WglFunction(Void, "glSecondaryColorPointerEXT", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Pointer(Const(GLvoid)), "pointer")]), + WglFunction(Void, "glMultiDrawArrays", [(GLenum, "mode"), (Pointer(GLint), "first"), (Pointer(GLsizei), "count"), (GLsizei, "primcount")]), WglFunction(Void, "glMultiDrawArraysEXT", [(GLenum, "mode"), (Pointer(GLint), "first"), (Pointer(GLsizei), "count"), (GLsizei, "primcount")]), + WglFunction(Void, "glMultiDrawElements", [(GLenum, "mode"), (Pointer(Const(GLsizei)), "count"), (GLenum, "type"), (Pointer(Pointer(Const(GLvoid))), "indices"), (GLsizei, "primcount")]), WglFunction(Void, "glMultiDrawElementsEXT", [(GLenum, "mode"), (Pointer(Const(GLsizei)), "count"), (GLenum, "type"), (Pointer(Pointer(Const(GLvoid))), "indices"), (GLsizei, "primcount")]), + WglFunction(Void, "glFogCoordPointer", [(GLenum, "type"), (GLsizei, "stride"), (Pointer(Const(GLvoid)), "pointer")]), WglFunction(Void, "glFogCoordPointerEXT", [(GLenum, "type"), (GLsizei, "stride"), (Pointer(Const(GLvoid)), "pointer")]), + WglFunction(Void, "glFogCoordd", [(GLdouble, "coord")]), WglFunction(Void, "glFogCoorddEXT", [(GLdouble, "coord")]), + WglFunction(Void, "glFogCoorddv", [(Pointer(Const(GLdouble)), "coord")]), WglFunction(Void, "glFogCoorddvEXT", [(Pointer(Const(GLdouble)), "coord")]), + WglFunction(Void, "glFogCoordf", [(GLfloat, "coord")]), WglFunction(Void, "glFogCoordfEXT", [(GLfloat, "coord")]), + WglFunction(Void, "glFogCoordfv", [(Pointer(Const(GLfloat)), "coord")]), WglFunction(Void, "glFogCoordfvEXT", [(Pointer(Const(GLfloat)), "coord")]), WglFunction(Void, "glPixelTexGenSGIX", [(GLenum, "mode")]), + WglFunction(Void, "glBlendFuncSeparate", [(GLenum, "sfactorRGB"), (GLenum, "dfactorRGB"), (GLenum, "sfactorAlpha"), (GLenum, "dfactorAlpha")]), WglFunction(Void, "glBlendFuncSeparateEXT", [(GLenum, "sfactorRGB"), (GLenum, "dfactorRGB"), (GLenum, "sfactorAlpha"), (GLenum, "dfactorAlpha")]), + WglFunction(Void, "glBlendFuncSeparateINGR", [(GLenum, "sfactorRGB"), (GLenum, "dfactorRGB"), (GLenum, "sfactorAlpha"), (GLenum, "dfactorAlpha")]), WglFunction(Void, "glFlushVertexArrayRangeNV", []), WglFunction(Void, "glVertexArrayRangeNV", [(GLsizei, "length"), (Pointer(Const(GLvoid)), "pointer")]), WglFunction(Void, "glCombinerInputNV", [(GLenum, "stage"), (GLenum, "portion"), (GLenum, "variable"), (GLenum, "input"), (GLenum, "mapping"), (GLenum, "componentUsage")]), @@ -876,21 +960,53 @@ wglgetprocaddress.functions += [ WglFunction(Void, "glGetFinalCombinerInputParameterfvNV", [(GLenum, "variable"), (GLenum, "pname"), (Pointer(GLfloat), "params")]), WglFunction(Void, "glGetFinalCombinerInputParameterivNV", [(GLenum, "variable"), (GLenum, "pname"), (Pointer(GLint), "params")]), WglFunction(Void, "glResizeBuffersMESA", []), + WglFunction(Void, "glWindowPos2d", [(GLdouble, "x"), (GLdouble, "y")]), + WglFunction(Void, "glWindowPos2dARB", [(GLdouble, "x"), (GLdouble, "y")]), WglFunction(Void, "glWindowPos2dMESA", [(GLdouble, "x"), (GLdouble, "y")]), + WglFunction(Void, "glWindowPos2dv", [(Pointer(Const(GLdouble)), "v")]), + WglFunction(Void, "glWindowPos2dvARB", [(Pointer(Const(GLdouble)), "v")]), WglFunction(Void, "glWindowPos2dvMESA", [(Pointer(Const(GLdouble)), "v")]), + WglFunction(Void, "glWindowPos2f", [(GLfloat, "x"), (GLfloat, "y")]), + WglFunction(Void, "glWindowPos2fARB", [(GLfloat, "x"), (GLfloat, "y")]), WglFunction(Void, "glWindowPos2fMESA", [(GLfloat, "x"), (GLfloat, "y")]), + WglFunction(Void, "glWindowPos2fv", [(Pointer(Const(GLfloat)), "v")]), + WglFunction(Void, "glWindowPos2fvARB", [(Pointer(Const(GLfloat)), "v")]), WglFunction(Void, "glWindowPos2fvMESA", [(Pointer(Const(GLfloat)), "v")]), + WglFunction(Void, "glWindowPos2i", [(GLint, "x"), (GLint, "y")]), + WglFunction(Void, "glWindowPos2iARB", [(GLint, "x"), (GLint, "y")]), WglFunction(Void, "glWindowPos2iMESA", [(GLint, "x"), (GLint, "y")]), + WglFunction(Void, "glWindowPos2iv", [(Pointer(Const(GLint)), "v")]), + WglFunction(Void, "glWindowPos2ivARB", [(Pointer(Const(GLint)), "v")]), WglFunction(Void, "glWindowPos2ivMESA", [(Pointer(Const(GLint)), "v")]), + WglFunction(Void, "glWindowPos2s", [(GLshort, "x"), (GLshort, "y")]), + WglFunction(Void, "glWindowPos2sARB", [(GLshort, "x"), (GLshort, "y")]), WglFunction(Void, "glWindowPos2sMESA", [(GLshort, "x"), (GLshort, "y")]), + WglFunction(Void, "glWindowPos2sv", [(Pointer(Const(GLshort)), "v")]), + WglFunction(Void, "glWindowPos2svARB", [(Pointer(Const(GLshort)), "v")]), WglFunction(Void, "glWindowPos2svMESA", [(Pointer(Const(GLshort)), "v")]), + WglFunction(Void, "glWindowPos3d", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), + WglFunction(Void, "glWindowPos3dARB", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), WglFunction(Void, "glWindowPos3dMESA", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), + WglFunction(Void, "glWindowPos3dv", [(Pointer(Const(GLdouble)), "v")]), + WglFunction(Void, "glWindowPos3dvARB", [(Pointer(Const(GLdouble)), "v")]), WglFunction(Void, "glWindowPos3dvMESA", [(Pointer(Const(GLdouble)), "v")]), + WglFunction(Void, "glWindowPos3f", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), + WglFunction(Void, "glWindowPos3fARB", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), WglFunction(Void, "glWindowPos3fMESA", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), + WglFunction(Void, "glWindowPos3fv", [(Pointer(Const(GLfloat)), "v")]), + WglFunction(Void, "glWindowPos3fvARB", [(Pointer(Const(GLfloat)), "v")]), WglFunction(Void, "glWindowPos3fvMESA", [(Pointer(Const(GLfloat)), "v")]), + WglFunction(Void, "glWindowPos3i", [(GLint, "x"), (GLint, "y"), (GLint, "z")]), + WglFunction(Void, "glWindowPos3iARB", [(GLint, "x"), (GLint, "y"), (GLint, "z")]), WglFunction(Void, "glWindowPos3iMESA", [(GLint, "x"), (GLint, "y"), (GLint, "z")]), + WglFunction(Void, "glWindowPos3iv", [(Pointer(Const(GLint)), "v")]), + WglFunction(Void, "glWindowPos3ivARB", [(Pointer(Const(GLint)), "v")]), WglFunction(Void, "glWindowPos3ivMESA", [(Pointer(Const(GLint)), "v")]), + WglFunction(Void, "glWindowPos3s", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), + WglFunction(Void, "glWindowPos3sARB", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), WglFunction(Void, "glWindowPos3sMESA", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), + WglFunction(Void, "glWindowPos3sv", [(Pointer(Const(GLshort)), "v")]), + WglFunction(Void, "glWindowPos3svARB", [(Pointer(Const(GLshort)), "v")]), WglFunction(Void, "glWindowPos3svMESA", [(Pointer(Const(GLshort)), "v")]), WglFunction(Void, "glWindowPos4dMESA", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), WglFunction(Void, "glWindowPos4dvMESA", [(Pointer(Const(GLdouble)), "v")]), @@ -910,19 +1026,25 @@ wglgetprocaddress.functions += [ WglFunction(Void, "glSetFenceNV", [(GLuint, "fence"), (GLenum, "condition")]), WglFunction(GLboolean, "glTestFenceNV", [(GLuint, "fence")]), WglFunction(GLboolean, "glAreProgramsResidentNV", [(GLsizei, "n"), (Pointer(Const(GLuint)), "ids"), (Pointer(GLboolean), "residences")]), + WglFunction(Void, "glBindProgramARB", [(GLenum, "target"), (GLuint, "program")]), WglFunction(Void, "glBindProgramNV", [(GLenum, "target"), (GLuint, "program")]), + WglFunction(Void, "glDeleteProgramsARB", [(GLsizei, "n"), (Pointer(Const(GLuint)), "programs")]), WglFunction(Void, "glDeleteProgramsNV", [(GLsizei, "n"), (Pointer(Const(GLuint)), "programs")]), WglFunction(Void, "glExecuteProgramNV", [(GLenum, "target"), (GLuint, "id"), (Pointer(Const(GLfloat)), "params")]), + WglFunction(Void, "glGenProgramsARB", [(GLsizei, "n"), (Pointer(GLuint), "programs")]), WglFunction(Void, "glGenProgramsNV", [(GLsizei, "n"), (Pointer(GLuint), "programs")]), WglFunction(Void, "glGetProgramParameterdvNV", [(GLenum, "target"), (GLuint, "index"), (GLenum, "pname"), (Pointer(GLdouble), "params")]), WglFunction(Void, "glGetProgramParameterfvNV", [(GLenum, "target"), (GLuint, "index"), (GLenum, "pname"), (Pointer(GLfloat), "params")]), WglFunction(Void, "glGetProgramStringNV", [(GLuint, "id"), (GLenum, "pname"), (Pointer(GLubyte), "program")]), WglFunction(Void, "glGetProgramivNV", [(GLuint, "id"), (GLenum, "pname"), (Pointer(GLint), "params")]), WglFunction(Void, "glGetTrackMatrixivNV", [(GLenum, "target"), (GLuint, "address"), (GLenum, "pname"), (Pointer(GLint), "params")]), + WglFunction(Void, "glGetVertexAttribPointerv", [(GLuint, "index"), (GLenum, "pname"), (Pointer(Pointer(GLvoid)), "pointer")]), + WglFunction(Void, "glGetVertexAttribPointervARB", [(GLuint, "index"), (GLenum, "pname"), (Pointer(Pointer(GLvoid)), "pointer")]), WglFunction(Void, "glGetVertexAttribPointervNV", [(GLuint, "index"), (GLenum, "pname"), (Pointer(Pointer(GLvoid)), "pointer")]), WglFunction(Void, "glGetVertexAttribdvNV", [(GLuint, "index"), (GLenum, "pname"), (Pointer(GLdouble), "params")]), WglFunction(Void, "glGetVertexAttribfvNV", [(GLuint, "index"), (GLenum, "pname"), (Pointer(GLfloat), "params")]), WglFunction(Void, "glGetVertexAttribivNV", [(GLuint, "index"), (GLenum, "pname"), (Pointer(GLint), "params")]), + WglFunction(GLboolean, "glIsProgramARB", [(GLuint, "program")]), WglFunction(GLboolean, "glIsProgramNV", [(GLuint, "program")]), WglFunction(Void, "glLoadProgramNV", [(GLenum, "target"), (GLuint, "id"), (GLsizei, "len"), (Pointer(Const(GLubyte)), "program")]), WglFunction(Void, "glProgramParameters4dvNV", [(GLenum, "target"), (GLuint, "index"), (GLuint, "num"), (Pointer(Const(GLdouble)), "params")]), @@ -987,12 +1109,16 @@ wglgetprocaddress.functions += [ WglFunction(Void, "glPassTexCoordATI", [(GLuint, "dst"), (GLuint, "coord"), (GLenum, "swizzle")]), WglFunction(Void, "glSampleMapATI", [(GLuint, "dst"), (GLuint, "interp"), (GLenum, "swizzle")]), WglFunction(Void, "glSetFragmentShaderConstantATI", [(GLuint, "dst"), (Pointer(Const(GLfloat)), "value")]), + WglFunction(Void, "glPointParameteri", [(GLenum, "pname"), (GLint, "param")]), WglFunction(Void, "glPointParameteriNV", [(GLenum, "pname"), (GLint, "param")]), + WglFunction(Void, "glPointParameteriv", [(GLenum, "pname"), (Pointer(Const(GLint)), "params")]), WglFunction(Void, "glPointParameterivNV", [(GLenum, "pname"), (Pointer(Const(GLint)), "params")]), WglFunction(Void, "glActiveStencilFaceEXT", [(GLenum, "face")]), WglFunction(Void, "glBindVertexArrayAPPLE", [(GLuint, "array")]), + WglFunction(Void, "glDeleteVertexArrays", [(GLsizei, "n"), (Pointer(Const(GLuint)), "arrays")]), WglFunction(Void, "glDeleteVertexArraysAPPLE", [(GLsizei, "n"), (Pointer(Const(GLuint)), "arrays")]), WglFunction(Void, "glGenVertexArraysAPPLE", [(GLsizei, "n"), (Pointer(GLuint), "arrays")]), + WglFunction(GLboolean, "glIsVertexArray", [(GLuint, "array")]), WglFunction(GLboolean, "glIsVertexArrayAPPLE", [(GLuint, "array")]), WglFunction(Void, "glGetProgramNamedParameterdvNV", [(GLuint, "id"), (GLsizei, "len"), (Pointer(Const(GLubyte)), "name"), (Pointer(GLdouble), "params")]), WglFunction(Void, "glGetProgramNamedParameterfvNV", [(GLuint, "id"), (GLsizei, "len"), (Pointer(Const(GLubyte)), "name"), (Pointer(GLfloat), "params")]), @@ -1001,26 +1127,53 @@ wglgetprocaddress.functions += [ WglFunction(Void, "glProgramNamedParameter4fNV", [(GLuint, "id"), (GLsizei, "len"), (Pointer(Const(GLubyte)), "name"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), WglFunction(Void, "glProgramNamedParameter4fvNV", [(GLuint, "id"), (GLsizei, "len"), (Pointer(Const(GLubyte)), "name"), (Pointer(Const(GLfloat)), "v")]), WglFunction(Void, "glDepthBoundsEXT", [(GLclampd, "zmin"), (GLclampd, "zmax")]), + WglFunction(Void, "glBlendEquationSeparate", [(GLenum, "modeRGB"), (GLenum, "modeA")]), WglFunction(Void, "glBlendEquationSeparateEXT", [(GLenum, "modeRGB"), (GLenum, "modeA")]), + WglFunction(Void, "glBlendEquationSeparateATI", [(GLenum, "modeRGB"), (GLenum, "modeA")]), + WglFunction(Void, "glBindFramebuffer", [(GLenum, "target"), (GLuint, "framebuffer")]), WglFunction(Void, "glBindFramebufferEXT", [(GLenum, "target"), (GLuint, "framebuffer")]), + WglFunction(Void, "glBindRenderbuffer", [(GLenum, "target"), (GLuint, "renderbuffer")]), WglFunction(Void, "glBindRenderbufferEXT", [(GLenum, "target"), (GLuint, "renderbuffer")]), + WglFunction(GLenum, "glCheckFramebufferStatus", [(GLenum, "target")]), WglFunction(GLenum, "glCheckFramebufferStatusEXT", [(GLenum, "target")]), + WglFunction(Void, "glDeleteFramebuffers", [(GLsizei, "n"), (Pointer(Const(GLuint)), "framebuffers")]), WglFunction(Void, "glDeleteFramebuffersEXT", [(GLsizei, "n"), (Pointer(Const(GLuint)), "framebuffers")]), + WglFunction(Void, "glDeleteRenderbuffers", [(GLsizei, "n"), (Pointer(Const(GLuint)), "renderbuffers")]), WglFunction(Void, "glDeleteRenderbuffersEXT", [(GLsizei, "n"), (Pointer(Const(GLuint)), "renderbuffers")]), + WglFunction(Void, "glFramebufferRenderbuffer", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "renderbuffertarget"), (GLuint, "renderbuffer")]), WglFunction(Void, "glFramebufferRenderbufferEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "renderbuffertarget"), (GLuint, "renderbuffer")]), + WglFunction(Void, "glFramebufferTexture1D", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLuint, "texture"), (GLint, "level")]), WglFunction(Void, "glFramebufferTexture1DEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLuint, "texture"), (GLint, "level")]), + WglFunction(Void, "glFramebufferTexture2D", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLuint, "texture"), (GLint, "level")]), WglFunction(Void, "glFramebufferTexture2DEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLuint, "texture"), (GLint, "level")]), + WglFunction(Void, "glFramebufferTexture3D", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLuint, "texture"), (GLint, "level"), (GLint, "zoffset")]), WglFunction(Void, "glFramebufferTexture3DEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLuint, "texture"), (GLint, "level"), (GLint, "zoffset")]), + WglFunction(Void, "glGenFramebuffers", [(GLsizei, "n"), (Pointer(GLuint), "framebuffers")]), WglFunction(Void, "glGenFramebuffersEXT", [(GLsizei, "n"), (Pointer(GLuint), "framebuffers")]), + WglFunction(Void, "glGenRenderbuffers", [(GLsizei, "n"), (Pointer(GLuint), "renderbuffers")]), WglFunction(Void, "glGenRenderbuffersEXT", [(GLsizei, "n"), (Pointer(GLuint), "renderbuffers")]), + WglFunction(Void, "glGenerateMipmap", [(GLenum, "target")]), WglFunction(Void, "glGenerateMipmapEXT", [(GLenum, "target")]), + WglFunction(Void, "glGetFramebufferAttachmentParameteriv", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "pname"), (Pointer(GLint), "params")]), WglFunction(Void, "glGetFramebufferAttachmentParameterivEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "pname"), (Pointer(GLint), "params")]), + WglFunction(Void, "glGetRenderbufferParameteriv", [(GLenum, "target"), (GLenum, "pname"), (Pointer(GLint), "params")]), WglFunction(Void, "glGetRenderbufferParameterivEXT", [(GLenum, "target"), (GLenum, "pname"), (Pointer(GLint), "params")]), + WglFunction(GLboolean, "glIsFramebuffer", [(GLuint, "framebuffer")]), WglFunction(GLboolean, "glIsFramebufferEXT", [(GLuint, "framebuffer")]), + WglFunction(GLboolean, "glIsRenderbuffer", [(GLuint, "renderbuffer")]), WglFunction(GLboolean, "glIsRenderbufferEXT", [(GLuint, "renderbuffer")]), + WglFunction(Void, "glRenderbufferStorage", [(GLenum, "target"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height")]), WglFunction(Void, "glRenderbufferStorageEXT", [(GLenum, "target"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height")]), + WglFunction(Void, "glBlitFramebuffer", [(GLint, "srcX0"), (GLint, "srcY0"), (GLint, "srcX1"), (GLint, "srcY1"), (GLint, "dstX0"), (GLint, "dstY0"), (GLint, "dstX1"), (GLint, "dstY1"), (GLbitfield, "mask"), (GLenum, "filter")]), WglFunction(Void, "glBlitFramebufferEXT", [(GLint, "srcX0"), (GLint, "srcY0"), (GLint, "srcX1"), (GLint, "srcY1"), (GLint, "dstX0"), (GLint, "dstY0"), (GLint, "dstX1"), (GLint, "dstY1"), (GLbitfield, "mask"), (GLenum, "filter")]), + WglFunction(Void, "glBufferParameteriAPPLE", [(GLenum, "target"), (GLenum, "pname"), (GLint, "param")]), + WglFunction(Void, "glFlushMappedBufferRangeAPPLE", [(GLenum, "target"), (GLintptr, "offset"), (GLsizeiptr, "size")]), + WglFunction(Void, "glFramebufferTextureLayer", [(GLenum, "target"), (GLenum, "attachment"), (GLuint, "texture"), (GLint, "level"), (GLint, "layer")]), WglFunction(Void, "glFramebufferTextureLayerEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLuint, "texture"), (GLint, "level"), (GLint, "layer")]), + WglFunction(Void, "glProvokingVertexEXT", [(GLenum, "mode")]), + WglFunction(Void, "glProvokingVertex", [(GLenum, "mode")]), + WglFunction(Void, "glGetTexParameterPointervAPPLE", [(GLenum, "target"), (GLenum, "pname"), (Pointer(Pointer(GLvoid)), "params")]), + WglFunction(Void, "glTextureRangeAPPLE", [(GLenum, "target"), (GLsizei, "length"), (Pointer(GLvoid), "pointer")]), WglFunction(Void, "glStencilFuncSeparateATI", [(GLenum, "frontfunc"), (GLenum, "backfunc"), (GLint, "ref"), (GLuint, "mask")]), WglFunction(Void, "glProgramEnvParameters4fvEXT", [(GLenum, "target"), (GLuint, "index"), (GLsizei, "count"), (Pointer(Const(GLfloat)), "params")]), WglFunction(Void, "glProgramLocalParameters4fvEXT", [(GLenum, "target"), (GLuint, "index"), (GLsizei, "count"), (Pointer(Const(GLfloat)), "params")]), -- 2.7.4