José Fonseca | 7ad4026 | 2009-09-30 17:17:12 +0100 | [diff] [blame] | 1 | ########################################################################## |
José Fonseca | 36e25aa | 2009-04-13 14:08:08 +0100 | [diff] [blame] | 2 | # |
José Fonseca | 780219b | 2010-11-28 11:25:08 +0000 | [diff] [blame] | 3 | # Copyright 2008-2010 VMware, Inc. |
José Fonseca | 7ad4026 | 2009-09-30 17:17:12 +0100 | [diff] [blame] | 4 | # All Rights Reserved. |
José Fonseca | 36e25aa | 2009-04-13 14:08:08 +0100 | [diff] [blame] | 5 | # |
José Fonseca | 7ad4026 | 2009-09-30 17:17:12 +0100 | [diff] [blame] | 6 | # Permission is hereby granted, free of charge, to any person obtaining a copy |
| 7 | # of this software and associated documentation files (the "Software"), to deal |
| 8 | # in the Software without restriction, including without limitation the rights |
| 9 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 10 | # copies of the Software, and to permit persons to whom the Software is |
| 11 | # furnished to do so, subject to the following conditions: |
José Fonseca | 36e25aa | 2009-04-13 14:08:08 +0100 | [diff] [blame] | 12 | # |
José Fonseca | 7ad4026 | 2009-09-30 17:17:12 +0100 | [diff] [blame] | 13 | # The above copyright notice and this permission notice shall be included in |
| 14 | # all copies or substantial portions of the Software. |
José Fonseca | 36e25aa | 2009-04-13 14:08:08 +0100 | [diff] [blame] | 15 | # |
José Fonseca | 7ad4026 | 2009-09-30 17:17:12 +0100 | [diff] [blame] | 16 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 17 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 18 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 19 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 20 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 21 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 22 | # THE SOFTWARE. |
José Fonseca | 36e25aa | 2009-04-13 14:08:08 +0100 | [diff] [blame] | 23 | # |
José Fonseca | 7ad4026 | 2009-09-30 17:17:12 +0100 | [diff] [blame] | 24 | ##########################################################################/ |
José Fonseca | 36e25aa | 2009-04-13 14:08:08 +0100 | [diff] [blame] | 25 | |
José Fonseca | 8fbdd3a | 2010-11-23 20:55:07 +0000 | [diff] [blame] | 26 | |
José Fonseca | 9796b84 | 2010-11-25 11:44:50 +0000 | [diff] [blame] | 27 | from stdapi import * |
José Fonseca | 1a65d4f | 2010-11-25 13:45:03 +0000 | [diff] [blame] | 28 | from glenum import * |
José Fonseca | 36e25aa | 2009-04-13 14:08:08 +0100 | [diff] [blame] | 29 | |
José Fonseca | 8fbdd3a | 2010-11-23 20:55:07 +0000 | [diff] [blame] | 30 | |
José Fonseca | c9edb83 | 2010-11-20 09:03:10 +0000 | [diff] [blame] | 31 | GLboolean = Alias("GLboolean", Bool) |
José Fonseca | 36e25aa | 2009-04-13 14:08:08 +0100 | [diff] [blame] | 32 | GLvoid = Alias("GLvoid", Void) |
| 33 | GLbyte = Alias("GLbyte", SChar) |
| 34 | GLshort = Alias("GLshort", Short) |
| 35 | GLint = Alias("GLint", Int) |
| 36 | GLubyte = Alias("GLubyte", UChar) |
| 37 | GLushort = Alias("GLushort", UShort) |
| 38 | GLuint = Alias("GLuint", UInt) |
| 39 | GLsizei = Alias("GLsizei", Int) |
| 40 | GLfloat = Alias("GLfloat", Float) |
| 41 | GLclampf = Alias("GLclampf", Float) |
| 42 | GLdouble = Alias("GLdouble", Double) |
| 43 | GLclampd = Alias("GLclampd", Double) |
José Fonseca | 36e25aa | 2009-04-13 14:08:08 +0100 | [diff] [blame] | 44 | |
José Fonseca | 1eac39b | 2009-06-30 19:47:38 +0100 | [diff] [blame] | 45 | GLchar = Alias("GLchar", SChar) |
| 46 | GLcharARB = Alias("GLcharARB", SChar) |
| 47 | GLintptr = Alias("GLintptr", Int) |
| 48 | GLsizeiptr = Alias("GLsizeiptr", Int) |
| 49 | GLintptrARB = Alias("GLintptrARB", Int) |
| 50 | GLsizeiptrARB = Alias("GLsizeiptrARB", Int) |
| 51 | GLhandleARB = Alias("GLhandleARB", UInt) |
| 52 | GLhalfARB = Alias("GLhalfARB", UShort) |
| 53 | GLhalfNV = Alias("GLhalfNV", UShort) |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame^] | 54 | GLint64 = Alias("GLint64", Int64) |
| 55 | GLuint64 = Alias("GLuint64", UInt64) |
| 56 | GLint64EXT = Alias("GLint64EXT", Int64) |
| 57 | GLuint64EXT = Alias("GLuint64EXT", UInt64) |
| 58 | GLDEBUGPROCARB = Opaque("GLDEBUGPROCARB") |
José Fonseca | 1eac39b | 2009-06-30 19:47:38 +0100 | [diff] [blame] | 59 | |
José Fonseca | f12c6bc | 2010-11-24 11:03:17 +0000 | [diff] [blame] | 60 | GLstring = String("GLchar *") |
| 61 | GLstringARB = String("GLcharARB *") |
José Fonseca | 83c9ac8 | 2010-01-28 14:45:36 +0000 | [diff] [blame] | 62 | |
José Fonseca | e6a50bd | 2010-11-24 10:12:22 +0000 | [diff] [blame] | 63 | GLlist = Handle("list", GLuint) |
| 64 | GLtexture = Handle("texture", GLuint) |
| 65 | GLbuffer = Handle("buffer", GLuint) |
| 66 | GLquery = Handle("query", GLuint) |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 67 | GLfenceNV = Handle("fenceNV", GLuint) |
José Fonseca | e6a50bd | 2010-11-24 10:12:22 +0000 | [diff] [blame] | 68 | GLprogram = Handle("program", GLuint) |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 69 | GLshader = Handle("shader", GLuint) |
| 70 | GLprogramARB = Handle("programARB", GLuint) |
| 71 | GLprogramNV = Handle("programNV", GLuint) |
José Fonseca | e6a50bd | 2010-11-24 10:12:22 +0000 | [diff] [blame] | 72 | GLframebuffer = Handle("framebuffer", GLuint) |
| 73 | GLrenderbuffer = Handle("renderbuffer", GLuint) |
José Fonseca | 780219b | 2010-11-28 11:25:08 +0000 | [diff] [blame] | 74 | GLfragmentShaderATI = Handle("fragmentShaderATI", GLuint) |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame^] | 75 | GLvertexArray = Handle("vertexArrayAPPLE", GLuint) |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 76 | GLregion = Handle("region", GLuint) |
José Fonseca | 50d78d8 | 2010-11-23 22:13:14 +0000 | [diff] [blame] | 77 | |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame^] | 78 | GLsync_ = Opaque("GLsync") |
| 79 | GLsync = Handle("sync", GLsync_) |
| 80 | |
José Fonseca | 2defc98 | 2010-11-22 16:59:10 +0000 | [diff] [blame] | 81 | |
José Fonseca | 8fbdd3a | 2010-11-23 20:55:07 +0000 | [diff] [blame] | 82 | def GlFunction(*args, **kwargs): |
José Fonseca | 8998861 | 2010-11-25 12:27:30 +0000 | [diff] [blame] | 83 | kwargs.setdefault('call', 'APIENTRY') |
José Fonseca | 8fbdd3a | 2010-11-23 20:55:07 +0000 | [diff] [blame] | 84 | return Function(*args, **kwargs) |
| 85 | |
José Fonseca | 2defc98 | 2010-11-22 16:59:10 +0000 | [diff] [blame] | 86 | |
José Fonseca | 8fbdd3a | 2010-11-23 20:55:07 +0000 | [diff] [blame] | 87 | glapi = API('GL') |
| 88 | |
| 89 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 90 | glapi.add_functions([ |
| 91 | # GL_VERSION_1_0 |
| 92 | GlFunction(Void, "glCullFace", [(GLenum, "mode")]), |
| 93 | GlFunction(Void, "glFrontFace", [(GLenum, "mode")]), |
| 94 | GlFunction(Void, "glHint", [(GLenum, "target"), (GLenum, "mode")]), |
| 95 | GlFunction(Void, "glLineWidth", [(GLfloat, "width")]), |
| 96 | GlFunction(Void, "glPointSize", [(GLfloat, "size")]), |
| 97 | GlFunction(Void, "glPolygonMode", [(GLenum, "face"), (GLenum, "mode")]), |
| 98 | GlFunction(Void, "glScissor", [(GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height")]), |
| 99 | GlFunction(Void, "glTexParameterf", [(GLenum, "target"), (GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | 1a65d4f | 2010-11-25 13:45:03 +0000 | [diff] [blame] | 100 | GlFunction(Void, "glTexParameterfv", [(GLenum, "target"), (GLenum, "pname"), (Const(Array(GLfloat, "__glTexParameterfv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 101 | GlFunction(Void, "glTexParameteri", [(GLenum, "target"), (GLenum, "pname"), (GLint, "param")]), |
José Fonseca | 1a65d4f | 2010-11-25 13:45:03 +0000 | [diff] [blame] | 102 | GlFunction(Void, "glTexParameteriv", [(GLenum, "target"), (GLenum, "pname"), (Const(Array(GLint, "__glTexParameteriv_size(pname)")), "params")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 103 | GlFunction(Void, "glTexImage1D", [(GLenum, "target"), (GLint, "level"), (GLint, "internalformat"), (GLsizei, "width"), (GLint, "border"), (GLenum, "format"), (GLenum, "type"), (Blob(Const(GLvoid), "__glTexImage1D_size(format, type, width, border)"), "pixels")]), |
| 104 | GlFunction(Void, "glTexImage2D", [(GLenum, "target"), (GLint, "level"), (GLint, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLint, "border"), (GLenum, "format"), (GLenum, "type"), (Blob(Const(GLvoid), "__glTexImage2D_size(format, type, width, height, border)"), "pixels")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 105 | GlFunction(Void, "glDrawBuffer", [(GLenum, "mode")]), |
| 106 | GlFunction(Void, "glClear", [(GLbitfield_attrib, "mask")]), |
| 107 | GlFunction(Void, "glClearColor", [(GLclampf, "red"), (GLclampf, "green"), (GLclampf, "blue"), (GLclampf, "alpha")]), |
| 108 | GlFunction(Void, "glClearStencil", [(GLint, "s")]), |
| 109 | GlFunction(Void, "glClearDepth", [(GLclampd, "depth")]), |
| 110 | GlFunction(Void, "glStencilMask", [(GLuint, "mask")]), |
| 111 | GlFunction(Void, "glColorMask", [(GLboolean, "red"), (GLboolean, "green"), (GLboolean, "blue"), (GLboolean, "alpha")]), |
| 112 | GlFunction(Void, "glDepthMask", [(GLboolean, "flag")]), |
| 113 | GlFunction(Void, "glDisable", [(GLenum, "cap")]), |
| 114 | GlFunction(Void, "glEnable", [(GLenum, "cap")]), |
| 115 | GlFunction(Void, "glFinish", []), |
| 116 | GlFunction(Void, "glFlush", []), |
| 117 | GlFunction(Void, "glBlendFunc", [(GLenum, "sfactor"), (GLenum, "dfactor")]), |
| 118 | GlFunction(Void, "glLogicOp", [(GLenum, "opcode")]), |
| 119 | GlFunction(Void, "glStencilFunc", [(GLenum, "func"), (GLint, "ref"), (GLuint, "mask")]), |
| 120 | GlFunction(Void, "glStencilOp", [(GLenum, "fail"), (GLenum, "zfail"), (GLenum, "zpass")]), |
| 121 | GlFunction(Void, "glDepthFunc", [(GLenum, "func")]), |
| 122 | GlFunction(Void, "glPixelStoref", [(GLenum, "pname"), (GLfloat, "param")]), |
| 123 | GlFunction(Void, "glPixelStorei", [(GLenum, "pname"), (GLint, "param")]), |
| 124 | GlFunction(Void, "glReadBuffer", [(GLenum, "mode")]), |
| 125 | GlFunction(Void, "glReadPixels", [(GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLenum, "type"), Out(OpaquePointer(GLvoid), "pixels")], sideeffects=False), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 126 | GlFunction(Void, "glGetBooleanv", [(GLenum, "pname"), Out(Array(GLboolean, "__glGetBooleanv_size(pname)"), "params")], sideeffects=False), |
| 127 | GlFunction(Void, "glGetDoublev", [(GLenum, "pname"), Out(Array(GLdouble, "__glGetDoublev_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 128 | GlFunction(GLenum, "glGetError", [], sideeffects=False), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 129 | GlFunction(Void, "glGetFloatv", [(GLenum, "pname"), Out(Array(GLfloat, "__glGetFloatv_size(pname)"), "params")], sideeffects=False), |
| 130 | GlFunction(Void, "glGetIntegerv", [(GLenum, "pname"), Out(Array(GLint, "__glGetIntegerv_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 131 | GlFunction(Alias("const GLubyte *", CString), "glGetString", [(GLenum, "name")], sideeffects=False), |
| 132 | GlFunction(Void, "glGetTexImage", [(GLenum, "target"), (GLint, "level"), (GLenum, "format"), (GLenum, "type"), Out(OpaquePointer(GLvoid), "pixels")], sideeffects=False), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 133 | GlFunction(Void, "glGetTexParameterfv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetTexParameterfv_size(pname)"), "params")], sideeffects=False), |
| 134 | GlFunction(Void, "glGetTexParameteriv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__glGetTexParameteriv_size(pname)"), "params")], sideeffects=False), |
| 135 | GlFunction(Void, "glGetTexLevelParameterfv", [(GLenum, "target"), (GLint, "level"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetTexLevelParameterfv_size(pname)"), "params")], sideeffects=False), |
| 136 | GlFunction(Void, "glGetTexLevelParameteriv", [(GLenum, "target"), (GLint, "level"), (GLenum, "pname"), Out(Array(GLint, "__glGetTexLevelParameteriv_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 137 | GlFunction(GLboolean, "glIsEnabled", [(GLenum, "cap")]), |
| 138 | GlFunction(Void, "glDepthRange", [(GLclampd, "zNear"), (GLclampd, "zFar")]), |
| 139 | GlFunction(Void, "glViewport", [(GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height")]), |
José Fonseca | 6fa64d0 | 2010-11-24 00:46:26 +0000 | [diff] [blame] | 140 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 141 | # GL_VERSION_1_0_DEPRECATED |
| 142 | GlFunction(Void, "glNewList", [(GLlist, "list"), (GLenum, "mode")]), |
| 143 | GlFunction(Void, "glEndList", []), |
| 144 | GlFunction(Void, "glCallList", [(GLlist, "list")]), |
José Fonseca | 780219b | 2010-11-28 11:25:08 +0000 | [diff] [blame] | 145 | GlFunction(Void, "glCallLists", [(GLsizei, "n"), (GLenum, "type"), (Blob(Const(GLvoid), "__glCallLists_size(n, type)"), "lists")]), |
| 146 | GlFunction(Void, "glDeleteLists", [(GLlist, "list"), (GLsizei, "range")]), |
| 147 | GlFunction(Handle("list", GLuint, "range"), "glGenLists", [(GLsizei, "range")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 148 | GlFunction(Void, "glListBase", [(GLuint, "base")]), |
| 149 | GlFunction(Void, "glBegin", [(GLenum_mode, "mode")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 150 | GlFunction(Void, "glBitmap", [(GLsizei, "width"), (GLsizei, "height"), (GLfloat, "xorig"), (GLfloat, "yorig"), (GLfloat, "xmove"), (GLfloat, "ymove"), (Blob(Const(GLubyte), "__glBitmap_size(width, height)"), "bitmap")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 151 | GlFunction(Void, "glColor3b", [(GLbyte, "red"), (GLbyte, "green"), (GLbyte, "blue")]), |
| 152 | GlFunction(Void, "glColor3bv", [(Const(Array(GLbyte, "3")), "v")]), |
| 153 | GlFunction(Void, "glColor3d", [(GLdouble, "red"), (GLdouble, "green"), (GLdouble, "blue")]), |
| 154 | GlFunction(Void, "glColor3dv", [(Const(Array(GLdouble, "3")), "v")]), |
| 155 | GlFunction(Void, "glColor3f", [(GLfloat, "red"), (GLfloat, "green"), (GLfloat, "blue")]), |
| 156 | GlFunction(Void, "glColor3fv", [(Const(Array(GLfloat, "3")), "v")]), |
| 157 | GlFunction(Void, "glColor3i", [(GLint, "red"), (GLint, "green"), (GLint, "blue")]), |
| 158 | GlFunction(Void, "glColor3iv", [(Const(Array(GLint, "3")), "v")]), |
| 159 | GlFunction(Void, "glColor3s", [(GLshort, "red"), (GLshort, "green"), (GLshort, "blue")]), |
| 160 | GlFunction(Void, "glColor3sv", [(Const(Array(GLshort, "3")), "v")]), |
| 161 | GlFunction(Void, "glColor3ub", [(GLubyte, "red"), (GLubyte, "green"), (GLubyte, "blue")]), |
| 162 | GlFunction(Void, "glColor3ubv", [(Const(Array(GLubyte, "3")), "v")]), |
| 163 | GlFunction(Void, "glColor3ui", [(GLuint, "red"), (GLuint, "green"), (GLuint, "blue")]), |
| 164 | GlFunction(Void, "glColor3uiv", [(Const(Array(GLuint, "3")), "v")]), |
| 165 | GlFunction(Void, "glColor3us", [(GLushort, "red"), (GLushort, "green"), (GLushort, "blue")]), |
| 166 | GlFunction(Void, "glColor3usv", [(Const(Array(GLushort, "3")), "v")]), |
| 167 | GlFunction(Void, "glColor4b", [(GLbyte, "red"), (GLbyte, "green"), (GLbyte, "blue"), (GLbyte, "alpha")]), |
| 168 | GlFunction(Void, "glColor4bv", [(Const(Array(GLbyte, "4")), "v")]), |
| 169 | GlFunction(Void, "glColor4d", [(GLdouble, "red"), (GLdouble, "green"), (GLdouble, "blue"), (GLdouble, "alpha")]), |
| 170 | GlFunction(Void, "glColor4dv", [(Const(Array(GLdouble, "4")), "v")]), |
| 171 | GlFunction(Void, "glColor4f", [(GLfloat, "red"), (GLfloat, "green"), (GLfloat, "blue"), (GLfloat, "alpha")]), |
| 172 | GlFunction(Void, "glColor4fv", [(Const(Array(GLfloat, "4")), "v")]), |
| 173 | GlFunction(Void, "glColor4i", [(GLint, "red"), (GLint, "green"), (GLint, "blue"), (GLint, "alpha")]), |
| 174 | GlFunction(Void, "glColor4iv", [(Const(Array(GLint, "4")), "v")]), |
| 175 | GlFunction(Void, "glColor4s", [(GLshort, "red"), (GLshort, "green"), (GLshort, "blue"), (GLshort, "alpha")]), |
| 176 | GlFunction(Void, "glColor4sv", [(Const(Array(GLshort, "4")), "v")]), |
| 177 | GlFunction(Void, "glColor4ub", [(GLubyte, "red"), (GLubyte, "green"), (GLubyte, "blue"), (GLubyte, "alpha")]), |
| 178 | GlFunction(Void, "glColor4ubv", [(Const(Array(GLubyte, "4")), "v")]), |
| 179 | GlFunction(Void, "glColor4ui", [(GLuint, "red"), (GLuint, "green"), (GLuint, "blue"), (GLuint, "alpha")]), |
| 180 | GlFunction(Void, "glColor4uiv", [(Const(Array(GLuint, "4")), "v")]), |
| 181 | GlFunction(Void, "glColor4us", [(GLushort, "red"), (GLushort, "green"), (GLushort, "blue"), (GLushort, "alpha")]), |
| 182 | GlFunction(Void, "glColor4usv", [(Const(Array(GLushort, "4")), "v")]), |
| 183 | GlFunction(Void, "glEdgeFlag", [(GLboolean, "flag")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 184 | GlFunction(Void, "glEdgeFlagv", [(Const(Pointer(GLboolean)), "flag")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 185 | GlFunction(Void, "glEnd", []), |
| 186 | GlFunction(Void, "glIndexd", [(GLdouble, "c")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 187 | GlFunction(Void, "glIndexdv", [(Const(Pointer(GLdouble)), "c")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 188 | GlFunction(Void, "glIndexf", [(GLfloat, "c")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 189 | GlFunction(Void, "glIndexfv", [(Const(Pointer(GLfloat)), "c")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 190 | GlFunction(Void, "glIndexi", [(GLint, "c")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 191 | GlFunction(Void, "glIndexiv", [(Const(Pointer(GLint)), "c")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 192 | GlFunction(Void, "glIndexs", [(GLshort, "c")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 193 | GlFunction(Void, "glIndexsv", [(Const(Pointer(GLshort)), "c")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 194 | GlFunction(Void, "glNormal3b", [(GLbyte, "nx"), (GLbyte, "ny"), (GLbyte, "nz")]), |
| 195 | GlFunction(Void, "glNormal3bv", [(Const(Array(GLbyte, "3")), "v")]), |
| 196 | GlFunction(Void, "glNormal3d", [(GLdouble, "nx"), (GLdouble, "ny"), (GLdouble, "nz")]), |
| 197 | GlFunction(Void, "glNormal3dv", [(Const(Array(GLdouble, "3")), "v")]), |
| 198 | GlFunction(Void, "glNormal3f", [(GLfloat, "nx"), (GLfloat, "ny"), (GLfloat, "nz")]), |
| 199 | GlFunction(Void, "glNormal3fv", [(Const(Array(GLfloat, "3")), "v")]), |
| 200 | GlFunction(Void, "glNormal3i", [(GLint, "nx"), (GLint, "ny"), (GLint, "nz")]), |
| 201 | GlFunction(Void, "glNormal3iv", [(Const(Array(GLint, "3")), "v")]), |
| 202 | GlFunction(Void, "glNormal3s", [(GLshort, "nx"), (GLshort, "ny"), (GLshort, "nz")]), |
| 203 | GlFunction(Void, "glNormal3sv", [(Const(Array(GLshort, "3")), "v")]), |
| 204 | GlFunction(Void, "glRasterPos2d", [(GLdouble, "x"), (GLdouble, "y")]), |
| 205 | GlFunction(Void, "glRasterPos2dv", [(Const(Array(GLdouble, "2")), "v")]), |
| 206 | GlFunction(Void, "glRasterPos2f", [(GLfloat, "x"), (GLfloat, "y")]), |
| 207 | GlFunction(Void, "glRasterPos2fv", [(Const(Array(GLfloat, "2")), "v")]), |
| 208 | GlFunction(Void, "glRasterPos2i", [(GLint, "x"), (GLint, "y")]), |
| 209 | GlFunction(Void, "glRasterPos2iv", [(Const(Array(GLint, "2")), "v")]), |
| 210 | GlFunction(Void, "glRasterPos2s", [(GLshort, "x"), (GLshort, "y")]), |
| 211 | GlFunction(Void, "glRasterPos2sv", [(Const(Array(GLshort, "2")), "v")]), |
| 212 | GlFunction(Void, "glRasterPos3d", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 213 | GlFunction(Void, "glRasterPos3dv", [(Const(Array(GLdouble, "3")), "v")]), |
| 214 | GlFunction(Void, "glRasterPos3f", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 215 | GlFunction(Void, "glRasterPos3fv", [(Const(Array(GLfloat, "3")), "v")]), |
| 216 | GlFunction(Void, "glRasterPos3i", [(GLint, "x"), (GLint, "y"), (GLint, "z")]), |
| 217 | GlFunction(Void, "glRasterPos3iv", [(Const(Array(GLint, "3")), "v")]), |
| 218 | GlFunction(Void, "glRasterPos3s", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), |
| 219 | GlFunction(Void, "glRasterPos3sv", [(Const(Array(GLshort, "3")), "v")]), |
| 220 | GlFunction(Void, "glRasterPos4d", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 221 | GlFunction(Void, "glRasterPos4dv", [(Const(Array(GLdouble, "4")), "v")]), |
| 222 | GlFunction(Void, "glRasterPos4f", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 223 | GlFunction(Void, "glRasterPos4fv", [(Const(Array(GLfloat, "4")), "v")]), |
| 224 | GlFunction(Void, "glRasterPos4i", [(GLint, "x"), (GLint, "y"), (GLint, "z"), (GLint, "w")]), |
| 225 | GlFunction(Void, "glRasterPos4iv", [(Const(Array(GLint, "4")), "v")]), |
| 226 | GlFunction(Void, "glRasterPos4s", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]), |
| 227 | GlFunction(Void, "glRasterPos4sv", [(Const(Array(GLshort, "4")), "v")]), |
| 228 | GlFunction(Void, "glRectd", [(GLdouble, "x1"), (GLdouble, "y1"), (GLdouble, "x2"), (GLdouble, "y2")]), |
| 229 | GlFunction(Void, "glRectdv", [(Const(Array(GLdouble, "2")), "v1"), (Const(Array(GLdouble, "2")), "v2")]), |
| 230 | GlFunction(Void, "glRectf", [(GLfloat, "x1"), (GLfloat, "y1"), (GLfloat, "x2"), (GLfloat, "y2")]), |
| 231 | GlFunction(Void, "glRectfv", [(Const(Array(GLfloat, "2")), "v1"), (Const(Array(GLfloat, "2")), "v2")]), |
| 232 | GlFunction(Void, "glRecti", [(GLint, "x1"), (GLint, "y1"), (GLint, "x2"), (GLint, "y2")]), |
| 233 | GlFunction(Void, "glRectiv", [(Const(Array(GLint, "2")), "v1"), (Const(Array(GLint, "2")), "v2")]), |
| 234 | GlFunction(Void, "glRects", [(GLshort, "x1"), (GLshort, "y1"), (GLshort, "x2"), (GLshort, "y2")]), |
| 235 | GlFunction(Void, "glRectsv", [(Const(Array(GLshort, "2")), "v1"), (Const(Array(GLshort, "2")), "v2")]), |
| 236 | GlFunction(Void, "glTexCoord1d", [(GLdouble, "s")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 237 | GlFunction(Void, "glTexCoord1dv", [(Const(Pointer(GLdouble)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 238 | GlFunction(Void, "glTexCoord1f", [(GLfloat, "s")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 239 | GlFunction(Void, "glTexCoord1fv", [(Const(Pointer(GLfloat)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 240 | GlFunction(Void, "glTexCoord1i", [(GLint, "s")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 241 | GlFunction(Void, "glTexCoord1iv", [(Const(Pointer(GLint)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 242 | GlFunction(Void, "glTexCoord1s", [(GLshort, "s")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 243 | GlFunction(Void, "glTexCoord1sv", [(Const(Pointer(GLshort)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 244 | GlFunction(Void, "glTexCoord2d", [(GLdouble, "s"), (GLdouble, "t")]), |
| 245 | GlFunction(Void, "glTexCoord2dv", [(Const(Array(GLdouble, "2")), "v")]), |
| 246 | GlFunction(Void, "glTexCoord2f", [(GLfloat, "s"), (GLfloat, "t")]), |
| 247 | GlFunction(Void, "glTexCoord2fv", [(Const(Array(GLfloat, "2")), "v")]), |
| 248 | GlFunction(Void, "glTexCoord2i", [(GLint, "s"), (GLint, "t")]), |
| 249 | GlFunction(Void, "glTexCoord2iv", [(Const(Array(GLint, "2")), "v")]), |
| 250 | GlFunction(Void, "glTexCoord2s", [(GLshort, "s"), (GLshort, "t")]), |
| 251 | GlFunction(Void, "glTexCoord2sv", [(Const(Array(GLshort, "2")), "v")]), |
| 252 | GlFunction(Void, "glTexCoord3d", [(GLdouble, "s"), (GLdouble, "t"), (GLdouble, "r")]), |
| 253 | GlFunction(Void, "glTexCoord3dv", [(Const(Array(GLdouble, "3")), "v")]), |
| 254 | GlFunction(Void, "glTexCoord3f", [(GLfloat, "s"), (GLfloat, "t"), (GLfloat, "r")]), |
| 255 | GlFunction(Void, "glTexCoord3fv", [(Const(Array(GLfloat, "3")), "v")]), |
| 256 | GlFunction(Void, "glTexCoord3i", [(GLint, "s"), (GLint, "t"), (GLint, "r")]), |
| 257 | GlFunction(Void, "glTexCoord3iv", [(Const(Array(GLint, "3")), "v")]), |
| 258 | GlFunction(Void, "glTexCoord3s", [(GLshort, "s"), (GLshort, "t"), (GLshort, "r")]), |
| 259 | GlFunction(Void, "glTexCoord3sv", [(Const(Array(GLshort, "3")), "v")]), |
| 260 | GlFunction(Void, "glTexCoord4d", [(GLdouble, "s"), (GLdouble, "t"), (GLdouble, "r"), (GLdouble, "q")]), |
| 261 | GlFunction(Void, "glTexCoord4dv", [(Const(Array(GLdouble, "4")), "v")]), |
| 262 | GlFunction(Void, "glTexCoord4f", [(GLfloat, "s"), (GLfloat, "t"), (GLfloat, "r"), (GLfloat, "q")]), |
| 263 | GlFunction(Void, "glTexCoord4fv", [(Const(Array(GLfloat, "4")), "v")]), |
| 264 | GlFunction(Void, "glTexCoord4i", [(GLint, "s"), (GLint, "t"), (GLint, "r"), (GLint, "q")]), |
| 265 | GlFunction(Void, "glTexCoord4iv", [(Const(Array(GLint, "4")), "v")]), |
| 266 | GlFunction(Void, "glTexCoord4s", [(GLshort, "s"), (GLshort, "t"), (GLshort, "r"), (GLshort, "q")]), |
| 267 | GlFunction(Void, "glTexCoord4sv", [(Const(Array(GLshort, "4")), "v")]), |
| 268 | GlFunction(Void, "glVertex2d", [(GLdouble, "x"), (GLdouble, "y")]), |
| 269 | GlFunction(Void, "glVertex2dv", [(Const(Array(GLdouble, "2")), "v")]), |
| 270 | GlFunction(Void, "glVertex2f", [(GLfloat, "x"), (GLfloat, "y")]), |
| 271 | GlFunction(Void, "glVertex2fv", [(Const(Array(GLfloat, "2")), "v")]), |
| 272 | GlFunction(Void, "glVertex2i", [(GLint, "x"), (GLint, "y")]), |
| 273 | GlFunction(Void, "glVertex2iv", [(Const(Array(GLint, "2")), "v")]), |
| 274 | GlFunction(Void, "glVertex2s", [(GLshort, "x"), (GLshort, "y")]), |
| 275 | GlFunction(Void, "glVertex2sv", [(Const(Array(GLshort, "2")), "v")]), |
| 276 | GlFunction(Void, "glVertex3d", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 277 | GlFunction(Void, "glVertex3dv", [(Const(Array(GLdouble, "3")), "v")]), |
| 278 | GlFunction(Void, "glVertex3f", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 279 | GlFunction(Void, "glVertex3fv", [(Const(Array(GLfloat, "3")), "v")]), |
| 280 | GlFunction(Void, "glVertex3i", [(GLint, "x"), (GLint, "y"), (GLint, "z")]), |
| 281 | GlFunction(Void, "glVertex3iv", [(Const(Array(GLint, "3")), "v")]), |
| 282 | GlFunction(Void, "glVertex3s", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), |
| 283 | GlFunction(Void, "glVertex3sv", [(Const(Array(GLshort, "3")), "v")]), |
| 284 | GlFunction(Void, "glVertex4d", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 285 | GlFunction(Void, "glVertex4dv", [(Const(Array(GLdouble, "4")), "v")]), |
| 286 | GlFunction(Void, "glVertex4f", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 287 | GlFunction(Void, "glVertex4fv", [(Const(Array(GLfloat, "4")), "v")]), |
| 288 | GlFunction(Void, "glVertex4i", [(GLint, "x"), (GLint, "y"), (GLint, "z"), (GLint, "w")]), |
| 289 | GlFunction(Void, "glVertex4iv", [(Const(Array(GLint, "4")), "v")]), |
| 290 | GlFunction(Void, "glVertex4s", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]), |
| 291 | GlFunction(Void, "glVertex4sv", [(Const(Array(GLshort, "4")), "v")]), |
| 292 | GlFunction(Void, "glClipPlane", [(GLenum, "plane"), (Const(Array(GLdouble, "4")), "equation")]), |
| 293 | GlFunction(Void, "glColorMaterial", [(GLenum, "face"), (GLenum, "mode")]), |
| 294 | GlFunction(Void, "glFogf", [(GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 295 | GlFunction(Void, "glFogfv", [(GLenum, "pname"), (Const(Array(GLfloat, "__glFogfv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 296 | GlFunction(Void, "glFogi", [(GLenum, "pname"), (GLint, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 297 | GlFunction(Void, "glFogiv", [(GLenum, "pname"), (Const(Array(GLint, "__glFogiv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 298 | GlFunction(Void, "glLightf", [(GLenum, "light"), (GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 299 | GlFunction(Void, "glLightfv", [(GLenum, "light"), (GLenum, "pname"), (Const(Array(GLfloat, "__glLightfv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 300 | GlFunction(Void, "glLighti", [(GLenum, "light"), (GLenum, "pname"), (GLint, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 301 | GlFunction(Void, "glLightiv", [(GLenum, "light"), (GLenum, "pname"), (Const(Array(GLint, "__glLightiv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 302 | GlFunction(Void, "glLightModelf", [(GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 303 | GlFunction(Void, "glLightModelfv", [(GLenum, "pname"), (Const(Array(GLfloat, "__glLightModelfv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 304 | GlFunction(Void, "glLightModeli", [(GLenum, "pname"), (GLint, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 305 | GlFunction(Void, "glLightModeliv", [(GLenum, "pname"), (Const(Array(GLint, "__glLightModeliv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 306 | GlFunction(Void, "glLineStipple", [(GLint, "factor"), (GLushort, "pattern")]), |
| 307 | GlFunction(Void, "glMaterialf", [(GLenum, "face"), (GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 308 | GlFunction(Void, "glMaterialfv", [(GLenum, "face"), (GLenum, "pname"), (Const(Array(GLfloat, "__glMaterialfv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 309 | GlFunction(Void, "glMateriali", [(GLenum, "face"), (GLenum, "pname"), (GLint, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 310 | GlFunction(Void, "glMaterialiv", [(GLenum, "face"), (GLenum, "pname"), (Const(Array(GLint, "__glMaterialiv_size(pname)")), "params")]), |
| 311 | GlFunction(Void, "glPolygonStipple", [(Const(Array(GLubyte, "__glPolygonStipple_size()")), "mask")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 312 | GlFunction(Void, "glShadeModel", [(GLenum, "mode")]), |
| 313 | GlFunction(Void, "glTexEnvf", [(GLenum, "target"), (GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 314 | GlFunction(Void, "glTexEnvfv", [(GLenum, "target"), (GLenum, "pname"), (Const(Array(GLfloat, "__glTexEnvfv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 315 | GlFunction(Void, "glTexEnvi", [(GLenum, "target"), (GLenum, "pname"), (GLint, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 316 | GlFunction(Void, "glTexEnviv", [(GLenum, "target"), (GLenum, "pname"), (Const(Array(GLint, "__glTexEnviv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 317 | GlFunction(Void, "glTexGend", [(GLenum, "coord"), (GLenum, "pname"), (GLdouble, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 318 | GlFunction(Void, "glTexGendv", [(GLenum, "coord"), (GLenum, "pname"), (Const(Array(GLdouble, "__glTexGendv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 319 | GlFunction(Void, "glTexGenf", [(GLenum, "coord"), (GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 320 | GlFunction(Void, "glTexGenfv", [(GLenum, "coord"), (GLenum, "pname"), (Const(Array(GLfloat, "__glTexGenfv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 321 | GlFunction(Void, "glTexGeni", [(GLenum, "coord"), (GLenum, "pname"), (GLint, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 322 | GlFunction(Void, "glTexGeniv", [(GLenum, "coord"), (GLenum, "pname"), (Const(Array(GLint, "__glTexGeniv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 323 | GlFunction(Void, "glFeedbackBuffer", [(GLsizei, "size"), (GLenum, "type"), Out(Array(GLfloat, "size"), "buffer")]), |
| 324 | GlFunction(Void, "glSelectBuffer", [(GLsizei, "size"), Out(Array(GLuint, "size"), "buffer")]), |
| 325 | GlFunction(GLint, "glRenderMode", [(GLenum, "mode")]), |
| 326 | GlFunction(Void, "glInitNames", []), |
| 327 | GlFunction(Void, "glLoadName", [(GLuint, "name")]), |
| 328 | GlFunction(Void, "glPassThrough", [(GLfloat, "token")]), |
| 329 | GlFunction(Void, "glPopName", []), |
| 330 | GlFunction(Void, "glPushName", [(GLuint, "name")]), |
| 331 | GlFunction(Void, "glClearAccum", [(GLfloat, "red"), (GLfloat, "green"), (GLfloat, "blue"), (GLfloat, "alpha")]), |
| 332 | GlFunction(Void, "glClearIndex", [(GLfloat, "c")]), |
| 333 | GlFunction(Void, "glIndexMask", [(GLuint, "mask")]), |
| 334 | GlFunction(Void, "glAccum", [(GLenum, "op"), (GLfloat, "value")]), |
| 335 | GlFunction(Void, "glPopAttrib", []), |
| 336 | GlFunction(Void, "glPushAttrib", [(GLbitfield_attrib, "mask")]), |
| 337 | GlFunction(Void, "glMap1d", [(GLenum, "target"), (GLdouble, "u1"), (GLdouble, "u2"), (GLint, "stride"), (GLint, "order"), (Const(OpaquePointer(GLdouble)), "points")]), |
| 338 | GlFunction(Void, "glMap1f", [(GLenum, "target"), (GLfloat, "u1"), (GLfloat, "u2"), (GLint, "stride"), (GLint, "order"), (Const(OpaquePointer(GLfloat)), "points")]), |
| 339 | GlFunction(Void, "glMap2d", [(GLenum, "target"), (GLdouble, "u1"), (GLdouble, "u2"), (GLint, "ustride"), (GLint, "uorder"), (GLdouble, "v1"), (GLdouble, "v2"), (GLint, "vstride"), (GLint, "vorder"), (Const(OpaquePointer(GLdouble)), "points")]), |
| 340 | GlFunction(Void, "glMap2f", [(GLenum, "target"), (GLfloat, "u1"), (GLfloat, "u2"), (GLint, "ustride"), (GLint, "uorder"), (GLfloat, "v1"), (GLfloat, "v2"), (GLint, "vstride"), (GLint, "vorder"), (Const(OpaquePointer(GLfloat)), "points")]), |
| 341 | GlFunction(Void, "glMapGrid1d", [(GLint, "un"), (GLdouble, "u1"), (GLdouble, "u2")]), |
| 342 | GlFunction(Void, "glMapGrid1f", [(GLint, "un"), (GLfloat, "u1"), (GLfloat, "u2")]), |
| 343 | GlFunction(Void, "glMapGrid2d", [(GLint, "un"), (GLdouble, "u1"), (GLdouble, "u2"), (GLint, "vn"), (GLdouble, "v1"), (GLdouble, "v2")]), |
| 344 | GlFunction(Void, "glMapGrid2f", [(GLint, "un"), (GLfloat, "u1"), (GLfloat, "u2"), (GLint, "vn"), (GLfloat, "v1"), (GLfloat, "v2")]), |
| 345 | GlFunction(Void, "glEvalCoord1d", [(GLdouble, "u")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 346 | GlFunction(Void, "glEvalCoord1dv", [(Const(Pointer(GLdouble)), "u")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 347 | GlFunction(Void, "glEvalCoord1f", [(GLfloat, "u")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 348 | GlFunction(Void, "glEvalCoord1fv", [(Const(Pointer(GLfloat)), "u")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 349 | GlFunction(Void, "glEvalCoord2d", [(GLdouble, "u"), (GLdouble, "v")]), |
| 350 | GlFunction(Void, "glEvalCoord2dv", [(Const(Array(GLdouble, "2")), "u")]), |
| 351 | GlFunction(Void, "glEvalCoord2f", [(GLfloat, "u"), (GLfloat, "v")]), |
| 352 | GlFunction(Void, "glEvalCoord2fv", [(Const(Array(GLfloat, "2")), "u")]), |
| 353 | GlFunction(Void, "glEvalMesh1", [(GLenum, "mode"), (GLint, "i1"), (GLint, "i2")]), |
| 354 | GlFunction(Void, "glEvalPoint1", [(GLint, "i")]), |
| 355 | GlFunction(Void, "glEvalMesh2", [(GLenum, "mode"), (GLint, "i1"), (GLint, "i2"), (GLint, "j1"), (GLint, "j2")]), |
| 356 | GlFunction(Void, "glEvalPoint2", [(GLint, "i"), (GLint, "j")]), |
| 357 | GlFunction(Void, "glAlphaFunc", [(GLenum, "func"), (GLclampf, "ref")]), |
| 358 | GlFunction(Void, "glPixelZoom", [(GLfloat, "xfactor"), (GLfloat, "yfactor")]), |
| 359 | GlFunction(Void, "glPixelTransferf", [(GLenum, "pname"), (GLfloat, "param")]), |
| 360 | GlFunction(Void, "glPixelTransferi", [(GLenum, "pname"), (GLint, "param")]), |
| 361 | GlFunction(Void, "glPixelMapfv", [(GLenum, "map"), (GLsizei, "mapsize"), (Const(Array(GLfloat, "mapsize")), "values")]), |
| 362 | GlFunction(Void, "glPixelMapuiv", [(GLenum, "map"), (GLsizei, "mapsize"), (Const(Array(GLuint, "mapsize")), "values")]), |
| 363 | GlFunction(Void, "glPixelMapusv", [(GLenum, "map"), (GLsizei, "mapsize"), (Const(Array(GLushort, "mapsize")), "values")]), |
| 364 | GlFunction(Void, "glCopyPixels", [(GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "type")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 365 | GlFunction(Void, "glDrawPixels", [(GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLenum, "type"), (Blob(Const(GLvoid), "__glDrawPixels_size(format, type, width, height)"), "pixels")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 366 | GlFunction(Void, "glGetClipPlane", [(GLenum, "plane"), Out(Array(GLdouble, "4"), "equation")], sideeffects=False), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 367 | GlFunction(Void, "glGetLightfv", [(GLenum, "light"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetLightfv_size(pname)"), "params")], sideeffects=False), |
| 368 | GlFunction(Void, "glGetLightiv", [(GLenum, "light"), (GLenum, "pname"), Out(Array(GLint, "__glGetLightiv_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 369 | GlFunction(Void, "glGetMapdv", [(GLenum, "target"), (GLenum, "query"), Out(Pointer(GLdouble), "v")], sideeffects=False), |
| 370 | GlFunction(Void, "glGetMapfv", [(GLenum, "target"), (GLenum, "query"), Out(Pointer(GLfloat), "v")], sideeffects=False), |
| 371 | GlFunction(Void, "glGetMapiv", [(GLenum, "target"), (GLenum, "query"), Out(Pointer(GLint), "v")], sideeffects=False), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 372 | GlFunction(Void, "glGetMaterialfv", [(GLenum, "face"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetMaterialfv_size(pname)"), "params")], sideeffects=False), |
| 373 | GlFunction(Void, "glGetMaterialiv", [(GLenum, "face"), (GLenum, "pname"), Out(Array(GLint, "__glGetMaterialiv_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 374 | GlFunction(Void, "glGetPixelMapfv", [(GLenum, "map"), Out(Pointer(GLfloat), "values")], sideeffects=False), |
| 375 | GlFunction(Void, "glGetPixelMapuiv", [(GLenum, "map"), Out(Pointer(GLuint), "values")], sideeffects=False), |
| 376 | GlFunction(Void, "glGetPixelMapusv", [(GLenum, "map"), Out(Pointer(GLushort), "values")], sideeffects=False), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 377 | GlFunction(Void, "glGetPolygonStipple", [Out(OpaquePointer(GLubyte), "mask")], sideeffects=False), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 378 | GlFunction(Void, "glGetTexEnvfv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetTexEnvfv_size(pname)"), "params")], sideeffects=False), |
| 379 | GlFunction(Void, "glGetTexEnviv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__glGetTexEnviv_size(pname)"), "params")], sideeffects=False), |
| 380 | GlFunction(Void, "glGetTexGendv", [(GLenum, "coord"), (GLenum, "pname"), Out(Array(GLdouble, "__glGetTexGendv_size(pname)"), "params")], sideeffects=False), |
| 381 | GlFunction(Void, "glGetTexGenfv", [(GLenum, "coord"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetTexGenfv_size(pname)"), "params")], sideeffects=False), |
| 382 | GlFunction(Void, "glGetTexGeniv", [(GLenum, "coord"), (GLenum, "pname"), Out(Array(GLint, "__glGetTexGeniv_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 383 | GlFunction(GLboolean, "glIsList", [(GLuint, "list")]), |
| 384 | GlFunction(Void, "glFrustum", [(GLdouble, "left"), (GLdouble, "right"), (GLdouble, "bottom"), (GLdouble, "top"), (GLdouble, "zNear"), (GLdouble, "zFar")]), |
| 385 | GlFunction(Void, "glLoadIdentity", []), |
| 386 | GlFunction(Void, "glLoadMatrixf", [(Const(Array(GLfloat, "16")), "m")]), |
| 387 | GlFunction(Void, "glLoadMatrixd", [(Const(Array(GLdouble, "16")), "m")]), |
| 388 | GlFunction(Void, "glMatrixMode", [(GLenum, "mode")]), |
| 389 | GlFunction(Void, "glMultMatrixf", [(Const(Array(GLfloat, "16")), "m")]), |
| 390 | GlFunction(Void, "glMultMatrixd", [(Const(Array(GLdouble, "16")), "m")]), |
| 391 | GlFunction(Void, "glOrtho", [(GLdouble, "left"), (GLdouble, "right"), (GLdouble, "bottom"), (GLdouble, "top"), (GLdouble, "zNear"), (GLdouble, "zFar")]), |
| 392 | GlFunction(Void, "glPopMatrix", []), |
| 393 | GlFunction(Void, "glPushMatrix", []), |
| 394 | GlFunction(Void, "glRotated", [(GLdouble, "angle"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 395 | GlFunction(Void, "glRotatef", [(GLfloat, "angle"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 396 | GlFunction(Void, "glScaled", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 397 | GlFunction(Void, "glScalef", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 398 | GlFunction(Void, "glTranslated", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 399 | GlFunction(Void, "glTranslatef", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
José Fonseca | 6fa64d0 | 2010-11-24 00:46:26 +0000 | [diff] [blame] | 400 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 401 | # GL_VERSION_1_1 |
| 402 | GlFunction(Void, "glDrawArrays", [(GLenum_mode, "mode"), (GLint, "first"), (GLsizei, "count")]), |
José Fonseca | 1a65d4f | 2010-11-25 13:45:03 +0000 | [diff] [blame] | 403 | GlFunction(Void, "glDrawElements", [(GLenum_mode, "mode"), (GLsizei, "count"), (GLenum, "type"), (Blob(Const(GLvoid), "__glCallLists_size(count, type)"), "indices")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 404 | GlFunction(Void, "glGetPointerv", [(GLenum, "pname"), Out(Pointer(OpaquePointer(GLvoid)), "params")], sideeffects=False), |
| 405 | GlFunction(Void, "glPolygonOffset", [(GLfloat, "factor"), (GLfloat, "units")]), |
| 406 | GlFunction(Void, "glCopyTexImage1D", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLint, "border")]), |
| 407 | GlFunction(Void, "glCopyTexImage2D", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height"), (GLint, "border")]), |
| 408 | GlFunction(Void, "glCopyTexSubImage1D", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "x"), (GLint, "y"), (GLsizei, "width")]), |
| 409 | GlFunction(Void, "glCopyTexSubImage2D", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 410 | GlFunction(Void, "glTexSubImage1D", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLsizei, "width"), (GLenum, "format"), (GLenum, "type"), (Blob(Const(GLvoid), "__glTexSubImage1D_size(format, type, width)"), "pixels")]), |
| 411 | GlFunction(Void, "glTexSubImage2D", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLenum, "type"), (Blob(Const(GLvoid), "__glTexSubImage2D_size(format, type, width, height)"), "pixels")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 412 | GlFunction(Void, "glBindTexture", [(GLenum, "target"), (GLtexture, "texture")]), |
| 413 | GlFunction(Void, "glDeleteTextures", [(GLsizei, "n"), (Const(Array(GLtexture, "n")), "textures")]), |
| 414 | GlFunction(Void, "glGenTextures", [(GLsizei, "n"), Out(Array(GLtexture, "n"), "textures")]), |
| 415 | GlFunction(GLboolean, "glIsTexture", [(GLtexture, "texture")]), |
José Fonseca | 6fa64d0 | 2010-11-24 00:46:26 +0000 | [diff] [blame] | 416 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 417 | # GL_VERSION_1_1_DEPRECATED |
| 418 | GlFunction(Void, "glArrayElement", [(GLint, "i")]), |
| 419 | GlFunction(Void, "glColorPointer", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 420 | GlFunction(Void, "glDisableClientState", [(GLenum, "array")]), |
| 421 | GlFunction(Void, "glEdgeFlagPointer", [(GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 422 | GlFunction(Void, "glEnableClientState", [(GLenum, "array")]), |
| 423 | GlFunction(Void, "glIndexPointer", [(GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 424 | GlFunction(Void, "glInterleavedArrays", [(GLenum, "format"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 425 | GlFunction(Void, "glNormalPointer", [(GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 426 | GlFunction(Void, "glTexCoordPointer", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 427 | GlFunction(Void, "glVertexPointer", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 428 | GlFunction(GLboolean, "glAreTexturesResident", [(GLsizei, "n"), (Const(Array(GLtexture, "n")), "textures"), Out(Array(GLboolean, "n"), "residences")]), |
| 429 | GlFunction(Void, "glPrioritizeTextures", [(GLsizei, "n"), (Const(Array(GLtexture, "n")), "textures"), (Const(Array(GLclampf, "n")), "priorities")]), |
| 430 | GlFunction(Void, "glIndexub", [(GLubyte, "c")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 431 | GlFunction(Void, "glIndexubv", [(Const(Pointer(GLubyte)), "c")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 432 | GlFunction(Void, "glPopClientAttrib", []), |
| 433 | GlFunction(Void, "glPushClientAttrib", [(GLbitfield_client_attrib, "mask")]), |
José Fonseca | 8fbdd3a | 2010-11-23 20:55:07 +0000 | [diff] [blame] | 434 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 435 | # GL_VERSION_1_2 |
| 436 | GlFunction(Void, "glBlendColor", [(GLclampf, "red"), (GLclampf, "green"), (GLclampf, "blue"), (GLclampf, "alpha")]), |
| 437 | GlFunction(Void, "glBlendEquation", [(GLenum, "mode")]), |
José Fonseca | 1a65d4f | 2010-11-25 13:45:03 +0000 | [diff] [blame] | 438 | GlFunction(Void, "glDrawRangeElements", [(GLenum_mode, "mode"), (GLuint, "start"), (GLuint, "end"), (GLsizei, "count"), (GLenum, "type"), (Blob(Const(GLvoid), "__glCallLists_size(count, type)"), "indices")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 439 | GlFunction(Void, "glTexImage3D", [(GLenum, "target"), (GLint, "level"), (GLint, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLint, "border"), (GLenum, "format"), (GLenum, "type"), (Blob(Const(GLvoid), "__glTexImage3D_size(format, type, width, height, depth, border)"), "pixels")]), |
| 440 | GlFunction(Void, "glTexSubImage3D", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "zoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLenum, "format"), (GLenum, "type"), (Blob(Const(GLvoid), "__glTexSubImage3D_size(format, type, width, height, depth)"), "pixels")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 441 | GlFunction(Void, "glCopyTexSubImage3D", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "zoffset"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height")]), |
| 442 | |
| 443 | # GL_VERSION_1_2_DEPRECATED |
| 444 | GlFunction(Void, "glColorTable", [(GLenum, "target"), (GLenum, "internalformat"), (GLsizei, "width"), (GLenum, "format"), (GLenum, "type"), (Const(OpaquePointer(GLvoid)), "table")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 445 | GlFunction(Void, "glColorTableParameterfv", [(GLenum, "target"), (GLenum, "pname"), (Const(Array(GLfloat, "__glColorTableParameterfv_size(pname)")), "params")]), |
| 446 | GlFunction(Void, "glColorTableParameteriv", [(GLenum, "target"), (GLenum, "pname"), (Const(Array(GLint, "__glColorTableParameteriv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 447 | GlFunction(Void, "glCopyColorTable", [(GLenum, "target"), (GLenum, "internalformat"), (GLint, "x"), (GLint, "y"), (GLsizei, "width")]), |
| 448 | GlFunction(Void, "glGetColorTable", [(GLenum, "target"), (GLenum, "format"), (GLenum, "type"), (OpaquePointer(GLvoid), "table")], sideeffects=False), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 449 | GlFunction(Void, "glGetColorTableParameterfv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetColorTableParameterfv_size(pname)"), "params")], sideeffects=False), |
| 450 | GlFunction(Void, "glGetColorTableParameteriv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__glGetColorTableParameteriv_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 451 | GlFunction(Void, "glColorSubTable", [(GLenum, "target"), (GLsizei, "start"), (GLsizei, "count"), (GLenum, "format"), (GLenum, "type"), (Const(OpaquePointer(GLvoid)), "data")]), |
| 452 | GlFunction(Void, "glCopyColorSubTable", [(GLenum, "target"), (GLsizei, "start"), (GLint, "x"), (GLint, "y"), (GLsizei, "width")]), |
| 453 | GlFunction(Void, "glConvolutionFilter1D", [(GLenum, "target"), (GLenum, "internalformat"), (GLsizei, "width"), (GLenum, "format"), (GLenum, "type"), (Const(OpaquePointer(GLvoid)), "image")]), |
| 454 | GlFunction(Void, "glConvolutionFilter2D", [(GLenum, "target"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLenum, "type"), (Const(OpaquePointer(GLvoid)), "image")]), |
| 455 | GlFunction(Void, "glConvolutionParameterf", [(GLenum, "target"), (GLenum, "pname"), (GLfloat, "params")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 456 | GlFunction(Void, "glConvolutionParameterfv", [(GLenum, "target"), (GLenum, "pname"), (Const(Array(GLfloat, "__glConvolutionParameterfv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 457 | GlFunction(Void, "glConvolutionParameteri", [(GLenum, "target"), (GLenum, "pname"), (GLint, "params")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 458 | GlFunction(Void, "glConvolutionParameteriv", [(GLenum, "target"), (GLenum, "pname"), (Const(Array(GLint, "__glConvolutionParameteriv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 459 | GlFunction(Void, "glCopyConvolutionFilter1D", [(GLenum, "target"), (GLenum, "internalformat"), (GLint, "x"), (GLint, "y"), (GLsizei, "width")]), |
| 460 | GlFunction(Void, "glCopyConvolutionFilter2D", [(GLenum, "target"), (GLenum, "internalformat"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height")]), |
| 461 | GlFunction(Void, "glGetConvolutionFilter", [(GLenum, "target"), (GLenum, "format"), (GLenum, "type"), (OpaquePointer(GLvoid), "image")], sideeffects=False), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 462 | GlFunction(Void, "glGetConvolutionParameterfv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetConvolutionParameterfv_size(pname)"), "params")], sideeffects=False), |
| 463 | GlFunction(Void, "glGetConvolutionParameteriv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__glGetConvolutionParameteriv_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 464 | GlFunction(Void, "glGetSeparableFilter", [(GLenum, "target"), (GLenum, "format"), (GLenum, "type"), (OpaquePointer(GLvoid), "row"), (OpaquePointer(GLvoid), "column"), (OpaquePointer(GLvoid), "span")], sideeffects=False), |
| 465 | GlFunction(Void, "glSeparableFilter2D", [(GLenum, "target"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLenum, "type"), (Const(OpaquePointer(GLvoid)), "row"), (Const(OpaquePointer(GLvoid)), "column")]), |
| 466 | GlFunction(Void, "glGetHistogram", [(GLenum, "target"), (GLboolean, "reset"), (GLenum, "format"), (GLenum, "type"), (OpaquePointer(GLvoid), "values")], sideeffects=False), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 467 | GlFunction(Void, "glGetHistogramParameterfv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetHistogramParameterfv_size(pname)"), "params")], sideeffects=False), |
| 468 | GlFunction(Void, "glGetHistogramParameteriv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__glGetHistogramParameteriv_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 469 | GlFunction(Void, "glGetMinmax", [(GLenum, "target"), (GLboolean, "reset"), (GLenum, "format"), (GLenum, "type"), (OpaquePointer(GLvoid), "values")], sideeffects=False), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 470 | GlFunction(Void, "glGetMinmaxParameterfv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetMinmaxParameterfv_size(pname)"), "params")], sideeffects=False), |
| 471 | GlFunction(Void, "glGetMinmaxParameteriv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__glGetMinmaxParameteriv_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 472 | GlFunction(Void, "glHistogram", [(GLenum, "target"), (GLsizei, "width"), (GLenum, "internalformat"), (GLboolean, "sink")]), |
| 473 | GlFunction(Void, "glMinmax", [(GLenum, "target"), (GLenum, "internalformat"), (GLboolean, "sink")]), |
| 474 | GlFunction(Void, "glResetHistogram", [(GLenum, "target")]), |
| 475 | GlFunction(Void, "glResetMinmax", [(GLenum, "target")]), |
| 476 | |
| 477 | # GL_VERSION_1_3 |
| 478 | GlFunction(Void, "glActiveTexture", [(GLenum, "texture")]), |
| 479 | GlFunction(Void, "glSampleCoverage", [(GLclampf, "value"), (GLboolean, "invert")]), |
| 480 | GlFunction(Void, "glCompressedTexImage3D", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLint, "border"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "data")]), |
| 481 | GlFunction(Void, "glCompressedTexImage2D", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLint, "border"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "data")]), |
| 482 | GlFunction(Void, "glCompressedTexImage1D", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLint, "border"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "data")]), |
| 483 | GlFunction(Void, "glCompressedTexSubImage3D", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "zoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLenum, "format"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "data")]), |
| 484 | GlFunction(Void, "glCompressedTexSubImage2D", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "data")]), |
| 485 | GlFunction(Void, "glCompressedTexSubImage1D", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLsizei, "width"), (GLenum, "format"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "data")]), |
| 486 | GlFunction(Void, "glGetCompressedTexImage", [(GLenum, "target"), (GLint, "level"), Out(OpaquePointer(GLvoid), "img")], sideeffects=False), |
| 487 | |
| 488 | # GL_VERSION_1_3_DEPRECATED |
| 489 | GlFunction(Void, "glClientActiveTexture", [(GLenum, "texture")]), |
| 490 | GlFunction(Void, "glMultiTexCoord1d", [(GLenum, "target"), (GLdouble, "s")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 491 | GlFunction(Void, "glMultiTexCoord1dv", [(GLenum, "target"), (Const(Pointer(GLdouble)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 492 | GlFunction(Void, "glMultiTexCoord1f", [(GLenum, "target"), (GLfloat, "s")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 493 | GlFunction(Void, "glMultiTexCoord1fv", [(GLenum, "target"), (Const(Pointer(GLfloat)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 494 | GlFunction(Void, "glMultiTexCoord1i", [(GLenum, "target"), (GLint, "s")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 495 | GlFunction(Void, "glMultiTexCoord1iv", [(GLenum, "target"), (Const(Pointer(GLint)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 496 | GlFunction(Void, "glMultiTexCoord1s", [(GLenum, "target"), (GLshort, "s")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 497 | GlFunction(Void, "glMultiTexCoord1sv", [(GLenum, "target"), (Const(Pointer(GLshort)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 498 | GlFunction(Void, "glMultiTexCoord2d", [(GLenum, "target"), (GLdouble, "s"), (GLdouble, "t")]), |
| 499 | GlFunction(Void, "glMultiTexCoord2dv", [(GLenum, "target"), (Const(Array(GLdouble, "2")), "v")]), |
| 500 | GlFunction(Void, "glMultiTexCoord2f", [(GLenum, "target"), (GLfloat, "s"), (GLfloat, "t")]), |
| 501 | GlFunction(Void, "glMultiTexCoord2fv", [(GLenum, "target"), (Const(Array(GLfloat, "2")), "v")]), |
| 502 | GlFunction(Void, "glMultiTexCoord2i", [(GLenum, "target"), (GLint, "s"), (GLint, "t")]), |
| 503 | GlFunction(Void, "glMultiTexCoord2iv", [(GLenum, "target"), (Const(Array(GLint, "2")), "v")]), |
| 504 | GlFunction(Void, "glMultiTexCoord2s", [(GLenum, "target"), (GLshort, "s"), (GLshort, "t")]), |
| 505 | GlFunction(Void, "glMultiTexCoord2sv", [(GLenum, "target"), (Const(Array(GLshort, "2")), "v")]), |
| 506 | GlFunction(Void, "glMultiTexCoord3d", [(GLenum, "target"), (GLdouble, "s"), (GLdouble, "t"), (GLdouble, "r")]), |
| 507 | GlFunction(Void, "glMultiTexCoord3dv", [(GLenum, "target"), (Const(Array(GLdouble, "3")), "v")]), |
| 508 | GlFunction(Void, "glMultiTexCoord3f", [(GLenum, "target"), (GLfloat, "s"), (GLfloat, "t"), (GLfloat, "r")]), |
| 509 | GlFunction(Void, "glMultiTexCoord3fv", [(GLenum, "target"), (Const(Array(GLfloat, "3")), "v")]), |
| 510 | GlFunction(Void, "glMultiTexCoord3i", [(GLenum, "target"), (GLint, "s"), (GLint, "t"), (GLint, "r")]), |
| 511 | GlFunction(Void, "glMultiTexCoord3iv", [(GLenum, "target"), (Const(Array(GLint, "3")), "v")]), |
| 512 | GlFunction(Void, "glMultiTexCoord3s", [(GLenum, "target"), (GLshort, "s"), (GLshort, "t"), (GLshort, "r")]), |
| 513 | GlFunction(Void, "glMultiTexCoord3sv", [(GLenum, "target"), (Const(Array(GLshort, "3")), "v")]), |
| 514 | GlFunction(Void, "glMultiTexCoord4d", [(GLenum, "target"), (GLdouble, "s"), (GLdouble, "t"), (GLdouble, "r"), (GLdouble, "q")]), |
| 515 | GlFunction(Void, "glMultiTexCoord4dv", [(GLenum, "target"), (Const(Array(GLdouble, "4")), "v")]), |
| 516 | GlFunction(Void, "glMultiTexCoord4f", [(GLenum, "target"), (GLfloat, "s"), (GLfloat, "t"), (GLfloat, "r"), (GLfloat, "q")]), |
| 517 | GlFunction(Void, "glMultiTexCoord4fv", [(GLenum, "target"), (Const(Array(GLfloat, "4")), "v")]), |
| 518 | GlFunction(Void, "glMultiTexCoord4i", [(GLenum, "target"), (GLint, "s"), (GLint, "t"), (GLint, "r"), (GLint, "q")]), |
| 519 | GlFunction(Void, "glMultiTexCoord4iv", [(GLenum, "target"), (Const(Array(GLint, "4")), "v")]), |
| 520 | GlFunction(Void, "glMultiTexCoord4s", [(GLenum, "target"), (GLshort, "s"), (GLshort, "t"), (GLshort, "r"), (GLshort, "q")]), |
| 521 | GlFunction(Void, "glMultiTexCoord4sv", [(GLenum, "target"), (Const(Array(GLshort, "4")), "v")]), |
| 522 | GlFunction(Void, "glLoadTransposeMatrixf", [(Const(Array(GLfloat, "16")), "m")]), |
| 523 | GlFunction(Void, "glLoadTransposeMatrixd", [(Const(Array(GLdouble, "16")), "m")]), |
| 524 | GlFunction(Void, "glMultTransposeMatrixf", [(Const(Array(GLfloat, "16")), "m")]), |
| 525 | GlFunction(Void, "glMultTransposeMatrixd", [(Const(Array(GLdouble, "16")), "m")]), |
| 526 | |
| 527 | # GL_VERSION_1_4 |
| 528 | GlFunction(Void, "glBlendFuncSeparate", [(GLenum, "sfactorRGB"), (GLenum, "dfactorRGB"), (GLenum, "sfactorAlpha"), (GLenum, "dfactorAlpha")]), |
| 529 | GlFunction(Void, "glMultiDrawArrays", [(GLenum_mode, "mode"), (OpaquePointer(GLint), "first"), (OpaquePointer(GLsizei), "count"), (GLsizei, "primcount")]), |
| 530 | GlFunction(Void, "glMultiDrawElements", [(GLenum_mode, "mode"), (Const(Array(GLsizei, "primcount")), "count"), (GLenum, "type"), (Array(Const(Const(OpaquePointer(GLvoid))), "primcount"), "indices"), (GLsizei, "primcount")]), |
| 531 | GlFunction(Void, "glPointParameterf", [(GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 532 | GlFunction(Void, "glPointParameterfv", [(GLenum, "pname"), (Const(Array(GLfloat, "__glPointParameterfv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 533 | GlFunction(Void, "glPointParameteri", [(GLenum, "pname"), (GLint, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 534 | GlFunction(Void, "glPointParameteriv", [(GLenum, "pname"), (Const(Array(GLint, "__glPointParameteriv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 535 | |
| 536 | # GL_VERSION_1_4_DEPRECATED |
| 537 | GlFunction(Void, "glFogCoordf", [(GLfloat, "coord")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 538 | GlFunction(Void, "glFogCoordfv", [(Const(Pointer(GLfloat)), "coord")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 539 | GlFunction(Void, "glFogCoordd", [(GLdouble, "coord")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 540 | GlFunction(Void, "glFogCoorddv", [(Const(Pointer(GLdouble)), "coord")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 541 | GlFunction(Void, "glFogCoordPointer", [(GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 542 | GlFunction(Void, "glSecondaryColor3b", [(GLbyte, "red"), (GLbyte, "green"), (GLbyte, "blue")]), |
| 543 | GlFunction(Void, "glSecondaryColor3bv", [(Const(Array(GLbyte, "3")), "v")]), |
| 544 | GlFunction(Void, "glSecondaryColor3d", [(GLdouble, "red"), (GLdouble, "green"), (GLdouble, "blue")]), |
| 545 | GlFunction(Void, "glSecondaryColor3dv", [(Const(Array(GLdouble, "3")), "v")]), |
| 546 | GlFunction(Void, "glSecondaryColor3f", [(GLfloat, "red"), (GLfloat, "green"), (GLfloat, "blue")]), |
| 547 | GlFunction(Void, "glSecondaryColor3fv", [(Const(Array(GLfloat, "3")), "v")]), |
| 548 | GlFunction(Void, "glSecondaryColor3i", [(GLint, "red"), (GLint, "green"), (GLint, "blue")]), |
| 549 | GlFunction(Void, "glSecondaryColor3iv", [(Const(Array(GLint, "3")), "v")]), |
| 550 | GlFunction(Void, "glSecondaryColor3s", [(GLshort, "red"), (GLshort, "green"), (GLshort, "blue")]), |
| 551 | GlFunction(Void, "glSecondaryColor3sv", [(Const(Array(GLshort, "3")), "v")]), |
| 552 | GlFunction(Void, "glSecondaryColor3ub", [(GLubyte, "red"), (GLubyte, "green"), (GLubyte, "blue")]), |
| 553 | GlFunction(Void, "glSecondaryColor3ubv", [(Const(Array(GLubyte, "3")), "v")]), |
| 554 | GlFunction(Void, "glSecondaryColor3ui", [(GLuint, "red"), (GLuint, "green"), (GLuint, "blue")]), |
| 555 | GlFunction(Void, "glSecondaryColor3uiv", [(Const(Array(GLuint, "3")), "v")]), |
| 556 | GlFunction(Void, "glSecondaryColor3us", [(GLushort, "red"), (GLushort, "green"), (GLushort, "blue")]), |
| 557 | GlFunction(Void, "glSecondaryColor3usv", [(Const(Array(GLushort, "3")), "v")]), |
| 558 | GlFunction(Void, "glSecondaryColorPointer", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 559 | GlFunction(Void, "glWindowPos2d", [(GLdouble, "x"), (GLdouble, "y")]), |
| 560 | GlFunction(Void, "glWindowPos2dv", [(Const(Array(GLdouble, "2")), "v")]), |
| 561 | GlFunction(Void, "glWindowPos2f", [(GLfloat, "x"), (GLfloat, "y")]), |
| 562 | GlFunction(Void, "glWindowPos2fv", [(Const(Array(GLfloat, "2")), "v")]), |
| 563 | GlFunction(Void, "glWindowPos2i", [(GLint, "x"), (GLint, "y")]), |
| 564 | GlFunction(Void, "glWindowPos2iv", [(Const(Array(GLint, "2")), "v")]), |
| 565 | GlFunction(Void, "glWindowPos2s", [(GLshort, "x"), (GLshort, "y")]), |
| 566 | GlFunction(Void, "glWindowPos2sv", [(Const(Array(GLshort, "2")), "v")]), |
| 567 | GlFunction(Void, "glWindowPos3d", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 568 | GlFunction(Void, "glWindowPos3dv", [(Const(Array(GLdouble, "3")), "v")]), |
| 569 | GlFunction(Void, "glWindowPos3f", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 570 | GlFunction(Void, "glWindowPos3fv", [(Const(Array(GLfloat, "3")), "v")]), |
| 571 | GlFunction(Void, "glWindowPos3i", [(GLint, "x"), (GLint, "y"), (GLint, "z")]), |
| 572 | GlFunction(Void, "glWindowPos3iv", [(Const(Array(GLint, "3")), "v")]), |
| 573 | GlFunction(Void, "glWindowPos3s", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), |
| 574 | GlFunction(Void, "glWindowPos3sv", [(Const(Array(GLshort, "3")), "v")]), |
| 575 | |
| 576 | # GL_VERSION_1_5 |
| 577 | GlFunction(Void, "glGenQueries", [(GLsizei, "n"), Out(Array(GLquery, "n"), "ids")]), |
| 578 | GlFunction(Void, "glDeleteQueries", [(GLsizei, "n"), (Const(Array(GLquery, "n")), "ids")]), |
| 579 | GlFunction(GLboolean, "glIsQuery", [(GLquery, "id")]), |
| 580 | GlFunction(Void, "glBeginQuery", [(GLenum, "target"), (GLquery, "id")]), |
| 581 | GlFunction(Void, "glEndQuery", [(GLenum, "target")]), |
| 582 | GlFunction(Void, "glGetQueryiv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "pname"), "params")], sideeffects=False), |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 583 | GlFunction(Void, "glGetQueryObjectiv", [(GLquery, "id"), (GLenum, "pname"), Out(Array(GLint, "pname"), "params")], sideeffects=False), |
| 584 | GlFunction(Void, "glGetQueryObjectuiv", [(GLquery, "id"), (GLenum, "pname"), Out(Array(GLuint, "pname"), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 585 | GlFunction(Void, "glBindBuffer", [(GLenum, "target"), (GLbuffer, "buffer")]), |
| 586 | GlFunction(Void, "glDeleteBuffers", [(GLsizei, "n"), (Const(Array(GLbuffer, "n")), "buffer")]), |
| 587 | GlFunction(Void, "glGenBuffers", [(GLsizei, "n"), Out(Array(GLbuffer, "n"), "buffer")]), |
| 588 | GlFunction(GLboolean, "glIsBuffer", [(GLbuffer, "buffer")]), |
| 589 | GlFunction(Void, "glBufferData", [(GLenum, "target"), (GLsizeiptr, "size"), (Blob(Const(GLvoid), "size"), "data"), (GLenum, "usage")]), |
| 590 | GlFunction(Void, "glBufferSubData", [(GLenum, "target"), (GLintptr, "offset"), (GLsizeiptr, "size"), (Blob(Const(GLvoid), "size"), "data")]), |
| 591 | GlFunction(Void, "glGetBufferSubData", [(GLenum, "target"), (GLintptr, "offset"), (GLsizeiptr, "size"), Out(Blob(GLvoid, "size"), "data")], sideeffects=False), |
| 592 | GlFunction(OpaquePointer(GLvoid), "glMapBuffer", [(GLenum, "target"), (GLenum, "access")]), |
| 593 | GlFunction(GLboolean, "glUnmapBuffer", [(GLenum, "target")]), |
| 594 | GlFunction(Void, "glGetBufferParameteriv", [(GLenum, "target"), (GLenum, "pname"), (OpaquePointer(GLint), "params")], sideeffects=False), |
| 595 | GlFunction(Void, "glGetBufferPointerv", [(GLenum, "target"), (GLenum, "pname"), (OpaquePointer(OpaquePointer(GLvoid)), "params")], sideeffects=False), |
| 596 | |
| 597 | # GL_VERSION_2_0 |
| 598 | GlFunction(Void, "glBlendEquationSeparate", [(GLenum, "modeRGB"), (GLenum, "modeAlpha")]), |
| 599 | GlFunction(Void, "glDrawBuffers", [(GLsizei, "n"), (Const(Array(GLenum, "n")), "bufs")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 600 | GlFunction(Void, "glStencilOpSeparate", [(GLenum, "face"), (GLenum, "sfail"), (GLenum, "dpfail"), (GLenum, "dppass")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 601 | GlFunction(Void, "glStencilFuncSeparate", [(GLenum, "face"), (GLenum, "func"), (GLint, "ref"), (GLuint, "mask")]), |
| 602 | GlFunction(Void, "glStencilMaskSeparate", [(GLenum, "face"), (GLuint, "mask")]), |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 603 | GlFunction(Void, "glAttachShader", [(GLprogram, "program"), (GLshader, "shader")]), |
| 604 | GlFunction(Void, "glBindAttribLocation", [(GLprogram, "program"), (GLuint, "index"), (Const(GLstring), "name")]), |
| 605 | GlFunction(Void, "glCompileShader", [(GLshader, "shader")]), |
| 606 | GlFunction(GLprogram, "glCreateProgram", []), |
| 607 | GlFunction(GLshader, "glCreateShader", [(GLenum, "type")]), |
| 608 | GlFunction(Void, "glDeleteProgram", [(GLprogram, "program")]), |
| 609 | GlFunction(Void, "glDeleteShader", [(GLshader, "shader")]), |
| 610 | GlFunction(Void, "glDetachShader", [(GLprogram, "program"), (GLshader, "shader")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 611 | GlFunction(Void, "glDisableVertexAttribArray", [(GLuint, "index")]), |
| 612 | GlFunction(Void, "glEnableVertexAttribArray", [(GLuint, "index")]), |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 613 | GlFunction(Void, "glGetActiveAttrib", [(GLprogram, "program"), (GLuint, "index"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(Pointer(GLint), "size"), Out(Pointer(GLenum), "type"), Out(GLstring, "name")], sideeffects=False), |
| 614 | GlFunction(Void, "glGetActiveUniform", [(GLprogram, "program"), (GLuint, "index"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(Pointer(GLint), "size"), Out(Pointer(GLenum), "type"), Out(GLstring, "name")], sideeffects=False), |
| 615 | GlFunction(Void, "glGetAttachedShaders", [(GLprogram, "program"), (GLsizei, "maxCount"), Out(Pointer(GLsizei), "count"), Out(Array(GLuint, "maxCount"), "obj")], sideeffects=False), |
| 616 | GlFunction(GLint, "glGetAttribLocation", [(GLprogram, "program"), (Const(GLstring), "name")], sideeffects=False), |
| 617 | GlFunction(Void, "glGetProgramiv", [(GLprogram, "program"), (GLenum, "pname"), Out(OpaquePointer(GLint), "params")], sideeffects=False), |
| 618 | GlFunction(Void, "glGetProgramInfoLog", [(GLprogram, "program"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(GLstring, "infoLog")], sideeffects=False), |
| 619 | GlFunction(Void, "glGetShaderiv", [(GLshader, "shader"), (GLenum, "pname"), Out(OpaquePointer(GLint), "params")], sideeffects=False), |
| 620 | GlFunction(Void, "glGetShaderInfoLog", [(GLshader, "shader"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(GLstring, "infoLog")], sideeffects=False), |
| 621 | GlFunction(Void, "glGetShaderSource", [(GLshader, "shader"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(String("GLchar *", "*length"), "source")], sideeffects=False), |
| 622 | GlFunction(GLint, "glGetUniformLocation", [(GLprogram, "program"), (Const(GLstring), "name")], sideeffects=False), |
| 623 | GlFunction(Void, "glGetUniformfv", [(GLprogram, "program"), (GLint, "location"), Out(OpaquePointer(GLfloat), "params")], sideeffects=False), |
| 624 | GlFunction(Void, "glGetUniformiv", [(GLprogram, "program"), (GLint, "location"), Out(OpaquePointer(GLint), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 625 | GlFunction(Void, "glGetVertexAttribdv", [(GLuint, "index"), (GLenum, "pname"), Out(Array(GLdouble, "4"), "params")], sideeffects=False), |
| 626 | GlFunction(Void, "glGetVertexAttribfv", [(GLuint, "index"), (GLenum, "pname"), Out(Array(GLfloat, "4"), "params")], sideeffects=False), |
| 627 | GlFunction(Void, "glGetVertexAttribiv", [(GLuint, "index"), (GLenum, "pname"), Out(Array(GLint, "4"), "params")], sideeffects=False), |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 628 | GlFunction(Void, "glGetVertexAttribPointerv", [(GLuint, "index"), (GLenum, "pname"), Out(Pointer(OpaquePointer(GLvoid)), "pointer")], sideeffects=False), |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 629 | GlFunction(GLboolean, "glIsProgram", [(GLprogram, "program")]), |
| 630 | GlFunction(GLboolean, "glIsShader", [(GLshader, "shader")]), |
| 631 | GlFunction(Void, "glLinkProgram", [(GLprogram, "program")]), |
| 632 | GlFunction(Void, "glShaderSource", [(GLshader, "shader"), (GLsizei, "count"), (Const(Array(Const(GLstringARB), "count")), "string"), (Const(Array(GLint, "count")), "length")]), |
| 633 | GlFunction(Void, "glUseProgram", [(GLprogram, "program")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 634 | GlFunction(Void, "glUniform1f", [(GLint, "location"), (GLfloat, "v0")]), |
| 635 | GlFunction(Void, "glUniform2f", [(GLint, "location"), (GLfloat, "v0"), (GLfloat, "v1")]), |
| 636 | GlFunction(Void, "glUniform3f", [(GLint, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2")]), |
| 637 | GlFunction(Void, "glUniform4f", [(GLint, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2"), (GLfloat, "v3")]), |
| 638 | GlFunction(Void, "glUniform1i", [(GLint, "location"), (GLint, "v0")]), |
| 639 | GlFunction(Void, "glUniform2i", [(GLint, "location"), (GLint, "v0"), (GLint, "v1")]), |
| 640 | GlFunction(Void, "glUniform3i", [(GLint, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2")]), |
| 641 | GlFunction(Void, "glUniform4i", [(GLint, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2"), (GLint, "v3")]), |
| 642 | GlFunction(Void, "glUniform1fv", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "count")), "value")]), |
| 643 | GlFunction(Void, "glUniform2fv", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "count")), "value")]), |
| 644 | GlFunction(Void, "glUniform3fv", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "count")), "value")]), |
| 645 | GlFunction(Void, "glUniform4fv", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "count")), "value")]), |
| 646 | GlFunction(Void, "glUniform1iv", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLint, "count")), "value")]), |
| 647 | GlFunction(Void, "glUniform2iv", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLint, "count")), "value")]), |
| 648 | GlFunction(Void, "glUniform3iv", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLint, "count")), "value")]), |
| 649 | GlFunction(Void, "glUniform4iv", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLint, "count")), "value")]), |
| 650 | GlFunction(Void, "glUniformMatrix2fv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "4")), "value")]), |
| 651 | GlFunction(Void, "glUniformMatrix3fv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "9")), "value")]), |
| 652 | GlFunction(Void, "glUniformMatrix4fv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "16")), "value")]), |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 653 | GlFunction(Void, "glValidateProgram", [(GLprogram, "program")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 654 | GlFunction(Void, "glVertexAttrib1d", [(GLuint, "index"), (GLdouble, "x")]), |
| 655 | GlFunction(Void, "glVertexAttrib1dv", [(GLuint, "index"), (Const(Pointer(GLdouble)), "v")]), |
| 656 | GlFunction(Void, "glVertexAttrib1f", [(GLuint, "index"), (GLfloat, "x")]), |
| 657 | GlFunction(Void, "glVertexAttrib1fv", [(GLuint, "index"), (Const(Pointer(GLfloat)), "v")]), |
| 658 | GlFunction(Void, "glVertexAttrib1s", [(GLuint, "index"), (GLshort, "x")]), |
| 659 | GlFunction(Void, "glVertexAttrib1sv", [(GLuint, "index"), (Const(Pointer(GLshort)), "v")]), |
| 660 | GlFunction(Void, "glVertexAttrib2d", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y")]), |
| 661 | GlFunction(Void, "glVertexAttrib2dv", [(GLuint, "index"), (Const(Array(GLdouble, "2")), "v")]), |
| 662 | GlFunction(Void, "glVertexAttrib2f", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y")]), |
| 663 | GlFunction(Void, "glVertexAttrib2fv", [(GLuint, "index"), (Const(Array(GLfloat, "2")), "v")]), |
| 664 | GlFunction(Void, "glVertexAttrib2s", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y")]), |
| 665 | GlFunction(Void, "glVertexAttrib2sv", [(GLuint, "index"), (Const(Array(GLshort, "2")), "v")]), |
| 666 | GlFunction(Void, "glVertexAttrib3d", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 667 | GlFunction(Void, "glVertexAttrib3dv", [(GLuint, "index"), (Const(Array(GLdouble, "3")), "v")]), |
| 668 | GlFunction(Void, "glVertexAttrib3f", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 669 | GlFunction(Void, "glVertexAttrib3fv", [(GLuint, "index"), (Const(Array(GLfloat, "3")), "v")]), |
| 670 | GlFunction(Void, "glVertexAttrib3s", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), |
| 671 | GlFunction(Void, "glVertexAttrib3sv", [(GLuint, "index"), (Const(Array(GLshort, "3")), "v")]), |
| 672 | GlFunction(Void, "glVertexAttrib4Nbv", [(GLuint, "index"), (Const(Array(GLbyte, "4")), "v")]), |
| 673 | GlFunction(Void, "glVertexAttrib4Niv", [(GLuint, "index"), (Const(Array(GLint, "4")), "v")]), |
| 674 | GlFunction(Void, "glVertexAttrib4Nsv", [(GLuint, "index"), (Const(Array(GLshort, "4")), "v")]), |
| 675 | GlFunction(Void, "glVertexAttrib4Nub", [(GLuint, "index"), (GLubyte, "x"), (GLubyte, "y"), (GLubyte, "z"), (GLubyte, "w")]), |
| 676 | GlFunction(Void, "glVertexAttrib4Nubv", [(GLuint, "index"), (Const(Array(GLubyte, "4")), "v")]), |
| 677 | GlFunction(Void, "glVertexAttrib4Nuiv", [(GLuint, "index"), (Const(Array(GLuint, "4")), "v")]), |
| 678 | GlFunction(Void, "glVertexAttrib4Nusv", [(GLuint, "index"), (Const(Array(GLushort, "4")), "v")]), |
| 679 | GlFunction(Void, "glVertexAttrib4bv", [(GLuint, "index"), (Const(Array(GLbyte, "4")), "v")]), |
| 680 | GlFunction(Void, "glVertexAttrib4d", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 681 | GlFunction(Void, "glVertexAttrib4dv", [(GLuint, "index"), (Const(Array(GLdouble, "4")), "v")]), |
| 682 | GlFunction(Void, "glVertexAttrib4f", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 683 | GlFunction(Void, "glVertexAttrib4fv", [(GLuint, "index"), (Const(Array(GLfloat, "4")), "v")]), |
| 684 | GlFunction(Void, "glVertexAttrib4iv", [(GLuint, "index"), (Const(Array(GLint, "4")), "v")]), |
| 685 | GlFunction(Void, "glVertexAttrib4s", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]), |
| 686 | GlFunction(Void, "glVertexAttrib4sv", [(GLuint, "index"), (Const(Array(GLshort, "4")), "v")]), |
| 687 | GlFunction(Void, "glVertexAttrib4ubv", [(GLuint, "index"), (Const(Array(GLubyte, "4")), "v")]), |
| 688 | GlFunction(Void, "glVertexAttrib4uiv", [(GLuint, "index"), (Const(Array(GLuint, "4")), "v")]), |
| 689 | GlFunction(Void, "glVertexAttrib4usv", [(GLuint, "index"), (Const(Array(GLushort, "4")), "v")]), |
| 690 | GlFunction(Void, "glVertexAttribPointer", [(GLuint, "index"), (GLint, "size"), (GLenum, "type"), (GLboolean, "normalized"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 691 | |
| 692 | # GL_VERSION_2_1 |
| 693 | GlFunction(Void, "glUniformMatrix2x3fv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "6")), "value")]), |
| 694 | GlFunction(Void, "glUniformMatrix3x2fv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "6")), "value")]), |
| 695 | GlFunction(Void, "glUniformMatrix2x4fv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "8")), "value")]), |
| 696 | GlFunction(Void, "glUniformMatrix4x2fv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "8")), "value")]), |
| 697 | GlFunction(Void, "glUniformMatrix3x4fv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "12")), "value")]), |
| 698 | GlFunction(Void, "glUniformMatrix4x3fv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "12")), "value")]), |
| 699 | |
| 700 | # GL_ARB_multitexture |
| 701 | GlFunction(Void, "glActiveTextureARB", [(GLenum, "texture")]), |
| 702 | GlFunction(Void, "glClientActiveTextureARB", [(GLenum, "texture")]), |
| 703 | GlFunction(Void, "glMultiTexCoord1dARB", [(GLenum, "target"), (GLdouble, "s")]), |
| 704 | GlFunction(Void, "glMultiTexCoord1dvARB", [(GLenum, "target"), (Const(Pointer(GLdouble)), "v")]), |
| 705 | GlFunction(Void, "glMultiTexCoord1fARB", [(GLenum, "target"), (GLfloat, "s")]), |
| 706 | GlFunction(Void, "glMultiTexCoord1fvARB", [(GLenum, "target"), (Const(Pointer(GLfloat)), "v")]), |
| 707 | GlFunction(Void, "glMultiTexCoord1iARB", [(GLenum, "target"), (GLint, "s")]), |
| 708 | GlFunction(Void, "glMultiTexCoord1ivARB", [(GLenum, "target"), (Const(Pointer(GLint)), "v")]), |
| 709 | GlFunction(Void, "glMultiTexCoord1sARB", [(GLenum, "target"), (GLshort, "s")]), |
| 710 | GlFunction(Void, "glMultiTexCoord1svARB", [(GLenum, "target"), (Const(Pointer(GLshort)), "v")]), |
| 711 | GlFunction(Void, "glMultiTexCoord2dARB", [(GLenum, "target"), (GLdouble, "s"), (GLdouble, "t")]), |
| 712 | GlFunction(Void, "glMultiTexCoord2dvARB", [(GLenum, "target"), (Const(Array(GLdouble, "2")), "v")]), |
| 713 | GlFunction(Void, "glMultiTexCoord2fARB", [(GLenum, "target"), (GLfloat, "s"), (GLfloat, "t")]), |
| 714 | GlFunction(Void, "glMultiTexCoord2fvARB", [(GLenum, "target"), (Const(Array(GLfloat, "2")), "v")]), |
| 715 | GlFunction(Void, "glMultiTexCoord2iARB", [(GLenum, "target"), (GLint, "s"), (GLint, "t")]), |
| 716 | GlFunction(Void, "glMultiTexCoord2ivARB", [(GLenum, "target"), (Const(Array(GLint, "2")), "v")]), |
| 717 | GlFunction(Void, "glMultiTexCoord2sARB", [(GLenum, "target"), (GLshort, "s"), (GLshort, "t")]), |
| 718 | GlFunction(Void, "glMultiTexCoord2svARB", [(GLenum, "target"), (Const(Array(GLshort, "2")), "v")]), |
| 719 | GlFunction(Void, "glMultiTexCoord3dARB", [(GLenum, "target"), (GLdouble, "s"), (GLdouble, "t"), (GLdouble, "r")]), |
| 720 | GlFunction(Void, "glMultiTexCoord3dvARB", [(GLenum, "target"), (Const(Array(GLdouble, "3")), "v")]), |
| 721 | GlFunction(Void, "glMultiTexCoord3fARB", [(GLenum, "target"), (GLfloat, "s"), (GLfloat, "t"), (GLfloat, "r")]), |
| 722 | GlFunction(Void, "glMultiTexCoord3fvARB", [(GLenum, "target"), (Const(Array(GLfloat, "3")), "v")]), |
| 723 | GlFunction(Void, "glMultiTexCoord3iARB", [(GLenum, "target"), (GLint, "s"), (GLint, "t"), (GLint, "r")]), |
| 724 | GlFunction(Void, "glMultiTexCoord3ivARB", [(GLenum, "target"), (Const(Array(GLint, "3")), "v")]), |
| 725 | GlFunction(Void, "glMultiTexCoord3sARB", [(GLenum, "target"), (GLshort, "s"), (GLshort, "t"), (GLshort, "r")]), |
| 726 | GlFunction(Void, "glMultiTexCoord3svARB", [(GLenum, "target"), (Const(Array(GLshort, "3")), "v")]), |
| 727 | GlFunction(Void, "glMultiTexCoord4dARB", [(GLenum, "target"), (GLdouble, "s"), (GLdouble, "t"), (GLdouble, "r"), (GLdouble, "q")]), |
| 728 | GlFunction(Void, "glMultiTexCoord4dvARB", [(GLenum, "target"), (Const(Array(GLdouble, "4")), "v")]), |
| 729 | GlFunction(Void, "glMultiTexCoord4fARB", [(GLenum, "target"), (GLfloat, "s"), (GLfloat, "t"), (GLfloat, "r"), (GLfloat, "q")]), |
| 730 | GlFunction(Void, "glMultiTexCoord4fvARB", [(GLenum, "target"), (Const(Array(GLfloat, "4")), "v")]), |
| 731 | GlFunction(Void, "glMultiTexCoord4iARB", [(GLenum, "target"), (GLint, "s"), (GLint, "t"), (GLint, "r"), (GLint, "q")]), |
| 732 | GlFunction(Void, "glMultiTexCoord4ivARB", [(GLenum, "target"), (Const(Array(GLint, "4")), "v")]), |
| 733 | GlFunction(Void, "glMultiTexCoord4sARB", [(GLenum, "target"), (GLshort, "s"), (GLshort, "t"), (GLshort, "r"), (GLshort, "q")]), |
| 734 | GlFunction(Void, "glMultiTexCoord4svARB", [(GLenum, "target"), (Const(Array(GLshort, "4")), "v")]), |
| 735 | |
| 736 | # GL_ARB_transpose_matrix |
| 737 | GlFunction(Void, "glLoadTransposeMatrixfARB", [(Const(Array(GLfloat, "16")), "m")]), |
| 738 | GlFunction(Void, "glLoadTransposeMatrixdARB", [(Const(Array(GLdouble, "16")), "m")]), |
| 739 | GlFunction(Void, "glMultTransposeMatrixfARB", [(Const(Array(GLfloat, "16")), "m")]), |
| 740 | GlFunction(Void, "glMultTransposeMatrixdARB", [(Const(Array(GLdouble, "16")), "m")]), |
| 741 | |
| 742 | # GL_ARB_multisample |
| 743 | GlFunction(Void, "glSampleCoverageARB", [(GLclampf, "value"), (GLboolean, "invert")]), |
| 744 | |
| 745 | # GL_ARB_texture_compression |
| 746 | GlFunction(Void, "glCompressedTexImage3DARB", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLint, "border"), (GLsizei, "imageSize"), (Const(OpaquePointer(Void)), "data")]), |
| 747 | GlFunction(Void, "glCompressedTexImage2DARB", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLint, "border"), (GLsizei, "imageSize"), (Const(OpaquePointer(Void)), "data")]), |
| 748 | GlFunction(Void, "glCompressedTexImage1DARB", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLint, "border"), (GLsizei, "imageSize"), (Const(OpaquePointer(Void)), "data")]), |
| 749 | GlFunction(Void, "glCompressedTexSubImage3DARB", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "zoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLenum, "format"), (GLsizei, "imageSize"), (Const(OpaquePointer(Void)), "data")]), |
| 750 | GlFunction(Void, "glCompressedTexSubImage2DARB", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLsizei, "imageSize"), (Const(OpaquePointer(Void)), "data")]), |
| 751 | GlFunction(Void, "glCompressedTexSubImage1DARB", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLsizei, "width"), (GLenum, "format"), (GLsizei, "imageSize"), (Const(OpaquePointer(Void)), "data")]), |
| 752 | GlFunction(Void, "glGetCompressedTexImageARB", [(GLenum, "target"), (GLint, "level"), Out(OpaquePointer(GLvoid), "img")], sideeffects=False), |
| 753 | |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 754 | # GL_ARB_point_parameters |
| 755 | GlFunction(Void, "glPointParameterfARB", [(GLenum, "pname"), (GLfloat, "param")]), |
| 756 | GlFunction(Void, "glPointParameterfvARB", [(GLenum, "pname"), (Const(Array(GLfloat, "__glPointParameterfvARB_size(pname)")), "params")]), |
| 757 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 758 | # GL_ARB_matrix_palette |
| 759 | GlFunction(Void, "glCurrentPaletteMatrixARB", [(GLint, "index")]), |
| 760 | GlFunction(Void, "glMatrixIndexubvARB", [(GLint, "size"), (Const(Array(GLubyte, "size")), "indices")]), |
| 761 | GlFunction(Void, "glMatrixIndexusvARB", [(GLint, "size"), (Const(Array(GLushort, "size")), "indices")]), |
| 762 | GlFunction(Void, "glMatrixIndexuivARB", [(GLint, "size"), (Const(Array(GLuint, "size")), "indices")]), |
| 763 | GlFunction(Void, "glMatrixIndexPointerARB", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 764 | |
| 765 | # GL_ARB_window_pos |
| 766 | GlFunction(Void, "glWindowPos2dARB", [(GLdouble, "x"), (GLdouble, "y")]), |
| 767 | GlFunction(Void, "glWindowPos2dvARB", [(Const(Array(GLdouble, "2")), "v")]), |
| 768 | GlFunction(Void, "glWindowPos2fARB", [(GLfloat, "x"), (GLfloat, "y")]), |
| 769 | GlFunction(Void, "glWindowPos2fvARB", [(Const(Array(GLfloat, "2")), "v")]), |
| 770 | GlFunction(Void, "glWindowPos2iARB", [(GLint, "x"), (GLint, "y")]), |
| 771 | GlFunction(Void, "glWindowPos2ivARB", [(Const(Array(GLint, "2")), "v")]), |
| 772 | GlFunction(Void, "glWindowPos2sARB", [(GLshort, "x"), (GLshort, "y")]), |
| 773 | GlFunction(Void, "glWindowPos2svARB", [(Const(Array(GLshort, "2")), "v")]), |
| 774 | GlFunction(Void, "glWindowPos3dARB", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 775 | GlFunction(Void, "glWindowPos3dvARB", [(Const(Array(GLdouble, "3")), "v")]), |
| 776 | GlFunction(Void, "glWindowPos3fARB", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 777 | GlFunction(Void, "glWindowPos3fvARB", [(Const(Array(GLfloat, "3")), "v")]), |
| 778 | GlFunction(Void, "glWindowPos3iARB", [(GLint, "x"), (GLint, "y"), (GLint, "z")]), |
| 779 | GlFunction(Void, "glWindowPos3ivARB", [(Const(Array(GLint, "3")), "v")]), |
| 780 | GlFunction(Void, "glWindowPos3sARB", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), |
| 781 | GlFunction(Void, "glWindowPos3svARB", [(Const(Array(GLshort, "3")), "v")]), |
| 782 | |
| 783 | # GL_ARB_vertex_program |
| 784 | GlFunction(Void, "glVertexAttrib1dARB", [(GLuint, "index"), (GLdouble, "x")]), |
| 785 | GlFunction(Void, "glVertexAttrib1dvARB", [(GLuint, "index"), (Const(Pointer(GLdouble)), "v")]), |
| 786 | GlFunction(Void, "glVertexAttrib1fARB", [(GLuint, "index"), (GLfloat, "x")]), |
| 787 | GlFunction(Void, "glVertexAttrib1fvARB", [(GLuint, "index"), (Const(Pointer(GLfloat)), "v")]), |
| 788 | GlFunction(Void, "glVertexAttrib1sARB", [(GLuint, "index"), (GLshort, "x")]), |
| 789 | GlFunction(Void, "glVertexAttrib1svARB", [(GLuint, "index"), (Const(Pointer(GLshort)), "v")]), |
| 790 | GlFunction(Void, "glVertexAttrib2dARB", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y")]), |
| 791 | GlFunction(Void, "glVertexAttrib2dvARB", [(GLuint, "index"), (Const(Array(GLdouble, "2")), "v")]), |
| 792 | GlFunction(Void, "glVertexAttrib2fARB", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y")]), |
| 793 | GlFunction(Void, "glVertexAttrib2fvARB", [(GLuint, "index"), (Const(Array(GLfloat, "2")), "v")]), |
| 794 | GlFunction(Void, "glVertexAttrib2sARB", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y")]), |
| 795 | GlFunction(Void, "glVertexAttrib2svARB", [(GLuint, "index"), (Const(Array(GLshort, "2")), "v")]), |
| 796 | GlFunction(Void, "glVertexAttrib3dARB", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 797 | GlFunction(Void, "glVertexAttrib3dvARB", [(GLuint, "index"), (Const(Array(GLdouble, "3")), "v")]), |
| 798 | GlFunction(Void, "glVertexAttrib3fARB", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 799 | GlFunction(Void, "glVertexAttrib3fvARB", [(GLuint, "index"), (Const(Array(GLfloat, "3")), "v")]), |
| 800 | GlFunction(Void, "glVertexAttrib3sARB", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), |
| 801 | GlFunction(Void, "glVertexAttrib3svARB", [(GLuint, "index"), (Const(Array(GLshort, "3")), "v")]), |
| 802 | GlFunction(Void, "glVertexAttrib4NbvARB", [(GLuint, "index"), (Const(Array(GLbyte, "4")), "v")]), |
| 803 | GlFunction(Void, "glVertexAttrib4NivARB", [(GLuint, "index"), (Const(Array(GLint, "4")), "v")]), |
| 804 | GlFunction(Void, "glVertexAttrib4NsvARB", [(GLuint, "index"), (Const(Array(GLshort, "4")), "v")]), |
| 805 | GlFunction(Void, "glVertexAttrib4NubARB", [(GLuint, "index"), (GLubyte, "x"), (GLubyte, "y"), (GLubyte, "z"), (GLubyte, "w")]), |
| 806 | GlFunction(Void, "glVertexAttrib4NubvARB", [(GLuint, "index"), (Const(Array(GLubyte, "4")), "v")]), |
| 807 | GlFunction(Void, "glVertexAttrib4NuivARB", [(GLuint, "index"), (Const(Array(GLuint, "4")), "v")]), |
| 808 | GlFunction(Void, "glVertexAttrib4NusvARB", [(GLuint, "index"), (Const(Array(GLushort, "4")), "v")]), |
| 809 | GlFunction(Void, "glVertexAttrib4bvARB", [(GLuint, "index"), (Const(Array(GLbyte, "4")), "v")]), |
| 810 | GlFunction(Void, "glVertexAttrib4dARB", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 811 | GlFunction(Void, "glVertexAttrib4dvARB", [(GLuint, "index"), (Const(Array(GLdouble, "4")), "v")]), |
| 812 | GlFunction(Void, "glVertexAttrib4fARB", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 813 | GlFunction(Void, "glVertexAttrib4fvARB", [(GLuint, "index"), (Const(Array(GLfloat, "4")), "v")]), |
| 814 | GlFunction(Void, "glVertexAttrib4ivARB", [(GLuint, "index"), (Const(Array(GLint, "4")), "v")]), |
| 815 | GlFunction(Void, "glVertexAttrib4sARB", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]), |
| 816 | GlFunction(Void, "glVertexAttrib4svARB", [(GLuint, "index"), (Const(Array(GLshort, "4")), "v")]), |
| 817 | GlFunction(Void, "glVertexAttrib4ubvARB", [(GLuint, "index"), (Const(Array(GLubyte, "4")), "v")]), |
| 818 | GlFunction(Void, "glVertexAttrib4uivARB", [(GLuint, "index"), (Const(Array(GLuint, "4")), "v")]), |
| 819 | GlFunction(Void, "glVertexAttrib4usvARB", [(GLuint, "index"), (Const(Array(GLushort, "4")), "v")]), |
| 820 | GlFunction(Void, "glVertexAttribPointerARB", [(GLuint, "index"), (GLint, "size"), (GLenum, "type"), (GLboolean, "normalized"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 821 | GlFunction(Void, "glEnableVertexAttribArrayARB", [(GLuint, "index")]), |
| 822 | GlFunction(Void, "glDisableVertexAttribArrayARB", [(GLuint, "index")]), |
| 823 | GlFunction(Void, "glProgramStringARB", [(GLenum, "target"), (GLenum, "format"), (GLsizei, "len"), (String("const void *", "len"), "string")]), |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 824 | GlFunction(Void, "glBindProgramARB", [(GLenum, "target"), (GLprogramARB, "program")]), |
| 825 | GlFunction(Void, "glDeleteProgramsARB", [(GLsizei, "n"), (Const(Array(GLprogramARB, "n")), "programs")]), |
| 826 | GlFunction(Void, "glGenProgramsARB", [(GLsizei, "n"), Out(Array(GLprogramARB, "n"), "programs")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 827 | GlFunction(Void, "glProgramEnvParameter4dARB", [(GLenum, "target"), (GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 828 | GlFunction(Void, "glProgramEnvParameter4dvARB", [(GLenum, "target"), (GLuint, "index"), (Const(Array(GLdouble, "4")), "params")]), |
| 829 | GlFunction(Void, "glProgramEnvParameter4fARB", [(GLenum, "target"), (GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 830 | GlFunction(Void, "glProgramEnvParameter4fvARB", [(GLenum, "target"), (GLuint, "index"), (Const(Array(GLfloat, "4")), "params")]), |
| 831 | GlFunction(Void, "glProgramLocalParameter4dARB", [(GLenum, "target"), (GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 832 | GlFunction(Void, "glProgramLocalParameter4dvARB", [(GLenum, "target"), (GLuint, "index"), (Const(Array(GLdouble, "4")), "params")]), |
| 833 | GlFunction(Void, "glProgramLocalParameter4fARB", [(GLenum, "target"), (GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 834 | GlFunction(Void, "glProgramLocalParameter4fvARB", [(GLenum, "target"), (GLuint, "index"), (Const(Array(GLfloat, "4")), "params")]), |
| 835 | GlFunction(Void, "glGetProgramEnvParameterdvARB", [(GLenum, "target"), (GLuint, "index"), Out(Array(GLdouble, "4"), "params")], sideeffects=False), |
| 836 | GlFunction(Void, "glGetProgramEnvParameterfvARB", [(GLenum, "target"), (GLuint, "index"), Out(Array(GLfloat, "4"), "params")], sideeffects=False), |
| 837 | GlFunction(Void, "glGetProgramLocalParameterdvARB", [(GLenum, "target"), (GLuint, "index"), Out(Array(GLdouble, "4"), "params")], sideeffects=False), |
| 838 | GlFunction(Void, "glGetProgramLocalParameterfvARB", [(GLenum, "target"), (GLuint, "index"), Out(Array(GLfloat, "4"), "params")], sideeffects=False), |
| 839 | GlFunction(Void, "glGetProgramivARB", [(GLenum, "target"), (GLenum, "pname"), Out(Pointer(GLint), "params")], sideeffects=False), |
| 840 | GlFunction(Void, "glGetProgramStringARB", [(GLenum, "target"), (GLenum, "pname"), Out(OpaquePointer(GLvoid), "string")], sideeffects=False), |
| 841 | GlFunction(Void, "glGetVertexAttribdvARB", [(GLuint, "index"), (GLenum, "pname"), Out(Array(GLdouble, "4"), "params")], sideeffects=False), |
| 842 | GlFunction(Void, "glGetVertexAttribfvARB", [(GLuint, "index"), (GLenum, "pname"), Out(Array(GLfloat, "4"), "params")], sideeffects=False), |
| 843 | GlFunction(Void, "glGetVertexAttribivARB", [(GLuint, "index"), (GLenum, "pname"), Out(Array(GLint, "4"), "params")], sideeffects=False), |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 844 | GlFunction(Void, "glGetVertexAttribPointervARB", [(GLuint, "index"), (GLenum, "pname"), Out(Pointer(OpaquePointer(GLvoid)), "pointer")], sideeffects=False), |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 845 | GlFunction(GLboolean, "glIsProgramARB", [(GLprogramARB, "program")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 846 | |
| 847 | # GL_ARB_vertex_buffer_object |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 848 | GlFunction(Void, "glBindBufferARB", [(GLenum, "target"), (GLbuffer, "buffer")]), |
| 849 | GlFunction(Void, "glDeleteBuffersARB", [(GLsizei, "n"), (Const(Array(GLbuffer, "n")), "buffers")]), |
| 850 | GlFunction(Void, "glGenBuffersARB", [(GLsizei, "n"), Out(Array(GLbuffer, "n"), "buffers")]), |
| 851 | GlFunction(GLboolean, "glIsBufferARB", [(GLbuffer, "buffer")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 852 | GlFunction(Void, "glBufferDataARB", [(GLenum, "target"), (GLsizeiptrARB, "size"), (Const(Blob(GLvoid, "size")), "data"), (GLenum, "usage")]), |
| 853 | GlFunction(Void, "glBufferSubDataARB", [(GLenum, "target"), (GLintptrARB, "offset"), (GLsizeiptrARB, "size"), (Const(Blob(GLvoid, "size")), "data")]), |
| 854 | GlFunction(Void, "glGetBufferSubDataARB", [(GLenum, "target"), (GLintptrARB, "offset"), (GLsizeiptrARB, "size"), Out(Blob(GLvoid, "size"), "data")], sideeffects=False), |
| 855 | GlFunction(OpaquePointer(GLvoid), "glMapBufferARB", [(GLenum, "target"), (GLenum, "access")]), |
| 856 | GlFunction(GLboolean, "glUnmapBufferARB", [(GLenum, "target")]), |
| 857 | GlFunction(Void, "glGetBufferParameterivARB", [(GLenum, "target"), (GLenum, "pname"), Out(OpaquePointer(GLint), "params")], sideeffects=False), |
| 858 | GlFunction(Void, "glGetBufferPointervARB", [(GLenum, "target"), (GLenum, "pname"), Out(Array(OpaquePointer(GLvoid), "1"), "params")], sideeffects=False), |
| 859 | |
| 860 | # GL_ARB_occlusion_query |
| 861 | GlFunction(Void, "glGenQueriesARB", [(GLsizei, "n"), Out(Array(GLquery, "n"), "ids")]), |
| 862 | GlFunction(Void, "glDeleteQueriesARB", [(GLsizei, "n"), (Const(Array(GLquery, "n")), "ids")]), |
| 863 | GlFunction(GLboolean, "glIsQueryARB", [(GLquery, "id")]), |
| 864 | GlFunction(Void, "glBeginQueryARB", [(GLenum, "target"), (GLquery, "id")]), |
| 865 | GlFunction(Void, "glEndQueryARB", [(GLenum, "target")]), |
| 866 | GlFunction(Void, "glGetQueryivARB", [(GLenum, "target"), (GLenum, "pname"), (OpaquePointer(GLint), "params")], sideeffects=False), |
| 867 | GlFunction(Void, "glGetQueryObjectivARB", [(GLquery, "id"), (GLenum, "pname"), (OpaquePointer(GLint), "params")], sideeffects=False), |
| 868 | GlFunction(Void, "glGetQueryObjectuivARB", [(GLquery, "id"), (GLenum, "pname"), (OpaquePointer(GLuint), "params")], sideeffects=False), |
| 869 | |
| 870 | # GL_ARB_shader_objects |
| 871 | GlFunction(Void, "glDeleteObjectARB", [(GLhandleARB, "obj")]), |
| 872 | GlFunction(GLhandleARB, "glGetHandleARB", [(GLenum, "pname")], sideeffects=False), |
| 873 | GlFunction(Void, "glDetachObjectARB", [(GLhandleARB, "containerObj"), (GLhandleARB, "attachedObj")]), |
| 874 | GlFunction(GLhandleARB, "glCreateShaderObjectARB", [(GLenum, "shaderType")]), |
| 875 | GlFunction(Void, "glShaderSourceARB", [(GLhandleARB, "shaderObj"), (GLsizei, "count"), (Const(Array(Const(GLstringARB), "count")), "string"), (Const(Array(GLint, "count")), "length")]), |
| 876 | GlFunction(Void, "glCompileShaderARB", [(GLhandleARB, "shaderObj")]), |
| 877 | GlFunction(GLhandleARB, "glCreateProgramObjectARB", []), |
| 878 | GlFunction(Void, "glAttachObjectARB", [(GLhandleARB, "containerObj"), (GLhandleARB, "obj")]), |
| 879 | GlFunction(Void, "glLinkProgramARB", [(GLhandleARB, "programObj")]), |
| 880 | GlFunction(Void, "glUseProgramObjectARB", [(GLhandleARB, "programObj")]), |
| 881 | GlFunction(Void, "glValidateProgramARB", [(GLhandleARB, "programObj")]), |
| 882 | GlFunction(Void, "glUniform1fARB", [(GLint, "location"), (GLfloat, "v0")]), |
| 883 | GlFunction(Void, "glUniform2fARB", [(GLint, "location"), (GLfloat, "v0"), (GLfloat, "v1")]), |
| 884 | GlFunction(Void, "glUniform3fARB", [(GLint, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2")]), |
| 885 | GlFunction(Void, "glUniform4fARB", [(GLint, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2"), (GLfloat, "v3")]), |
| 886 | GlFunction(Void, "glUniform1iARB", [(GLint, "location"), (GLint, "v0")]), |
| 887 | GlFunction(Void, "glUniform2iARB", [(GLint, "location"), (GLint, "v0"), (GLint, "v1")]), |
| 888 | GlFunction(Void, "glUniform3iARB", [(GLint, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2")]), |
| 889 | GlFunction(Void, "glUniform4iARB", [(GLint, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2"), (GLint, "v3")]), |
| 890 | GlFunction(Void, "glUniform1fvARB", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "count")), "value")]), |
| 891 | GlFunction(Void, "glUniform2fvARB", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "(2*count)")), "value")]), |
| 892 | GlFunction(Void, "glUniform3fvARB", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "(3*count)")), "value")]), |
| 893 | GlFunction(Void, "glUniform4fvARB", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "(4*count)")), "value")]), |
| 894 | GlFunction(Void, "glUniform1ivARB", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLint, "count")), "value")]), |
| 895 | GlFunction(Void, "glUniform2ivARB", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLint, "(2*count)")), "value")]), |
| 896 | GlFunction(Void, "glUniform3ivARB", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLint, "(3*count)")), "value")]), |
| 897 | GlFunction(Void, "glUniform4ivARB", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLint, "(4*count)")), "value")]), |
| 898 | GlFunction(Void, "glUniformMatrix2fvARB", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "4")), "value")]), |
| 899 | GlFunction(Void, "glUniformMatrix3fvARB", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "9")), "value")]), |
| 900 | GlFunction(Void, "glUniformMatrix4fvARB", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "16")), "value")]), |
| 901 | GlFunction(Void, "glGetObjectParameterfvARB", [(GLhandleARB, "obj"), (GLenum, "pname"), Out(OpaquePointer(GLfloat), "params")], sideeffects=False), |
| 902 | GlFunction(Void, "glGetObjectParameterivARB", [(GLhandleARB, "obj"), (GLenum, "pname"), Out(OpaquePointer(GLint), "params")], sideeffects=False), |
| 903 | GlFunction(Void, "glGetInfoLogARB", [(GLhandleARB, "obj"), (GLsizei, "maxLength"), Out(Pointer(GLsizei), "length"), Out(GLstringARB, "infoLog")], sideeffects=False), |
| 904 | GlFunction(Void, "glGetAttachedObjectsARB", [(GLhandleARB, "containerObj"), (GLsizei, "maxLength"), (OpaquePointer(GLsizei), "length"), (OpaquePointer(GLhandleARB), "infoLog")], sideeffects=False), |
| 905 | GlFunction(GLint, "glGetUniformLocationARB", [(GLhandleARB, "programObj"), (Const(GLstringARB), "name")], sideeffects=False), |
| 906 | GlFunction(Void, "glGetActiveUniformARB", [(GLhandleARB, "programObj"), (GLuint, "index"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(Pointer(GLint), "size"), Out(Pointer(GLenum), "type"), Out(GLstringARB, "name")], sideeffects=False), |
| 907 | GlFunction(Void, "glGetUniformfvARB", [(GLhandleARB, "programObj"), (GLint, "location"), (OpaquePointer(GLfloat), "params")], sideeffects=False), |
| 908 | GlFunction(Void, "glGetUniformivARB", [(GLhandleARB, "programObj"), (GLint, "location"), (OpaquePointer(GLint), "params")], sideeffects=False), |
| 909 | GlFunction(Void, "glGetShaderSourceARB", [(GLhandleARB, "obj"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(GLstringARB, "source")], sideeffects=False), |
| 910 | |
| 911 | # GL_ARB_vertex_shader |
| 912 | GlFunction(Void, "glBindAttribLocationARB", [(GLhandleARB, "programObj"), (GLuint, "index"), (Const(GLstringARB), "name")]), |
| 913 | GlFunction(Void, "glGetActiveAttribARB", [(GLhandleARB, "programObj"), (GLuint, "index"), (GLsizei, "maxLength"), Out(Pointer(GLsizei), "length"), Out(Pointer(GLint), "size"), Out(Pointer(GLenum), "type"), Out(GLstringARB, "name")], sideeffects=False), |
| 914 | GlFunction(GLint, "glGetAttribLocationARB", [(GLhandleARB, "programObj"), (Const(GLstringARB), "name")], sideeffects=False), |
| 915 | |
| 916 | # GL_ARB_draw_buffers |
| 917 | GlFunction(Void, "glDrawBuffersARB", [(GLsizei, "n"), (Const(Array(GLenum, "n")), "bufs")]), |
| 918 | |
| 919 | # GL_ARB_color_buffer_float |
| 920 | GlFunction(Void, "glClampColorARB", [(GLenum, "target"), (GLenum, "clamp")]), |
| 921 | |
| 922 | # GL_ARB_draw_instanced |
| 923 | GlFunction(Void, "glDrawArraysInstancedARB", [(GLenum, "mode"), (GLint, "first"), (GLsizei, "count"), (GLsizei, "primcount")]), |
| 924 | GlFunction(Void, "glDrawElementsInstancedARB", [(GLenum, "mode"), (GLsizei, "count"), (GLenum, "type"), (Const(OpaquePointer(GLvoid)), "indices"), (GLsizei, "primcount")]), |
| 925 | |
| 926 | # GL_ARB_framebuffer_object |
| 927 | GlFunction(GLboolean, "glIsRenderbuffer", [(GLrenderbuffer, "renderbuffer")]), |
| 928 | GlFunction(Void, "glBindRenderbuffer", [(GLenum, "target"), (GLrenderbuffer, "renderbuffer")]), |
| 929 | GlFunction(Void, "glDeleteRenderbuffers", [(GLsizei, "n"), (Const(Array(GLrenderbuffer, "n")), "renderbuffers")]), |
| 930 | GlFunction(Void, "glGenRenderbuffers", [(GLsizei, "n"), Out(Array(GLrenderbuffer, "n"), "renderbuffers")]), |
| 931 | GlFunction(Void, "glRenderbufferStorage", [(GLenum, "target"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height")]), |
| 932 | GlFunction(Void, "glGetRenderbufferParameteriv", [(GLenum, "target"), (GLenum, "pname"), (OpaquePointer(GLint), "params")], sideeffects=False), |
| 933 | GlFunction(GLboolean, "glIsFramebuffer", [(GLframebuffer, "framebuffer")]), |
| 934 | GlFunction(Void, "glBindFramebuffer", [(GLenum, "target"), (GLframebuffer, "framebuffer")]), |
| 935 | GlFunction(Void, "glDeleteFramebuffers", [(GLsizei, "n"), (Const(Array(GLframebuffer, "n")), "framebuffers")]), |
| 936 | GlFunction(Void, "glGenFramebuffers", [(GLsizei, "n"), Out(Array(GLframebuffer, "n"), "framebuffers")]), |
| 937 | GlFunction(GLenum, "glCheckFramebufferStatus", [(GLenum, "target")]), |
| 938 | GlFunction(Void, "glFramebufferTexture1D", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLtexture, "texture"), (GLint, "level")]), |
| 939 | GlFunction(Void, "glFramebufferTexture2D", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLtexture, "texture"), (GLint, "level")]), |
| 940 | GlFunction(Void, "glFramebufferTexture3D", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLtexture, "texture"), (GLint, "level"), (GLint, "zoffset")]), |
| 941 | GlFunction(Void, "glFramebufferRenderbuffer", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "renderbuffertarget"), (GLuint, "renderbuffer")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 942 | GlFunction(Void, "glGetFramebufferAttachmentParameteriv", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "pname"), Out(Array(GLint, "__glGetFramebufferAttachmentParameteriv_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 943 | GlFunction(Void, "glGenerateMipmap", [(GLenum, "target")]), |
| 944 | GlFunction(Void, "glBlitFramebuffer", [(GLint, "srcX0"), (GLint, "srcY0"), (GLint, "srcX1"), (GLint, "srcY1"), (GLint, "dstX0"), (GLint, "dstY0"), (GLint, "dstX1"), (GLint, "dstY1"), (GLbitfield_attrib, "mask"), (GLenum, "filter")]), |
| 945 | GlFunction(Void, "glRenderbufferStorageMultisample", [(GLenum, "target"), (GLsizei, "samples"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height")]), |
| 946 | GlFunction(Void, "glFramebufferTextureLayer", [(GLenum, "target"), (GLenum, "attachment"), (GLtexture, "texture"), (GLint, "level"), (GLint, "layer")]), |
| 947 | |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame^] | 948 | # GL_ARB_geometry_shader4 |
| 949 | GlFunction(Void, "glProgramParameteriARB", [(GLprogram, "program"), (GLenum, "pname"), (GLint, "value")]), |
| 950 | GlFunction(Void, "glFramebufferTextureARB", [(GLenum, "target"), (GLenum, "attachment"), (GLtexture, "texture"), (GLint, "level")]), |
| 951 | GlFunction(Void, "glFramebufferTextureLayerARB", [(GLenum, "target"), (GLenum, "attachment"), (GLtexture, "texture"), (GLint, "level"), (GLint, "layer")]), |
| 952 | GlFunction(Void, "glFramebufferTextureFaceARB", [(GLenum, "target"), (GLenum, "attachment"), (GLtexture, "texture"), (GLint, "level"), (GLenum, "face")]), |
| 953 | |
| 954 | # GL_ARB_instanced_arrays |
| 955 | GlFunction(Void, "glVertexAttribDivisorARB", [(GLuint, "index"), (GLuint, "divisor")]), |
| 956 | |
| 957 | # GL_ARB_map_buffer_range |
| 958 | GlFunction(OpaquePointer(GLvoid), "glMapBufferRange", [(GLenum, "target"), (GLintptr, "offset"), (GLsizeiptr, "length"), (GLbitfield, "access")]), |
| 959 | GlFunction(Void, "glFlushMappedBufferRange", [(GLenum, "target"), (GLintptr, "offset"), (GLsizeiptr, "length")]), |
| 960 | |
| 961 | # GL_ARB_texture_buffer_object |
| 962 | GlFunction(Void, "glTexBufferARB", [(GLenum, "target"), (GLenum, "internalformat"), (GLuint, "buffer")]), |
| 963 | |
| 964 | # GL_ARB_vertex_array_object |
| 965 | GlFunction(Void, "glBindVertexArray", [(GLvertexArray, "array")]), |
| 966 | GlFunction(Void, "glDeleteVertexArrays", [(GLsizei, "n"), (Const(Array(GLvertexArray, "n")), "arrays")]), |
| 967 | GlFunction(Void, "glGenVertexArrays", [(GLsizei, "n"), Out(Array(GLvertexArray, "n"), "arrays")]), |
| 968 | GlFunction(GLboolean, "glIsVertexArray", [(GLvertexArray, "array")]), |
| 969 | |
| 970 | # GL_ARB_uniform_buffer_object |
| 971 | GlFunction(Void, "glGetUniformIndices", [(GLuint, "program"), (GLsizei, "uniformCount"), (Const(OpaqueArray(GLstring, "__glGetUniformIndices_size(uniformCount)")), "uniformNames"), Out(OpaqueArray(GLuint, "__glGetUniformIndices_size(uniformCount)"), "uniformIndices")], sideeffects=False), |
| 972 | GlFunction(Void, "glGetActiveUniformsiv", [(GLuint, "program"), (GLsizei, "uniformCount"), (Const(OpaqueArray(GLuint, "__glGetActiveUniformsiv_size(uniformCount)")), "uniformIndices"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetActiveUniformsiv_size(pname)"), "params")], sideeffects=False), |
| 973 | GlFunction(Void, "glGetActiveUniformName", [(GLuint, "program"), (GLuint, "uniformIndex"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(Array(GLchar, "bufSize"), "uniformName")], sideeffects=False), |
| 974 | GlFunction(GLuint, "glGetUniformBlockIndex", [(GLuint, "program"), (Const(OpaqueArray(GLchar, "__glGetUniformBlockIndex_size()")), "uniformBlockName")], sideeffects=False), |
| 975 | GlFunction(Void, "glGetActiveUniformBlockiv", [(GLuint, "program"), (GLuint, "uniformBlockIndex"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetActiveUniformBlockiv_size(pname)"), "params")], sideeffects=False), |
| 976 | GlFunction(Void, "glGetActiveUniformBlockName", [(GLuint, "program"), (GLuint, "uniformBlockIndex"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(Array(GLchar, "bufSize"), "uniformBlockName")], sideeffects=False), |
| 977 | GlFunction(Void, "glUniformBlockBinding", [(GLuint, "program"), (GLuint, "uniformBlockIndex"), (GLuint, "uniformBlockBinding")]), |
| 978 | |
| 979 | # GL_ARB_copy_buffer |
| 980 | GlFunction(Void, "glCopyBufferSubData", [(GLenum, "readTarget"), (GLenum, "writeTarget"), (GLintptr, "readOffset"), (GLintptr, "writeOffset"), (GLsizeiptr, "size")]), |
| 981 | |
| 982 | # GL_ARB_draw_elements_base_vertex |
| 983 | GlFunction(Void, "glDrawElementsBaseVertex", [(GLenum, "mode"), (GLsizei, "count"), (GLenum, "type"), (Const(OpaqueArray(GLvoid, "__glDrawElementsBaseVertex_size(count, type)")), "indices"), (GLint, "basevertex")]), |
| 984 | GlFunction(Void, "glDrawRangeElementsBaseVertex", [(GLenum, "mode"), (GLuint, "start"), (GLuint, "end"), (GLsizei, "count"), (GLenum, "type"), (Const(OpaqueArray(GLvoid, "__glDrawRangeElementsBaseVertex_size(count, type)")), "indices"), (GLint, "basevertex")]), |
| 985 | GlFunction(Void, "glDrawElementsInstancedBaseVertex", [(GLenum, "mode"), (GLsizei, "count"), (GLenum, "type"), (Const(OpaqueBlob(GLvoid, "__glDrawElementsInstancedBaseVertex_size(count, type)")), "indices"), (GLsizei, "primcount"), (GLint, "basevertex")]), |
| 986 | GlFunction(Void, "glMultiDrawElementsBaseVertex", [(GLenum, "mode"), (Const(OpaqueArray(GLsizei, "__glMultiDrawElementsBaseVertex_size(primcount)")), "count"), (GLenum, "type"), (Const(OpaqueBlob(GLvoid, "__glMultiDrawElementsBaseVertex_size(primcount)")), "indices"), (GLsizei, "primcount"), (Const(OpaqueArray(GLint, "__glMultiDrawElementsBaseVertex_size(primcount)")), "basevertex")]), |
| 987 | |
| 988 | # GL_ARB_provoking_vertex |
| 989 | GlFunction(Void, "glProvokingVertex", [(GLenum, "mode")]), |
| 990 | |
| 991 | # GL_ARB_sync |
| 992 | #GlFunction(GLsync, "glFenceSync", [(GLenum, "condition"), (GLbitfield, "flags")]), |
| 993 | #GlFunction(GLboolean, "glIsSync", [(GLsync, "sync")]), |
| 994 | #GlFunction(Void, "glDeleteSync", [(GLsync, "sync")]), |
| 995 | #GlFunction(GLenum, "glClientWaitSync", [(GLsync, "sync"), (GLbitfield, "flags"), (GLuint64, "timeout")]), |
| 996 | #GlFunction(Void, "glWaitSync", [(GLsync, "sync"), (GLbitfield, "flags"), (GLuint64, "timeout")]), |
| 997 | #GlFunction(Void, "glGetInteger64v", [(GLenum, "pname"), Out(OpaqueArray(GLint64, "__glGetInteger64v_size(pname)"), "params")], sideeffects=False), |
| 998 | #GlFunction(Void, "glGetSynciv", [(GLsync, "sync"), (GLenum, "pname"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(Array(GLint, "length"), "values")], sideeffects=False), |
| 999 | |
| 1000 | # GL_ARB_texture_multisample |
| 1001 | GlFunction(Void, "glTexImage2DMultisample", [(GLenum, "target"), (GLsizei, "samples"), (GLint, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLboolean, "fixedsamplelocations")]), |
| 1002 | GlFunction(Void, "glTexImage3DMultisample", [(GLenum, "target"), (GLsizei, "samples"), (GLint, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLboolean, "fixedsamplelocations")]), |
| 1003 | GlFunction(Void, "glGetMultisamplefv", [(GLenum, "pname"), (GLuint, "index"), Out(OpaqueArray(GLfloat, "__glGetMultisamplefv_size(pname)"), "val")], sideeffects=False), |
| 1004 | GlFunction(Void, "glSampleMaski", [(GLuint, "index"), (GLbitfield, "mask")]), |
| 1005 | |
| 1006 | # GL_ARB_draw_buffers_blend |
| 1007 | GlFunction(Void, "glBlendEquationiARB", [(GLuint, "buf"), (GLenum, "mode")]), |
| 1008 | GlFunction(Void, "glBlendEquationSeparateiARB", [(GLuint, "buf"), (GLenum, "modeRGB"), (GLenum, "modeAlpha")]), |
| 1009 | GlFunction(Void, "glBlendFunciARB", [(GLuint, "buf"), (GLenum, "src"), (GLenum, "dst")]), |
| 1010 | GlFunction(Void, "glBlendFuncSeparateiARB", [(GLuint, "buf"), (GLenum, "srcRGB"), (GLenum, "dstRGB"), (GLenum, "srcAlpha"), (GLenum, "dstAlpha")]), |
| 1011 | |
| 1012 | # GL_ARB_sample_shading |
| 1013 | GlFunction(Void, "glMinSampleShadingARB", [(GLclampf, "value")]), |
| 1014 | |
| 1015 | # GL_ARB_shading_language_include |
| 1016 | #GlFunction(Void, "glNamedStringARB", [(GLenum, "type"), (GLint, "namelen"), (Const(Array(GLchar, "namelen")), "name"), (GLint, "stringlen"), (Const(Array(GLchar, "stringlen")), "string")]), |
| 1017 | #GlFunction(Void, "glDeleteNamedStringARB", [(GLint, "namelen"), (Const(Array(GLchar, "namelen")), "name")]), |
| 1018 | #GlFunction(Void, "glCompileShaderIncludeARB", [(GLuint, "shader"), (GLsizei, "count"), (Const(Array(GLstring, "count")), "path"), (Const(Array(GLint, "count")), "length")]), |
| 1019 | #GlFunction(GLboolean, "glIsNamedStringARB", [(GLint, "namelen"), (Const(Array(GLchar, "namelen")), "name")]), |
| 1020 | #GlFunction(Void, "glGetNamedStringARB", [(GLint, "namelen"), (Const(Array(GLchar, "namelen")), "name"), (GLsizei, "bufSize"), Out(Pointer(GLint), "stringlen"), Out(Array(GLchar, "bufSize"), "string")], sideeffects=False), |
| 1021 | #GlFunction(Void, "glGetNamedStringivARB", [(GLint, "namelen"), (Const(Array(GLchar, "namelen")), "name"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetNamedStringivARB_size(pname)"), "params")], sideeffects=False), |
| 1022 | |
| 1023 | # GL_ARB_blend_func_extended |
| 1024 | GlFunction(Void, "glBindFragDataLocationIndexed", [(GLuint, "program"), (GLuint, "colorNumber"), (GLuint, "index"), (Const(GLstring), "name")]), |
| 1025 | GlFunction(GLint, "glGetFragDataIndex", [(GLuint, "program"), (Const(GLstring), "name")], sideeffects=False), |
| 1026 | |
| 1027 | # GL_ARB_sampler_objects |
| 1028 | GlFunction(Void, "glGenSamplers", [(GLsizei, "count"), Out(Array(GLuint, "count"), "samplers")]), |
| 1029 | GlFunction(Void, "glDeleteSamplers", [(GLsizei, "count"), (Const(Array(GLuint, "count")), "samplers")]), |
| 1030 | GlFunction(GLboolean, "glIsSampler", [(GLuint, "sampler")]), |
| 1031 | GlFunction(Void, "glBindSampler", [(GLuint, "unit"), (GLuint, "sampler")]), |
| 1032 | GlFunction(Void, "glSamplerParameteri", [(GLuint, "sampler"), (GLenum, "pname"), (GLint, "param")]), |
| 1033 | GlFunction(Void, "glSamplerParameteriv", [(GLuint, "sampler"), (GLenum, "pname"), (Const(OpaqueArray(GLint, "__glSamplerParameteriv_size(pname)")), "param")]), |
| 1034 | GlFunction(Void, "glSamplerParameterf", [(GLuint, "sampler"), (GLenum, "pname"), (GLfloat, "param")]), |
| 1035 | GlFunction(Void, "glSamplerParameterfv", [(GLuint, "sampler"), (GLenum, "pname"), (Const(OpaqueArray(GLfloat, "__glSamplerParameterfv_size(pname)")), "param")]), |
| 1036 | GlFunction(Void, "glSamplerParameterIiv", [(GLuint, "sampler"), (GLenum, "pname"), (Const(OpaqueArray(GLint, "__glSamplerParameterIiv_size(pname)")), "param")]), |
| 1037 | GlFunction(Void, "glSamplerParameterIuiv", [(GLuint, "sampler"), (GLenum, "pname"), (Const(OpaqueArray(GLuint, "__glSamplerParameterIuiv_size(pname)")), "param")]), |
| 1038 | GlFunction(Void, "glGetSamplerParameteriv", [(GLuint, "sampler"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetSamplerParameteriv_size(pname)"), "params")], sideeffects=False), |
| 1039 | GlFunction(Void, "glGetSamplerParameterIiv", [(GLuint, "sampler"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetSamplerParameterIiv_size(pname)"), "params")], sideeffects=False), |
| 1040 | GlFunction(Void, "glGetSamplerParameterfv", [(GLuint, "sampler"), (GLenum, "pname"), Out(OpaqueArray(GLfloat, "__glGetSamplerParameterfv_size(pname)"), "params")], sideeffects=False), |
| 1041 | GlFunction(Void, "glGetSamplerParameterIuiv", [(GLuint, "sampler"), (GLenum, "pname"), Out(OpaqueArray(GLuint, "__glGetSamplerParameterIuiv_size(pname)"), "params")], sideeffects=False), |
| 1042 | |
| 1043 | # GL_ARB_timer_query |
| 1044 | GlFunction(Void, "glQueryCounter", [(GLuint, "id"), (GLenum, "target")]), |
| 1045 | GlFunction(Void, "glGetQueryObjecti64v", [(GLuint, "id"), (GLenum, "pname"), Out(OpaqueArray(GLint64, "__glGetQueryObjecti64v_size(pname)"), "params")], sideeffects=False), |
| 1046 | GlFunction(Void, "glGetQueryObjectui64v", [(GLuint, "id"), (GLenum, "pname"), Out(OpaqueArray(GLuint64, "__glGetQueryObjectui64v_size(pname)"), "params")], sideeffects=False), |
| 1047 | |
| 1048 | # GL_ARB_vertex_type_2_10_10_10_rev |
| 1049 | GlFunction(Void, "glVertexP2ui", [(GLenum, "type"), (GLuint, "value")]), |
| 1050 | GlFunction(Void, "glVertexP2uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "value")]), |
| 1051 | GlFunction(Void, "glVertexP3ui", [(GLenum, "type"), (GLuint, "value")]), |
| 1052 | GlFunction(Void, "glVertexP3uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "value")]), |
| 1053 | GlFunction(Void, "glVertexP4ui", [(GLenum, "type"), (GLuint, "value")]), |
| 1054 | GlFunction(Void, "glVertexP4uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "value")]), |
| 1055 | GlFunction(Void, "glTexCoordP1ui", [(GLenum, "type"), (GLuint, "coords")]), |
| 1056 | GlFunction(Void, "glTexCoordP1uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1057 | GlFunction(Void, "glTexCoordP2ui", [(GLenum, "type"), (GLuint, "coords")]), |
| 1058 | GlFunction(Void, "glTexCoordP2uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1059 | GlFunction(Void, "glTexCoordP3ui", [(GLenum, "type"), (GLuint, "coords")]), |
| 1060 | GlFunction(Void, "glTexCoordP3uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1061 | GlFunction(Void, "glTexCoordP4ui", [(GLenum, "type"), (GLuint, "coords")]), |
| 1062 | GlFunction(Void, "glTexCoordP4uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1063 | GlFunction(Void, "glMultiTexCoordP1ui", [(GLenum, "texture"), (GLenum, "type"), (GLuint, "coords")]), |
| 1064 | GlFunction(Void, "glMultiTexCoordP1uiv", [(GLenum, "texture"), (GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1065 | GlFunction(Void, "glMultiTexCoordP2ui", [(GLenum, "texture"), (GLenum, "type"), (GLuint, "coords")]), |
| 1066 | GlFunction(Void, "glMultiTexCoordP2uiv", [(GLenum, "texture"), (GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1067 | GlFunction(Void, "glMultiTexCoordP3ui", [(GLenum, "texture"), (GLenum, "type"), (GLuint, "coords")]), |
| 1068 | GlFunction(Void, "glMultiTexCoordP3uiv", [(GLenum, "texture"), (GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1069 | GlFunction(Void, "glMultiTexCoordP4ui", [(GLenum, "texture"), (GLenum, "type"), (GLuint, "coords")]), |
| 1070 | GlFunction(Void, "glMultiTexCoordP4uiv", [(GLenum, "texture"), (GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1071 | GlFunction(Void, "glNormalP3ui", [(GLenum, "type"), (GLuint, "coords")]), |
| 1072 | GlFunction(Void, "glNormalP3uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1073 | GlFunction(Void, "glColorP3ui", [(GLenum, "type"), (GLuint, "color")]), |
| 1074 | GlFunction(Void, "glColorP3uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "color")]), |
| 1075 | GlFunction(Void, "glColorP4ui", [(GLenum, "type"), (GLuint, "color")]), |
| 1076 | GlFunction(Void, "glColorP4uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "color")]), |
| 1077 | GlFunction(Void, "glSecondaryColorP3ui", [(GLenum, "type"), (GLuint, "color")]), |
| 1078 | GlFunction(Void, "glSecondaryColorP3uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "color")]), |
| 1079 | GlFunction(Void, "glVertexAttribP1ui", [(GLuint, "index"), (GLenum, "type"), (GLboolean, "normalized"), (GLuint, "value")]), |
| 1080 | GlFunction(Void, "glVertexAttribP1uiv", [(GLuint, "index"), (GLenum, "type"), (GLboolean, "normalized"), (Const(Pointer(GLuint)), "value")]), |
| 1081 | GlFunction(Void, "glVertexAttribP2ui", [(GLuint, "index"), (GLenum, "type"), (GLboolean, "normalized"), (GLuint, "value")]), |
| 1082 | GlFunction(Void, "glVertexAttribP2uiv", [(GLuint, "index"), (GLenum, "type"), (GLboolean, "normalized"), (Const(Pointer(GLuint)), "value")]), |
| 1083 | GlFunction(Void, "glVertexAttribP3ui", [(GLuint, "index"), (GLenum, "type"), (GLboolean, "normalized"), (GLuint, "value")]), |
| 1084 | GlFunction(Void, "glVertexAttribP3uiv", [(GLuint, "index"), (GLenum, "type"), (GLboolean, "normalized"), (Const(Pointer(GLuint)), "value")]), |
| 1085 | GlFunction(Void, "glVertexAttribP4ui", [(GLuint, "index"), (GLenum, "type"), (GLboolean, "normalized"), (GLuint, "value")]), |
| 1086 | GlFunction(Void, "glVertexAttribP4uiv", [(GLuint, "index"), (GLenum, "type"), (GLboolean, "normalized"), (Const(Pointer(GLuint)), "value")]), |
| 1087 | |
| 1088 | # GL_ARB_draw_indirect |
| 1089 | GlFunction(Void, "glDrawArraysIndirect", [(GLenum, "mode"), (Const(OpaquePointer(GLvoid)), "indirect")]), |
| 1090 | GlFunction(Void, "glDrawElementsIndirect", [(GLenum, "mode"), (GLenum, "type"), (Const(OpaquePointer(GLvoid)), "indirect")]), |
| 1091 | |
| 1092 | # GL_ARB_gpu_shader_fp64 |
| 1093 | GlFunction(Void, "glUniform1d", [(GLint, "location"), (GLdouble, "x")]), |
| 1094 | GlFunction(Void, "glUniform2d", [(GLint, "location"), (GLdouble, "x"), (GLdouble, "y")]), |
| 1095 | GlFunction(Void, "glUniform3d", [(GLint, "location"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 1096 | GlFunction(Void, "glUniform4d", [(GLint, "location"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 1097 | GlFunction(Void, "glUniform1dv", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "count")), "value")]), |
| 1098 | GlFunction(Void, "glUniform2dv", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "count")), "value")]), |
| 1099 | GlFunction(Void, "glUniform3dv", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "count")), "value")]), |
| 1100 | GlFunction(Void, "glUniform4dv", [(GLint, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "count")), "value")]), |
| 1101 | GlFunction(Void, "glUniformMatrix2dv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1102 | GlFunction(Void, "glUniformMatrix3dv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1103 | GlFunction(Void, "glUniformMatrix4dv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1104 | GlFunction(Void, "glUniformMatrix2x3dv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1105 | GlFunction(Void, "glUniformMatrix2x4dv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1106 | GlFunction(Void, "glUniformMatrix3x2dv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1107 | GlFunction(Void, "glUniformMatrix3x4dv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1108 | GlFunction(Void, "glUniformMatrix4x2dv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1109 | GlFunction(Void, "glUniformMatrix4x3dv", [(GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1110 | GlFunction(Void, "glGetUniformdv", [(GLuint, "program"), (GLint, "location"), Out(OpaqueArray(GLdouble, "__glGetUniformdv_size(location)"), "params")], sideeffects=False), |
| 1111 | |
| 1112 | # GL_ARB_shader_subroutine |
| 1113 | GlFunction(GLint, "glGetSubroutineUniformLocation", [(GLuint, "program"), (GLenum, "shadertype"), (Const(GLstring), "name")], sideeffects=False), |
| 1114 | GlFunction(GLuint, "glGetSubroutineIndex", [(GLuint, "program"), (GLenum, "shadertype"), (Const(GLstring), "name")], sideeffects=False), |
| 1115 | GlFunction(Void, "glGetActiveSubroutineUniformiv", [(GLuint, "program"), (GLenum, "shadertype"), (GLuint, "index"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetActiveSubroutineUniformiv_size(pname)"), "values")], sideeffects=False), |
| 1116 | GlFunction(Void, "glGetActiveSubroutineUniformName", [(GLuint, "program"), (GLenum, "shadertype"), (GLuint, "index"), (GLsizei, "bufsize"), Out(Pointer(GLsizei), "length"), Out(Array(GLchar, "bufsize"), "name")], sideeffects=False), |
| 1117 | GlFunction(Void, "glGetActiveSubroutineName", [(GLuint, "program"), (GLenum, "shadertype"), (GLuint, "index"), (GLsizei, "bufsize"), Out(Pointer(GLsizei), "length"), Out(Array(GLchar, "bufsize"), "name")], sideeffects=False), |
| 1118 | GlFunction(Void, "glUniformSubroutinesuiv", [(GLenum, "shadertype"), (GLsizei, "count"), (Const(Array(GLuint, "count")), "indices")]), |
| 1119 | GlFunction(Void, "glGetUniformSubroutineuiv", [(GLenum, "shadertype"), (GLint, "location"), Out(Pointer(GLuint), "params")], sideeffects=False), |
| 1120 | GlFunction(Void, "glGetProgramStageiv", [(GLuint, "program"), (GLenum, "shadertype"), (GLenum, "pname"), Out(Pointer(GLint), "values")], sideeffects=False), |
| 1121 | |
| 1122 | # GL_ARB_tessellation_shader |
| 1123 | GlFunction(Void, "glPatchParameteri", [(GLenum, "pname"), (GLint, "value")]), |
| 1124 | GlFunction(Void, "glPatchParameterfv", [(GLenum, "pname"), (Const(OpaqueArray(GLfloat, "__glPatchParameterfv_size(pname)")), "values")]), |
| 1125 | |
| 1126 | # GL_ARB_transform_feedback2 |
| 1127 | GlFunction(Void, "glBindTransformFeedback", [(GLenum, "target"), (GLuint, "id")]), |
| 1128 | GlFunction(Void, "glDeleteTransformFeedbacks", [(GLsizei, "n"), (Const(Array(GLuint, "n")), "ids")]), |
| 1129 | GlFunction(Void, "glGenTransformFeedbacks", [(GLsizei, "n"), Out(Array(GLuint, "n"), "ids")]), |
| 1130 | GlFunction(GLboolean, "glIsTransformFeedback", [(GLuint, "id")]), |
| 1131 | GlFunction(Void, "glPauseTransformFeedback", []), |
| 1132 | GlFunction(Void, "glResumeTransformFeedback", []), |
| 1133 | GlFunction(Void, "glDrawTransformFeedback", [(GLenum, "mode"), (GLuint, "id")]), |
| 1134 | |
| 1135 | # GL_ARB_transform_feedback3 |
| 1136 | GlFunction(Void, "glDrawTransformFeedbackStream", [(GLenum, "mode"), (GLuint, "id"), (GLuint, "stream")]), |
| 1137 | GlFunction(Void, "glBeginQueryIndexed", [(GLenum, "target"), (GLuint, "index"), (GLuint, "id")]), |
| 1138 | GlFunction(Void, "glEndQueryIndexed", [(GLenum, "target"), (GLuint, "index")]), |
| 1139 | GlFunction(Void, "glGetQueryIndexediv", [(GLenum, "target"), (GLuint, "index"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetQueryIndexediv_size(pname)"), "params")], sideeffects=False), |
| 1140 | |
| 1141 | # GL_ARB_ES2_compatibility |
| 1142 | GlFunction(Void, "glReleaseShaderCompiler", []), |
| 1143 | GlFunction(Void, "glShaderBinary", [(GLsizei, "count"), (Const(Array(GLuint, "count")), "shaders"), (GLenum, "binaryformat"), (Const(Blob(GLvoid, "length")), "binary"), (GLsizei, "length")]), |
| 1144 | GlFunction(Void, "glGetShaderPrecisionFormat", [(GLenum, "shadertype"), (GLenum, "precisiontype"), Out(Array(GLint, "2"), "range"), Out(Array(GLint, "2"), "precision")], sideeffects=False), |
| 1145 | GlFunction(Void, "glDepthRangef", [(GLclampf, "n"), (GLclampf, "f")]), |
| 1146 | GlFunction(Void, "glClearDepthf", [(GLclampf, "d")]), |
| 1147 | |
| 1148 | # GL_ARB_get_program_binary |
| 1149 | GlFunction(Void, "glGetProgramBinary", [(GLuint, "program"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(Pointer(GLenum), "binaryFormat"), Out(OpaqueArray(GLvoid, "__glGetProgramBinary_size(length)"), "binary")], sideeffects=False), |
| 1150 | GlFunction(Void, "glProgramBinary", [(GLuint, "program"), (GLenum, "binaryFormat"), (Const(Blob(GLvoid, "length")), "binary"), (GLsizei, "length")]), |
| 1151 | GlFunction(Void, "glProgramParameteri", [(GLuint, "program"), (GLenum, "pname"), (GLint, "value")]), |
| 1152 | |
| 1153 | # GL_ARB_separate_shader_objects |
| 1154 | GlFunction(Void, "glUseProgramStages", [(GLuint, "pipeline"), (GLbitfield, "stages"), (GLuint, "program")]), |
| 1155 | GlFunction(Void, "glActiveShaderProgram", [(GLuint, "pipeline"), (GLuint, "program")]), |
| 1156 | GlFunction(GLuint, "glCreateShaderProgramv", [(GLenum, "type"), (GLsizei, "count"), (Const(Array(Const(GLstring), "count")), "strings")]), |
| 1157 | GlFunction(Void, "glBindProgramPipeline", [(GLuint, "pipeline")]), |
| 1158 | GlFunction(Void, "glDeleteProgramPipelines", [(GLsizei, "n"), (Const(Array(GLuint, "n")), "pipelines")]), |
| 1159 | GlFunction(Void, "glGenProgramPipelines", [(GLsizei, "n"), Out(Array(GLuint, "n"), "pipelines")]), |
| 1160 | GlFunction(GLboolean, "glIsProgramPipeline", [(GLuint, "pipeline")]), |
| 1161 | GlFunction(Void, "glGetProgramPipelineiv", [(GLuint, "pipeline"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetProgramPipelineiv_size(pname)"), "params")], sideeffects=False), |
| 1162 | GlFunction(Void, "glProgramUniform1i", [(GLuint, "program"), (GLint, "location"), (GLint, "v0")]), |
| 1163 | GlFunction(Void, "glProgramUniform1iv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (Const(Pointer(GLint)), "value")]), |
| 1164 | GlFunction(Void, "glProgramUniform1f", [(GLuint, "program"), (GLint, "location"), (GLfloat, "v0")]), |
| 1165 | GlFunction(Void, "glProgramUniform1fv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (Const(Pointer(GLfloat)), "value")]), |
| 1166 | GlFunction(Void, "glProgramUniform1d", [(GLuint, "program"), (GLint, "location"), (GLdouble, "v0")]), |
| 1167 | GlFunction(Void, "glProgramUniform1dv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (Const(Pointer(GLdouble)), "value")]), |
| 1168 | GlFunction(Void, "glProgramUniform1ui", [(GLuint, "program"), (GLint, "location"), (GLuint, "v0")]), |
| 1169 | GlFunction(Void, "glProgramUniform1uiv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (Const(Pointer(GLuint)), "value")]), |
| 1170 | GlFunction(Void, "glProgramUniform2i", [(GLuint, "program"), (GLint, "location"), (GLint, "v0"), (GLint, "v1")]), |
| 1171 | GlFunction(Void, "glProgramUniform2iv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (Const(Array(GLint, "2")), "value")]), |
| 1172 | GlFunction(Void, "glProgramUniform2f", [(GLuint, "program"), (GLint, "location"), (GLfloat, "v0"), (GLfloat, "v1")]), |
| 1173 | GlFunction(Void, "glProgramUniform2fv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "2")), "value")]), |
| 1174 | GlFunction(Void, "glProgramUniform2d", [(GLuint, "program"), (GLint, "location"), (GLdouble, "v0"), (GLdouble, "v1")]), |
| 1175 | GlFunction(Void, "glProgramUniform2dv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "2")), "value")]), |
| 1176 | GlFunction(Void, "glProgramUniform2ui", [(GLuint, "program"), (GLint, "location"), (GLuint, "v0"), (GLuint, "v1")]), |
| 1177 | GlFunction(Void, "glProgramUniform2uiv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (Const(Array(GLuint, "2")), "value")]), |
| 1178 | GlFunction(Void, "glProgramUniform3i", [(GLuint, "program"), (GLint, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2")]), |
| 1179 | GlFunction(Void, "glProgramUniform3iv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (Const(Array(GLint, "3")), "value")]), |
| 1180 | GlFunction(Void, "glProgramUniform3f", [(GLuint, "program"), (GLint, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2")]), |
| 1181 | GlFunction(Void, "glProgramUniform3fv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "3")), "value")]), |
| 1182 | GlFunction(Void, "glProgramUniform3d", [(GLuint, "program"), (GLint, "location"), (GLdouble, "v0"), (GLdouble, "v1"), (GLdouble, "v2")]), |
| 1183 | GlFunction(Void, "glProgramUniform3dv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "3")), "value")]), |
| 1184 | GlFunction(Void, "glProgramUniform3ui", [(GLuint, "program"), (GLint, "location"), (GLuint, "v0"), (GLuint, "v1"), (GLuint, "v2")]), |
| 1185 | GlFunction(Void, "glProgramUniform3uiv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (Const(Array(GLuint, "3")), "value")]), |
| 1186 | GlFunction(Void, "glProgramUniform4i", [(GLuint, "program"), (GLint, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2"), (GLint, "v3")]), |
| 1187 | GlFunction(Void, "glProgramUniform4iv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (Const(Array(GLint, "4")), "value")]), |
| 1188 | GlFunction(Void, "glProgramUniform4f", [(GLuint, "program"), (GLint, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2"), (GLfloat, "v3")]), |
| 1189 | GlFunction(Void, "glProgramUniform4fv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "4")), "value")]), |
| 1190 | GlFunction(Void, "glProgramUniform4d", [(GLuint, "program"), (GLint, "location"), (GLdouble, "v0"), (GLdouble, "v1"), (GLdouble, "v2"), (GLdouble, "v3")]), |
| 1191 | GlFunction(Void, "glProgramUniform4dv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "4")), "value")]), |
| 1192 | GlFunction(Void, "glProgramUniform4ui", [(GLuint, "program"), (GLint, "location"), (GLuint, "v0"), (GLuint, "v1"), (GLuint, "v2"), (GLuint, "v3")]), |
| 1193 | GlFunction(Void, "glProgramUniform4uiv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (Const(Array(GLuint, "4")), "value")]), |
| 1194 | GlFunction(Void, "glProgramUniformMatrix2fv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "2")), "value")]), |
| 1195 | GlFunction(Void, "glProgramUniformMatrix3fv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "3")), "value")]), |
| 1196 | GlFunction(Void, "glProgramUniformMatrix4fv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "4")), "value")]), |
| 1197 | GlFunction(Void, "glProgramUniformMatrix2dv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "2")), "value")]), |
| 1198 | GlFunction(Void, "glProgramUniformMatrix3dv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "3")), "value")]), |
| 1199 | GlFunction(Void, "glProgramUniformMatrix4dv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "4")), "value")]), |
| 1200 | GlFunction(Void, "glProgramUniformMatrix2x3fv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count")), "value")]), |
| 1201 | GlFunction(Void, "glProgramUniformMatrix3x2fv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count")), "value")]), |
| 1202 | GlFunction(Void, "glProgramUniformMatrix2x4fv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count")), "value")]), |
| 1203 | GlFunction(Void, "glProgramUniformMatrix4x2fv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count")), "value")]), |
| 1204 | GlFunction(Void, "glProgramUniformMatrix3x4fv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count")), "value")]), |
| 1205 | GlFunction(Void, "glProgramUniformMatrix4x3fv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count")), "value")]), |
| 1206 | GlFunction(Void, "glProgramUniformMatrix2x3dv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1207 | GlFunction(Void, "glProgramUniformMatrix3x2dv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1208 | GlFunction(Void, "glProgramUniformMatrix2x4dv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1209 | GlFunction(Void, "glProgramUniformMatrix4x2dv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1210 | GlFunction(Void, "glProgramUniformMatrix3x4dv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1211 | GlFunction(Void, "glProgramUniformMatrix4x3dv", [(GLuint, "program"), (GLint, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1212 | GlFunction(Void, "glValidateProgramPipeline", [(GLuint, "pipeline")]), |
| 1213 | GlFunction(Void, "glGetProgramPipelineInfoLog", [(GLuint, "pipeline"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(OpaqueArray(GLchar, "__glGetProgramPipelineInfoLog_size(length)"), "infoLog")], sideeffects=False), |
| 1214 | |
| 1215 | # GL_ARB_vertex_attrib_64bit |
| 1216 | GlFunction(Void, "glVertexAttribL1d", [(GLuint, "index"), (GLdouble, "x")]), |
| 1217 | GlFunction(Void, "glVertexAttribL2d", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y")]), |
| 1218 | GlFunction(Void, "glVertexAttribL3d", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 1219 | GlFunction(Void, "glVertexAttribL4d", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 1220 | GlFunction(Void, "glVertexAttribL1dv", [(GLuint, "index"), (Const(Pointer(GLdouble)), "v")]), |
| 1221 | GlFunction(Void, "glVertexAttribL2dv", [(GLuint, "index"), (Const(Array(GLdouble, "2")), "v")]), |
| 1222 | GlFunction(Void, "glVertexAttribL3dv", [(GLuint, "index"), (Const(Array(GLdouble, "3")), "v")]), |
| 1223 | GlFunction(Void, "glVertexAttribL4dv", [(GLuint, "index"), (Const(Array(GLdouble, "4")), "v")]), |
| 1224 | GlFunction(Void, "glVertexAttribLPointer", [(GLuint, "index"), (GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaqueBlob(GLvoid, "size")), "pointer")]), |
| 1225 | GlFunction(Void, "glGetVertexAttribLdv", [(GLuint, "index"), (GLenum, "pname"), Out(OpaqueArray(GLdouble, "__glGetVertexAttribLdv_size(pname)"), "params")], sideeffects=False), |
| 1226 | |
| 1227 | # GL_ARB_viewport_array |
| 1228 | GlFunction(Void, "glViewportArrayv", [(GLuint, "first"), (GLsizei, "count"), (Const(OpaqueArray(GLfloat, "__glViewportArrayv_size(count)")), "v")]), |
| 1229 | GlFunction(Void, "glViewportIndexedf", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "w"), (GLfloat, "h")]), |
| 1230 | GlFunction(Void, "glViewportIndexedfv", [(GLuint, "index"), (Const(Array(GLfloat, "4")), "v")]), |
| 1231 | GlFunction(Void, "glScissorArrayv", [(GLuint, "first"), (GLsizei, "count"), (Const(OpaqueArray(GLint, "__glScissorArrayv_size(count)")), "v")]), |
| 1232 | GlFunction(Void, "glScissorIndexed", [(GLuint, "index"), (GLint, "left"), (GLint, "bottom"), (GLsizei, "width"), (GLsizei, "height")]), |
| 1233 | GlFunction(Void, "glScissorIndexedv", [(GLuint, "index"), (Const(Array(GLint, "4")), "v")]), |
| 1234 | GlFunction(Void, "glDepthRangeArrayv", [(GLuint, "first"), (GLsizei, "count"), (Const(OpaqueArray(GLclampd, "__glDepthRangeArrayv_size(count)")), "v")]), |
| 1235 | GlFunction(Void, "glDepthRangeIndexed", [(GLuint, "index"), (GLclampd, "n"), (GLclampd, "f")]), |
| 1236 | GlFunction(Void, "glGetFloati_v", [(GLenum, "target"), (GLuint, "index"), Out(OpaqueArray(GLfloat, "__glGetFloati_v_size(target)"), "data")], sideeffects=False), |
| 1237 | GlFunction(Void, "glGetDoublei_v", [(GLenum, "target"), (GLuint, "index"), Out(OpaqueArray(GLdouble, "__glGetDoublei_v_size(target)"), "data")], sideeffects=False), |
| 1238 | |
| 1239 | # GL_ARB_debug_output |
| 1240 | GlFunction(Void, "glDebugMessageControlARB", [(GLenum, "source"), (GLenum, "type"), (GLenum, "severity"), (GLsizei, "count"), (Const(Array(GLuint, "count")), "ids"), (GLboolean, "enabled")]), |
| 1241 | GlFunction(Void, "glDebugMessageInsertARB", [(GLenum, "source"), (GLenum, "type"), (GLuint, "id"), (GLenum, "severity"), (GLsizei, "length"), (Const(String("GLchar *", "length")), "buf")]), |
| 1242 | GlFunction(Void, "glDebugMessageCallbackARB", [(GLDEBUGPROCARB, "callback"), (Const(OpaqueArray(GLvoid, "__glDebugMessageCallbackARB_size(callback)")), "userParam")]), |
| 1243 | GlFunction(GLuint, "glGetDebugMessageLogARB", [(GLuint, "count"), (GLsizei, "bufsize"), Out(Array(GLenum, "count"), "sources"), Out(Array(GLenum, "count"), "types"), Out(Array(GLuint, "count"), "ids"), Out(Array(GLenum, "count"), "severities"), Out(Array(GLsizei, "count"), "lengths"), Out(OpaqueArray(GLchar, "__glGetDebugMessageLogARB_size(lengths)"), "messageLog")], sideeffects=False), |
| 1244 | |
| 1245 | # GL_ARB_robustness |
| 1246 | GlFunction(GLenum, "glGetGraphicsResetStatusARB", [], sideeffects=False), |
| 1247 | GlFunction(Void, "glGetnMapdvARB", [(GLenum, "target"), (GLenum, "query"), (GLsizei, "bufSize"), Out(Array(GLdouble, "bufSize"), "v")], sideeffects=False), |
| 1248 | GlFunction(Void, "glGetnMapfvARB", [(GLenum, "target"), (GLenum, "query"), (GLsizei, "bufSize"), Out(Array(GLfloat, "bufSize"), "v")], sideeffects=False), |
| 1249 | GlFunction(Void, "glGetnMapivARB", [(GLenum, "target"), (GLenum, "query"), (GLsizei, "bufSize"), Out(Array(GLint, "bufSize"), "v")], sideeffects=False), |
| 1250 | GlFunction(Void, "glGetnPixelMapfvARB", [(GLenum, "map"), (GLsizei, "bufSize"), Out(Array(GLfloat, "bufSize"), "values")], sideeffects=False), |
| 1251 | GlFunction(Void, "glGetnPixelMapuivARB", [(GLenum, "map"), (GLsizei, "bufSize"), Out(Array(GLuint, "bufSize"), "values")], sideeffects=False), |
| 1252 | GlFunction(Void, "glGetnPixelMapusvARB", [(GLenum, "map"), (GLsizei, "bufSize"), Out(Array(GLushort, "bufSize"), "values")], sideeffects=False), |
| 1253 | GlFunction(Void, "glGetnPolygonStippleARB", [(GLsizei, "bufSize"), Out(Blob(GLubyte, "bufSize"), "pattern")], sideeffects=False), |
| 1254 | GlFunction(Void, "glGetnColorTableARB", [(GLenum, "target"), (GLenum, "format"), (GLenum, "type"), (GLsizei, "bufSize"), Out(Blob(GLvoid, "bufSize"), "table")], sideeffects=False), |
| 1255 | GlFunction(Void, "glGetnConvolutionFilterARB", [(GLenum, "target"), (GLenum, "format"), (GLenum, "type"), (GLsizei, "bufSize"), Out(Blob(GLvoid, "bufSize"), "image")], sideeffects=False), |
| 1256 | GlFunction(Void, "glGetnSeparableFilterARB", [(GLenum, "target"), (GLenum, "format"), (GLenum, "type"), (GLsizei, "rowBufSize"), Out(Blob(GLvoid, "rowBufSize"), "row"), (GLsizei, "columnBufSize"), Out(Blob(GLvoid, "columnBufSize"), "column"), Out(OpaquePointer(GLvoid), "span")], sideeffects=False), |
| 1257 | GlFunction(Void, "glGetnHistogramARB", [(GLenum, "target"), (GLboolean, "reset"), (GLenum, "format"), (GLenum, "type"), (GLsizei, "bufSize"), Out(Blob(GLvoid, "bufSize"), "values")], sideeffects=False), |
| 1258 | GlFunction(Void, "glGetnMinmaxARB", [(GLenum, "target"), (GLboolean, "reset"), (GLenum, "format"), (GLenum, "type"), (GLsizei, "bufSize"), Out(Blob(GLvoid, "bufSize"), "values")], sideeffects=False), |
| 1259 | GlFunction(Void, "glGetnTexImageARB", [(GLenum, "target"), (GLint, "level"), (GLenum, "format"), (GLenum, "type"), (GLsizei, "bufSize"), Out(Blob(GLvoid, "bufSize"), "img")], sideeffects=False), |
| 1260 | GlFunction(Void, "glReadnPixelsARB", [(GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLenum, "type"), (GLsizei, "bufSize"), Out(Blob(GLvoid, "bufSize"), "data")], sideeffects=False), |
| 1261 | GlFunction(Void, "glGetnCompressedTexImageARB", [(GLenum, "target"), (GLint, "lod"), (GLsizei, "bufSize"), Out(Blob(GLvoid, "bufSize"), "img")], sideeffects=False), |
| 1262 | GlFunction(Void, "glGetnUniformfvARB", [(GLuint, "program"), (GLint, "location"), (GLsizei, "bufSize"), Out(Array(GLfloat, "bufSize"), "params")], sideeffects=False), |
| 1263 | GlFunction(Void, "glGetnUniformivARB", [(GLuint, "program"), (GLint, "location"), (GLsizei, "bufSize"), Out(Array(GLint, "bufSize"), "params")], sideeffects=False), |
| 1264 | GlFunction(Void, "glGetnUniformuivARB", [(GLuint, "program"), (GLint, "location"), (GLsizei, "bufSize"), Out(Array(GLuint, "bufSize"), "params")], sideeffects=False), |
| 1265 | GlFunction(Void, "glGetnUniformdvARB", [(GLuint, "program"), (GLint, "location"), (GLsizei, "bufSize"), Out(Array(GLdouble, "bufSize"), "params")], sideeffects=False), |
| 1266 | |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1267 | # GL_EXT_blend_color |
| 1268 | GlFunction(Void, "glBlendColorEXT", [(GLclampf, "red"), (GLclampf, "green"), (GLclampf, "blue"), (GLclampf, "alpha")]), |
| 1269 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1270 | # GL_EXT_polygon_offset |
| 1271 | GlFunction(Void, "glPolygonOffsetEXT", [(GLfloat, "factor"), (GLfloat, "bias")]), |
| 1272 | |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1273 | # GL_EXT_texture3D |
| 1274 | GlFunction(Void, "glTexImage3DEXT", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLint, "border"), (GLenum, "format"), (GLenum, "type"), (Const(Blob(GLvoid, "__glTexImage3DEXT_size(format, type, width, height, depth, border)")), "pixels")]), |
| 1275 | GlFunction(Void, "glTexSubImage3DEXT", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "zoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLenum, "format"), (GLenum, "type"), (Const(Blob(GLvoid, "__glTexSubImage3DEXT_size(format, type, width, height, depth)")), "pixels")]), |
| 1276 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1277 | # GL_SGIX_pixel_texture |
| 1278 | GlFunction(Void, "glPixelTexGenSGIX", [(GLenum, "mode")]), |
| 1279 | |
| 1280 | # GL_SGIS_pixel_texture |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame^] | 1281 | GlFunction(Void, "glPixelTexGenParameteriSGIS", [(GLenum, "pname"), (GLint, "param")]), |
| 1282 | GlFunction(Void, "glPixelTexGenParameterivSGIS", [(GLenum, "pname"), (Const(OpaqueArray(GLint, "__glPixelTexGenParameterivSGIS_size(pname)")), "params")]), |
| 1283 | GlFunction(Void, "glPixelTexGenParameterfSGIS", [(GLenum, "pname"), (GLfloat, "param")]), |
| 1284 | GlFunction(Void, "glPixelTexGenParameterfvSGIS", [(GLenum, "pname"), (Const(OpaqueArray(GLfloat, "__glPixelTexGenParameterfvSGIS_size(pname)")), "params")]), |
| 1285 | GlFunction(Void, "glGetPixelTexGenParameterivSGIS", [(GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetPixelTexGenParameterivSGIS_size(pname)"), "params")], sideeffects=False), |
| 1286 | GlFunction(Void, "glGetPixelTexGenParameterfvSGIS", [(GLenum, "pname"), Out(OpaqueArray(GLfloat, "__glGetPixelTexGenParameterfvSGIS_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1287 | |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1288 | # GL_EXT_texture_object |
| 1289 | GlFunction(GLboolean, "glAreTexturesResidentEXT", [(GLsizei, "n"), (Const(Array(GLtexture, "n")), "textures"), Out(Array(GLboolean, "n"), "residences")]), |
| 1290 | GlFunction(Void, "glBindTextureEXT", [(GLenum, "target"), (GLtexture, "texture")]), |
| 1291 | GlFunction(Void, "glDeleteTexturesEXT", [(GLsizei, "n"), (Const(Array(GLtexture, "n")), "textures")]), |
| 1292 | GlFunction(Void, "glGenTexturesEXT", [(GLsizei, "n"), Out(Array(GLtexture, "n"), "textures")]), |
| 1293 | GlFunction(GLboolean, "glIsTextureEXT", [(GLtexture, "texture")]), |
| 1294 | GlFunction(Void, "glPrioritizeTexturesEXT", [(GLsizei, "n"), (Const(Array(GLtexture, "n")), "textures"), (Const(Array(GLclampf, "n")), "priorities")]), |
| 1295 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1296 | # GL_SGIS_multisample |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame^] | 1297 | GlFunction(Void, "glSampleMaskSGIS", [(GLclampf, "value"), (GLboolean, "invert")]), |
| 1298 | GlFunction(Void, "glSamplePatternSGIS", [(GLenum, "pattern")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1299 | |
| 1300 | # GL_EXT_vertex_array |
| 1301 | GlFunction(Void, "glArrayElementEXT", [(GLint, "i")]), |
| 1302 | GlFunction(Void, "glColorPointerEXT", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (GLsizei, "count"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1303 | GlFunction(Void, "glDrawArraysEXT", [(GLenum, "mode"), (GLint, "first"), (GLsizei, "count")]), |
| 1304 | GlFunction(Void, "glEdgeFlagPointerEXT", [(GLsizei, "stride"), (GLsizei, "count"), (Const(OpaquePointer(GLboolean)), "pointer")]), |
| 1305 | GlFunction(Void, "glGetPointervEXT", [(GLenum, "pname"), Out(Pointer(OpaquePointer(GLvoid)), "params")], sideeffects=False), |
| 1306 | GlFunction(Void, "glIndexPointerEXT", [(GLenum, "type"), (GLsizei, "stride"), (GLsizei, "count"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1307 | GlFunction(Void, "glNormalPointerEXT", [(GLenum, "type"), (GLsizei, "stride"), (GLsizei, "count"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1308 | GlFunction(Void, "glTexCoordPointerEXT", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (GLsizei, "count"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1309 | GlFunction(Void, "glVertexPointerEXT", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (GLsizei, "count"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1310 | |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1311 | # GL_EXT_blend_minmax |
| 1312 | GlFunction(Void, "glBlendEquationEXT", [(GLenum, "mode")]), |
| 1313 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1314 | # GL_EXT_point_parameters |
| 1315 | GlFunction(Void, "glPointParameterfEXT", [(GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 1316 | GlFunction(Void, "glPointParameterfvEXT", [(GLenum, "pname"), (Const(Array(GLfloat, "__glPointParameterfvEXT_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1317 | |
| 1318 | # GL_EXT_compiled_vertex_array |
| 1319 | GlFunction(Void, "glLockArraysEXT", [(GLint, "first"), (GLsizei, "count")]), |
| 1320 | GlFunction(Void, "glUnlockArraysEXT", []), |
| 1321 | |
| 1322 | # GL_EXT_cull_vertex |
| 1323 | GlFunction(Void, "glCullParameterdvEXT", [(GLenum, "pname"), (Array(GLdouble, "4"), "params")]), |
| 1324 | GlFunction(Void, "glCullParameterfvEXT", [(GLenum, "pname"), (Array(GLfloat, "4"), "params")]), |
| 1325 | |
| 1326 | # GL_EXT_secondary_color |
| 1327 | GlFunction(Void, "glSecondaryColor3bEXT", [(GLbyte, "red"), (GLbyte, "green"), (GLbyte, "blue")]), |
| 1328 | GlFunction(Void, "glSecondaryColor3bvEXT", [(Const(Array(GLbyte, "3")), "v")]), |
| 1329 | GlFunction(Void, "glSecondaryColor3dEXT", [(GLdouble, "red"), (GLdouble, "green"), (GLdouble, "blue")]), |
| 1330 | GlFunction(Void, "glSecondaryColor3dvEXT", [(Const(Array(GLdouble, "3")), "v")]), |
| 1331 | GlFunction(Void, "glSecondaryColor3fEXT", [(GLfloat, "red"), (GLfloat, "green"), (GLfloat, "blue")]), |
| 1332 | GlFunction(Void, "glSecondaryColor3fvEXT", [(Const(Array(GLfloat, "3")), "v")]), |
| 1333 | GlFunction(Void, "glSecondaryColor3iEXT", [(GLint, "red"), (GLint, "green"), (GLint, "blue")]), |
| 1334 | GlFunction(Void, "glSecondaryColor3ivEXT", [(Const(Array(GLint, "3")), "v")]), |
| 1335 | GlFunction(Void, "glSecondaryColor3sEXT", [(GLshort, "red"), (GLshort, "green"), (GLshort, "blue")]), |
| 1336 | GlFunction(Void, "glSecondaryColor3svEXT", [(Const(Array(GLshort, "3")), "v")]), |
| 1337 | GlFunction(Void, "glSecondaryColor3ubEXT", [(GLubyte, "red"), (GLubyte, "green"), (GLubyte, "blue")]), |
| 1338 | GlFunction(Void, "glSecondaryColor3ubvEXT", [(Const(Array(GLubyte, "3")), "v")]), |
| 1339 | GlFunction(Void, "glSecondaryColor3uiEXT", [(GLuint, "red"), (GLuint, "green"), (GLuint, "blue")]), |
| 1340 | GlFunction(Void, "glSecondaryColor3uivEXT", [(Const(Array(GLuint, "3")), "v")]), |
| 1341 | GlFunction(Void, "glSecondaryColor3usEXT", [(GLushort, "red"), (GLushort, "green"), (GLushort, "blue")]), |
| 1342 | GlFunction(Void, "glSecondaryColor3usvEXT", [(Const(Array(GLushort, "3")), "v")]), |
| 1343 | GlFunction(Void, "glSecondaryColorPointerEXT", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1344 | |
| 1345 | # GL_EXT_multi_draw_arrays |
| 1346 | GlFunction(Void, "glMultiDrawArraysEXT", [(GLenum_mode, "mode"), (OpaquePointer(GLint), "first"), (OpaquePointer(GLsizei), "count"), (GLsizei, "primcount")]), |
| 1347 | GlFunction(Void, "glMultiDrawElementsEXT", [(GLenum_mode, "mode"), (Const(Array(GLsizei, "primcount")), "count"), (GLenum, "type"), (Array(Const(Const(OpaquePointer(GLvoid))), "primcount"), "indices"), (GLsizei, "primcount")]), |
| 1348 | |
| 1349 | # GL_EXT_fog_coord |
| 1350 | GlFunction(Void, "glFogCoordfEXT", [(GLfloat, "coord")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 1351 | GlFunction(Void, "glFogCoordfvEXT", [(Const(Pointer(GLfloat)), "coord")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1352 | GlFunction(Void, "glFogCoorddEXT", [(GLdouble, "coord")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 1353 | GlFunction(Void, "glFogCoorddvEXT", [(Const(Pointer(GLdouble)), "coord")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1354 | GlFunction(Void, "glFogCoordPointerEXT", [(GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1355 | |
| 1356 | # GL_EXT_blend_func_separate |
| 1357 | GlFunction(Void, "glBlendFuncSeparateEXT", [(GLenum, "sfactorRGB"), (GLenum, "dfactorRGB"), (GLenum, "sfactorAlpha"), (GLenum, "dfactorAlpha")]), |
| 1358 | |
| 1359 | # GL_NV_vertex_array_range |
| 1360 | GlFunction(Void, "glFlushVertexArrayRangeNV", []), |
| 1361 | GlFunction(Void, "glVertexArrayRangeNV", [(GLsizei, "length"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1362 | |
| 1363 | # GL_NV_register_combiners |
| 1364 | GlFunction(Void, "glCombinerParameterfvNV", [(GLenum, "pname"), (Const(OpaquePointer(GLfloat)), "params")]), |
| 1365 | GlFunction(Void, "glCombinerParameterfNV", [(GLenum, "pname"), (GLfloat, "param")]), |
| 1366 | GlFunction(Void, "glCombinerParameterivNV", [(GLenum, "pname"), (Const(OpaquePointer(GLint)), "params")]), |
| 1367 | GlFunction(Void, "glCombinerParameteriNV", [(GLenum, "pname"), (GLint, "param")]), |
| 1368 | GlFunction(Void, "glCombinerInputNV", [(GLenum, "stage"), (GLenum, "portion"), (GLenum, "variable"), (GLenum, "input"), (GLenum, "mapping"), (GLenum, "componentUsage")]), |
| 1369 | GlFunction(Void, "glCombinerOutputNV", [(GLenum, "stage"), (GLenum, "portion"), (GLenum, "abOutput"), (GLenum, "cdOutput"), (GLenum, "sumOutput"), (GLenum, "scale"), (GLenum, "bias"), (GLboolean, "abDotProduct"), (GLboolean, "cdDotProduct"), (GLboolean, "muxSum")]), |
| 1370 | GlFunction(Void, "glFinalCombinerInputNV", [(GLenum, "variable"), (GLenum, "input"), (GLenum, "mapping"), (GLenum, "componentUsage")]), |
| 1371 | GlFunction(Void, "glGetCombinerInputParameterfvNV", [(GLenum, "stage"), (GLenum, "portion"), (GLenum, "variable"), (GLenum, "pname"), Out(OpaquePointer(GLfloat), "params")], sideeffects=False), |
| 1372 | GlFunction(Void, "glGetCombinerInputParameterivNV", [(GLenum, "stage"), (GLenum, "portion"), (GLenum, "variable"), (GLenum, "pname"), Out(OpaquePointer(GLint), "params")], sideeffects=False), |
| 1373 | GlFunction(Void, "glGetCombinerOutputParameterfvNV", [(GLenum, "stage"), (GLenum, "portion"), (GLenum, "pname"), Out(OpaquePointer(GLfloat), "params")], sideeffects=False), |
| 1374 | GlFunction(Void, "glGetCombinerOutputParameterivNV", [(GLenum, "stage"), (GLenum, "portion"), (GLenum, "pname"), Out(OpaquePointer(GLint), "params")], sideeffects=False), |
| 1375 | GlFunction(Void, "glGetFinalCombinerInputParameterfvNV", [(GLenum, "variable"), (GLenum, "pname"), Out(OpaquePointer(GLfloat), "params")], sideeffects=False), |
| 1376 | GlFunction(Void, "glGetFinalCombinerInputParameterivNV", [(GLenum, "variable"), (GLenum, "pname"), Out(OpaquePointer(GLint), "params")], sideeffects=False), |
| 1377 | |
| 1378 | # GL_MESA_resize_buffers |
| 1379 | GlFunction(Void, "glResizeBuffersMESA", []), |
| 1380 | |
| 1381 | # GL_MESA_window_pos |
| 1382 | GlFunction(Void, "glWindowPos2dMESA", [(GLdouble, "x"), (GLdouble, "y")]), |
| 1383 | GlFunction(Void, "glWindowPos2dvMESA", [(Const(Array(GLdouble, "2")), "v")]), |
| 1384 | GlFunction(Void, "glWindowPos2fMESA", [(GLfloat, "x"), (GLfloat, "y")]), |
| 1385 | GlFunction(Void, "glWindowPos2fvMESA", [(Const(Array(GLfloat, "2")), "v")]), |
| 1386 | GlFunction(Void, "glWindowPos2iMESA", [(GLint, "x"), (GLint, "y")]), |
| 1387 | GlFunction(Void, "glWindowPos2ivMESA", [(Const(Array(GLint, "2")), "v")]), |
| 1388 | GlFunction(Void, "glWindowPos2sMESA", [(GLshort, "x"), (GLshort, "y")]), |
| 1389 | GlFunction(Void, "glWindowPos2svMESA", [(Const(Array(GLshort, "2")), "v")]), |
| 1390 | GlFunction(Void, "glWindowPos3dMESA", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 1391 | GlFunction(Void, "glWindowPos3dvMESA", [(Const(Array(GLdouble, "3")), "v")]), |
| 1392 | GlFunction(Void, "glWindowPos3fMESA", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 1393 | GlFunction(Void, "glWindowPos3fvMESA", [(Const(Array(GLfloat, "3")), "v")]), |
| 1394 | GlFunction(Void, "glWindowPos3iMESA", [(GLint, "x"), (GLint, "y"), (GLint, "z")]), |
| 1395 | GlFunction(Void, "glWindowPos3ivMESA", [(Const(Array(GLint, "3")), "v")]), |
| 1396 | GlFunction(Void, "glWindowPos3sMESA", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), |
| 1397 | GlFunction(Void, "glWindowPos3svMESA", [(Const(Array(GLshort, "3")), "v")]), |
| 1398 | GlFunction(Void, "glWindowPos4dMESA", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 1399 | GlFunction(Void, "glWindowPos4dvMESA", [(Const(Array(GLdouble, "4")), "v")]), |
| 1400 | GlFunction(Void, "glWindowPos4fMESA", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 1401 | GlFunction(Void, "glWindowPos4fvMESA", [(Const(Array(GLfloat, "4")), "v")]), |
| 1402 | GlFunction(Void, "glWindowPos4iMESA", [(GLint, "x"), (GLint, "y"), (GLint, "z"), (GLint, "w")]), |
| 1403 | GlFunction(Void, "glWindowPos4ivMESA", [(Const(Array(GLint, "4")), "v")]), |
| 1404 | GlFunction(Void, "glWindowPos4sMESA", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]), |
| 1405 | GlFunction(Void, "glWindowPos4svMESA", [(Const(Array(GLshort, "4")), "v")]), |
| 1406 | |
| 1407 | # GL_IBM_multimode_draw_arrays |
| 1408 | GlFunction(Void, "glMultiModeDrawArraysIBM", [(Const(Array(GLenum_mode, "primcount")), "mode"), (Const(Array(GLint, "primcount")), "first"), (Const(Array(GLsizei, "primcount")), "count"), (GLsizei, "primcount"), (GLint, "modestride")]), |
| 1409 | GlFunction(Void, "glMultiModeDrawElementsIBM", [(Const(Array(GLenum_mode, "primcount")), "mode"), (Const(Array(GLsizei, "primcount")), "count"), (GLenum, "type"), (Array(Const(Const(OpaquePointer(GLvoid))), "primcount"), "indices"), (GLsizei, "primcount"), (GLint, "modestride")]), |
| 1410 | |
| 1411 | # GL_NV_fence |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 1412 | GlFunction(Void, "glDeleteFencesNV", [(GLsizei, "n"), (Const(Array(GLfenceNV, "n")), "fences")]), |
| 1413 | GlFunction(Void, "glGenFencesNV", [(GLsizei, "n"), Out(Array(GLfenceNV, "n"), "fences")]), |
| 1414 | GlFunction(GLboolean, "glIsFenceNV", [(GLfenceNV, "fence")]), |
| 1415 | GlFunction(GLboolean, "glTestFenceNV", [(GLfenceNV, "fence")]), |
| 1416 | GlFunction(Void, "glGetFenceivNV", [(GLfenceNV, "fence"), (GLenum, "pname"), Out(OpaquePointer(GLint), "params")], sideeffects=False), |
| 1417 | GlFunction(Void, "glFinishFenceNV", [(GLfenceNV, "fence")]), |
| 1418 | GlFunction(Void, "glSetFenceNV", [(GLfenceNV, "fence"), (GLenum, "condition")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1419 | |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1420 | # GL_NV_register_combiners2 |
| 1421 | GlFunction(Void, "glCombinerStageParameterfvNV", [(GLenum, "stage"), (GLenum, "pname"), (Const(OpaqueArray(GLfloat, "__glCombinerStageParameterfvNV_size(pname)")), "params")]), |
| 1422 | GlFunction(Void, "glGetCombinerStageParameterfvNV", [(GLenum, "stage"), (GLenum, "pname"), Out(OpaqueArray(GLfloat, "__glGetCombinerStageParameterfvNV_size(pname)"), "params")], sideeffects=False), |
| 1423 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1424 | # GL_NV_vertex_program |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 1425 | GlFunction(GLboolean, "glAreProgramsResidentNV", [(GLsizei, "n"), (Const(Array(GLprogramNV, "n")), "ids"), Out(Array(GLboolean, "n"), "residences")]), |
| 1426 | GlFunction(Void, "glBindProgramNV", [(GLenum, "target"), (GLprogramNV, "program")]), |
| 1427 | GlFunction(Void, "glDeleteProgramsNV", [(GLsizei, "n"), (Const(Array(GLprogramNV, "n")), "programs")]), |
| 1428 | GlFunction(Void, "glExecuteProgramNV", [(GLenum, "target"), (GLprogramNV, "id"), (Const(Array(GLfloat, "4")), "params")]), |
| 1429 | GlFunction(Void, "glGenProgramsNV", [(GLsizei, "n"), Out(Array(GLprogramNV, "n"), "programs")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1430 | GlFunction(Void, "glGetProgramParameterdvNV", [(GLenum, "target"), (GLuint, "index"), (GLenum, "pname"), (OpaquePointer(GLdouble), "params")], sideeffects=False), |
| 1431 | GlFunction(Void, "glGetProgramParameterfvNV", [(GLenum, "target"), (GLuint, "index"), (GLenum, "pname"), (OpaquePointer(GLfloat), "params")], sideeffects=False), |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 1432 | GlFunction(Void, "glGetProgramivNV", [(GLprogramNV, "id"), (GLenum, "pname"), (OpaquePointer(GLint), "params")], sideeffects=False), |
| 1433 | GlFunction(Void, "glGetProgramStringNV", [(GLprogramNV, "id"), (GLenum, "pname"), (OpaquePointer(GLubyte), "program")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1434 | GlFunction(Void, "glGetTrackMatrixivNV", [(GLenum, "target"), (GLuint, "address"), (GLenum, "pname"), (OpaquePointer(GLint), "params")], sideeffects=False), |
| 1435 | GlFunction(Void, "glGetVertexAttribdvNV", [(GLuint, "index"), (GLenum, "pname"), (OpaquePointer(GLdouble), "params")], sideeffects=False), |
| 1436 | GlFunction(Void, "glGetVertexAttribfvNV", [(GLuint, "index"), (GLenum, "pname"), (OpaquePointer(GLfloat), "params")], sideeffects=False), |
| 1437 | GlFunction(Void, "glGetVertexAttribivNV", [(GLuint, "index"), (GLenum, "pname"), (OpaquePointer(GLint), "params")], sideeffects=False), |
| 1438 | GlFunction(Void, "glGetVertexAttribPointervNV", [(GLuint, "index"), (GLenum, "pname"), (OpaquePointer(OpaquePointer(GLvoid)), "pointer")], sideeffects=False), |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 1439 | GlFunction(GLboolean, "glIsProgramNV", [(GLprogramNV, "program")]), |
| 1440 | GlFunction(Void, "glLoadProgramNV", [(GLenum, "target"), (GLprogramNV, "id"), (GLsizei, "len"), (String("const GLubyte *", "len"), "program")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1441 | GlFunction(Void, "glProgramParameter4dNV", [(GLenum, "target"), (GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 1442 | GlFunction(Void, "glProgramParameter4dvNV", [(GLenum, "target"), (GLuint, "index"), (Const(Array(GLdouble, "4")), "v")]), |
| 1443 | GlFunction(Void, "glProgramParameter4fNV", [(GLenum, "target"), (GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 1444 | GlFunction(Void, "glProgramParameter4fvNV", [(GLenum, "target"), (GLuint, "index"), (Const(Array(GLfloat, "4")), "v")]), |
| 1445 | GlFunction(Void, "glProgramParameters4dvNV", [(GLenum, "target"), (GLuint, "index"), (GLsizei, "count"), (Const(Array(GLdouble, "count*4")), "v")]), |
| 1446 | GlFunction(Void, "glProgramParameters4fvNV", [(GLenum, "target"), (GLuint, "index"), (GLsizei, "count"), (Const(Array(GLfloat, "count*4")), "v")]), |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 1447 | GlFunction(Void, "glRequestResidentProgramsNV", [(GLsizei, "n"), (Const(Array(GLprogramNV, "n")), "programs")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1448 | GlFunction(Void, "glTrackMatrixNV", [(GLenum, "target"), (GLuint, "address"), (GLenum, "matrix"), (GLenum, "transform")]), |
| 1449 | GlFunction(Void, "glVertexAttribPointerNV", [(GLuint, "index"), (GLint, "fsize"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1450 | GlFunction(Void, "glVertexAttrib1dNV", [(GLuint, "index"), (GLdouble, "x")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 1451 | GlFunction(Void, "glVertexAttrib1dvNV", [(GLuint, "index"), (Const(Pointer(GLdouble)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1452 | GlFunction(Void, "glVertexAttrib1fNV", [(GLuint, "index"), (GLfloat, "x")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 1453 | GlFunction(Void, "glVertexAttrib1fvNV", [(GLuint, "index"), (Const(Pointer(GLfloat)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1454 | GlFunction(Void, "glVertexAttrib1sNV", [(GLuint, "index"), (GLshort, "x")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 1455 | GlFunction(Void, "glVertexAttrib1svNV", [(GLuint, "index"), (Const(Pointer(GLshort)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1456 | GlFunction(Void, "glVertexAttrib2dNV", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y")]), |
| 1457 | GlFunction(Void, "glVertexAttrib2dvNV", [(GLuint, "index"), (Const(Array(GLdouble, "2")), "v")]), |
| 1458 | GlFunction(Void, "glVertexAttrib2fNV", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y")]), |
| 1459 | GlFunction(Void, "glVertexAttrib2fvNV", [(GLuint, "index"), (Const(Array(GLfloat, "2")), "v")]), |
| 1460 | GlFunction(Void, "glVertexAttrib2sNV", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y")]), |
| 1461 | GlFunction(Void, "glVertexAttrib2svNV", [(GLuint, "index"), (Const(Array(GLshort, "2")), "v")]), |
| 1462 | GlFunction(Void, "glVertexAttrib3dNV", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 1463 | GlFunction(Void, "glVertexAttrib3dvNV", [(GLuint, "index"), (Const(Array(GLdouble, "3")), "v")]), |
| 1464 | GlFunction(Void, "glVertexAttrib3fNV", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 1465 | GlFunction(Void, "glVertexAttrib3fvNV", [(GLuint, "index"), (Const(Array(GLfloat, "3")), "v")]), |
| 1466 | GlFunction(Void, "glVertexAttrib3sNV", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), |
| 1467 | GlFunction(Void, "glVertexAttrib3svNV", [(GLuint, "index"), (Const(Array(GLshort, "3")), "v")]), |
| 1468 | GlFunction(Void, "glVertexAttrib4dNV", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 1469 | GlFunction(Void, "glVertexAttrib4dvNV", [(GLuint, "index"), (Const(Array(GLdouble, "4")), "v")]), |
| 1470 | GlFunction(Void, "glVertexAttrib4fNV", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 1471 | GlFunction(Void, "glVertexAttrib4fvNV", [(GLuint, "index"), (Const(Array(GLfloat, "4")), "v")]), |
| 1472 | GlFunction(Void, "glVertexAttrib4sNV", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]), |
| 1473 | GlFunction(Void, "glVertexAttrib4svNV", [(GLuint, "index"), (Const(Array(GLshort, "4")), "v")]), |
| 1474 | GlFunction(Void, "glVertexAttrib4ubNV", [(GLuint, "index"), (GLubyte, "x"), (GLubyte, "y"), (GLubyte, "z"), (GLubyte, "w")]), |
| 1475 | GlFunction(Void, "glVertexAttrib4ubvNV", [(GLuint, "index"), (Const(Array(GLubyte, "4")), "v")]), |
| 1476 | GlFunction(Void, "glVertexAttribs1dvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLdouble, "count")), "v")]), |
| 1477 | GlFunction(Void, "glVertexAttribs1fvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLfloat, "count")), "v")]), |
| 1478 | GlFunction(Void, "glVertexAttribs1svNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLshort, "count")), "v")]), |
| 1479 | GlFunction(Void, "glVertexAttribs2dvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLdouble, "count*2")), "v")]), |
| 1480 | GlFunction(Void, "glVertexAttribs2fvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLfloat, "count*2")), "v")]), |
| 1481 | GlFunction(Void, "glVertexAttribs2svNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLshort, "count*2")), "v")]), |
| 1482 | GlFunction(Void, "glVertexAttribs3dvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLdouble, "count*3")), "v")]), |
| 1483 | GlFunction(Void, "glVertexAttribs3fvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLfloat, "count*3")), "v")]), |
| 1484 | GlFunction(Void, "glVertexAttribs3svNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLshort, "count*3")), "v")]), |
| 1485 | GlFunction(Void, "glVertexAttribs4dvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLdouble, "count*4")), "v")]), |
| 1486 | GlFunction(Void, "glVertexAttribs4fvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLfloat, "count*4")), "v")]), |
| 1487 | GlFunction(Void, "glVertexAttribs4svNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLshort, "count*4")), "v")]), |
| 1488 | GlFunction(Void, "glVertexAttribs4ubvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLubyte, "count*4")), "v")]), |
| 1489 | |
| 1490 | # GL_ATI_envmap_bumpmap |
| 1491 | GlFunction(Void, "glTexBumpParameterivATI", [(GLenum, "pname"), (Const(OpaquePointer(GLint)), "param")]), |
| 1492 | GlFunction(Void, "glTexBumpParameterfvATI", [(GLenum, "pname"), (Const(OpaquePointer(GLfloat)), "param")]), |
| 1493 | GlFunction(Void, "glGetTexBumpParameterivATI", [(GLenum, "pname"), Out(OpaquePointer(GLint), "param")], sideeffects=False), |
| 1494 | GlFunction(Void, "glGetTexBumpParameterfvATI", [(GLenum, "pname"), Out(OpaquePointer(GLfloat), "param")], sideeffects=False), |
| 1495 | |
| 1496 | # GL_ATI_fragment_shader |
José Fonseca | 780219b | 2010-11-28 11:25:08 +0000 | [diff] [blame] | 1497 | GlFunction(Handle("fragmentShaderATI", GLuint, "range"), "glGenFragmentShadersATI", [(GLuint, "range")]), |
| 1498 | GlFunction(Void, "glBindFragmentShaderATI", [(GLfragmentShaderATI, "id")]), |
| 1499 | GlFunction(Void, "glDeleteFragmentShaderATI", [(GLfragmentShaderATI, "id")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1500 | GlFunction(Void, "glBeginFragmentShaderATI", []), |
| 1501 | GlFunction(Void, "glEndFragmentShaderATI", []), |
| 1502 | GlFunction(Void, "glPassTexCoordATI", [(GLuint, "dst"), (GLuint, "coord"), (GLenum, "swizzle")]), |
| 1503 | GlFunction(Void, "glSampleMapATI", [(GLuint, "dst"), (GLuint, "interp"), (GLenum, "swizzle")]), |
| 1504 | GlFunction(Void, "glColorFragmentOp1ATI", [(GLenum, "op"), (GLuint, "dst"), (GLuint, "dstMask"), (GLuint, "dstMod"), (GLuint, "arg1"), (GLuint, "arg1Rep"), (GLuint, "arg1Mod")]), |
| 1505 | GlFunction(Void, "glColorFragmentOp2ATI", [(GLenum, "op"), (GLuint, "dst"), (GLuint, "dstMask"), (GLuint, "dstMod"), (GLuint, "arg1"), (GLuint, "arg1Rep"), (GLuint, "arg1Mod"), (GLuint, "arg2"), (GLuint, "arg2Rep"), (GLuint, "arg2Mod")]), |
| 1506 | GlFunction(Void, "glColorFragmentOp3ATI", [(GLenum, "op"), (GLuint, "dst"), (GLuint, "dstMask"), (GLuint, "dstMod"), (GLuint, "arg1"), (GLuint, "arg1Rep"), (GLuint, "arg1Mod"), (GLuint, "arg2"), (GLuint, "arg2Rep"), (GLuint, "arg2Mod"), (GLuint, "arg3"), (GLuint, "arg3Rep"), (GLuint, "arg3Mod")]), |
| 1507 | GlFunction(Void, "glAlphaFragmentOp1ATI", [(GLenum, "op"), (GLuint, "dst"), (GLuint, "dstMod"), (GLuint, "arg1"), (GLuint, "arg1Rep"), (GLuint, "arg1Mod")]), |
| 1508 | GlFunction(Void, "glAlphaFragmentOp2ATI", [(GLenum, "op"), (GLuint, "dst"), (GLuint, "dstMod"), (GLuint, "arg1"), (GLuint, "arg1Rep"), (GLuint, "arg1Mod"), (GLuint, "arg2"), (GLuint, "arg2Rep"), (GLuint, "arg2Mod")]), |
| 1509 | GlFunction(Void, "glAlphaFragmentOp3ATI", [(GLenum, "op"), (GLuint, "dst"), (GLuint, "dstMod"), (GLuint, "arg1"), (GLuint, "arg1Rep"), (GLuint, "arg1Mod"), (GLuint, "arg2"), (GLuint, "arg2Rep"), (GLuint, "arg2Mod"), (GLuint, "arg3"), (GLuint, "arg3Rep"), (GLuint, "arg3Mod")]), |
| 1510 | GlFunction(Void, "glSetFragmentShaderConstantATI", [(GLuint, "dst"), (Const(Array(GLfloat, "4")), "value")]), |
| 1511 | |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1512 | # GL_NV_occlusion_query |
José Fonseca | 780219b | 2010-11-28 11:25:08 +0000 | [diff] [blame] | 1513 | GlFunction(Void, "glGenOcclusionQueriesNV", [(GLsizei, "n"), Out(Array(GLquery, "n"), "ids")]), |
| 1514 | GlFunction(Void, "glDeleteOcclusionQueriesNV", [(GLsizei, "n"), (Const(Array(GLquery, "n")), "ids")]), |
| 1515 | GlFunction(GLboolean, "glIsOcclusionQueryNV", [(GLquery, "id")]), |
| 1516 | GlFunction(Void, "glBeginOcclusionQueryNV", [(GLquery, "id")]), |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1517 | GlFunction(Void, "glEndOcclusionQueryNV", []), |
José Fonseca | 780219b | 2010-11-28 11:25:08 +0000 | [diff] [blame] | 1518 | GlFunction(Void, "glGetOcclusionQueryivNV", [(GLquery, "id"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetOcclusionQueryivNV_size(pname)"), "params")], sideeffects=False), |
| 1519 | GlFunction(Void, "glGetOcclusionQueryuivNV", [(GLquery, "id"), (GLenum, "pname"), Out(OpaqueArray(GLuint, "__glGetOcclusionQueryuivNV_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1520 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1521 | # GL_NV_point_sprite |
| 1522 | GlFunction(Void, "glPointParameteriNV", [(GLenum, "pname"), (GLint, "param")]), |
| 1523 | GlFunction(Void, "glPointParameterivNV", [(GLenum, "pname"), (Const(OpaquePointer(GLint)), "params")]), |
| 1524 | |
| 1525 | # GL_EXT_stencil_two_side |
| 1526 | GlFunction(Void, "glActiveStencilFaceEXT", [(GLenum, "face")]), |
| 1527 | |
| 1528 | # GL_APPLE_vertex_array_object |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame^] | 1529 | GlFunction(Void, "glBindVertexArrayAPPLE", [(GLvertexArray, "array")]), |
| 1530 | GlFunction(Void, "glDeleteVertexArraysAPPLE", [(GLsizei, "n"), (Const(Array(GLvertexArray, "n")), "arrays")]), |
| 1531 | GlFunction(Void, "glGenVertexArraysAPPLE", [(GLsizei, "n"), Out(Array(GLvertexArray, "n"), "arrays")]), |
| 1532 | GlFunction(GLboolean, "glIsVertexArrayAPPLE", [(GLvertexArray, "array")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1533 | |
| 1534 | # GL_NV_fragment_program |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 1535 | GlFunction(Void, "glProgramNamedParameter4fNV", [(GLprogramNV, "id"), (GLsizei, "len"), (Const(OpaquePointer(GLubyte)), "name"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 1536 | GlFunction(Void, "glProgramNamedParameter4dNV", [(GLprogramNV, "id"), (GLsizei, "len"), (Const(OpaquePointer(GLubyte)), "name"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 1537 | GlFunction(Void, "glProgramNamedParameter4fvNV", [(GLprogramNV, "id"), (GLsizei, "len"), (Const(OpaquePointer(GLubyte)), "name"), (Const(Array(GLfloat, "4")), "v")]), |
| 1538 | GlFunction(Void, "glProgramNamedParameter4dvNV", [(GLprogramNV, "id"), (GLsizei, "len"), (Const(OpaquePointer(GLubyte)), "name"), (Const(Array(GLdouble, "4")), "v")]), |
| 1539 | GlFunction(Void, "glGetProgramNamedParameterdvNV", [(GLprogramNV, "id"), (GLsizei, "len"), (Const(OpaquePointer(GLubyte)), "name"), (OpaquePointer(GLdouble), "params")], sideeffects=False), |
| 1540 | GlFunction(Void, "glGetProgramNamedParameterfvNV", [(GLprogramNV, "id"), (GLsizei, "len"), (Const(OpaquePointer(GLubyte)), "name"), (OpaquePointer(GLfloat), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1541 | |
| 1542 | # GL_ATI_separate_stencil |
José Fonseca | 5e254ca | 2010-11-25 10:08:50 +0000 | [diff] [blame] | 1543 | GlFunction(Void, "glStencilOpSeparateATI", [(GLenum, "face"), (GLenum, "sfail"), (GLenum, "dpfail"), (GLenum, "dppass")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1544 | GlFunction(Void, "glStencilFuncSeparateATI", [(GLenum, "frontfunc"), (GLenum, "backfunc"), (GLint, "ref"), (GLuint, "mask")]), |
| 1545 | |
| 1546 | # GL_EXT_depth_bounds_test |
| 1547 | GlFunction(Void, "glDepthBoundsEXT", [(GLclampd, "zmin"), (GLclampd, "zmax")]), |
| 1548 | |
| 1549 | # GL_EXT_blend_equation_separate |
| 1550 | GlFunction(Void, "glBlendEquationSeparateEXT", [(GLenum, "modeRGB"), (GLenum, "modeAlpha")]), |
| 1551 | |
| 1552 | # GL_EXT_framebuffer_object |
| 1553 | GlFunction(GLboolean, "glIsRenderbufferEXT", [(GLrenderbuffer, "renderbuffer")]), |
| 1554 | GlFunction(Void, "glBindRenderbufferEXT", [(GLenum, "target"), (GLrenderbuffer, "renderbuffer")]), |
| 1555 | GlFunction(Void, "glDeleteRenderbuffersEXT", [(GLsizei, "n"), (Const(Array(GLrenderbuffer, "n")), "renderbuffers")]), |
| 1556 | GlFunction(Void, "glGenRenderbuffersEXT", [(GLsizei, "n"), Out(Array(GLrenderbuffer, "n"), "renderbuffers")]), |
| 1557 | GlFunction(Void, "glRenderbufferStorageEXT", [(GLenum, "target"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height")]), |
| 1558 | GlFunction(Void, "glGetRenderbufferParameterivEXT", [(GLenum, "target"), (GLenum, "pname"), (OpaquePointer(GLint), "params")], sideeffects=False), |
| 1559 | GlFunction(GLboolean, "glIsFramebufferEXT", [(GLframebuffer, "framebuffer")]), |
| 1560 | GlFunction(Void, "glBindFramebufferEXT", [(GLenum, "target"), (GLframebuffer, "framebuffer")]), |
| 1561 | GlFunction(Void, "glDeleteFramebuffersEXT", [(GLsizei, "n"), (Const(Array(GLframebuffer, "n")), "framebuffers")]), |
| 1562 | GlFunction(Void, "glGenFramebuffersEXT", [(GLsizei, "n"), Out(Array(GLframebuffer, "n"), "framebuffers")]), |
| 1563 | GlFunction(GLenum, "glCheckFramebufferStatusEXT", [(GLenum, "target")]), |
| 1564 | GlFunction(Void, "glFramebufferTexture1DEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLtexture, "texture"), (GLint, "level")]), |
| 1565 | GlFunction(Void, "glFramebufferTexture2DEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLtexture, "texture"), (GLint, "level")]), |
| 1566 | GlFunction(Void, "glFramebufferTexture3DEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLtexture, "texture"), (GLint, "level"), (GLint, "zoffset")]), |
| 1567 | GlFunction(Void, "glFramebufferRenderbufferEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "renderbuffertarget"), (GLuint, "renderbuffer")]), |
| 1568 | GlFunction(Void, "glGetFramebufferAttachmentParameterivEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "pname"), (OpaquePointer(GLint), "params")], sideeffects=False), |
| 1569 | GlFunction(Void, "glGenerateMipmapEXT", [(GLenum, "target")]), |
| 1570 | |
| 1571 | # GL_EXT_framebuffer_blit |
| 1572 | GlFunction(Void, "glBlitFramebufferEXT", [(GLint, "srcX0"), (GLint, "srcY0"), (GLint, "srcX1"), (GLint, "srcY1"), (GLint, "dstX0"), (GLint, "dstY0"), (GLint, "dstX1"), (GLint, "dstY1"), (GLbitfield_attrib, "mask"), (GLenum, "filter")]), |
| 1573 | |
José Fonseca | 5e254ca | 2010-11-25 10:08:50 +0000 | [diff] [blame] | 1574 | # GL_EXT_framebuffer_multisample |
| 1575 | GlFunction(Void, "glRenderbufferStorageMultisampleEXT", [(GLenum, "target"), (GLsizei, "samples"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height")]), |
| 1576 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1577 | # GL_EXT_timer_query |
José Fonseca | 780219b | 2010-11-28 11:25:08 +0000 | [diff] [blame] | 1578 | GlFunction(Void, "glGetQueryObjecti64vEXT", [(GLquery, "id"), (GLenum, "pname"), (OpaquePointer(GLint64EXT), "params")], sideeffects=False), |
| 1579 | GlFunction(Void, "glGetQueryObjectui64vEXT", [(GLquery, "id"), (GLenum, "pname"), (OpaquePointer(GLuint64EXT), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1580 | |
| 1581 | # GL_EXT_gpu_program_parameters |
| 1582 | GlFunction(Void, "glProgramEnvParameters4fvEXT", [(GLenum, "target"), (GLuint, "index"), (GLsizei, "count"), (Const(OpaquePointer(GLfloat)), "params")]), |
| 1583 | GlFunction(Void, "glProgramLocalParameters4fvEXT", [(GLenum, "target"), (GLuint, "index"), (GLsizei, "count"), (Const(OpaquePointer(GLfloat)), "params")]), |
| 1584 | |
| 1585 | # GL_NV_geometry_program4 |
| 1586 | GlFunction(Void, "glFramebufferTextureLayerEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLtexture, "texture"), (GLint, "level"), (GLint, "layer")]), |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1587 | |
| 1588 | # GL_NV_depth_buffer_float |
| 1589 | GlFunction(Void, "glDepthRangedNV", [(GLdouble, "zNear"), (GLdouble, "zFar")]), |
| 1590 | GlFunction(Void, "glClearDepthdNV", [(GLdouble, "depth")]), |
| 1591 | GlFunction(Void, "glDepthBoundsdNV", [(GLdouble, "zmin"), (GLdouble, "zmax")]), |
| 1592 | |
| 1593 | # GL_KTX_buffer_region |
| 1594 | GlFunction(GLregion, "glNewBufferRegion", [(GLenum, "type")]), |
| 1595 | GlFunction(Void, "glDeleteBufferRegion", [(GLregion, "region")]), |
| 1596 | GlFunction(Void, "glReadBufferRegion", [(GLregion, "region"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height")]), |
| 1597 | GlFunction(Void, "glDrawBufferRegion", [(GLregion, "region"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height"), (GLint, "xDest"), (GLint, "yDest")]), |
| 1598 | GlFunction(GLuint, "glBufferRegionEnabled", [], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1599 | ]) |
José Fonseca | 8fbdd3a | 2010-11-23 20:55:07 +0000 | [diff] [blame] | 1600 | |