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 | 5ea9187 | 2011-05-04 09:41:55 +0100 | [diff] [blame] | 3 | # Copyright 2011 Jose Fonseca |
José Fonseca | 780219b | 2010-11-28 11:25:08 +0000 | [diff] [blame] | 4 | # Copyright 2008-2010 VMware, Inc. |
José Fonseca | 7ad4026 | 2009-09-30 17:17:12 +0100 | [diff] [blame] | 5 | # All Rights Reserved. |
José Fonseca | 36e25aa | 2009-04-13 14:08:08 +0100 | [diff] [blame] | 6 | # |
José Fonseca | 7ad4026 | 2009-09-30 17:17:12 +0100 | [diff] [blame] | 7 | # Permission is hereby granted, free of charge, to any person obtaining a copy |
| 8 | # of this software and associated documentation files (the "Software"), to deal |
| 9 | # in the Software without restriction, including without limitation the rights |
| 10 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 11 | # copies of the Software, and to permit persons to whom the Software is |
| 12 | # furnished to do so, subject to the following conditions: |
José Fonseca | 36e25aa | 2009-04-13 14:08:08 +0100 | [diff] [blame] | 13 | # |
José Fonseca | 7ad4026 | 2009-09-30 17:17:12 +0100 | [diff] [blame] | 14 | # The above copyright notice and this permission notice shall be included in |
| 15 | # all copies or substantial portions of the Software. |
José Fonseca | 36e25aa | 2009-04-13 14:08:08 +0100 | [diff] [blame] | 16 | # |
José Fonseca | 7ad4026 | 2009-09-30 17:17:12 +0100 | [diff] [blame] | 17 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 18 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 19 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 20 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 21 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 22 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 23 | # THE SOFTWARE. |
José Fonseca | 36e25aa | 2009-04-13 14:08:08 +0100 | [diff] [blame] | 24 | # |
José Fonseca | 7ad4026 | 2009-09-30 17:17:12 +0100 | [diff] [blame] | 25 | ##########################################################################/ |
José Fonseca | 36e25aa | 2009-04-13 14:08:08 +0100 | [diff] [blame] | 26 | |
José Fonseca | 8fbdd3a | 2010-11-23 20:55:07 +0000 | [diff] [blame] | 27 | |
José Fonseca | 4a826ed | 2010-11-30 16:58:22 +0000 | [diff] [blame] | 28 | """GL API description. |
| 29 | |
| 30 | Most of these were automatically generated with the apigen/glspec.py script |
| 31 | from Khronos OpenGL spec files, and then manually edited to cover the corner |
| 32 | cases correctly. |
| 33 | |
| 34 | """ |
| 35 | |
| 36 | |
José Fonseca | 9796b84 | 2010-11-25 11:44:50 +0000 | [diff] [blame] | 37 | from stdapi import * |
José Fonseca | 5ea9187 | 2011-05-04 09:41:55 +0100 | [diff] [blame] | 38 | from gltypes import * |
| 39 | import glparams |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 40 | |
José Fonseca | 2defc98 | 2010-11-22 16:59:10 +0000 | [diff] [blame] | 41 | |
José Fonseca | 8fbdd3a | 2010-11-23 20:55:07 +0000 | [diff] [blame] | 42 | def GlFunction(*args, **kwargs): |
José Fonseca | 8998861 | 2010-11-25 12:27:30 +0000 | [diff] [blame] | 43 | kwargs.setdefault('call', 'APIENTRY') |
José Fonseca | 8fbdd3a | 2010-11-23 20:55:07 +0000 | [diff] [blame] | 44 | return Function(*args, **kwargs) |
| 45 | |
José Fonseca | 2defc98 | 2010-11-22 16:59:10 +0000 | [diff] [blame] | 46 | |
José Fonseca | 8fbdd3a | 2010-11-23 20:55:07 +0000 | [diff] [blame] | 47 | glapi = API('GL') |
| 48 | |
| 49 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 50 | glapi.add_functions([ |
| 51 | # GL_VERSION_1_0 |
| 52 | GlFunction(Void, "glCullFace", [(GLenum, "mode")]), |
| 53 | GlFunction(Void, "glFrontFace", [(GLenum, "mode")]), |
| 54 | GlFunction(Void, "glHint", [(GLenum, "target"), (GLenum, "mode")]), |
| 55 | GlFunction(Void, "glLineWidth", [(GLfloat, "width")]), |
| 56 | GlFunction(Void, "glPointSize", [(GLfloat, "size")]), |
| 57 | GlFunction(Void, "glPolygonMode", [(GLenum, "face"), (GLenum, "mode")]), |
| 58 | GlFunction(Void, "glScissor", [(GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height")]), |
| 59 | GlFunction(Void, "glTexParameterf", [(GLenum, "target"), (GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | 1a65d4f | 2010-11-25 13:45:03 +0000 | [diff] [blame] | 60 | 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] | 61 | GlFunction(Void, "glTexParameteri", [(GLenum, "target"), (GLenum, "pname"), (GLint, "param")]), |
José Fonseca | 1a65d4f | 2010-11-25 13:45:03 +0000 | [diff] [blame] | 62 | GlFunction(Void, "glTexParameteriv", [(GLenum, "target"), (GLenum, "pname"), (Const(Array(GLint, "__glTexParameteriv_size(pname)")), "params")]), |
José Fonseca | b1545e8 | 2011-05-08 07:40:30 +0100 | [diff] [blame] | 63 | GlFunction(Void, "glTexImage1D", [(GLenum, "target"), (GLint, "level"), (GLenum_int, "internalformat"), (GLsizei, "width"), (GLint, "border"), (GLenum, "format"), (GLenum, "type"), (Blob(Const(GLvoid), "__glTexImage1D_size(format, type, width)"), "pixels")]), |
| 64 | GlFunction(Void, "glTexImage2D", [(GLenum, "target"), (GLint, "level"), (GLenum_int, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLint, "border"), (GLenum, "format"), (GLenum, "type"), (Blob(Const(GLvoid), "__glTexImage2D_size(format, type, width, height)"), "pixels")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 65 | GlFunction(Void, "glDrawBuffer", [(GLenum, "mode")]), |
| 66 | GlFunction(Void, "glClear", [(GLbitfield_attrib, "mask")]), |
| 67 | GlFunction(Void, "glClearColor", [(GLclampf, "red"), (GLclampf, "green"), (GLclampf, "blue"), (GLclampf, "alpha")]), |
| 68 | GlFunction(Void, "glClearStencil", [(GLint, "s")]), |
| 69 | GlFunction(Void, "glClearDepth", [(GLclampd, "depth")]), |
| 70 | GlFunction(Void, "glStencilMask", [(GLuint, "mask")]), |
| 71 | GlFunction(Void, "glColorMask", [(GLboolean, "red"), (GLboolean, "green"), (GLboolean, "blue"), (GLboolean, "alpha")]), |
| 72 | GlFunction(Void, "glDepthMask", [(GLboolean, "flag")]), |
| 73 | GlFunction(Void, "glDisable", [(GLenum, "cap")]), |
| 74 | GlFunction(Void, "glEnable", [(GLenum, "cap")]), |
| 75 | GlFunction(Void, "glFinish", []), |
| 76 | GlFunction(Void, "glFlush", []), |
| 77 | GlFunction(Void, "glBlendFunc", [(GLenum, "sfactor"), (GLenum, "dfactor")]), |
| 78 | GlFunction(Void, "glLogicOp", [(GLenum, "opcode")]), |
| 79 | GlFunction(Void, "glStencilFunc", [(GLenum, "func"), (GLint, "ref"), (GLuint, "mask")]), |
| 80 | GlFunction(Void, "glStencilOp", [(GLenum, "fail"), (GLenum, "zfail"), (GLenum, "zpass")]), |
| 81 | GlFunction(Void, "glDepthFunc", [(GLenum, "func")]), |
| 82 | GlFunction(Void, "glPixelStoref", [(GLenum, "pname"), (GLfloat, "param")]), |
| 83 | GlFunction(Void, "glPixelStorei", [(GLenum, "pname"), (GLint, "param")]), |
| 84 | GlFunction(Void, "glReadBuffer", [(GLenum, "mode")]), |
| 85 | 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] | 86 | GlFunction(Void, "glGetBooleanv", [(GLenum, "pname"), Out(Array(GLboolean, "__glGetBooleanv_size(pname)"), "params")], sideeffects=False), |
| 87 | GlFunction(Void, "glGetDoublev", [(GLenum, "pname"), Out(Array(GLdouble, "__glGetDoublev_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 7d45870 | 2011-04-11 09:09:30 +0100 | [diff] [blame] | 88 | GlFunction(GLenum_error, "glGetError", [], sideeffects=False), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 89 | GlFunction(Void, "glGetFloatv", [(GLenum, "pname"), Out(Array(GLfloat, "__glGetFloatv_size(pname)"), "params")], sideeffects=False), |
| 90 | GlFunction(Void, "glGetIntegerv", [(GLenum, "pname"), Out(Array(GLint, "__glGetIntegerv_size(pname)"), "params")], sideeffects=False), |
José Fonseca | a3b3d86 | 2011-05-08 10:45:05 +0100 | [diff] [blame] | 91 | GlFunction(String("const GLubyte *"), "glGetString", [(GLenum, "name")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 92 | 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] | 93 | GlFunction(Void, "glGetTexParameterfv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetTexParameterfv_size(pname)"), "params")], sideeffects=False), |
| 94 | GlFunction(Void, "glGetTexParameteriv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__glGetTexParameteriv_size(pname)"), "params")], sideeffects=False), |
| 95 | GlFunction(Void, "glGetTexLevelParameterfv", [(GLenum, "target"), (GLint, "level"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetTexLevelParameterfv_size(pname)"), "params")], sideeffects=False), |
| 96 | GlFunction(Void, "glGetTexLevelParameteriv", [(GLenum, "target"), (GLint, "level"), (GLenum, "pname"), Out(Array(GLint, "__glGetTexLevelParameteriv_size(pname)"), "params")], sideeffects=False), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 97 | GlFunction(GLboolean, "glIsEnabled", [(GLenum, "cap")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 98 | GlFunction(Void, "glDepthRange", [(GLclampd, "zNear"), (GLclampd, "zFar")]), |
| 99 | GlFunction(Void, "glViewport", [(GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height")]), |
José Fonseca | 6fa64d0 | 2010-11-24 00:46:26 +0000 | [diff] [blame] | 100 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 101 | # GL_VERSION_1_0_DEPRECATED |
| 102 | GlFunction(Void, "glNewList", [(GLlist, "list"), (GLenum, "mode")]), |
| 103 | GlFunction(Void, "glEndList", []), |
| 104 | GlFunction(Void, "glCallList", [(GLlist, "list")]), |
José Fonseca | 780219b | 2010-11-28 11:25:08 +0000 | [diff] [blame] | 105 | GlFunction(Void, "glCallLists", [(GLsizei, "n"), (GLenum, "type"), (Blob(Const(GLvoid), "__glCallLists_size(n, type)"), "lists")]), |
| 106 | GlFunction(Void, "glDeleteLists", [(GLlist, "list"), (GLsizei, "range")]), |
| 107 | GlFunction(Handle("list", GLuint, "range"), "glGenLists", [(GLsizei, "range")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 108 | GlFunction(Void, "glListBase", [(GLuint, "base")]), |
| 109 | GlFunction(Void, "glBegin", [(GLenum_mode, "mode")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 110 | 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] | 111 | GlFunction(Void, "glColor3b", [(GLbyte, "red"), (GLbyte, "green"), (GLbyte, "blue")]), |
| 112 | GlFunction(Void, "glColor3bv", [(Const(Array(GLbyte, "3")), "v")]), |
| 113 | GlFunction(Void, "glColor3d", [(GLdouble, "red"), (GLdouble, "green"), (GLdouble, "blue")]), |
| 114 | GlFunction(Void, "glColor3dv", [(Const(Array(GLdouble, "3")), "v")]), |
| 115 | GlFunction(Void, "glColor3f", [(GLfloat, "red"), (GLfloat, "green"), (GLfloat, "blue")]), |
| 116 | GlFunction(Void, "glColor3fv", [(Const(Array(GLfloat, "3")), "v")]), |
| 117 | GlFunction(Void, "glColor3i", [(GLint, "red"), (GLint, "green"), (GLint, "blue")]), |
| 118 | GlFunction(Void, "glColor3iv", [(Const(Array(GLint, "3")), "v")]), |
| 119 | GlFunction(Void, "glColor3s", [(GLshort, "red"), (GLshort, "green"), (GLshort, "blue")]), |
| 120 | GlFunction(Void, "glColor3sv", [(Const(Array(GLshort, "3")), "v")]), |
| 121 | GlFunction(Void, "glColor3ub", [(GLubyte, "red"), (GLubyte, "green"), (GLubyte, "blue")]), |
| 122 | GlFunction(Void, "glColor3ubv", [(Const(Array(GLubyte, "3")), "v")]), |
| 123 | GlFunction(Void, "glColor3ui", [(GLuint, "red"), (GLuint, "green"), (GLuint, "blue")]), |
| 124 | GlFunction(Void, "glColor3uiv", [(Const(Array(GLuint, "3")), "v")]), |
| 125 | GlFunction(Void, "glColor3us", [(GLushort, "red"), (GLushort, "green"), (GLushort, "blue")]), |
| 126 | GlFunction(Void, "glColor3usv", [(Const(Array(GLushort, "3")), "v")]), |
| 127 | GlFunction(Void, "glColor4b", [(GLbyte, "red"), (GLbyte, "green"), (GLbyte, "blue"), (GLbyte, "alpha")]), |
| 128 | GlFunction(Void, "glColor4bv", [(Const(Array(GLbyte, "4")), "v")]), |
| 129 | GlFunction(Void, "glColor4d", [(GLdouble, "red"), (GLdouble, "green"), (GLdouble, "blue"), (GLdouble, "alpha")]), |
| 130 | GlFunction(Void, "glColor4dv", [(Const(Array(GLdouble, "4")), "v")]), |
| 131 | GlFunction(Void, "glColor4f", [(GLfloat, "red"), (GLfloat, "green"), (GLfloat, "blue"), (GLfloat, "alpha")]), |
| 132 | GlFunction(Void, "glColor4fv", [(Const(Array(GLfloat, "4")), "v")]), |
| 133 | GlFunction(Void, "glColor4i", [(GLint, "red"), (GLint, "green"), (GLint, "blue"), (GLint, "alpha")]), |
| 134 | GlFunction(Void, "glColor4iv", [(Const(Array(GLint, "4")), "v")]), |
| 135 | GlFunction(Void, "glColor4s", [(GLshort, "red"), (GLshort, "green"), (GLshort, "blue"), (GLshort, "alpha")]), |
| 136 | GlFunction(Void, "glColor4sv", [(Const(Array(GLshort, "4")), "v")]), |
| 137 | GlFunction(Void, "glColor4ub", [(GLubyte, "red"), (GLubyte, "green"), (GLubyte, "blue"), (GLubyte, "alpha")]), |
| 138 | GlFunction(Void, "glColor4ubv", [(Const(Array(GLubyte, "4")), "v")]), |
| 139 | GlFunction(Void, "glColor4ui", [(GLuint, "red"), (GLuint, "green"), (GLuint, "blue"), (GLuint, "alpha")]), |
| 140 | GlFunction(Void, "glColor4uiv", [(Const(Array(GLuint, "4")), "v")]), |
| 141 | GlFunction(Void, "glColor4us", [(GLushort, "red"), (GLushort, "green"), (GLushort, "blue"), (GLushort, "alpha")]), |
| 142 | GlFunction(Void, "glColor4usv", [(Const(Array(GLushort, "4")), "v")]), |
| 143 | GlFunction(Void, "glEdgeFlag", [(GLboolean, "flag")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 144 | GlFunction(Void, "glEdgeFlagv", [(Const(Pointer(GLboolean)), "flag")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 145 | GlFunction(Void, "glEnd", []), |
| 146 | GlFunction(Void, "glIndexd", [(GLdouble, "c")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 147 | GlFunction(Void, "glIndexdv", [(Const(Pointer(GLdouble)), "c")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 148 | GlFunction(Void, "glIndexf", [(GLfloat, "c")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 149 | GlFunction(Void, "glIndexfv", [(Const(Pointer(GLfloat)), "c")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 150 | GlFunction(Void, "glIndexi", [(GLint, "c")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 151 | GlFunction(Void, "glIndexiv", [(Const(Pointer(GLint)), "c")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 152 | GlFunction(Void, "glIndexs", [(GLshort, "c")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 153 | GlFunction(Void, "glIndexsv", [(Const(Pointer(GLshort)), "c")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 154 | GlFunction(Void, "glNormal3b", [(GLbyte, "nx"), (GLbyte, "ny"), (GLbyte, "nz")]), |
| 155 | GlFunction(Void, "glNormal3bv", [(Const(Array(GLbyte, "3")), "v")]), |
| 156 | GlFunction(Void, "glNormal3d", [(GLdouble, "nx"), (GLdouble, "ny"), (GLdouble, "nz")]), |
| 157 | GlFunction(Void, "glNormal3dv", [(Const(Array(GLdouble, "3")), "v")]), |
| 158 | GlFunction(Void, "glNormal3f", [(GLfloat, "nx"), (GLfloat, "ny"), (GLfloat, "nz")]), |
| 159 | GlFunction(Void, "glNormal3fv", [(Const(Array(GLfloat, "3")), "v")]), |
| 160 | GlFunction(Void, "glNormal3i", [(GLint, "nx"), (GLint, "ny"), (GLint, "nz")]), |
| 161 | GlFunction(Void, "glNormal3iv", [(Const(Array(GLint, "3")), "v")]), |
| 162 | GlFunction(Void, "glNormal3s", [(GLshort, "nx"), (GLshort, "ny"), (GLshort, "nz")]), |
| 163 | GlFunction(Void, "glNormal3sv", [(Const(Array(GLshort, "3")), "v")]), |
| 164 | GlFunction(Void, "glRasterPos2d", [(GLdouble, "x"), (GLdouble, "y")]), |
| 165 | GlFunction(Void, "glRasterPos2dv", [(Const(Array(GLdouble, "2")), "v")]), |
| 166 | GlFunction(Void, "glRasterPos2f", [(GLfloat, "x"), (GLfloat, "y")]), |
| 167 | GlFunction(Void, "glRasterPos2fv", [(Const(Array(GLfloat, "2")), "v")]), |
| 168 | GlFunction(Void, "glRasterPos2i", [(GLint, "x"), (GLint, "y")]), |
| 169 | GlFunction(Void, "glRasterPos2iv", [(Const(Array(GLint, "2")), "v")]), |
| 170 | GlFunction(Void, "glRasterPos2s", [(GLshort, "x"), (GLshort, "y")]), |
| 171 | GlFunction(Void, "glRasterPos2sv", [(Const(Array(GLshort, "2")), "v")]), |
| 172 | GlFunction(Void, "glRasterPos3d", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 173 | GlFunction(Void, "glRasterPos3dv", [(Const(Array(GLdouble, "3")), "v")]), |
| 174 | GlFunction(Void, "glRasterPos3f", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 175 | GlFunction(Void, "glRasterPos3fv", [(Const(Array(GLfloat, "3")), "v")]), |
| 176 | GlFunction(Void, "glRasterPos3i", [(GLint, "x"), (GLint, "y"), (GLint, "z")]), |
| 177 | GlFunction(Void, "glRasterPos3iv", [(Const(Array(GLint, "3")), "v")]), |
| 178 | GlFunction(Void, "glRasterPos3s", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), |
| 179 | GlFunction(Void, "glRasterPos3sv", [(Const(Array(GLshort, "3")), "v")]), |
| 180 | GlFunction(Void, "glRasterPos4d", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 181 | GlFunction(Void, "glRasterPos4dv", [(Const(Array(GLdouble, "4")), "v")]), |
| 182 | GlFunction(Void, "glRasterPos4f", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 183 | GlFunction(Void, "glRasterPos4fv", [(Const(Array(GLfloat, "4")), "v")]), |
| 184 | GlFunction(Void, "glRasterPos4i", [(GLint, "x"), (GLint, "y"), (GLint, "z"), (GLint, "w")]), |
| 185 | GlFunction(Void, "glRasterPos4iv", [(Const(Array(GLint, "4")), "v")]), |
| 186 | GlFunction(Void, "glRasterPos4s", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]), |
| 187 | GlFunction(Void, "glRasterPos4sv", [(Const(Array(GLshort, "4")), "v")]), |
| 188 | GlFunction(Void, "glRectd", [(GLdouble, "x1"), (GLdouble, "y1"), (GLdouble, "x2"), (GLdouble, "y2")]), |
| 189 | GlFunction(Void, "glRectdv", [(Const(Array(GLdouble, "2")), "v1"), (Const(Array(GLdouble, "2")), "v2")]), |
| 190 | GlFunction(Void, "glRectf", [(GLfloat, "x1"), (GLfloat, "y1"), (GLfloat, "x2"), (GLfloat, "y2")]), |
| 191 | GlFunction(Void, "glRectfv", [(Const(Array(GLfloat, "2")), "v1"), (Const(Array(GLfloat, "2")), "v2")]), |
| 192 | GlFunction(Void, "glRecti", [(GLint, "x1"), (GLint, "y1"), (GLint, "x2"), (GLint, "y2")]), |
| 193 | GlFunction(Void, "glRectiv", [(Const(Array(GLint, "2")), "v1"), (Const(Array(GLint, "2")), "v2")]), |
| 194 | GlFunction(Void, "glRects", [(GLshort, "x1"), (GLshort, "y1"), (GLshort, "x2"), (GLshort, "y2")]), |
| 195 | GlFunction(Void, "glRectsv", [(Const(Array(GLshort, "2")), "v1"), (Const(Array(GLshort, "2")), "v2")]), |
| 196 | GlFunction(Void, "glTexCoord1d", [(GLdouble, "s")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 197 | GlFunction(Void, "glTexCoord1dv", [(Const(Pointer(GLdouble)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 198 | GlFunction(Void, "glTexCoord1f", [(GLfloat, "s")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 199 | GlFunction(Void, "glTexCoord1fv", [(Const(Pointer(GLfloat)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 200 | GlFunction(Void, "glTexCoord1i", [(GLint, "s")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 201 | GlFunction(Void, "glTexCoord1iv", [(Const(Pointer(GLint)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 202 | GlFunction(Void, "glTexCoord1s", [(GLshort, "s")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 203 | GlFunction(Void, "glTexCoord1sv", [(Const(Pointer(GLshort)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 204 | GlFunction(Void, "glTexCoord2d", [(GLdouble, "s"), (GLdouble, "t")]), |
| 205 | GlFunction(Void, "glTexCoord2dv", [(Const(Array(GLdouble, "2")), "v")]), |
| 206 | GlFunction(Void, "glTexCoord2f", [(GLfloat, "s"), (GLfloat, "t")]), |
| 207 | GlFunction(Void, "glTexCoord2fv", [(Const(Array(GLfloat, "2")), "v")]), |
| 208 | GlFunction(Void, "glTexCoord2i", [(GLint, "s"), (GLint, "t")]), |
| 209 | GlFunction(Void, "glTexCoord2iv", [(Const(Array(GLint, "2")), "v")]), |
| 210 | GlFunction(Void, "glTexCoord2s", [(GLshort, "s"), (GLshort, "t")]), |
| 211 | GlFunction(Void, "glTexCoord2sv", [(Const(Array(GLshort, "2")), "v")]), |
| 212 | GlFunction(Void, "glTexCoord3d", [(GLdouble, "s"), (GLdouble, "t"), (GLdouble, "r")]), |
| 213 | GlFunction(Void, "glTexCoord3dv", [(Const(Array(GLdouble, "3")), "v")]), |
| 214 | GlFunction(Void, "glTexCoord3f", [(GLfloat, "s"), (GLfloat, "t"), (GLfloat, "r")]), |
| 215 | GlFunction(Void, "glTexCoord3fv", [(Const(Array(GLfloat, "3")), "v")]), |
| 216 | GlFunction(Void, "glTexCoord3i", [(GLint, "s"), (GLint, "t"), (GLint, "r")]), |
| 217 | GlFunction(Void, "glTexCoord3iv", [(Const(Array(GLint, "3")), "v")]), |
| 218 | GlFunction(Void, "glTexCoord3s", [(GLshort, "s"), (GLshort, "t"), (GLshort, "r")]), |
| 219 | GlFunction(Void, "glTexCoord3sv", [(Const(Array(GLshort, "3")), "v")]), |
| 220 | GlFunction(Void, "glTexCoord4d", [(GLdouble, "s"), (GLdouble, "t"), (GLdouble, "r"), (GLdouble, "q")]), |
| 221 | GlFunction(Void, "glTexCoord4dv", [(Const(Array(GLdouble, "4")), "v")]), |
| 222 | GlFunction(Void, "glTexCoord4f", [(GLfloat, "s"), (GLfloat, "t"), (GLfloat, "r"), (GLfloat, "q")]), |
| 223 | GlFunction(Void, "glTexCoord4fv", [(Const(Array(GLfloat, "4")), "v")]), |
| 224 | GlFunction(Void, "glTexCoord4i", [(GLint, "s"), (GLint, "t"), (GLint, "r"), (GLint, "q")]), |
| 225 | GlFunction(Void, "glTexCoord4iv", [(Const(Array(GLint, "4")), "v")]), |
| 226 | GlFunction(Void, "glTexCoord4s", [(GLshort, "s"), (GLshort, "t"), (GLshort, "r"), (GLshort, "q")]), |
| 227 | GlFunction(Void, "glTexCoord4sv", [(Const(Array(GLshort, "4")), "v")]), |
| 228 | GlFunction(Void, "glVertex2d", [(GLdouble, "x"), (GLdouble, "y")]), |
| 229 | GlFunction(Void, "glVertex2dv", [(Const(Array(GLdouble, "2")), "v")]), |
| 230 | GlFunction(Void, "glVertex2f", [(GLfloat, "x"), (GLfloat, "y")]), |
| 231 | GlFunction(Void, "glVertex2fv", [(Const(Array(GLfloat, "2")), "v")]), |
| 232 | GlFunction(Void, "glVertex2i", [(GLint, "x"), (GLint, "y")]), |
| 233 | GlFunction(Void, "glVertex2iv", [(Const(Array(GLint, "2")), "v")]), |
| 234 | GlFunction(Void, "glVertex2s", [(GLshort, "x"), (GLshort, "y")]), |
| 235 | GlFunction(Void, "glVertex2sv", [(Const(Array(GLshort, "2")), "v")]), |
| 236 | GlFunction(Void, "glVertex3d", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 237 | GlFunction(Void, "glVertex3dv", [(Const(Array(GLdouble, "3")), "v")]), |
| 238 | GlFunction(Void, "glVertex3f", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 239 | GlFunction(Void, "glVertex3fv", [(Const(Array(GLfloat, "3")), "v")]), |
| 240 | GlFunction(Void, "glVertex3i", [(GLint, "x"), (GLint, "y"), (GLint, "z")]), |
| 241 | GlFunction(Void, "glVertex3iv", [(Const(Array(GLint, "3")), "v")]), |
| 242 | GlFunction(Void, "glVertex3s", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), |
| 243 | GlFunction(Void, "glVertex3sv", [(Const(Array(GLshort, "3")), "v")]), |
| 244 | GlFunction(Void, "glVertex4d", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 245 | GlFunction(Void, "glVertex4dv", [(Const(Array(GLdouble, "4")), "v")]), |
| 246 | GlFunction(Void, "glVertex4f", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 247 | GlFunction(Void, "glVertex4fv", [(Const(Array(GLfloat, "4")), "v")]), |
| 248 | GlFunction(Void, "glVertex4i", [(GLint, "x"), (GLint, "y"), (GLint, "z"), (GLint, "w")]), |
| 249 | GlFunction(Void, "glVertex4iv", [(Const(Array(GLint, "4")), "v")]), |
| 250 | GlFunction(Void, "glVertex4s", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]), |
| 251 | GlFunction(Void, "glVertex4sv", [(Const(Array(GLshort, "4")), "v")]), |
| 252 | GlFunction(Void, "glClipPlane", [(GLenum, "plane"), (Const(Array(GLdouble, "4")), "equation")]), |
| 253 | GlFunction(Void, "glColorMaterial", [(GLenum, "face"), (GLenum, "mode")]), |
| 254 | GlFunction(Void, "glFogf", [(GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 255 | GlFunction(Void, "glFogfv", [(GLenum, "pname"), (Const(Array(GLfloat, "__glFogfv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 256 | GlFunction(Void, "glFogi", [(GLenum, "pname"), (GLint, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 257 | GlFunction(Void, "glFogiv", [(GLenum, "pname"), (Const(Array(GLint, "__glFogiv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 258 | GlFunction(Void, "glLightf", [(GLenum, "light"), (GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 259 | 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] | 260 | GlFunction(Void, "glLighti", [(GLenum, "light"), (GLenum, "pname"), (GLint, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 261 | 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] | 262 | GlFunction(Void, "glLightModelf", [(GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 263 | GlFunction(Void, "glLightModelfv", [(GLenum, "pname"), (Const(Array(GLfloat, "__glLightModelfv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 264 | GlFunction(Void, "glLightModeli", [(GLenum, "pname"), (GLint, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 265 | GlFunction(Void, "glLightModeliv", [(GLenum, "pname"), (Const(Array(GLint, "__glLightModeliv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 266 | GlFunction(Void, "glLineStipple", [(GLint, "factor"), (GLushort, "pattern")]), |
| 267 | GlFunction(Void, "glMaterialf", [(GLenum, "face"), (GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 268 | 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] | 269 | GlFunction(Void, "glMateriali", [(GLenum, "face"), (GLenum, "pname"), (GLint, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 270 | GlFunction(Void, "glMaterialiv", [(GLenum, "face"), (GLenum, "pname"), (Const(Array(GLint, "__glMaterialiv_size(pname)")), "params")]), |
| 271 | GlFunction(Void, "glPolygonStipple", [(Const(Array(GLubyte, "__glPolygonStipple_size()")), "mask")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 272 | GlFunction(Void, "glShadeModel", [(GLenum, "mode")]), |
| 273 | GlFunction(Void, "glTexEnvf", [(GLenum, "target"), (GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 274 | 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] | 275 | GlFunction(Void, "glTexEnvi", [(GLenum, "target"), (GLenum, "pname"), (GLint, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 276 | 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] | 277 | GlFunction(Void, "glTexGend", [(GLenum, "coord"), (GLenum, "pname"), (GLdouble, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 278 | 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] | 279 | GlFunction(Void, "glTexGenf", [(GLenum, "coord"), (GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 280 | 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] | 281 | GlFunction(Void, "glTexGeni", [(GLenum, "coord"), (GLenum, "pname"), (GLint, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 282 | 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] | 283 | GlFunction(Void, "glFeedbackBuffer", [(GLsizei, "size"), (GLenum, "type"), Out(Array(GLfloat, "size"), "buffer")]), |
| 284 | GlFunction(Void, "glSelectBuffer", [(GLsizei, "size"), Out(Array(GLuint, "size"), "buffer")]), |
José Fonseca | f916141 | 2011-05-09 09:16:16 +0100 | [diff] [blame] | 285 | GlFunction(Alias("GLint", GLenum), "glRenderMode", [(GLenum, "mode")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 286 | GlFunction(Void, "glInitNames", []), |
| 287 | GlFunction(Void, "glLoadName", [(GLuint, "name")]), |
| 288 | GlFunction(Void, "glPassThrough", [(GLfloat, "token")]), |
| 289 | GlFunction(Void, "glPopName", []), |
| 290 | GlFunction(Void, "glPushName", [(GLuint, "name")]), |
| 291 | GlFunction(Void, "glClearAccum", [(GLfloat, "red"), (GLfloat, "green"), (GLfloat, "blue"), (GLfloat, "alpha")]), |
| 292 | GlFunction(Void, "glClearIndex", [(GLfloat, "c")]), |
| 293 | GlFunction(Void, "glIndexMask", [(GLuint, "mask")]), |
| 294 | GlFunction(Void, "glAccum", [(GLenum, "op"), (GLfloat, "value")]), |
| 295 | GlFunction(Void, "glPopAttrib", []), |
| 296 | GlFunction(Void, "glPushAttrib", [(GLbitfield_attrib, "mask")]), |
José Fonseca | 9fa5be2 | 2011-05-04 10:31:54 +0100 | [diff] [blame] | 297 | GlFunction(Void, "glMap1d", [(GLenum, "target"), (GLdouble, "u1"), (GLdouble, "u2"), (GLint, "stride"), (GLint, "order"), (Const(OpaqueArray(GLdouble, "__glMap1d_size(target, stride, order)")), "points")]), |
| 298 | GlFunction(Void, "glMap1f", [(GLenum, "target"), (GLfloat, "u1"), (GLfloat, "u2"), (GLint, "stride"), (GLint, "order"), (Const(OpaqueArray(GLfloat, "__glMap1f_size(target, stride, order)")), "points")]), |
| 299 | GlFunction(Void, "glMap2d", [(GLenum, "target"), (GLdouble, "u1"), (GLdouble, "u2"), (GLint, "ustride"), (GLint, "uorder"), (GLdouble, "v1"), (GLdouble, "v2"), (GLint, "vstride"), (GLint, "vorder"), (Const(OpaqueArray(GLdouble, "__glMap2d_size(target, ustride, uorder, vstride, vorder)")), "points")]), |
| 300 | GlFunction(Void, "glMap2f", [(GLenum, "target"), (GLfloat, "u1"), (GLfloat, "u2"), (GLint, "ustride"), (GLint, "uorder"), (GLfloat, "v1"), (GLfloat, "v2"), (GLint, "vstride"), (GLint, "vorder"), (Const(OpaqueArray(GLfloat, "__glMap2f_size(target, ustride, uorder, vstride, vorder)")), "points")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 301 | GlFunction(Void, "glMapGrid1d", [(GLint, "un"), (GLdouble, "u1"), (GLdouble, "u2")]), |
| 302 | GlFunction(Void, "glMapGrid1f", [(GLint, "un"), (GLfloat, "u1"), (GLfloat, "u2")]), |
| 303 | GlFunction(Void, "glMapGrid2d", [(GLint, "un"), (GLdouble, "u1"), (GLdouble, "u2"), (GLint, "vn"), (GLdouble, "v1"), (GLdouble, "v2")]), |
| 304 | GlFunction(Void, "glMapGrid2f", [(GLint, "un"), (GLfloat, "u1"), (GLfloat, "u2"), (GLint, "vn"), (GLfloat, "v1"), (GLfloat, "v2")]), |
| 305 | GlFunction(Void, "glEvalCoord1d", [(GLdouble, "u")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 306 | GlFunction(Void, "glEvalCoord1dv", [(Const(Pointer(GLdouble)), "u")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 307 | GlFunction(Void, "glEvalCoord1f", [(GLfloat, "u")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 308 | GlFunction(Void, "glEvalCoord1fv", [(Const(Pointer(GLfloat)), "u")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 309 | GlFunction(Void, "glEvalCoord2d", [(GLdouble, "u"), (GLdouble, "v")]), |
| 310 | GlFunction(Void, "glEvalCoord2dv", [(Const(Array(GLdouble, "2")), "u")]), |
| 311 | GlFunction(Void, "glEvalCoord2f", [(GLfloat, "u"), (GLfloat, "v")]), |
| 312 | GlFunction(Void, "glEvalCoord2fv", [(Const(Array(GLfloat, "2")), "u")]), |
| 313 | GlFunction(Void, "glEvalMesh1", [(GLenum, "mode"), (GLint, "i1"), (GLint, "i2")]), |
| 314 | GlFunction(Void, "glEvalPoint1", [(GLint, "i")]), |
| 315 | GlFunction(Void, "glEvalMesh2", [(GLenum, "mode"), (GLint, "i1"), (GLint, "i2"), (GLint, "j1"), (GLint, "j2")]), |
| 316 | GlFunction(Void, "glEvalPoint2", [(GLint, "i"), (GLint, "j")]), |
| 317 | GlFunction(Void, "glAlphaFunc", [(GLenum, "func"), (GLclampf, "ref")]), |
| 318 | GlFunction(Void, "glPixelZoom", [(GLfloat, "xfactor"), (GLfloat, "yfactor")]), |
| 319 | GlFunction(Void, "glPixelTransferf", [(GLenum, "pname"), (GLfloat, "param")]), |
| 320 | GlFunction(Void, "glPixelTransferi", [(GLenum, "pname"), (GLint, "param")]), |
| 321 | GlFunction(Void, "glPixelMapfv", [(GLenum, "map"), (GLsizei, "mapsize"), (Const(Array(GLfloat, "mapsize")), "values")]), |
| 322 | GlFunction(Void, "glPixelMapuiv", [(GLenum, "map"), (GLsizei, "mapsize"), (Const(Array(GLuint, "mapsize")), "values")]), |
| 323 | GlFunction(Void, "glPixelMapusv", [(GLenum, "map"), (GLsizei, "mapsize"), (Const(Array(GLushort, "mapsize")), "values")]), |
| 324 | 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] | 325 | 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] | 326 | GlFunction(Void, "glGetClipPlane", [(GLenum, "plane"), Out(Array(GLdouble, "4"), "equation")], sideeffects=False), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 327 | GlFunction(Void, "glGetLightfv", [(GLenum, "light"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetLightfv_size(pname)"), "params")], sideeffects=False), |
| 328 | 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] | 329 | GlFunction(Void, "glGetMapdv", [(GLenum, "target"), (GLenum, "query"), Out(Pointer(GLdouble), "v")], sideeffects=False), |
| 330 | GlFunction(Void, "glGetMapfv", [(GLenum, "target"), (GLenum, "query"), Out(Pointer(GLfloat), "v")], sideeffects=False), |
| 331 | 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] | 332 | GlFunction(Void, "glGetMaterialfv", [(GLenum, "face"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetMaterialfv_size(pname)"), "params")], sideeffects=False), |
| 333 | 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] | 334 | GlFunction(Void, "glGetPixelMapfv", [(GLenum, "map"), Out(Pointer(GLfloat), "values")], sideeffects=False), |
| 335 | GlFunction(Void, "glGetPixelMapuiv", [(GLenum, "map"), Out(Pointer(GLuint), "values")], sideeffects=False), |
| 336 | GlFunction(Void, "glGetPixelMapusv", [(GLenum, "map"), Out(Pointer(GLushort), "values")], sideeffects=False), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 337 | GlFunction(Void, "glGetPolygonStipple", [Out(OpaquePointer(GLubyte), "mask")], sideeffects=False), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 338 | GlFunction(Void, "glGetTexEnvfv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetTexEnvfv_size(pname)"), "params")], sideeffects=False), |
| 339 | GlFunction(Void, "glGetTexEnviv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__glGetTexEnviv_size(pname)"), "params")], sideeffects=False), |
| 340 | GlFunction(Void, "glGetTexGendv", [(GLenum, "coord"), (GLenum, "pname"), Out(Array(GLdouble, "__glGetTexGendv_size(pname)"), "params")], sideeffects=False), |
| 341 | GlFunction(Void, "glGetTexGenfv", [(GLenum, "coord"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetTexGenfv_size(pname)"), "params")], sideeffects=False), |
| 342 | GlFunction(Void, "glGetTexGeniv", [(GLenum, "coord"), (GLenum, "pname"), Out(Array(GLint, "__glGetTexGeniv_size(pname)"), "params")], sideeffects=False), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 343 | GlFunction(GLboolean, "glIsList", [(GLuint, "list")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 344 | GlFunction(Void, "glFrustum", [(GLdouble, "left"), (GLdouble, "right"), (GLdouble, "bottom"), (GLdouble, "top"), (GLdouble, "zNear"), (GLdouble, "zFar")]), |
| 345 | GlFunction(Void, "glLoadIdentity", []), |
| 346 | GlFunction(Void, "glLoadMatrixf", [(Const(Array(GLfloat, "16")), "m")]), |
| 347 | GlFunction(Void, "glLoadMatrixd", [(Const(Array(GLdouble, "16")), "m")]), |
| 348 | GlFunction(Void, "glMatrixMode", [(GLenum, "mode")]), |
| 349 | GlFunction(Void, "glMultMatrixf", [(Const(Array(GLfloat, "16")), "m")]), |
| 350 | GlFunction(Void, "glMultMatrixd", [(Const(Array(GLdouble, "16")), "m")]), |
| 351 | GlFunction(Void, "glOrtho", [(GLdouble, "left"), (GLdouble, "right"), (GLdouble, "bottom"), (GLdouble, "top"), (GLdouble, "zNear"), (GLdouble, "zFar")]), |
| 352 | GlFunction(Void, "glPopMatrix", []), |
| 353 | GlFunction(Void, "glPushMatrix", []), |
| 354 | GlFunction(Void, "glRotated", [(GLdouble, "angle"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 355 | GlFunction(Void, "glRotatef", [(GLfloat, "angle"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 356 | GlFunction(Void, "glScaled", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 357 | GlFunction(Void, "glScalef", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 358 | GlFunction(Void, "glTranslated", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 359 | GlFunction(Void, "glTranslatef", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
José Fonseca | 6fa64d0 | 2010-11-24 00:46:26 +0000 | [diff] [blame] | 360 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 361 | # GL_VERSION_1_1 |
| 362 | GlFunction(Void, "glDrawArrays", [(GLenum_mode, "mode"), (GLint, "first"), (GLsizei, "count")]), |
José Fonseca | 5c749e3 | 2011-05-09 11:11:37 +0100 | [diff] [blame] | 363 | GlFunction(Void, "glDrawElements", [(GLenum_mode, "mode"), (GLsizei, "count"), (GLenum, "type"), (OpaquePointer(Const(GLvoid)), "indices")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 364 | GlFunction(Void, "glGetPointerv", [(GLenum, "pname"), Out(Pointer(OpaquePointer(GLvoid)), "params")], sideeffects=False), |
| 365 | GlFunction(Void, "glPolygonOffset", [(GLfloat, "factor"), (GLfloat, "units")]), |
| 366 | GlFunction(Void, "glCopyTexImage1D", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLint, "border")]), |
| 367 | GlFunction(Void, "glCopyTexImage2D", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height"), (GLint, "border")]), |
| 368 | GlFunction(Void, "glCopyTexSubImage1D", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "x"), (GLint, "y"), (GLsizei, "width")]), |
| 369 | 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] | 370 | GlFunction(Void, "glTexSubImage1D", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLsizei, "width"), (GLenum, "format"), (GLenum, "type"), (Blob(Const(GLvoid), "__glTexSubImage1D_size(format, type, width)"), "pixels")]), |
| 371 | 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] | 372 | GlFunction(Void, "glBindTexture", [(GLenum, "target"), (GLtexture, "texture")]), |
| 373 | GlFunction(Void, "glDeleteTextures", [(GLsizei, "n"), (Const(Array(GLtexture, "n")), "textures")]), |
| 374 | GlFunction(Void, "glGenTextures", [(GLsizei, "n"), Out(Array(GLtexture, "n"), "textures")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 375 | GlFunction(GLboolean, "glIsTexture", [(GLtexture, "texture")], sideeffects=False), |
José Fonseca | 6fa64d0 | 2010-11-24 00:46:26 +0000 | [diff] [blame] | 376 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 377 | # GL_VERSION_1_1_DEPRECATED |
| 378 | GlFunction(Void, "glArrayElement", [(GLint, "i")]), |
| 379 | GlFunction(Void, "glColorPointer", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 380 | GlFunction(Void, "glDisableClientState", [(GLenum, "array")]), |
| 381 | GlFunction(Void, "glEdgeFlagPointer", [(GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 382 | GlFunction(Void, "glEnableClientState", [(GLenum, "array")]), |
| 383 | GlFunction(Void, "glIndexPointer", [(GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 384 | GlFunction(Void, "glInterleavedArrays", [(GLenum, "format"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 385 | GlFunction(Void, "glNormalPointer", [(GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 386 | GlFunction(Void, "glTexCoordPointer", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 387 | GlFunction(Void, "glVertexPointer", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 388 | GlFunction(GLboolean, "glAreTexturesResident", [(GLsizei, "n"), (Const(Array(GLtexture, "n")), "textures"), Out(Array(GLboolean, "n"), "residences")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 389 | GlFunction(Void, "glPrioritizeTextures", [(GLsizei, "n"), (Const(Array(GLtexture, "n")), "textures"), (Const(Array(GLclampf, "n")), "priorities")]), |
| 390 | GlFunction(Void, "glIndexub", [(GLubyte, "c")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 391 | GlFunction(Void, "glIndexubv", [(Const(Pointer(GLubyte)), "c")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 392 | GlFunction(Void, "glPopClientAttrib", []), |
| 393 | GlFunction(Void, "glPushClientAttrib", [(GLbitfield_client_attrib, "mask")]), |
José Fonseca | 8fbdd3a | 2010-11-23 20:55:07 +0000 | [diff] [blame] | 394 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 395 | # GL_VERSION_1_2 |
| 396 | GlFunction(Void, "glBlendColor", [(GLclampf, "red"), (GLclampf, "green"), (GLclampf, "blue"), (GLclampf, "alpha")]), |
| 397 | GlFunction(Void, "glBlendEquation", [(GLenum, "mode")]), |
José Fonseca | 5c749e3 | 2011-05-09 11:11:37 +0100 | [diff] [blame] | 398 | GlFunction(Void, "glDrawRangeElements", [(GLenum_mode, "mode"), (GLuint, "start"), (GLuint, "end"), (GLsizei, "count"), (GLenum, "type"), (OpaquePointer(Const(GLvoid)), "indices")]), |
José Fonseca | b1545e8 | 2011-05-08 07:40:30 +0100 | [diff] [blame] | 399 | GlFunction(Void, "glTexImage3D", [(GLenum, "target"), (GLint, "level"), (GLenum_int, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLint, "border"), (GLenum, "format"), (GLenum, "type"), (Blob(Const(GLvoid), "__glTexImage3D_size(format, type, width, height, depth)"), "pixels")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 400 | 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] | 401 | GlFunction(Void, "glCopyTexSubImage3D", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "zoffset"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height")]), |
| 402 | |
| 403 | # GL_VERSION_1_2_DEPRECATED |
José Fonseca | 9fa5be2 | 2011-05-04 10:31:54 +0100 | [diff] [blame] | 404 | GlFunction(Void, "glColorTable", [(GLenum, "target"), (GLenum, "internalformat"), (GLsizei, "width"), (GLenum, "format"), (GLenum, "type"), (Const(OpaqueBlob(GLvoid, "__glColorTable_size(format, type, width)")), "table")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 405 | GlFunction(Void, "glColorTableParameterfv", [(GLenum, "target"), (GLenum, "pname"), (Const(Array(GLfloat, "__glColorTableParameterfv_size(pname)")), "params")]), |
| 406 | 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] | 407 | GlFunction(Void, "glCopyColorTable", [(GLenum, "target"), (GLenum, "internalformat"), (GLint, "x"), (GLint, "y"), (GLsizei, "width")]), |
José Fonseca | 9fa5be2 | 2011-05-04 10:31:54 +0100 | [diff] [blame] | 408 | GlFunction(Void, "glGetColorTable", [(GLenum, "target"), (GLenum, "format"), (GLenum, "type"), Out(OpaqueBlob(GLvoid, "__glGetColorTable_size(target, format, type)"), "table")], sideeffects=False), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 409 | GlFunction(Void, "glGetColorTableParameterfv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetColorTableParameterfv_size(pname)"), "params")], sideeffects=False), |
| 410 | GlFunction(Void, "glGetColorTableParameteriv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__glGetColorTableParameteriv_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 9fa5be2 | 2011-05-04 10:31:54 +0100 | [diff] [blame] | 411 | GlFunction(Void, "glColorSubTable", [(GLenum, "target"), (GLsizei, "start"), (GLsizei, "count"), (GLenum, "format"), (GLenum, "type"), (Const(OpaqueBlob(GLvoid, "__glColorSubTable_size(format, type, count)")), "data")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 412 | GlFunction(Void, "glCopyColorSubTable", [(GLenum, "target"), (GLsizei, "start"), (GLint, "x"), (GLint, "y"), (GLsizei, "width")]), |
José Fonseca | 9fa5be2 | 2011-05-04 10:31:54 +0100 | [diff] [blame] | 413 | GlFunction(Void, "glConvolutionFilter1D", [(GLenum, "target"), (GLenum, "internalformat"), (GLsizei, "width"), (GLenum, "format"), (GLenum, "type"), (Const(OpaqueBlob(GLvoid, "__glConvolutionFilter1D_size(format, type, width)")), "image")]), |
| 414 | GlFunction(Void, "glConvolutionFilter2D", [(GLenum, "target"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLenum, "type"), (Const(OpaqueBlob(GLvoid, "__glConvolutionFilter2D_size(format, type, width, height)")), "image")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 415 | GlFunction(Void, "glConvolutionParameterf", [(GLenum, "target"), (GLenum, "pname"), (GLfloat, "params")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 416 | 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] | 417 | GlFunction(Void, "glConvolutionParameteri", [(GLenum, "target"), (GLenum, "pname"), (GLint, "params")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 418 | 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] | 419 | GlFunction(Void, "glCopyConvolutionFilter1D", [(GLenum, "target"), (GLenum, "internalformat"), (GLint, "x"), (GLint, "y"), (GLsizei, "width")]), |
| 420 | GlFunction(Void, "glCopyConvolutionFilter2D", [(GLenum, "target"), (GLenum, "internalformat"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height")]), |
José Fonseca | 9fa5be2 | 2011-05-04 10:31:54 +0100 | [diff] [blame] | 421 | GlFunction(Void, "glGetConvolutionFilter", [(GLenum, "target"), (GLenum, "format"), (GLenum, "type"), Out(OpaqueBlob(GLvoid, "__glGetConvolutionFilter_size(target, format, type)"), "image")], sideeffects=False), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 422 | GlFunction(Void, "glGetConvolutionParameterfv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetConvolutionParameterfv_size(pname)"), "params")], sideeffects=False), |
| 423 | GlFunction(Void, "glGetConvolutionParameteriv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__glGetConvolutionParameteriv_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 9fa5be2 | 2011-05-04 10:31:54 +0100 | [diff] [blame] | 424 | GlFunction(Void, "glGetSeparableFilter", [(GLenum, "target"), (GLenum, "format"), (GLenum, "type"), Out(OpaqueBlob(GLvoid, "__glGetSeparableFilter_size(target, format, type)"), "row"), Out(OpaqueBlob(GLvoid, "__glGetSeparableFilter_size(target, format, type)"), "column"), Out(OpaqueBlob(GLvoid, "__glGetSeparableFilter_size(target, format, type)"), "span")], sideeffects=False), |
| 425 | GlFunction(Void, "glSeparableFilter2D", [(GLenum, "target"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLenum, "type"), (Const(OpaqueBlob(GLvoid, "__glSeparableFilter2D_size(target, format, type, width)")), "row"), (Const(OpaqueBlob(GLvoid, "__glSeparableFilter2D_size(target, format, type, height)")), "column")]), |
| 426 | GlFunction(Void, "glGetHistogram", [(GLenum, "target"), (GLboolean, "reset"), (GLenum, "format"), (GLenum, "type"), Out(OpaqueBlob(GLvoid, "__glGetHistogram_size(target, format, type)"), "values")], sideeffects=False), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 427 | GlFunction(Void, "glGetHistogramParameterfv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetHistogramParameterfv_size(pname)"), "params")], sideeffects=False), |
| 428 | GlFunction(Void, "glGetHistogramParameteriv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__glGetHistogramParameteriv_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 9fa5be2 | 2011-05-04 10:31:54 +0100 | [diff] [blame] | 429 | GlFunction(Void, "glGetMinmax", [(GLenum, "target"), (GLboolean, "reset"), (GLenum, "format"), (GLenum, "type"), Out(OpaqueBlob(GLvoid, "__glGetMinmax_size(target, format, type)"), "values")], sideeffects=False), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 430 | GlFunction(Void, "glGetMinmaxParameterfv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLfloat, "__glGetMinmaxParameterfv_size(pname)"), "params")], sideeffects=False), |
| 431 | 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] | 432 | GlFunction(Void, "glHistogram", [(GLenum, "target"), (GLsizei, "width"), (GLenum, "internalformat"), (GLboolean, "sink")]), |
| 433 | GlFunction(Void, "glMinmax", [(GLenum, "target"), (GLenum, "internalformat"), (GLboolean, "sink")]), |
| 434 | GlFunction(Void, "glResetHistogram", [(GLenum, "target")]), |
| 435 | GlFunction(Void, "glResetMinmax", [(GLenum, "target")]), |
| 436 | |
| 437 | # GL_VERSION_1_3 |
| 438 | GlFunction(Void, "glActiveTexture", [(GLenum, "texture")]), |
| 439 | GlFunction(Void, "glSampleCoverage", [(GLclampf, "value"), (GLboolean, "invert")]), |
| 440 | GlFunction(Void, "glCompressedTexImage3D", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLint, "border"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "data")]), |
| 441 | GlFunction(Void, "glCompressedTexImage2D", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLint, "border"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "data")]), |
| 442 | GlFunction(Void, "glCompressedTexImage1D", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLint, "border"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "data")]), |
| 443 | 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")]), |
| 444 | GlFunction(Void, "glCompressedTexSubImage2D", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "data")]), |
| 445 | GlFunction(Void, "glCompressedTexSubImage1D", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLsizei, "width"), (GLenum, "format"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "data")]), |
José Fonseca | 9fa5be2 | 2011-05-04 10:31:54 +0100 | [diff] [blame] | 446 | GlFunction(Void, "glGetCompressedTexImage", [(GLenum, "target"), (GLint, "level"), Out(OpaqueBlob(GLvoid, "__glGetCompressedTexImage_size(target, level)"), "img")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 447 | |
| 448 | # GL_VERSION_1_3_DEPRECATED |
| 449 | GlFunction(Void, "glClientActiveTexture", [(GLenum, "texture")]), |
| 450 | GlFunction(Void, "glMultiTexCoord1d", [(GLenum, "target"), (GLdouble, "s")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 451 | GlFunction(Void, "glMultiTexCoord1dv", [(GLenum, "target"), (Const(Pointer(GLdouble)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 452 | GlFunction(Void, "glMultiTexCoord1f", [(GLenum, "target"), (GLfloat, "s")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 453 | GlFunction(Void, "glMultiTexCoord1fv", [(GLenum, "target"), (Const(Pointer(GLfloat)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 454 | GlFunction(Void, "glMultiTexCoord1i", [(GLenum, "target"), (GLint, "s")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 455 | GlFunction(Void, "glMultiTexCoord1iv", [(GLenum, "target"), (Const(Pointer(GLint)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 456 | GlFunction(Void, "glMultiTexCoord1s", [(GLenum, "target"), (GLshort, "s")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 457 | GlFunction(Void, "glMultiTexCoord1sv", [(GLenum, "target"), (Const(Pointer(GLshort)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 458 | GlFunction(Void, "glMultiTexCoord2d", [(GLenum, "target"), (GLdouble, "s"), (GLdouble, "t")]), |
| 459 | GlFunction(Void, "glMultiTexCoord2dv", [(GLenum, "target"), (Const(Array(GLdouble, "2")), "v")]), |
| 460 | GlFunction(Void, "glMultiTexCoord2f", [(GLenum, "target"), (GLfloat, "s"), (GLfloat, "t")]), |
| 461 | GlFunction(Void, "glMultiTexCoord2fv", [(GLenum, "target"), (Const(Array(GLfloat, "2")), "v")]), |
| 462 | GlFunction(Void, "glMultiTexCoord2i", [(GLenum, "target"), (GLint, "s"), (GLint, "t")]), |
| 463 | GlFunction(Void, "glMultiTexCoord2iv", [(GLenum, "target"), (Const(Array(GLint, "2")), "v")]), |
| 464 | GlFunction(Void, "glMultiTexCoord2s", [(GLenum, "target"), (GLshort, "s"), (GLshort, "t")]), |
| 465 | GlFunction(Void, "glMultiTexCoord2sv", [(GLenum, "target"), (Const(Array(GLshort, "2")), "v")]), |
| 466 | GlFunction(Void, "glMultiTexCoord3d", [(GLenum, "target"), (GLdouble, "s"), (GLdouble, "t"), (GLdouble, "r")]), |
| 467 | GlFunction(Void, "glMultiTexCoord3dv", [(GLenum, "target"), (Const(Array(GLdouble, "3")), "v")]), |
| 468 | GlFunction(Void, "glMultiTexCoord3f", [(GLenum, "target"), (GLfloat, "s"), (GLfloat, "t"), (GLfloat, "r")]), |
| 469 | GlFunction(Void, "glMultiTexCoord3fv", [(GLenum, "target"), (Const(Array(GLfloat, "3")), "v")]), |
| 470 | GlFunction(Void, "glMultiTexCoord3i", [(GLenum, "target"), (GLint, "s"), (GLint, "t"), (GLint, "r")]), |
| 471 | GlFunction(Void, "glMultiTexCoord3iv", [(GLenum, "target"), (Const(Array(GLint, "3")), "v")]), |
| 472 | GlFunction(Void, "glMultiTexCoord3s", [(GLenum, "target"), (GLshort, "s"), (GLshort, "t"), (GLshort, "r")]), |
| 473 | GlFunction(Void, "glMultiTexCoord3sv", [(GLenum, "target"), (Const(Array(GLshort, "3")), "v")]), |
| 474 | GlFunction(Void, "glMultiTexCoord4d", [(GLenum, "target"), (GLdouble, "s"), (GLdouble, "t"), (GLdouble, "r"), (GLdouble, "q")]), |
| 475 | GlFunction(Void, "glMultiTexCoord4dv", [(GLenum, "target"), (Const(Array(GLdouble, "4")), "v")]), |
| 476 | GlFunction(Void, "glMultiTexCoord4f", [(GLenum, "target"), (GLfloat, "s"), (GLfloat, "t"), (GLfloat, "r"), (GLfloat, "q")]), |
| 477 | GlFunction(Void, "glMultiTexCoord4fv", [(GLenum, "target"), (Const(Array(GLfloat, "4")), "v")]), |
| 478 | GlFunction(Void, "glMultiTexCoord4i", [(GLenum, "target"), (GLint, "s"), (GLint, "t"), (GLint, "r"), (GLint, "q")]), |
| 479 | GlFunction(Void, "glMultiTexCoord4iv", [(GLenum, "target"), (Const(Array(GLint, "4")), "v")]), |
| 480 | GlFunction(Void, "glMultiTexCoord4s", [(GLenum, "target"), (GLshort, "s"), (GLshort, "t"), (GLshort, "r"), (GLshort, "q")]), |
| 481 | GlFunction(Void, "glMultiTexCoord4sv", [(GLenum, "target"), (Const(Array(GLshort, "4")), "v")]), |
| 482 | GlFunction(Void, "glLoadTransposeMatrixf", [(Const(Array(GLfloat, "16")), "m")]), |
| 483 | GlFunction(Void, "glLoadTransposeMatrixd", [(Const(Array(GLdouble, "16")), "m")]), |
| 484 | GlFunction(Void, "glMultTransposeMatrixf", [(Const(Array(GLfloat, "16")), "m")]), |
| 485 | GlFunction(Void, "glMultTransposeMatrixd", [(Const(Array(GLdouble, "16")), "m")]), |
| 486 | |
| 487 | # GL_VERSION_1_4 |
| 488 | GlFunction(Void, "glBlendFuncSeparate", [(GLenum, "sfactorRGB"), (GLenum, "dfactorRGB"), (GLenum, "sfactorAlpha"), (GLenum, "dfactorAlpha")]), |
José Fonseca | f01b7f5 | 2011-04-20 21:09:28 +0100 | [diff] [blame] | 489 | GlFunction(Void, "glMultiDrawArrays", [(GLenum_mode, "mode"), (Const(Array(GLint, "primcount")), "first"), (Const(Array(GLsizei, "primcount")), "count"), (GLsizei, "primcount")]), |
| 490 | GlFunction(Void, "glMultiDrawElements", [(GLenum_mode, "mode"), (Const(Array(GLsizei, "primcount")), "count"), (GLenum, "type"), (Array(Opaque("const GLvoid *"), "primcount"), "indices"), (GLsizei, "primcount")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 491 | GlFunction(Void, "glPointParameterf", [(GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 492 | GlFunction(Void, "glPointParameterfv", [(GLenum, "pname"), (Const(Array(GLfloat, "__glPointParameterfv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 493 | GlFunction(Void, "glPointParameteri", [(GLenum, "pname"), (GLint, "param")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 494 | GlFunction(Void, "glPointParameteriv", [(GLenum, "pname"), (Const(Array(GLint, "__glPointParameteriv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 495 | |
| 496 | # GL_VERSION_1_4_DEPRECATED |
| 497 | GlFunction(Void, "glFogCoordf", [(GLfloat, "coord")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 498 | GlFunction(Void, "glFogCoordfv", [(Const(Pointer(GLfloat)), "coord")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 499 | GlFunction(Void, "glFogCoordd", [(GLdouble, "coord")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 500 | GlFunction(Void, "glFogCoorddv", [(Const(Pointer(GLdouble)), "coord")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 501 | GlFunction(Void, "glFogCoordPointer", [(GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 502 | GlFunction(Void, "glSecondaryColor3b", [(GLbyte, "red"), (GLbyte, "green"), (GLbyte, "blue")]), |
| 503 | GlFunction(Void, "glSecondaryColor3bv", [(Const(Array(GLbyte, "3")), "v")]), |
| 504 | GlFunction(Void, "glSecondaryColor3d", [(GLdouble, "red"), (GLdouble, "green"), (GLdouble, "blue")]), |
| 505 | GlFunction(Void, "glSecondaryColor3dv", [(Const(Array(GLdouble, "3")), "v")]), |
| 506 | GlFunction(Void, "glSecondaryColor3f", [(GLfloat, "red"), (GLfloat, "green"), (GLfloat, "blue")]), |
| 507 | GlFunction(Void, "glSecondaryColor3fv", [(Const(Array(GLfloat, "3")), "v")]), |
| 508 | GlFunction(Void, "glSecondaryColor3i", [(GLint, "red"), (GLint, "green"), (GLint, "blue")]), |
| 509 | GlFunction(Void, "glSecondaryColor3iv", [(Const(Array(GLint, "3")), "v")]), |
| 510 | GlFunction(Void, "glSecondaryColor3s", [(GLshort, "red"), (GLshort, "green"), (GLshort, "blue")]), |
| 511 | GlFunction(Void, "glSecondaryColor3sv", [(Const(Array(GLshort, "3")), "v")]), |
| 512 | GlFunction(Void, "glSecondaryColor3ub", [(GLubyte, "red"), (GLubyte, "green"), (GLubyte, "blue")]), |
| 513 | GlFunction(Void, "glSecondaryColor3ubv", [(Const(Array(GLubyte, "3")), "v")]), |
| 514 | GlFunction(Void, "glSecondaryColor3ui", [(GLuint, "red"), (GLuint, "green"), (GLuint, "blue")]), |
| 515 | GlFunction(Void, "glSecondaryColor3uiv", [(Const(Array(GLuint, "3")), "v")]), |
| 516 | GlFunction(Void, "glSecondaryColor3us", [(GLushort, "red"), (GLushort, "green"), (GLushort, "blue")]), |
| 517 | GlFunction(Void, "glSecondaryColor3usv", [(Const(Array(GLushort, "3")), "v")]), |
| 518 | GlFunction(Void, "glSecondaryColorPointer", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 519 | GlFunction(Void, "glWindowPos2d", [(GLdouble, "x"), (GLdouble, "y")]), |
| 520 | GlFunction(Void, "glWindowPos2dv", [(Const(Array(GLdouble, "2")), "v")]), |
| 521 | GlFunction(Void, "glWindowPos2f", [(GLfloat, "x"), (GLfloat, "y")]), |
| 522 | GlFunction(Void, "glWindowPos2fv", [(Const(Array(GLfloat, "2")), "v")]), |
| 523 | GlFunction(Void, "glWindowPos2i", [(GLint, "x"), (GLint, "y")]), |
| 524 | GlFunction(Void, "glWindowPos2iv", [(Const(Array(GLint, "2")), "v")]), |
| 525 | GlFunction(Void, "glWindowPos2s", [(GLshort, "x"), (GLshort, "y")]), |
| 526 | GlFunction(Void, "glWindowPos2sv", [(Const(Array(GLshort, "2")), "v")]), |
| 527 | GlFunction(Void, "glWindowPos3d", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 528 | GlFunction(Void, "glWindowPos3dv", [(Const(Array(GLdouble, "3")), "v")]), |
| 529 | GlFunction(Void, "glWindowPos3f", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 530 | GlFunction(Void, "glWindowPos3fv", [(Const(Array(GLfloat, "3")), "v")]), |
| 531 | GlFunction(Void, "glWindowPos3i", [(GLint, "x"), (GLint, "y"), (GLint, "z")]), |
| 532 | GlFunction(Void, "glWindowPos3iv", [(Const(Array(GLint, "3")), "v")]), |
| 533 | GlFunction(Void, "glWindowPos3s", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), |
| 534 | GlFunction(Void, "glWindowPos3sv", [(Const(Array(GLshort, "3")), "v")]), |
| 535 | |
| 536 | # GL_VERSION_1_5 |
| 537 | GlFunction(Void, "glGenQueries", [(GLsizei, "n"), Out(Array(GLquery, "n"), "ids")]), |
| 538 | GlFunction(Void, "glDeleteQueries", [(GLsizei, "n"), (Const(Array(GLquery, "n")), "ids")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 539 | GlFunction(GLboolean, "glIsQuery", [(GLquery, "id")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 540 | GlFunction(Void, "glBeginQuery", [(GLenum, "target"), (GLquery, "id")]), |
| 541 | GlFunction(Void, "glEndQuery", [(GLenum, "target")]), |
Zack Rusin | aa76b0e | 2011-04-27 10:07:37 -0400 | [diff] [blame] | 542 | GlFunction(Void, "glGetQueryiv", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__glGetQueryivARB_size(pname)"), "params")], sideeffects=False), |
| 543 | GlFunction(Void, "glGetQueryObjectiv", [(GLquery, "id"), (GLenum, "pname"), Out(Array(GLint, "__glGetQueryObjectivARB_size(pname)"), "params")], sideeffects=False), |
| 544 | GlFunction(Void, "glGetQueryObjectuiv", [(GLquery, "id"), (GLenum, "pname"), Out(Array(GLuint, "__glGetQueryObjectuivARB_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 545 | GlFunction(Void, "glBindBuffer", [(GLenum, "target"), (GLbuffer, "buffer")]), |
| 546 | GlFunction(Void, "glDeleteBuffers", [(GLsizei, "n"), (Const(Array(GLbuffer, "n")), "buffer")]), |
| 547 | GlFunction(Void, "glGenBuffers", [(GLsizei, "n"), Out(Array(GLbuffer, "n"), "buffer")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 548 | GlFunction(GLboolean, "glIsBuffer", [(GLbuffer, "buffer")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 549 | GlFunction(Void, "glBufferData", [(GLenum, "target"), (GLsizeiptr, "size"), (Blob(Const(GLvoid), "size"), "data"), (GLenum, "usage")]), |
| 550 | GlFunction(Void, "glBufferSubData", [(GLenum, "target"), (GLintptr, "offset"), (GLsizeiptr, "size"), (Blob(Const(GLvoid), "size"), "data")]), |
| 551 | GlFunction(Void, "glGetBufferSubData", [(GLenum, "target"), (GLintptr, "offset"), (GLsizeiptr, "size"), Out(Blob(GLvoid, "size"), "data")], sideeffects=False), |
José Fonseca | 867b1b7 | 2011-04-24 11:58:04 +0100 | [diff] [blame] | 552 | GlFunction(GLmap, "glMapBuffer", [(GLenum, "target"), (GLenum, "access")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 553 | GlFunction(GLboolean, "glUnmapBuffer", [(GLenum, "target")]), |
José Fonseca | 867b1b7 | 2011-04-24 11:58:04 +0100 | [diff] [blame] | 554 | GlFunction(Void, "glGetBufferParameteriv", [(GLenum, "target"), (GLenum, "pname"), (Pointer(GLint), "params")], sideeffects=False), |
| 555 | GlFunction(Void, "glGetBufferPointerv", [(GLenum, "target"), (GLenum, "pname"), (Pointer(OpaquePointer(GLvoid)), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 556 | |
| 557 | # GL_VERSION_2_0 |
| 558 | GlFunction(Void, "glBlendEquationSeparate", [(GLenum, "modeRGB"), (GLenum, "modeAlpha")]), |
| 559 | GlFunction(Void, "glDrawBuffers", [(GLsizei, "n"), (Const(Array(GLenum, "n")), "bufs")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 560 | GlFunction(Void, "glStencilOpSeparate", [(GLenum, "face"), (GLenum, "sfail"), (GLenum, "dpfail"), (GLenum, "dppass")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 561 | GlFunction(Void, "glStencilFuncSeparate", [(GLenum, "face"), (GLenum, "func"), (GLint, "ref"), (GLuint, "mask")]), |
| 562 | GlFunction(Void, "glStencilMaskSeparate", [(GLenum, "face"), (GLuint, "mask")]), |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 563 | GlFunction(Void, "glAttachShader", [(GLprogram, "program"), (GLshader, "shader")]), |
| 564 | GlFunction(Void, "glBindAttribLocation", [(GLprogram, "program"), (GLuint, "index"), (Const(GLstring), "name")]), |
| 565 | GlFunction(Void, "glCompileShader", [(GLshader, "shader")]), |
| 566 | GlFunction(GLprogram, "glCreateProgram", []), |
| 567 | GlFunction(GLshader, "glCreateShader", [(GLenum, "type")]), |
| 568 | GlFunction(Void, "glDeleteProgram", [(GLprogram, "program")]), |
| 569 | GlFunction(Void, "glDeleteShader", [(GLshader, "shader")]), |
| 570 | GlFunction(Void, "glDetachShader", [(GLprogram, "program"), (GLshader, "shader")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 571 | GlFunction(Void, "glDisableVertexAttribArray", [(GLuint, "index")]), |
| 572 | GlFunction(Void, "glEnableVertexAttribArray", [(GLuint, "index")]), |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 573 | 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), |
| 574 | 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), |
| 575 | GlFunction(Void, "glGetAttachedShaders", [(GLprogram, "program"), (GLsizei, "maxCount"), Out(Pointer(GLsizei), "count"), Out(Array(GLuint, "maxCount"), "obj")], sideeffects=False), |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 576 | GlFunction(GLlocation, "glGetAttribLocation", [(GLprogram, "program"), (Const(GLstring), "name")]), |
José Fonseca | f0d90a0 | 2010-11-30 16:09:44 +0000 | [diff] [blame] | 577 | GlFunction(Void, "glGetProgramiv", [(GLprogram, "program"), (GLenum, "pname"), Out(Pointer(GLint), "params")], sideeffects=False), |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 578 | GlFunction(Void, "glGetProgramInfoLog", [(GLprogram, "program"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(GLstring, "infoLog")], sideeffects=False), |
José Fonseca | f0d90a0 | 2010-11-30 16:09:44 +0000 | [diff] [blame] | 579 | GlFunction(Void, "glGetShaderiv", [(GLshader, "shader"), (GLenum, "pname"), Out(Pointer(GLint), "params")], sideeffects=False), |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 580 | GlFunction(Void, "glGetShaderInfoLog", [(GLshader, "shader"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(GLstring, "infoLog")], sideeffects=False), |
| 581 | GlFunction(Void, "glGetShaderSource", [(GLshader, "shader"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(String("GLchar *", "*length"), "source")], sideeffects=False), |
José Fonseca | 23b5043 | 2010-11-30 20:50:36 +0000 | [diff] [blame] | 582 | GlFunction(GLlocation, "glGetUniformLocation", [(GLprogram, "program"), (Const(GLstring), "name")]), |
| 583 | GlFunction(Void, "glGetUniformfv", [(GLprogram, "program"), (GLlocation, "location"), Out(OpaquePointer(GLfloat), "params")], sideeffects=False), |
| 584 | GlFunction(Void, "glGetUniformiv", [(GLprogram, "program"), (GLlocation, "location"), Out(OpaquePointer(GLint), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 585 | GlFunction(Void, "glGetVertexAttribdv", [(GLuint, "index"), (GLenum, "pname"), Out(Array(GLdouble, "4"), "params")], sideeffects=False), |
| 586 | GlFunction(Void, "glGetVertexAttribfv", [(GLuint, "index"), (GLenum, "pname"), Out(Array(GLfloat, "4"), "params")], sideeffects=False), |
| 587 | 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] | 588 | GlFunction(Void, "glGetVertexAttribPointerv", [(GLuint, "index"), (GLenum, "pname"), Out(Pointer(OpaquePointer(GLvoid)), "pointer")], sideeffects=False), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 589 | GlFunction(GLboolean, "glIsProgram", [(GLprogram, "program")], sideeffects=False), |
| 590 | GlFunction(GLboolean, "glIsShader", [(GLshader, "shader")], sideeffects=False), |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 591 | GlFunction(Void, "glLinkProgram", [(GLprogram, "program")]), |
| 592 | GlFunction(Void, "glShaderSource", [(GLshader, "shader"), (GLsizei, "count"), (Const(Array(Const(GLstringARB), "count")), "string"), (Const(Array(GLint, "count")), "length")]), |
| 593 | GlFunction(Void, "glUseProgram", [(GLprogram, "program")]), |
José Fonseca | 23b5043 | 2010-11-30 20:50:36 +0000 | [diff] [blame] | 594 | GlFunction(Void, "glUniform1f", [(GLlocation, "location"), (GLfloat, "v0")]), |
| 595 | GlFunction(Void, "glUniform2f", [(GLlocation, "location"), (GLfloat, "v0"), (GLfloat, "v1")]), |
| 596 | GlFunction(Void, "glUniform3f", [(GLlocation, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2")]), |
| 597 | GlFunction(Void, "glUniform4f", [(GLlocation, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2"), (GLfloat, "v3")]), |
| 598 | GlFunction(Void, "glUniform1i", [(GLlocation, "location"), (GLint, "v0")]), |
| 599 | GlFunction(Void, "glUniform2i", [(GLlocation, "location"), (GLint, "v0"), (GLint, "v1")]), |
| 600 | GlFunction(Void, "glUniform3i", [(GLlocation, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2")]), |
| 601 | GlFunction(Void, "glUniform4i", [(GLlocation, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2"), (GLint, "v3")]), |
| 602 | GlFunction(Void, "glUniform1fv", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "count")), "value")]), |
José Fonseca | 1bc09d0 | 2011-03-23 19:39:11 +0000 | [diff] [blame] | 603 | GlFunction(Void, "glUniform2fv", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "count*2")), "value")]), |
| 604 | GlFunction(Void, "glUniform3fv", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "count*3")), "value")]), |
| 605 | GlFunction(Void, "glUniform4fv", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "count*4")), "value")]), |
José Fonseca | 23b5043 | 2010-11-30 20:50:36 +0000 | [diff] [blame] | 606 | GlFunction(Void, "glUniform1iv", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLint, "count")), "value")]), |
José Fonseca | 1bc09d0 | 2011-03-23 19:39:11 +0000 | [diff] [blame] | 607 | GlFunction(Void, "glUniform2iv", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLint, "count*2")), "value")]), |
| 608 | GlFunction(Void, "glUniform3iv", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLint, "count*3")), "value")]), |
| 609 | GlFunction(Void, "glUniform4iv", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLint, "count*4")), "value")]), |
| 610 | GlFunction(Void, "glUniformMatrix2fv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count*2*2")), "value")]), |
| 611 | GlFunction(Void, "glUniformMatrix3fv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count*3*3")), "value")]), |
| 612 | GlFunction(Void, "glUniformMatrix4fv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count*4*4")), "value")]), |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 613 | GlFunction(Void, "glValidateProgram", [(GLprogram, "program")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 614 | GlFunction(Void, "glVertexAttrib1d", [(GLuint, "index"), (GLdouble, "x")]), |
| 615 | GlFunction(Void, "glVertexAttrib1dv", [(GLuint, "index"), (Const(Pointer(GLdouble)), "v")]), |
| 616 | GlFunction(Void, "glVertexAttrib1f", [(GLuint, "index"), (GLfloat, "x")]), |
| 617 | GlFunction(Void, "glVertexAttrib1fv", [(GLuint, "index"), (Const(Pointer(GLfloat)), "v")]), |
| 618 | GlFunction(Void, "glVertexAttrib1s", [(GLuint, "index"), (GLshort, "x")]), |
| 619 | GlFunction(Void, "glVertexAttrib1sv", [(GLuint, "index"), (Const(Pointer(GLshort)), "v")]), |
| 620 | GlFunction(Void, "glVertexAttrib2d", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y")]), |
| 621 | GlFunction(Void, "glVertexAttrib2dv", [(GLuint, "index"), (Const(Array(GLdouble, "2")), "v")]), |
| 622 | GlFunction(Void, "glVertexAttrib2f", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y")]), |
| 623 | GlFunction(Void, "glVertexAttrib2fv", [(GLuint, "index"), (Const(Array(GLfloat, "2")), "v")]), |
| 624 | GlFunction(Void, "glVertexAttrib2s", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y")]), |
| 625 | GlFunction(Void, "glVertexAttrib2sv", [(GLuint, "index"), (Const(Array(GLshort, "2")), "v")]), |
| 626 | GlFunction(Void, "glVertexAttrib3d", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 627 | GlFunction(Void, "glVertexAttrib3dv", [(GLuint, "index"), (Const(Array(GLdouble, "3")), "v")]), |
| 628 | GlFunction(Void, "glVertexAttrib3f", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 629 | GlFunction(Void, "glVertexAttrib3fv", [(GLuint, "index"), (Const(Array(GLfloat, "3")), "v")]), |
| 630 | GlFunction(Void, "glVertexAttrib3s", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), |
| 631 | GlFunction(Void, "glVertexAttrib3sv", [(GLuint, "index"), (Const(Array(GLshort, "3")), "v")]), |
| 632 | GlFunction(Void, "glVertexAttrib4Nbv", [(GLuint, "index"), (Const(Array(GLbyte, "4")), "v")]), |
| 633 | GlFunction(Void, "glVertexAttrib4Niv", [(GLuint, "index"), (Const(Array(GLint, "4")), "v")]), |
| 634 | GlFunction(Void, "glVertexAttrib4Nsv", [(GLuint, "index"), (Const(Array(GLshort, "4")), "v")]), |
| 635 | GlFunction(Void, "glVertexAttrib4Nub", [(GLuint, "index"), (GLubyte, "x"), (GLubyte, "y"), (GLubyte, "z"), (GLubyte, "w")]), |
| 636 | GlFunction(Void, "glVertexAttrib4Nubv", [(GLuint, "index"), (Const(Array(GLubyte, "4")), "v")]), |
| 637 | GlFunction(Void, "glVertexAttrib4Nuiv", [(GLuint, "index"), (Const(Array(GLuint, "4")), "v")]), |
| 638 | GlFunction(Void, "glVertexAttrib4Nusv", [(GLuint, "index"), (Const(Array(GLushort, "4")), "v")]), |
| 639 | GlFunction(Void, "glVertexAttrib4bv", [(GLuint, "index"), (Const(Array(GLbyte, "4")), "v")]), |
| 640 | GlFunction(Void, "glVertexAttrib4d", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 641 | GlFunction(Void, "glVertexAttrib4dv", [(GLuint, "index"), (Const(Array(GLdouble, "4")), "v")]), |
| 642 | GlFunction(Void, "glVertexAttrib4f", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 643 | GlFunction(Void, "glVertexAttrib4fv", [(GLuint, "index"), (Const(Array(GLfloat, "4")), "v")]), |
| 644 | GlFunction(Void, "glVertexAttrib4iv", [(GLuint, "index"), (Const(Array(GLint, "4")), "v")]), |
| 645 | GlFunction(Void, "glVertexAttrib4s", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]), |
| 646 | GlFunction(Void, "glVertexAttrib4sv", [(GLuint, "index"), (Const(Array(GLshort, "4")), "v")]), |
| 647 | GlFunction(Void, "glVertexAttrib4ubv", [(GLuint, "index"), (Const(Array(GLubyte, "4")), "v")]), |
| 648 | GlFunction(Void, "glVertexAttrib4uiv", [(GLuint, "index"), (Const(Array(GLuint, "4")), "v")]), |
| 649 | GlFunction(Void, "glVertexAttrib4usv", [(GLuint, "index"), (Const(Array(GLushort, "4")), "v")]), |
| 650 | GlFunction(Void, "glVertexAttribPointer", [(GLuint, "index"), (GLint, "size"), (GLenum, "type"), (GLboolean, "normalized"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 651 | |
| 652 | # GL_VERSION_2_1 |
José Fonseca | 1bc09d0 | 2011-03-23 19:39:11 +0000 | [diff] [blame] | 653 | GlFunction(Void, "glUniformMatrix2x3fv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "2*3")), "value")]), |
| 654 | GlFunction(Void, "glUniformMatrix3x2fv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "3*2")), "value")]), |
| 655 | GlFunction(Void, "glUniformMatrix2x4fv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "2*4")), "value")]), |
| 656 | GlFunction(Void, "glUniformMatrix4x2fv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "4*2")), "value")]), |
| 657 | GlFunction(Void, "glUniformMatrix3x4fv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "3*4")), "value")]), |
| 658 | GlFunction(Void, "glUniformMatrix4x3fv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "4*3")), "value")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 659 | |
José Fonseca | 2acb730 | 2010-11-30 16:34:00 +0000 | [diff] [blame] | 660 | # GL_VERSION_3_0 |
| 661 | GlFunction(Void, "glColorMaski", [(GLuint, "index"), (GLboolean, "r"), (GLboolean, "g"), (GLboolean, "b"), (GLboolean, "a")]), |
| 662 | GlFunction(Void, "glGetBooleani_v", [(GLenum, "target"), (GLuint, "index"), Out(OpaqueArray(GLboolean, "__glGetBooleani_v_size(target)"), "data")], sideeffects=False), |
| 663 | GlFunction(Void, "glGetIntegeri_v", [(GLenum, "target"), (GLuint, "index"), Out(OpaqueArray(GLint, "__glGetIntegeri_v_size(target)"), "data")], sideeffects=False), |
| 664 | GlFunction(Void, "glEnablei", [(GLenum, "target"), (GLuint, "index")]), |
| 665 | GlFunction(Void, "glDisablei", [(GLenum, "target"), (GLuint, "index")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 666 | GlFunction(GLboolean, "glIsEnabledi", [(GLenum, "target"), (GLuint, "index")], sideeffects=False), |
José Fonseca | 2acb730 | 2010-11-30 16:34:00 +0000 | [diff] [blame] | 667 | GlFunction(Void, "glBeginTransformFeedback", [(GLenum, "primitiveMode")]), |
| 668 | GlFunction(Void, "glEndTransformFeedback", []), |
| 669 | GlFunction(Void, "glBindBufferRange", [(GLenum, "target"), (GLuint, "index"), (GLuint, "buffer"), (GLintptr, "offset"), (GLsizeiptr, "size")]), |
| 670 | GlFunction(Void, "glBindBufferBase", [(GLenum, "target"), (GLuint, "index"), (GLuint, "buffer")]), |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 671 | GlFunction(Void, "glTransformFeedbackVaryings", [(GLprogram, "program"), (GLsizei, "count"), (Const(Array(Const(GLstring), "count")), "varyings"), (GLenum, "bufferMode")]), |
| 672 | GlFunction(Void, "glGetTransformFeedbackVarying", [(GLprogram, "program"), (GLuint, "index"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(Pointer(GLsizei), "size"), Out(Pointer(GLenum), "type"), Out(GLstring, "name")], sideeffects=False), |
José Fonseca | 2acb730 | 2010-11-30 16:34:00 +0000 | [diff] [blame] | 673 | GlFunction(Void, "glClampColor", [(GLenum, "target"), (GLenum, "clamp")]), |
| 674 | GlFunction(Void, "glBeginConditionalRender", [(GLuint, "id"), (GLenum, "mode")]), |
| 675 | GlFunction(Void, "glEndConditionalRender", []), |
| 676 | GlFunction(Void, "glVertexAttribIPointer", [(GLuint, "index"), (GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 677 | GlFunction(Void, "glGetVertexAttribIiv", [(GLuint, "index"), (GLenum, "pname"), Out(Pointer(GLint), "params")], sideeffects=False), |
| 678 | GlFunction(Void, "glGetVertexAttribIuiv", [(GLuint, "index"), (GLenum, "pname"), Out(Pointer(GLuint), "params")], sideeffects=False), |
| 679 | GlFunction(Void, "glVertexAttribI1i", [(GLuint, "index"), (GLint, "x")]), |
| 680 | GlFunction(Void, "glVertexAttribI2i", [(GLuint, "index"), (GLint, "x"), (GLint, "y")]), |
| 681 | GlFunction(Void, "glVertexAttribI3i", [(GLuint, "index"), (GLint, "x"), (GLint, "y"), (GLint, "z")]), |
| 682 | GlFunction(Void, "glVertexAttribI4i", [(GLuint, "index"), (GLint, "x"), (GLint, "y"), (GLint, "z"), (GLint, "w")]), |
| 683 | GlFunction(Void, "glVertexAttribI1ui", [(GLuint, "index"), (GLuint, "x")]), |
| 684 | GlFunction(Void, "glVertexAttribI2ui", [(GLuint, "index"), (GLuint, "x"), (GLuint, "y")]), |
| 685 | GlFunction(Void, "glVertexAttribI3ui", [(GLuint, "index"), (GLuint, "x"), (GLuint, "y"), (GLuint, "z")]), |
| 686 | GlFunction(Void, "glVertexAttribI4ui", [(GLuint, "index"), (GLuint, "x"), (GLuint, "y"), (GLuint, "z"), (GLuint, "w")]), |
| 687 | GlFunction(Void, "glVertexAttribI1iv", [(GLuint, "index"), (Const(Pointer(GLint)), "v")]), |
| 688 | GlFunction(Void, "glVertexAttribI2iv", [(GLuint, "index"), (Const(Array(GLint, "2")), "v")]), |
| 689 | GlFunction(Void, "glVertexAttribI3iv", [(GLuint, "index"), (Const(Array(GLint, "3")), "v")]), |
| 690 | GlFunction(Void, "glVertexAttribI4iv", [(GLuint, "index"), (Const(Array(GLint, "4")), "v")]), |
| 691 | GlFunction(Void, "glVertexAttribI1uiv", [(GLuint, "index"), (Const(Pointer(GLuint)), "v")]), |
| 692 | GlFunction(Void, "glVertexAttribI2uiv", [(GLuint, "index"), (Const(Array(GLuint, "2")), "v")]), |
| 693 | GlFunction(Void, "glVertexAttribI3uiv", [(GLuint, "index"), (Const(Array(GLuint, "3")), "v")]), |
| 694 | GlFunction(Void, "glVertexAttribI4uiv", [(GLuint, "index"), (Const(Array(GLuint, "4")), "v")]), |
| 695 | GlFunction(Void, "glVertexAttribI4bv", [(GLuint, "index"), (Const(Array(GLbyte, "4")), "v")]), |
| 696 | GlFunction(Void, "glVertexAttribI4sv", [(GLuint, "index"), (Const(Array(GLshort, "4")), "v")]), |
| 697 | GlFunction(Void, "glVertexAttribI4ubv", [(GLuint, "index"), (Const(Array(GLubyte, "4")), "v")]), |
| 698 | GlFunction(Void, "glVertexAttribI4usv", [(GLuint, "index"), (Const(Array(GLushort, "4")), "v")]), |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 699 | GlFunction(Void, "glGetUniformuiv", [(GLprogram, "program"), (GLlocation, "location"), Out(OpaqueArray(GLuint, "__glGetUniformuiv_size(program, location)"), "params")], sideeffects=False), |
| 700 | GlFunction(Void, "glBindFragDataLocation", [(GLprogram, "program"), (GLuint, "color"), (Const(GLstring), "name")]), |
| 701 | GlFunction(GLlocation, "glGetFragDataLocation", [(GLprogram, "program"), (Const(GLstring), "name")]), |
José Fonseca | 23b5043 | 2010-11-30 20:50:36 +0000 | [diff] [blame] | 702 | GlFunction(Void, "glUniform1ui", [(GLlocation, "location"), (GLuint, "v0")]), |
| 703 | GlFunction(Void, "glUniform2ui", [(GLlocation, "location"), (GLuint, "v0"), (GLuint, "v1")]), |
| 704 | GlFunction(Void, "glUniform3ui", [(GLlocation, "location"), (GLuint, "v0"), (GLuint, "v1"), (GLuint, "v2")]), |
| 705 | GlFunction(Void, "glUniform4ui", [(GLlocation, "location"), (GLuint, "v0"), (GLuint, "v1"), (GLuint, "v2"), (GLuint, "v3")]), |
| 706 | GlFunction(Void, "glUniform1uiv", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLuint, "count")), "value")]), |
| 707 | GlFunction(Void, "glUniform2uiv", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLuint, "count*2")), "value")]), |
| 708 | GlFunction(Void, "glUniform3uiv", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLuint, "count*3")), "value")]), |
| 709 | GlFunction(Void, "glUniform4uiv", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLuint, "count*4")), "value")]), |
José Fonseca | 2acb730 | 2010-11-30 16:34:00 +0000 | [diff] [blame] | 710 | GlFunction(Void, "glTexParameterIiv", [(GLenum, "target"), (GLenum, "pname"), (Const(OpaqueArray(GLint, "__glTexParameterIiv_size(pname)")), "params")]), |
| 711 | GlFunction(Void, "glTexParameterIuiv", [(GLenum, "target"), (GLenum, "pname"), (Const(OpaqueArray(GLuint, "__glTexParameterIuiv_size(pname)")), "params")]), |
| 712 | GlFunction(Void, "glGetTexParameterIiv", [(GLenum, "target"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetTexParameterIiv_size(pname)"), "params")], sideeffects=False), |
| 713 | GlFunction(Void, "glGetTexParameterIuiv", [(GLenum, "target"), (GLenum, "pname"), Out(OpaqueArray(GLuint, "__glGetTexParameterIuiv_size(pname)"), "params")], sideeffects=False), |
| 714 | GlFunction(Void, "glClearBufferiv", [(GLenum, "buffer"), (GLint, "drawbuffer"), (Const(OpaqueArray(GLint, "__glClearBufferiv_size(buffer)")), "value")]), |
| 715 | GlFunction(Void, "glClearBufferuiv", [(GLenum, "buffer"), (GLint, "drawbuffer"), (Const(OpaqueArray(GLuint, "__glClearBufferuiv_size(buffer)")), "value")]), |
| 716 | GlFunction(Void, "glClearBufferfv", [(GLenum, "buffer"), (GLint, "drawbuffer"), (Const(OpaqueArray(GLfloat, "__glClearBufferfv_size(buffer)")), "value")]), |
| 717 | GlFunction(Void, "glClearBufferfi", [(GLenum, "buffer"), (GLint, "drawbuffer"), (GLfloat, "depth"), (GLint, "stencil")]), |
José Fonseca | a3b3d86 | 2011-05-08 10:45:05 +0100 | [diff] [blame] | 718 | GlFunction(String("const GLubyte *"), "glGetStringi", [(GLenum, "name"), (GLuint, "index")], sideeffects=False), |
José Fonseca | 2acb730 | 2010-11-30 16:34:00 +0000 | [diff] [blame] | 719 | |
| 720 | # GL_VERSION_3_1 |
José Fonseca | 5c749e3 | 2011-05-09 11:11:37 +0100 | [diff] [blame] | 721 | GlFunction(Void, "glDrawArraysInstanced", [(GLenum_mode, "mode"), (GLint, "first"), (GLsizei, "count"), (GLsizei, "primcount")]), |
| 722 | GlFunction(Void, "glDrawElementsInstanced", [(GLenum_mode, "mode"), (GLsizei, "count"), (GLenum, "type"), (OpaquePointer(Const(GLvoid)), "indices"), (GLsizei, "primcount")]), |
José Fonseca | 2acb730 | 2010-11-30 16:34:00 +0000 | [diff] [blame] | 723 | GlFunction(Void, "glTexBuffer", [(GLenum, "target"), (GLenum, "internalformat"), (GLuint, "buffer")]), |
| 724 | GlFunction(Void, "glPrimitiveRestartIndex", [(GLuint, "index")]), |
| 725 | |
| 726 | # GL_VERSION_3_2 |
| 727 | GlFunction(Void, "glGetInteger64i_v", [(GLenum, "target"), (GLuint, "index"), Out(OpaqueArray(GLint64, "__glGetInteger64i_v_size(target)"), "data")], sideeffects=False), |
| 728 | GlFunction(Void, "glGetBufferParameteri64v", [(GLenum, "target"), (GLenum, "pname"), Out(OpaqueArray(GLint64, "__glGetBufferParameteri64v_size(pname)"), "params")], sideeffects=False), |
| 729 | GlFunction(Void, "glFramebufferTexture", [(GLenum, "target"), (GLenum, "attachment"), (GLuint, "texture"), (GLint, "level")]), |
| 730 | |
| 731 | # GL_VERSION_3_3 |
| 732 | GlFunction(Void, "glVertexAttribDivisor", [(GLuint, "index"), (GLuint, "divisor")]), |
| 733 | |
| 734 | # GL_VERSION_4_0 |
| 735 | GlFunction(Void, "glMinSampleShading", [(GLclampf, "value")]), |
| 736 | GlFunction(Void, "glBlendEquationi", [(GLuint, "buf"), (GLenum, "mode")]), |
| 737 | GlFunction(Void, "glBlendEquationSeparatei", [(GLuint, "buf"), (GLenum, "modeRGB"), (GLenum, "modeAlpha")]), |
| 738 | GlFunction(Void, "glBlendFunci", [(GLuint, "buf"), (GLenum, "src"), (GLenum, "dst")]), |
| 739 | GlFunction(Void, "glBlendFuncSeparatei", [(GLuint, "buf"), (GLenum, "srcRGB"), (GLenum, "dstRGB"), (GLenum, "srcAlpha"), (GLenum, "dstAlpha")]), |
| 740 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 741 | # GL_ARB_multitexture |
| 742 | GlFunction(Void, "glActiveTextureARB", [(GLenum, "texture")]), |
| 743 | GlFunction(Void, "glClientActiveTextureARB", [(GLenum, "texture")]), |
| 744 | GlFunction(Void, "glMultiTexCoord1dARB", [(GLenum, "target"), (GLdouble, "s")]), |
| 745 | GlFunction(Void, "glMultiTexCoord1dvARB", [(GLenum, "target"), (Const(Pointer(GLdouble)), "v")]), |
| 746 | GlFunction(Void, "glMultiTexCoord1fARB", [(GLenum, "target"), (GLfloat, "s")]), |
| 747 | GlFunction(Void, "glMultiTexCoord1fvARB", [(GLenum, "target"), (Const(Pointer(GLfloat)), "v")]), |
| 748 | GlFunction(Void, "glMultiTexCoord1iARB", [(GLenum, "target"), (GLint, "s")]), |
| 749 | GlFunction(Void, "glMultiTexCoord1ivARB", [(GLenum, "target"), (Const(Pointer(GLint)), "v")]), |
| 750 | GlFunction(Void, "glMultiTexCoord1sARB", [(GLenum, "target"), (GLshort, "s")]), |
| 751 | GlFunction(Void, "glMultiTexCoord1svARB", [(GLenum, "target"), (Const(Pointer(GLshort)), "v")]), |
| 752 | GlFunction(Void, "glMultiTexCoord2dARB", [(GLenum, "target"), (GLdouble, "s"), (GLdouble, "t")]), |
| 753 | GlFunction(Void, "glMultiTexCoord2dvARB", [(GLenum, "target"), (Const(Array(GLdouble, "2")), "v")]), |
| 754 | GlFunction(Void, "glMultiTexCoord2fARB", [(GLenum, "target"), (GLfloat, "s"), (GLfloat, "t")]), |
| 755 | GlFunction(Void, "glMultiTexCoord2fvARB", [(GLenum, "target"), (Const(Array(GLfloat, "2")), "v")]), |
| 756 | GlFunction(Void, "glMultiTexCoord2iARB", [(GLenum, "target"), (GLint, "s"), (GLint, "t")]), |
| 757 | GlFunction(Void, "glMultiTexCoord2ivARB", [(GLenum, "target"), (Const(Array(GLint, "2")), "v")]), |
| 758 | GlFunction(Void, "glMultiTexCoord2sARB", [(GLenum, "target"), (GLshort, "s"), (GLshort, "t")]), |
| 759 | GlFunction(Void, "glMultiTexCoord2svARB", [(GLenum, "target"), (Const(Array(GLshort, "2")), "v")]), |
| 760 | GlFunction(Void, "glMultiTexCoord3dARB", [(GLenum, "target"), (GLdouble, "s"), (GLdouble, "t"), (GLdouble, "r")]), |
| 761 | GlFunction(Void, "glMultiTexCoord3dvARB", [(GLenum, "target"), (Const(Array(GLdouble, "3")), "v")]), |
| 762 | GlFunction(Void, "glMultiTexCoord3fARB", [(GLenum, "target"), (GLfloat, "s"), (GLfloat, "t"), (GLfloat, "r")]), |
| 763 | GlFunction(Void, "glMultiTexCoord3fvARB", [(GLenum, "target"), (Const(Array(GLfloat, "3")), "v")]), |
| 764 | GlFunction(Void, "glMultiTexCoord3iARB", [(GLenum, "target"), (GLint, "s"), (GLint, "t"), (GLint, "r")]), |
| 765 | GlFunction(Void, "glMultiTexCoord3ivARB", [(GLenum, "target"), (Const(Array(GLint, "3")), "v")]), |
| 766 | GlFunction(Void, "glMultiTexCoord3sARB", [(GLenum, "target"), (GLshort, "s"), (GLshort, "t"), (GLshort, "r")]), |
| 767 | GlFunction(Void, "glMultiTexCoord3svARB", [(GLenum, "target"), (Const(Array(GLshort, "3")), "v")]), |
| 768 | GlFunction(Void, "glMultiTexCoord4dARB", [(GLenum, "target"), (GLdouble, "s"), (GLdouble, "t"), (GLdouble, "r"), (GLdouble, "q")]), |
| 769 | GlFunction(Void, "glMultiTexCoord4dvARB", [(GLenum, "target"), (Const(Array(GLdouble, "4")), "v")]), |
| 770 | GlFunction(Void, "glMultiTexCoord4fARB", [(GLenum, "target"), (GLfloat, "s"), (GLfloat, "t"), (GLfloat, "r"), (GLfloat, "q")]), |
| 771 | GlFunction(Void, "glMultiTexCoord4fvARB", [(GLenum, "target"), (Const(Array(GLfloat, "4")), "v")]), |
| 772 | GlFunction(Void, "glMultiTexCoord4iARB", [(GLenum, "target"), (GLint, "s"), (GLint, "t"), (GLint, "r"), (GLint, "q")]), |
| 773 | GlFunction(Void, "glMultiTexCoord4ivARB", [(GLenum, "target"), (Const(Array(GLint, "4")), "v")]), |
| 774 | GlFunction(Void, "glMultiTexCoord4sARB", [(GLenum, "target"), (GLshort, "s"), (GLshort, "t"), (GLshort, "r"), (GLshort, "q")]), |
| 775 | GlFunction(Void, "glMultiTexCoord4svARB", [(GLenum, "target"), (Const(Array(GLshort, "4")), "v")]), |
| 776 | |
| 777 | # GL_ARB_transpose_matrix |
| 778 | GlFunction(Void, "glLoadTransposeMatrixfARB", [(Const(Array(GLfloat, "16")), "m")]), |
| 779 | GlFunction(Void, "glLoadTransposeMatrixdARB", [(Const(Array(GLdouble, "16")), "m")]), |
| 780 | GlFunction(Void, "glMultTransposeMatrixfARB", [(Const(Array(GLfloat, "16")), "m")]), |
| 781 | GlFunction(Void, "glMultTransposeMatrixdARB", [(Const(Array(GLdouble, "16")), "m")]), |
| 782 | |
| 783 | # GL_ARB_multisample |
| 784 | GlFunction(Void, "glSampleCoverageARB", [(GLclampf, "value"), (GLboolean, "invert")]), |
| 785 | |
| 786 | # GL_ARB_texture_compression |
Zack Rusin | 7b9afef | 2011-04-25 20:50:39 -0400 | [diff] [blame] | 787 | GlFunction(Void, "glCompressedTexImage3DARB", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLint, "border"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "data")]), |
| 788 | GlFunction(Void, "glCompressedTexImage2DARB", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLint, "border"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "data")]), |
| 789 | GlFunction(Void, "glCompressedTexImage1DARB", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLint, "border"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "data")]), |
| 790 | GlFunction(Void, "glCompressedTexSubImage3DARB", [(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")]), |
| 791 | GlFunction(Void, "glCompressedTexSubImage2DARB", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "data")]), |
| 792 | GlFunction(Void, "glCompressedTexSubImage1DARB", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLsizei, "width"), (GLenum, "format"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "data")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 793 | GlFunction(Void, "glGetCompressedTexImageARB", [(GLenum, "target"), (GLint, "level"), Out(OpaquePointer(GLvoid), "img")], sideeffects=False), |
| 794 | |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 795 | # GL_ARB_point_parameters |
| 796 | GlFunction(Void, "glPointParameterfARB", [(GLenum, "pname"), (GLfloat, "param")]), |
| 797 | GlFunction(Void, "glPointParameterfvARB", [(GLenum, "pname"), (Const(Array(GLfloat, "__glPointParameterfvARB_size(pname)")), "params")]), |
| 798 | |
José Fonseca | e075d2b | 2010-11-30 09:44:27 +0000 | [diff] [blame] | 799 | # GL_ARB_vertex_blend |
| 800 | GlFunction(Void, "glWeightbvARB", [(GLint, "size"), (Const(Array(GLbyte, "size")), "weights")]), |
| 801 | GlFunction(Void, "glWeightsvARB", [(GLint, "size"), (Const(Array(GLshort, "size")), "weights")]), |
| 802 | GlFunction(Void, "glWeightivARB", [(GLint, "size"), (Const(Array(GLint, "size")), "weights")]), |
| 803 | GlFunction(Void, "glWeightfvARB", [(GLint, "size"), (Const(Array(GLfloat, "size")), "weights")]), |
| 804 | GlFunction(Void, "glWeightdvARB", [(GLint, "size"), (Const(Array(GLdouble, "size")), "weights")]), |
| 805 | GlFunction(Void, "glWeightubvARB", [(GLint, "size"), (Const(Array(GLubyte, "size")), "weights")]), |
| 806 | GlFunction(Void, "glWeightusvARB", [(GLint, "size"), (Const(Array(GLushort, "size")), "weights")]), |
| 807 | GlFunction(Void, "glWeightuivARB", [(GLint, "size"), (Const(Array(GLuint, "size")), "weights")]), |
| 808 | GlFunction(Void, "glWeightPointerARB", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 809 | GlFunction(Void, "glVertexBlendARB", [(GLint, "count")]), |
| 810 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 811 | # GL_ARB_matrix_palette |
| 812 | GlFunction(Void, "glCurrentPaletteMatrixARB", [(GLint, "index")]), |
| 813 | GlFunction(Void, "glMatrixIndexubvARB", [(GLint, "size"), (Const(Array(GLubyte, "size")), "indices")]), |
| 814 | GlFunction(Void, "glMatrixIndexusvARB", [(GLint, "size"), (Const(Array(GLushort, "size")), "indices")]), |
| 815 | GlFunction(Void, "glMatrixIndexuivARB", [(GLint, "size"), (Const(Array(GLuint, "size")), "indices")]), |
| 816 | GlFunction(Void, "glMatrixIndexPointerARB", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 817 | |
| 818 | # GL_ARB_window_pos |
| 819 | GlFunction(Void, "glWindowPos2dARB", [(GLdouble, "x"), (GLdouble, "y")]), |
| 820 | GlFunction(Void, "glWindowPos2dvARB", [(Const(Array(GLdouble, "2")), "v")]), |
| 821 | GlFunction(Void, "glWindowPos2fARB", [(GLfloat, "x"), (GLfloat, "y")]), |
| 822 | GlFunction(Void, "glWindowPos2fvARB", [(Const(Array(GLfloat, "2")), "v")]), |
| 823 | GlFunction(Void, "glWindowPos2iARB", [(GLint, "x"), (GLint, "y")]), |
| 824 | GlFunction(Void, "glWindowPos2ivARB", [(Const(Array(GLint, "2")), "v")]), |
| 825 | GlFunction(Void, "glWindowPos2sARB", [(GLshort, "x"), (GLshort, "y")]), |
| 826 | GlFunction(Void, "glWindowPos2svARB", [(Const(Array(GLshort, "2")), "v")]), |
| 827 | GlFunction(Void, "glWindowPos3dARB", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 828 | GlFunction(Void, "glWindowPos3dvARB", [(Const(Array(GLdouble, "3")), "v")]), |
| 829 | GlFunction(Void, "glWindowPos3fARB", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 830 | GlFunction(Void, "glWindowPos3fvARB", [(Const(Array(GLfloat, "3")), "v")]), |
| 831 | GlFunction(Void, "glWindowPos3iARB", [(GLint, "x"), (GLint, "y"), (GLint, "z")]), |
| 832 | GlFunction(Void, "glWindowPos3ivARB", [(Const(Array(GLint, "3")), "v")]), |
| 833 | GlFunction(Void, "glWindowPos3sARB", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), |
| 834 | GlFunction(Void, "glWindowPos3svARB", [(Const(Array(GLshort, "3")), "v")]), |
| 835 | |
| 836 | # GL_ARB_vertex_program |
| 837 | GlFunction(Void, "glVertexAttrib1dARB", [(GLuint, "index"), (GLdouble, "x")]), |
| 838 | GlFunction(Void, "glVertexAttrib1dvARB", [(GLuint, "index"), (Const(Pointer(GLdouble)), "v")]), |
| 839 | GlFunction(Void, "glVertexAttrib1fARB", [(GLuint, "index"), (GLfloat, "x")]), |
| 840 | GlFunction(Void, "glVertexAttrib1fvARB", [(GLuint, "index"), (Const(Pointer(GLfloat)), "v")]), |
| 841 | GlFunction(Void, "glVertexAttrib1sARB", [(GLuint, "index"), (GLshort, "x")]), |
| 842 | GlFunction(Void, "glVertexAttrib1svARB", [(GLuint, "index"), (Const(Pointer(GLshort)), "v")]), |
| 843 | GlFunction(Void, "glVertexAttrib2dARB", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y")]), |
| 844 | GlFunction(Void, "glVertexAttrib2dvARB", [(GLuint, "index"), (Const(Array(GLdouble, "2")), "v")]), |
| 845 | GlFunction(Void, "glVertexAttrib2fARB", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y")]), |
| 846 | GlFunction(Void, "glVertexAttrib2fvARB", [(GLuint, "index"), (Const(Array(GLfloat, "2")), "v")]), |
| 847 | GlFunction(Void, "glVertexAttrib2sARB", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y")]), |
| 848 | GlFunction(Void, "glVertexAttrib2svARB", [(GLuint, "index"), (Const(Array(GLshort, "2")), "v")]), |
| 849 | GlFunction(Void, "glVertexAttrib3dARB", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 850 | GlFunction(Void, "glVertexAttrib3dvARB", [(GLuint, "index"), (Const(Array(GLdouble, "3")), "v")]), |
| 851 | GlFunction(Void, "glVertexAttrib3fARB", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 852 | GlFunction(Void, "glVertexAttrib3fvARB", [(GLuint, "index"), (Const(Array(GLfloat, "3")), "v")]), |
| 853 | GlFunction(Void, "glVertexAttrib3sARB", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), |
| 854 | GlFunction(Void, "glVertexAttrib3svARB", [(GLuint, "index"), (Const(Array(GLshort, "3")), "v")]), |
| 855 | GlFunction(Void, "glVertexAttrib4NbvARB", [(GLuint, "index"), (Const(Array(GLbyte, "4")), "v")]), |
| 856 | GlFunction(Void, "glVertexAttrib4NivARB", [(GLuint, "index"), (Const(Array(GLint, "4")), "v")]), |
| 857 | GlFunction(Void, "glVertexAttrib4NsvARB", [(GLuint, "index"), (Const(Array(GLshort, "4")), "v")]), |
| 858 | GlFunction(Void, "glVertexAttrib4NubARB", [(GLuint, "index"), (GLubyte, "x"), (GLubyte, "y"), (GLubyte, "z"), (GLubyte, "w")]), |
| 859 | GlFunction(Void, "glVertexAttrib4NubvARB", [(GLuint, "index"), (Const(Array(GLubyte, "4")), "v")]), |
| 860 | GlFunction(Void, "glVertexAttrib4NuivARB", [(GLuint, "index"), (Const(Array(GLuint, "4")), "v")]), |
| 861 | GlFunction(Void, "glVertexAttrib4NusvARB", [(GLuint, "index"), (Const(Array(GLushort, "4")), "v")]), |
| 862 | GlFunction(Void, "glVertexAttrib4bvARB", [(GLuint, "index"), (Const(Array(GLbyte, "4")), "v")]), |
| 863 | GlFunction(Void, "glVertexAttrib4dARB", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 864 | GlFunction(Void, "glVertexAttrib4dvARB", [(GLuint, "index"), (Const(Array(GLdouble, "4")), "v")]), |
| 865 | GlFunction(Void, "glVertexAttrib4fARB", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 866 | GlFunction(Void, "glVertexAttrib4fvARB", [(GLuint, "index"), (Const(Array(GLfloat, "4")), "v")]), |
| 867 | GlFunction(Void, "glVertexAttrib4ivARB", [(GLuint, "index"), (Const(Array(GLint, "4")), "v")]), |
| 868 | GlFunction(Void, "glVertexAttrib4sARB", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]), |
| 869 | GlFunction(Void, "glVertexAttrib4svARB", [(GLuint, "index"), (Const(Array(GLshort, "4")), "v")]), |
| 870 | GlFunction(Void, "glVertexAttrib4ubvARB", [(GLuint, "index"), (Const(Array(GLubyte, "4")), "v")]), |
| 871 | GlFunction(Void, "glVertexAttrib4uivARB", [(GLuint, "index"), (Const(Array(GLuint, "4")), "v")]), |
| 872 | GlFunction(Void, "glVertexAttrib4usvARB", [(GLuint, "index"), (Const(Array(GLushort, "4")), "v")]), |
| 873 | GlFunction(Void, "glVertexAttribPointerARB", [(GLuint, "index"), (GLint, "size"), (GLenum, "type"), (GLboolean, "normalized"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 874 | GlFunction(Void, "glEnableVertexAttribArrayARB", [(GLuint, "index")]), |
| 875 | GlFunction(Void, "glDisableVertexAttribArrayARB", [(GLuint, "index")]), |
| 876 | 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] | 877 | GlFunction(Void, "glBindProgramARB", [(GLenum, "target"), (GLprogramARB, "program")]), |
| 878 | GlFunction(Void, "glDeleteProgramsARB", [(GLsizei, "n"), (Const(Array(GLprogramARB, "n")), "programs")]), |
| 879 | GlFunction(Void, "glGenProgramsARB", [(GLsizei, "n"), Out(Array(GLprogramARB, "n"), "programs")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 880 | GlFunction(Void, "glProgramEnvParameter4dARB", [(GLenum, "target"), (GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 881 | GlFunction(Void, "glProgramEnvParameter4dvARB", [(GLenum, "target"), (GLuint, "index"), (Const(Array(GLdouble, "4")), "params")]), |
| 882 | GlFunction(Void, "glProgramEnvParameter4fARB", [(GLenum, "target"), (GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 883 | GlFunction(Void, "glProgramEnvParameter4fvARB", [(GLenum, "target"), (GLuint, "index"), (Const(Array(GLfloat, "4")), "params")]), |
| 884 | GlFunction(Void, "glProgramLocalParameter4dARB", [(GLenum, "target"), (GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 885 | GlFunction(Void, "glProgramLocalParameter4dvARB", [(GLenum, "target"), (GLuint, "index"), (Const(Array(GLdouble, "4")), "params")]), |
| 886 | GlFunction(Void, "glProgramLocalParameter4fARB", [(GLenum, "target"), (GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 887 | GlFunction(Void, "glProgramLocalParameter4fvARB", [(GLenum, "target"), (GLuint, "index"), (Const(Array(GLfloat, "4")), "params")]), |
| 888 | GlFunction(Void, "glGetProgramEnvParameterdvARB", [(GLenum, "target"), (GLuint, "index"), Out(Array(GLdouble, "4"), "params")], sideeffects=False), |
| 889 | GlFunction(Void, "glGetProgramEnvParameterfvARB", [(GLenum, "target"), (GLuint, "index"), Out(Array(GLfloat, "4"), "params")], sideeffects=False), |
| 890 | GlFunction(Void, "glGetProgramLocalParameterdvARB", [(GLenum, "target"), (GLuint, "index"), Out(Array(GLdouble, "4"), "params")], sideeffects=False), |
| 891 | GlFunction(Void, "glGetProgramLocalParameterfvARB", [(GLenum, "target"), (GLuint, "index"), Out(Array(GLfloat, "4"), "params")], sideeffects=False), |
| 892 | GlFunction(Void, "glGetProgramivARB", [(GLenum, "target"), (GLenum, "pname"), Out(Pointer(GLint), "params")], sideeffects=False), |
| 893 | GlFunction(Void, "glGetProgramStringARB", [(GLenum, "target"), (GLenum, "pname"), Out(OpaquePointer(GLvoid), "string")], sideeffects=False), |
| 894 | GlFunction(Void, "glGetVertexAttribdvARB", [(GLuint, "index"), (GLenum, "pname"), Out(Array(GLdouble, "4"), "params")], sideeffects=False), |
| 895 | GlFunction(Void, "glGetVertexAttribfvARB", [(GLuint, "index"), (GLenum, "pname"), Out(Array(GLfloat, "4"), "params")], sideeffects=False), |
| 896 | 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] | 897 | GlFunction(Void, "glGetVertexAttribPointervARB", [(GLuint, "index"), (GLenum, "pname"), Out(Pointer(OpaquePointer(GLvoid)), "pointer")], sideeffects=False), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 898 | GlFunction(GLboolean, "glIsProgramARB", [(GLprogramARB, "program")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 899 | |
| 900 | # GL_ARB_vertex_buffer_object |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 901 | GlFunction(Void, "glBindBufferARB", [(GLenum, "target"), (GLbuffer, "buffer")]), |
| 902 | GlFunction(Void, "glDeleteBuffersARB", [(GLsizei, "n"), (Const(Array(GLbuffer, "n")), "buffers")]), |
| 903 | GlFunction(Void, "glGenBuffersARB", [(GLsizei, "n"), Out(Array(GLbuffer, "n"), "buffers")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 904 | GlFunction(GLboolean, "glIsBufferARB", [(GLbuffer, "buffer")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 905 | GlFunction(Void, "glBufferDataARB", [(GLenum, "target"), (GLsizeiptrARB, "size"), (Const(Blob(GLvoid, "size")), "data"), (GLenum, "usage")]), |
| 906 | GlFunction(Void, "glBufferSubDataARB", [(GLenum, "target"), (GLintptrARB, "offset"), (GLsizeiptrARB, "size"), (Const(Blob(GLvoid, "size")), "data")]), |
| 907 | GlFunction(Void, "glGetBufferSubDataARB", [(GLenum, "target"), (GLintptrARB, "offset"), (GLsizeiptrARB, "size"), Out(Blob(GLvoid, "size"), "data")], sideeffects=False), |
José Fonseca | 867b1b7 | 2011-04-24 11:58:04 +0100 | [diff] [blame] | 908 | GlFunction(GLmap, "glMapBufferARB", [(GLenum, "target"), (GLenum, "access")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 909 | GlFunction(GLboolean, "glUnmapBufferARB", [(GLenum, "target")]), |
José Fonseca | 867b1b7 | 2011-04-24 11:58:04 +0100 | [diff] [blame] | 910 | GlFunction(Void, "glGetBufferParameterivARB", [(GLenum, "target"), (GLenum, "pname"), Out(Pointer(GLint), "params")], sideeffects=False), |
| 911 | GlFunction(Void, "glGetBufferPointervARB", [(GLenum, "target"), (GLenum, "pname"), Out(Pointer(OpaquePointer(GLvoid)), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 912 | |
| 913 | # GL_ARB_occlusion_query |
| 914 | GlFunction(Void, "glGenQueriesARB", [(GLsizei, "n"), Out(Array(GLquery, "n"), "ids")]), |
| 915 | GlFunction(Void, "glDeleteQueriesARB", [(GLsizei, "n"), (Const(Array(GLquery, "n")), "ids")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 916 | GlFunction(GLboolean, "glIsQueryARB", [(GLquery, "id")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 917 | GlFunction(Void, "glBeginQueryARB", [(GLenum, "target"), (GLquery, "id")]), |
| 918 | GlFunction(Void, "glEndQueryARB", [(GLenum, "target")]), |
Zack Rusin | aa76b0e | 2011-04-27 10:07:37 -0400 | [diff] [blame] | 919 | GlFunction(Void, "glGetQueryivARB", [(GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__glGetQueryivARB_size(pname)"), "params")], sideeffects=False), |
| 920 | GlFunction(Void, "glGetQueryObjectivARB", [(GLquery, "id"), (GLenum, "pname"), Out(Array(GLint, "__glGetQueryObjectivARB_size(pname)"), "params")], sideeffects=False), |
| 921 | GlFunction(Void, "glGetQueryObjectuivARB", [(GLquery, "id"), (GLenum, "pname"), Out(Array(GLuint, "__glGetQueryObjectuivARB_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 922 | |
| 923 | # GL_ARB_shader_objects |
| 924 | GlFunction(Void, "glDeleteObjectARB", [(GLhandleARB, "obj")]), |
| 925 | GlFunction(GLhandleARB, "glGetHandleARB", [(GLenum, "pname")], sideeffects=False), |
| 926 | GlFunction(Void, "glDetachObjectARB", [(GLhandleARB, "containerObj"), (GLhandleARB, "attachedObj")]), |
| 927 | GlFunction(GLhandleARB, "glCreateShaderObjectARB", [(GLenum, "shaderType")]), |
| 928 | GlFunction(Void, "glShaderSourceARB", [(GLhandleARB, "shaderObj"), (GLsizei, "count"), (Const(Array(Const(GLstringARB), "count")), "string"), (Const(Array(GLint, "count")), "length")]), |
| 929 | GlFunction(Void, "glCompileShaderARB", [(GLhandleARB, "shaderObj")]), |
| 930 | GlFunction(GLhandleARB, "glCreateProgramObjectARB", []), |
| 931 | GlFunction(Void, "glAttachObjectARB", [(GLhandleARB, "containerObj"), (GLhandleARB, "obj")]), |
| 932 | GlFunction(Void, "glLinkProgramARB", [(GLhandleARB, "programObj")]), |
| 933 | GlFunction(Void, "glUseProgramObjectARB", [(GLhandleARB, "programObj")]), |
| 934 | GlFunction(Void, "glValidateProgramARB", [(GLhandleARB, "programObj")]), |
José Fonseca | 23b5043 | 2010-11-30 20:50:36 +0000 | [diff] [blame] | 935 | GlFunction(Void, "glUniform1fARB", [(GLlocationARB, "location"), (GLfloat, "v0")]), |
| 936 | GlFunction(Void, "glUniform2fARB", [(GLlocationARB, "location"), (GLfloat, "v0"), (GLfloat, "v1")]), |
| 937 | GlFunction(Void, "glUniform3fARB", [(GLlocationARB, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2")]), |
| 938 | GlFunction(Void, "glUniform4fARB", [(GLlocationARB, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2"), (GLfloat, "v3")]), |
| 939 | GlFunction(Void, "glUniform1iARB", [(GLlocationARB, "location"), (GLint, "v0")]), |
| 940 | GlFunction(Void, "glUniform2iARB", [(GLlocationARB, "location"), (GLint, "v0"), (GLint, "v1")]), |
| 941 | GlFunction(Void, "glUniform3iARB", [(GLlocationARB, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2")]), |
| 942 | GlFunction(Void, "glUniform4iARB", [(GLlocationARB, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2"), (GLint, "v3")]), |
| 943 | GlFunction(Void, "glUniform1fvARB", [(GLlocationARB, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "count")), "value")]), |
| 944 | GlFunction(Void, "glUniform2fvARB", [(GLlocationARB, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "(2*count)")), "value")]), |
| 945 | GlFunction(Void, "glUniform3fvARB", [(GLlocationARB, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "(3*count)")), "value")]), |
| 946 | GlFunction(Void, "glUniform4fvARB", [(GLlocationARB, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "(4*count)")), "value")]), |
| 947 | GlFunction(Void, "glUniform1ivARB", [(GLlocationARB, "location"), (GLsizei, "count"), (Const(Array(GLint, "count")), "value")]), |
| 948 | GlFunction(Void, "glUniform2ivARB", [(GLlocationARB, "location"), (GLsizei, "count"), (Const(Array(GLint, "(2*count)")), "value")]), |
| 949 | GlFunction(Void, "glUniform3ivARB", [(GLlocationARB, "location"), (GLsizei, "count"), (Const(Array(GLint, "(3*count)")), "value")]), |
| 950 | GlFunction(Void, "glUniform4ivARB", [(GLlocationARB, "location"), (GLsizei, "count"), (Const(Array(GLint, "(4*count)")), "value")]), |
José Fonseca | 6cfffef | 2011-04-06 00:41:22 +0100 | [diff] [blame] | 951 | GlFunction(Void, "glUniformMatrix2fvARB", [(GLlocationARB, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count*2*2")), "value")]), |
| 952 | GlFunction(Void, "glUniformMatrix3fvARB", [(GLlocationARB, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count*3*3")), "value")]), |
| 953 | GlFunction(Void, "glUniformMatrix4fvARB", [(GLlocationARB, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count*4*4")), "value")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 954 | GlFunction(Void, "glGetObjectParameterfvARB", [(GLhandleARB, "obj"), (GLenum, "pname"), Out(OpaquePointer(GLfloat), "params")], sideeffects=False), |
| 955 | GlFunction(Void, "glGetObjectParameterivARB", [(GLhandleARB, "obj"), (GLenum, "pname"), Out(OpaquePointer(GLint), "params")], sideeffects=False), |
| 956 | GlFunction(Void, "glGetInfoLogARB", [(GLhandleARB, "obj"), (GLsizei, "maxLength"), Out(Pointer(GLsizei), "length"), Out(GLstringARB, "infoLog")], sideeffects=False), |
| 957 | GlFunction(Void, "glGetAttachedObjectsARB", [(GLhandleARB, "containerObj"), (GLsizei, "maxLength"), (OpaquePointer(GLsizei), "length"), (OpaquePointer(GLhandleARB), "infoLog")], sideeffects=False), |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 958 | GlFunction(GLlocationARB, "glGetUniformLocationARB", [(GLhandleARB, "programObj"), (Const(GLstringARB), "name")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 959 | 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), |
José Fonseca | 23b5043 | 2010-11-30 20:50:36 +0000 | [diff] [blame] | 960 | GlFunction(Void, "glGetUniformfvARB", [(GLhandleARB, "programObj"), (GLlocationARB, "location"), (OpaquePointer(GLfloat), "params")], sideeffects=False), |
| 961 | GlFunction(Void, "glGetUniformivARB", [(GLhandleARB, "programObj"), (GLlocationARB, "location"), (OpaquePointer(GLint), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 962 | GlFunction(Void, "glGetShaderSourceARB", [(GLhandleARB, "obj"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(GLstringARB, "source")], sideeffects=False), |
| 963 | |
| 964 | # GL_ARB_vertex_shader |
| 965 | GlFunction(Void, "glBindAttribLocationARB", [(GLhandleARB, "programObj"), (GLuint, "index"), (Const(GLstringARB), "name")]), |
| 966 | 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), |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 967 | GlFunction(GLlocationARB, "glGetAttribLocationARB", [(GLhandleARB, "programObj"), (Const(GLstringARB), "name")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 968 | |
| 969 | # GL_ARB_draw_buffers |
| 970 | GlFunction(Void, "glDrawBuffersARB", [(GLsizei, "n"), (Const(Array(GLenum, "n")), "bufs")]), |
| 971 | |
| 972 | # GL_ARB_color_buffer_float |
| 973 | GlFunction(Void, "glClampColorARB", [(GLenum, "target"), (GLenum, "clamp")]), |
| 974 | |
| 975 | # GL_ARB_draw_instanced |
José Fonseca | 5c749e3 | 2011-05-09 11:11:37 +0100 | [diff] [blame] | 976 | GlFunction(Void, "glDrawArraysInstancedARB", [(GLenum_mode, "mode"), (GLint, "first"), (GLsizei, "count"), (GLsizei, "primcount")]), |
| 977 | GlFunction(Void, "glDrawElementsInstancedARB", [(GLenum_mode, "mode"), (GLsizei, "count"), (GLenum, "type"), (OpaquePointer(Const(GLvoid)), "indices"), (GLsizei, "primcount")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 978 | |
| 979 | # GL_ARB_framebuffer_object |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 980 | GlFunction(GLboolean, "glIsRenderbuffer", [(GLrenderbuffer, "renderbuffer")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 981 | GlFunction(Void, "glBindRenderbuffer", [(GLenum, "target"), (GLrenderbuffer, "renderbuffer")]), |
| 982 | GlFunction(Void, "glDeleteRenderbuffers", [(GLsizei, "n"), (Const(Array(GLrenderbuffer, "n")), "renderbuffers")]), |
| 983 | GlFunction(Void, "glGenRenderbuffers", [(GLsizei, "n"), Out(Array(GLrenderbuffer, "n"), "renderbuffers")]), |
| 984 | GlFunction(Void, "glRenderbufferStorage", [(GLenum, "target"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height")]), |
| 985 | GlFunction(Void, "glGetRenderbufferParameteriv", [(GLenum, "target"), (GLenum, "pname"), (OpaquePointer(GLint), "params")], sideeffects=False), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 986 | GlFunction(GLboolean, "glIsFramebuffer", [(GLframebuffer, "framebuffer")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 987 | GlFunction(Void, "glBindFramebuffer", [(GLenum, "target"), (GLframebuffer, "framebuffer")]), |
| 988 | GlFunction(Void, "glDeleteFramebuffers", [(GLsizei, "n"), (Const(Array(GLframebuffer, "n")), "framebuffers")]), |
| 989 | GlFunction(Void, "glGenFramebuffers", [(GLsizei, "n"), Out(Array(GLframebuffer, "n"), "framebuffers")]), |
| 990 | GlFunction(GLenum, "glCheckFramebufferStatus", [(GLenum, "target")]), |
| 991 | GlFunction(Void, "glFramebufferTexture1D", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLtexture, "texture"), (GLint, "level")]), |
| 992 | GlFunction(Void, "glFramebufferTexture2D", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLtexture, "texture"), (GLint, "level")]), |
| 993 | GlFunction(Void, "glFramebufferTexture3D", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLtexture, "texture"), (GLint, "level"), (GLint, "zoffset")]), |
| 994 | GlFunction(Void, "glFramebufferRenderbuffer", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "renderbuffertarget"), (GLuint, "renderbuffer")]), |
José Fonseca | 0633bdf | 2010-11-25 14:54:14 +0000 | [diff] [blame] | 995 | 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] | 996 | GlFunction(Void, "glGenerateMipmap", [(GLenum, "target")]), |
| 997 | GlFunction(Void, "glBlitFramebuffer", [(GLint, "srcX0"), (GLint, "srcY0"), (GLint, "srcX1"), (GLint, "srcY1"), (GLint, "dstX0"), (GLint, "dstY0"), (GLint, "dstX1"), (GLint, "dstY1"), (GLbitfield_attrib, "mask"), (GLenum, "filter")]), |
| 998 | GlFunction(Void, "glRenderbufferStorageMultisample", [(GLenum, "target"), (GLsizei, "samples"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height")]), |
| 999 | GlFunction(Void, "glFramebufferTextureLayer", [(GLenum, "target"), (GLenum, "attachment"), (GLtexture, "texture"), (GLint, "level"), (GLint, "layer")]), |
| 1000 | |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1001 | # GL_ARB_geometry_shader4 |
| 1002 | GlFunction(Void, "glProgramParameteriARB", [(GLprogram, "program"), (GLenum, "pname"), (GLint, "value")]), |
| 1003 | GlFunction(Void, "glFramebufferTextureARB", [(GLenum, "target"), (GLenum, "attachment"), (GLtexture, "texture"), (GLint, "level")]), |
| 1004 | GlFunction(Void, "glFramebufferTextureLayerARB", [(GLenum, "target"), (GLenum, "attachment"), (GLtexture, "texture"), (GLint, "level"), (GLint, "layer")]), |
| 1005 | GlFunction(Void, "glFramebufferTextureFaceARB", [(GLenum, "target"), (GLenum, "attachment"), (GLtexture, "texture"), (GLint, "level"), (GLenum, "face")]), |
| 1006 | |
| 1007 | # GL_ARB_instanced_arrays |
| 1008 | GlFunction(Void, "glVertexAttribDivisorARB", [(GLuint, "index"), (GLuint, "divisor")]), |
| 1009 | |
| 1010 | # GL_ARB_map_buffer_range |
José Fonseca | 867b1b7 | 2011-04-24 11:58:04 +0100 | [diff] [blame] | 1011 | GlFunction(GLmap, "glMapBufferRange", [(GLenum, "target"), (GLintptr, "offset"), (GLsizeiptr, "length"), (GLbitfield, "access")]), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1012 | GlFunction(Void, "glFlushMappedBufferRange", [(GLenum, "target"), (GLintptr, "offset"), (GLsizeiptr, "length")]), |
| 1013 | |
| 1014 | # GL_ARB_texture_buffer_object |
| 1015 | GlFunction(Void, "glTexBufferARB", [(GLenum, "target"), (GLenum, "internalformat"), (GLuint, "buffer")]), |
| 1016 | |
| 1017 | # GL_ARB_vertex_array_object |
José Fonseca | 56139d1 | 2011-05-09 09:06:02 +0100 | [diff] [blame] | 1018 | GlFunction(Void, "glBindVertexArray", [(GLarray, "array")]), |
| 1019 | GlFunction(Void, "glDeleteVertexArrays", [(GLsizei, "n"), (Const(Array(GLarray, "n")), "arrays")]), |
| 1020 | GlFunction(Void, "glGenVertexArrays", [(GLsizei, "n"), Out(Array(GLarray, "n"), "arrays")]), |
| 1021 | GlFunction(GLboolean, "glIsVertexArray", [(GLarray, "array")], sideeffects=False), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1022 | |
| 1023 | # GL_ARB_uniform_buffer_object |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1024 | GlFunction(Void, "glGetUniformIndices", [(GLprogram, "program"), (GLsizei, "uniformCount"), (Const(Array(GLstring, "uniformCount")), "uniformNames"), Out(Array(GLuint, "uniformCount"), "uniformIndices")], sideeffects=False), |
| 1025 | GlFunction(Void, "glGetActiveUniformsiv", [(GLprogram, "program"), (GLsizei, "uniformCount"), (Const(Array(GLuint, "uniformCount")), "uniformIndices"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetActiveUniformsiv_size(pname)"), "params")], sideeffects=False), |
| 1026 | GlFunction(Void, "glGetActiveUniformName", [(GLprogram, "program"), (GLuint, "uniformIndex"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(Array(GLchar, "bufSize"), "uniformName")], sideeffects=False), |
| 1027 | GlFunction(GLuint, "glGetUniformBlockIndex", [(GLprogram, "program"), (Const(GLstring), "uniformBlockName")]), |
| 1028 | GlFunction(Void, "glGetActiveUniformBlockiv", [(GLprogram, "program"), (GLuint, "uniformBlockIndex"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetActiveUniformBlockiv_size(pname)"), "params")], sideeffects=False), |
| 1029 | GlFunction(Void, "glGetActiveUniformBlockName", [(GLprogram, "program"), (GLuint, "uniformBlockIndex"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(Array(GLchar, "bufSize"), "uniformBlockName")], sideeffects=False), |
| 1030 | GlFunction(Void, "glUniformBlockBinding", [(GLprogram, "program"), (GLuint, "uniformBlockIndex"), (GLuint, "uniformBlockBinding")]), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1031 | |
| 1032 | # GL_ARB_copy_buffer |
| 1033 | GlFunction(Void, "glCopyBufferSubData", [(GLenum, "readTarget"), (GLenum, "writeTarget"), (GLintptr, "readOffset"), (GLintptr, "writeOffset"), (GLsizeiptr, "size")]), |
| 1034 | |
| 1035 | # GL_ARB_draw_elements_base_vertex |
José Fonseca | 5c749e3 | 2011-05-09 11:11:37 +0100 | [diff] [blame] | 1036 | GlFunction(Void, "glDrawElementsBaseVertex", [(GLenum_mode, "mode"), (GLsizei, "count"), (GLenum, "type"), (OpaquePointer(Const(GLvoid)), "indices"), (GLint, "basevertex")]), |
| 1037 | GlFunction(Void, "glDrawRangeElementsBaseVertex", [(GLenum_mode, "mode"), (GLuint, "start"), (GLuint, "end"), (GLsizei, "count"), (GLenum, "type"), (OpaquePointer(Const(GLvoid)), "indices"), (GLint, "basevertex")]), |
| 1038 | GlFunction(Void, "glDrawElementsInstancedBaseVertex", [(GLenum_mode, "mode"), (GLsizei, "count"), (GLenum, "type"), (OpaquePointer(Const(GLvoid)), "indices"), (GLsizei, "primcount"), (GLint, "basevertex")]), |
| 1039 | GlFunction(Void, "glMultiDrawElementsBaseVertex", [(GLenum_mode, "mode"), (Const(Array(GLsizei, "primcount")), "count"), (GLenum, "type"), (Array(Opaque("const GLvoid *"), "primcount"), "indices"), (GLsizei, "primcount"), (Const(Array(GLint, "primcount")), "basevertex")]), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1040 | |
| 1041 | # GL_ARB_provoking_vertex |
| 1042 | GlFunction(Void, "glProvokingVertex", [(GLenum, "mode")]), |
| 1043 | |
| 1044 | # GL_ARB_sync |
José Fonseca | a10af89 | 2011-04-11 09:10:55 +0100 | [diff] [blame] | 1045 | GlFunction(GLsync, "glFenceSync", [(GLenum, "condition"), (GLbitfield, "flags")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 1046 | GlFunction(GLboolean, "glIsSync", [(GLsync, "sync")], sideeffects=False), |
José Fonseca | a10af89 | 2011-04-11 09:10:55 +0100 | [diff] [blame] | 1047 | GlFunction(Void, "glDeleteSync", [(GLsync, "sync")]), |
| 1048 | GlFunction(GLenum, "glClientWaitSync", [(GLsync, "sync"), (GLbitfield, "flags"), (GLuint64, "timeout")]), |
| 1049 | GlFunction(Void, "glWaitSync", [(GLsync, "sync"), (GLbitfield, "flags"), (GLuint64, "timeout")]), |
| 1050 | GlFunction(Void, "glGetInteger64v", [(GLenum, "pname"), Out(OpaqueArray(GLint64, "__glGetInteger64v_size(pname)"), "params")], sideeffects=False), |
| 1051 | GlFunction(Void, "glGetSynciv", [(GLsync, "sync"), (GLenum, "pname"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(Array(GLint, "(length ? *length : bufSize)"), "values")], sideeffects=False), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1052 | |
| 1053 | # GL_ARB_texture_multisample |
| 1054 | GlFunction(Void, "glTexImage2DMultisample", [(GLenum, "target"), (GLsizei, "samples"), (GLint, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLboolean, "fixedsamplelocations")]), |
| 1055 | GlFunction(Void, "glTexImage3DMultisample", [(GLenum, "target"), (GLsizei, "samples"), (GLint, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLboolean, "fixedsamplelocations")]), |
| 1056 | GlFunction(Void, "glGetMultisamplefv", [(GLenum, "pname"), (GLuint, "index"), Out(OpaqueArray(GLfloat, "__glGetMultisamplefv_size(pname)"), "val")], sideeffects=False), |
| 1057 | GlFunction(Void, "glSampleMaski", [(GLuint, "index"), (GLbitfield, "mask")]), |
| 1058 | |
| 1059 | # GL_ARB_draw_buffers_blend |
| 1060 | GlFunction(Void, "glBlendEquationiARB", [(GLuint, "buf"), (GLenum, "mode")]), |
| 1061 | GlFunction(Void, "glBlendEquationSeparateiARB", [(GLuint, "buf"), (GLenum, "modeRGB"), (GLenum, "modeAlpha")]), |
| 1062 | GlFunction(Void, "glBlendFunciARB", [(GLuint, "buf"), (GLenum, "src"), (GLenum, "dst")]), |
| 1063 | GlFunction(Void, "glBlendFuncSeparateiARB", [(GLuint, "buf"), (GLenum, "srcRGB"), (GLenum, "dstRGB"), (GLenum, "srcAlpha"), (GLenum, "dstAlpha")]), |
| 1064 | |
| 1065 | # GL_ARB_sample_shading |
| 1066 | GlFunction(Void, "glMinSampleShadingARB", [(GLclampf, "value")]), |
| 1067 | |
| 1068 | # GL_ARB_shading_language_include |
José Fonseca | 9955e98 | 2011-04-11 09:19:42 +0100 | [diff] [blame] | 1069 | GlFunction(Void, "glNamedStringARB", [(GLenum, "type"), (GLint, "namelen"), (Const(String('GLchar *', "namelen")), "name"), (GLint, "stringlen"), (Const(String('GLchar *', "stringlen")), "string")]), |
| 1070 | GlFunction(Void, "glDeleteNamedStringARB", [(GLint, "namelen"), (Const(String('GLchar *', "namelen")), "name")]), |
José Fonseca | a3b3d86 | 2011-05-08 10:45:05 +0100 | [diff] [blame] | 1071 | GlFunction(Void, "glCompileShaderIncludeARB", [(GLuint, "shader"), (GLsizei, "count"), (Array(String("const GLchar *"), "count"), "path"), (Const(Array(GLint, "count")), "length")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 1072 | GlFunction(GLboolean, "glIsNamedStringARB", [(GLint, "namelen"), (Const(String('GLchar *', "namelen")), "name")], sideeffects=False), |
José Fonseca | 9955e98 | 2011-04-11 09:19:42 +0100 | [diff] [blame] | 1073 | GlFunction(Void, "glGetNamedStringARB", [(GLint, "namelen"), (Const(String('GLchar *', "namelen")), "name"), (GLsizei, "bufSize"), Out(Pointer(GLint), "stringlen"), Out(Array(GLchar, "bufSize"), "string")], sideeffects=False), |
| 1074 | GlFunction(Void, "glGetNamedStringivARB", [(GLint, "namelen"), (Const(String('GLchar *', "namelen")), "name"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetNamedStringivARB_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1075 | |
| 1076 | # GL_ARB_blend_func_extended |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1077 | GlFunction(Void, "glBindFragDataLocationIndexed", [(GLprogram, "program"), (GLuint, "colorNumber"), (GLuint, "index"), (Const(GLstring), "name")]), |
| 1078 | GlFunction(GLint, "glGetFragDataIndex", [(GLprogram, "program"), (Const(GLstring), "name")], sideeffects=False), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1079 | |
| 1080 | # GL_ARB_sampler_objects |
| 1081 | GlFunction(Void, "glGenSamplers", [(GLsizei, "count"), Out(Array(GLuint, "count"), "samplers")]), |
| 1082 | GlFunction(Void, "glDeleteSamplers", [(GLsizei, "count"), (Const(Array(GLuint, "count")), "samplers")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 1083 | GlFunction(GLboolean, "glIsSampler", [(GLuint, "sampler")], sideeffects=False), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1084 | GlFunction(Void, "glBindSampler", [(GLuint, "unit"), (GLuint, "sampler")]), |
| 1085 | GlFunction(Void, "glSamplerParameteri", [(GLuint, "sampler"), (GLenum, "pname"), (GLint, "param")]), |
| 1086 | GlFunction(Void, "glSamplerParameteriv", [(GLuint, "sampler"), (GLenum, "pname"), (Const(OpaqueArray(GLint, "__glSamplerParameteriv_size(pname)")), "param")]), |
| 1087 | GlFunction(Void, "glSamplerParameterf", [(GLuint, "sampler"), (GLenum, "pname"), (GLfloat, "param")]), |
| 1088 | GlFunction(Void, "glSamplerParameterfv", [(GLuint, "sampler"), (GLenum, "pname"), (Const(OpaqueArray(GLfloat, "__glSamplerParameterfv_size(pname)")), "param")]), |
| 1089 | GlFunction(Void, "glSamplerParameterIiv", [(GLuint, "sampler"), (GLenum, "pname"), (Const(OpaqueArray(GLint, "__glSamplerParameterIiv_size(pname)")), "param")]), |
| 1090 | GlFunction(Void, "glSamplerParameterIuiv", [(GLuint, "sampler"), (GLenum, "pname"), (Const(OpaqueArray(GLuint, "__glSamplerParameterIuiv_size(pname)")), "param")]), |
| 1091 | GlFunction(Void, "glGetSamplerParameteriv", [(GLuint, "sampler"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetSamplerParameteriv_size(pname)"), "params")], sideeffects=False), |
| 1092 | GlFunction(Void, "glGetSamplerParameterIiv", [(GLuint, "sampler"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetSamplerParameterIiv_size(pname)"), "params")], sideeffects=False), |
| 1093 | GlFunction(Void, "glGetSamplerParameterfv", [(GLuint, "sampler"), (GLenum, "pname"), Out(OpaqueArray(GLfloat, "__glGetSamplerParameterfv_size(pname)"), "params")], sideeffects=False), |
| 1094 | GlFunction(Void, "glGetSamplerParameterIuiv", [(GLuint, "sampler"), (GLenum, "pname"), Out(OpaqueArray(GLuint, "__glGetSamplerParameterIuiv_size(pname)"), "params")], sideeffects=False), |
| 1095 | |
| 1096 | # GL_ARB_timer_query |
| 1097 | GlFunction(Void, "glQueryCounter", [(GLuint, "id"), (GLenum, "target")]), |
Zack Rusin | aa76b0e | 2011-04-27 10:07:37 -0400 | [diff] [blame] | 1098 | GlFunction(Void, "glGetQueryObjecti64v", [(GLuint, "id"), (GLenum, "pname"), Out(OpaqueArray(GLint64, "__glGetQueryObjectivARB_size(pname)"), "params")], sideeffects=False), |
| 1099 | GlFunction(Void, "glGetQueryObjectui64v", [(GLuint, "id"), (GLenum, "pname"), Out(OpaqueArray(GLuint64, "__glGetQueryObjectuivARB_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1100 | |
| 1101 | # GL_ARB_vertex_type_2_10_10_10_rev |
| 1102 | GlFunction(Void, "glVertexP2ui", [(GLenum, "type"), (GLuint, "value")]), |
| 1103 | GlFunction(Void, "glVertexP2uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "value")]), |
| 1104 | GlFunction(Void, "glVertexP3ui", [(GLenum, "type"), (GLuint, "value")]), |
| 1105 | GlFunction(Void, "glVertexP3uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "value")]), |
| 1106 | GlFunction(Void, "glVertexP4ui", [(GLenum, "type"), (GLuint, "value")]), |
| 1107 | GlFunction(Void, "glVertexP4uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "value")]), |
| 1108 | GlFunction(Void, "glTexCoordP1ui", [(GLenum, "type"), (GLuint, "coords")]), |
| 1109 | GlFunction(Void, "glTexCoordP1uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1110 | GlFunction(Void, "glTexCoordP2ui", [(GLenum, "type"), (GLuint, "coords")]), |
| 1111 | GlFunction(Void, "glTexCoordP2uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1112 | GlFunction(Void, "glTexCoordP3ui", [(GLenum, "type"), (GLuint, "coords")]), |
| 1113 | GlFunction(Void, "glTexCoordP3uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1114 | GlFunction(Void, "glTexCoordP4ui", [(GLenum, "type"), (GLuint, "coords")]), |
| 1115 | GlFunction(Void, "glTexCoordP4uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1116 | GlFunction(Void, "glMultiTexCoordP1ui", [(GLenum, "texture"), (GLenum, "type"), (GLuint, "coords")]), |
| 1117 | GlFunction(Void, "glMultiTexCoordP1uiv", [(GLenum, "texture"), (GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1118 | GlFunction(Void, "glMultiTexCoordP2ui", [(GLenum, "texture"), (GLenum, "type"), (GLuint, "coords")]), |
| 1119 | GlFunction(Void, "glMultiTexCoordP2uiv", [(GLenum, "texture"), (GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1120 | GlFunction(Void, "glMultiTexCoordP3ui", [(GLenum, "texture"), (GLenum, "type"), (GLuint, "coords")]), |
| 1121 | GlFunction(Void, "glMultiTexCoordP3uiv", [(GLenum, "texture"), (GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1122 | GlFunction(Void, "glMultiTexCoordP4ui", [(GLenum, "texture"), (GLenum, "type"), (GLuint, "coords")]), |
| 1123 | GlFunction(Void, "glMultiTexCoordP4uiv", [(GLenum, "texture"), (GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1124 | GlFunction(Void, "glNormalP3ui", [(GLenum, "type"), (GLuint, "coords")]), |
| 1125 | GlFunction(Void, "glNormalP3uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "coords")]), |
| 1126 | GlFunction(Void, "glColorP3ui", [(GLenum, "type"), (GLuint, "color")]), |
| 1127 | GlFunction(Void, "glColorP3uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "color")]), |
| 1128 | GlFunction(Void, "glColorP4ui", [(GLenum, "type"), (GLuint, "color")]), |
| 1129 | GlFunction(Void, "glColorP4uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "color")]), |
| 1130 | GlFunction(Void, "glSecondaryColorP3ui", [(GLenum, "type"), (GLuint, "color")]), |
| 1131 | GlFunction(Void, "glSecondaryColorP3uiv", [(GLenum, "type"), (Const(Pointer(GLuint)), "color")]), |
| 1132 | GlFunction(Void, "glVertexAttribP1ui", [(GLuint, "index"), (GLenum, "type"), (GLboolean, "normalized"), (GLuint, "value")]), |
| 1133 | GlFunction(Void, "glVertexAttribP1uiv", [(GLuint, "index"), (GLenum, "type"), (GLboolean, "normalized"), (Const(Pointer(GLuint)), "value")]), |
| 1134 | GlFunction(Void, "glVertexAttribP2ui", [(GLuint, "index"), (GLenum, "type"), (GLboolean, "normalized"), (GLuint, "value")]), |
| 1135 | GlFunction(Void, "glVertexAttribP2uiv", [(GLuint, "index"), (GLenum, "type"), (GLboolean, "normalized"), (Const(Pointer(GLuint)), "value")]), |
| 1136 | GlFunction(Void, "glVertexAttribP3ui", [(GLuint, "index"), (GLenum, "type"), (GLboolean, "normalized"), (GLuint, "value")]), |
| 1137 | GlFunction(Void, "glVertexAttribP3uiv", [(GLuint, "index"), (GLenum, "type"), (GLboolean, "normalized"), (Const(Pointer(GLuint)), "value")]), |
| 1138 | GlFunction(Void, "glVertexAttribP4ui", [(GLuint, "index"), (GLenum, "type"), (GLboolean, "normalized"), (GLuint, "value")]), |
| 1139 | GlFunction(Void, "glVertexAttribP4uiv", [(GLuint, "index"), (GLenum, "type"), (GLboolean, "normalized"), (Const(Pointer(GLuint)), "value")]), |
| 1140 | |
| 1141 | # GL_ARB_draw_indirect |
José Fonseca | 5c749e3 | 2011-05-09 11:11:37 +0100 | [diff] [blame] | 1142 | GlFunction(Void, "glDrawArraysIndirect", [(GLenum_mode, "mode"), (Const(OpaquePointer(GLvoid)), "indirect")]), |
| 1143 | GlFunction(Void, "glDrawElementsIndirect", [(GLenum_mode, "mode"), (GLenum, "type"), (Const(OpaquePointer(GLvoid)), "indirect")]), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1144 | |
| 1145 | # GL_ARB_gpu_shader_fp64 |
José Fonseca | 23b5043 | 2010-11-30 20:50:36 +0000 | [diff] [blame] | 1146 | GlFunction(Void, "glUniform1d", [(GLlocation, "location"), (GLdouble, "x")]), |
| 1147 | GlFunction(Void, "glUniform2d", [(GLlocation, "location"), (GLdouble, "x"), (GLdouble, "y")]), |
| 1148 | GlFunction(Void, "glUniform3d", [(GLlocation, "location"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 1149 | GlFunction(Void, "glUniform4d", [(GLlocation, "location"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 1150 | GlFunction(Void, "glUniform1dv", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "count")), "value")]), |
José Fonseca | 1bc09d0 | 2011-03-23 19:39:11 +0000 | [diff] [blame] | 1151 | GlFunction(Void, "glUniform2dv", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "count*2")), "value")]), |
| 1152 | GlFunction(Void, "glUniform3dv", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "count*3")), "value")]), |
| 1153 | GlFunction(Void, "glUniform4dv", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "count*4")), "value")]), |
| 1154 | GlFunction(Void, "glUniformMatrix2dv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count*2*2")), "value")]), |
| 1155 | GlFunction(Void, "glUniformMatrix3dv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count*3*3")), "value")]), |
| 1156 | GlFunction(Void, "glUniformMatrix4dv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count*4*4")), "value")]), |
| 1157 | GlFunction(Void, "glUniformMatrix2x3dv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count*2*3")), "value")]), |
| 1158 | GlFunction(Void, "glUniformMatrix2x4dv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count*2*4")), "value")]), |
| 1159 | GlFunction(Void, "glUniformMatrix3x2dv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count*3*2")), "value")]), |
| 1160 | GlFunction(Void, "glUniformMatrix3x4dv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count*3*4")), "value")]), |
| 1161 | GlFunction(Void, "glUniformMatrix4x2dv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count*4*2")), "value")]), |
| 1162 | GlFunction(Void, "glUniformMatrix4x3dv", [(GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count*4*3")), "value")]), |
José Fonseca | 23b5043 | 2010-11-30 20:50:36 +0000 | [diff] [blame] | 1163 | GlFunction(Void, "glGetUniformdv", [(GLprogram, "program"), (GLlocation, "location"), Out(OpaqueArray(GLdouble, "__glGetUniformdv_size(location)"), "params")], sideeffects=False), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1164 | |
| 1165 | # GL_ARB_shader_subroutine |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1166 | GlFunction(GLlocation, "glGetSubroutineUniformLocation", [(GLprogram, "program"), (GLenum, "shadertype"), (Const(GLstring), "name")]), |
| 1167 | GlFunction(GLuint, "glGetSubroutineIndex", [(GLprogram, "program"), (GLenum, "shadertype"), (Const(GLstring), "name")]), |
| 1168 | GlFunction(Void, "glGetActiveSubroutineUniformiv", [(GLprogram, "program"), (GLenum, "shadertype"), (GLuint, "index"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetActiveSubroutineUniformiv_size(pname)"), "values")], sideeffects=False), |
| 1169 | GlFunction(Void, "glGetActiveSubroutineUniformName", [(GLprogram, "program"), (GLenum, "shadertype"), (GLuint, "index"), (GLsizei, "bufsize"), Out(Pointer(GLsizei), "length"), Out(Array(GLchar, "bufsize"), "name")], sideeffects=False), |
| 1170 | GlFunction(Void, "glGetActiveSubroutineName", [(GLprogram, "program"), (GLenum, "shadertype"), (GLuint, "index"), (GLsizei, "bufsize"), Out(Pointer(GLsizei), "length"), Out(Array(GLchar, "bufsize"), "name")], sideeffects=False), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1171 | GlFunction(Void, "glUniformSubroutinesuiv", [(GLenum, "shadertype"), (GLsizei, "count"), (Const(Array(GLuint, "count")), "indices")]), |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1172 | GlFunction(Void, "glGetUniformSubroutineuiv", [(GLenum, "shadertype"), (GLlocation, "location"), Out(Pointer(GLuint), "params")], sideeffects=False), |
| 1173 | GlFunction(Void, "glGetProgramStageiv", [(GLprogram, "program"), (GLenum, "shadertype"), (GLenum, "pname"), Out(Pointer(GLint), "values")], sideeffects=False), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1174 | |
| 1175 | # GL_ARB_tessellation_shader |
| 1176 | GlFunction(Void, "glPatchParameteri", [(GLenum, "pname"), (GLint, "value")]), |
| 1177 | GlFunction(Void, "glPatchParameterfv", [(GLenum, "pname"), (Const(OpaqueArray(GLfloat, "__glPatchParameterfv_size(pname)")), "values")]), |
| 1178 | |
| 1179 | # GL_ARB_transform_feedback2 |
| 1180 | GlFunction(Void, "glBindTransformFeedback", [(GLenum, "target"), (GLuint, "id")]), |
| 1181 | GlFunction(Void, "glDeleteTransformFeedbacks", [(GLsizei, "n"), (Const(Array(GLuint, "n")), "ids")]), |
| 1182 | GlFunction(Void, "glGenTransformFeedbacks", [(GLsizei, "n"), Out(Array(GLuint, "n"), "ids")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 1183 | GlFunction(GLboolean, "glIsTransformFeedback", [(GLuint, "id")], sideeffects=False), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1184 | GlFunction(Void, "glPauseTransformFeedback", []), |
| 1185 | GlFunction(Void, "glResumeTransformFeedback", []), |
| 1186 | GlFunction(Void, "glDrawTransformFeedback", [(GLenum, "mode"), (GLuint, "id")]), |
| 1187 | |
| 1188 | # GL_ARB_transform_feedback3 |
| 1189 | GlFunction(Void, "glDrawTransformFeedbackStream", [(GLenum, "mode"), (GLuint, "id"), (GLuint, "stream")]), |
| 1190 | GlFunction(Void, "glBeginQueryIndexed", [(GLenum, "target"), (GLuint, "index"), (GLuint, "id")]), |
| 1191 | GlFunction(Void, "glEndQueryIndexed", [(GLenum, "target"), (GLuint, "index")]), |
| 1192 | GlFunction(Void, "glGetQueryIndexediv", [(GLenum, "target"), (GLuint, "index"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetQueryIndexediv_size(pname)"), "params")], sideeffects=False), |
| 1193 | |
| 1194 | # GL_ARB_ES2_compatibility |
| 1195 | GlFunction(Void, "glReleaseShaderCompiler", []), |
| 1196 | GlFunction(Void, "glShaderBinary", [(GLsizei, "count"), (Const(Array(GLuint, "count")), "shaders"), (GLenum, "binaryformat"), (Const(Blob(GLvoid, "length")), "binary"), (GLsizei, "length")]), |
| 1197 | GlFunction(Void, "glGetShaderPrecisionFormat", [(GLenum, "shadertype"), (GLenum, "precisiontype"), Out(Array(GLint, "2"), "range"), Out(Array(GLint, "2"), "precision")], sideeffects=False), |
| 1198 | GlFunction(Void, "glDepthRangef", [(GLclampf, "n"), (GLclampf, "f")]), |
| 1199 | GlFunction(Void, "glClearDepthf", [(GLclampf, "d")]), |
| 1200 | |
| 1201 | # GL_ARB_get_program_binary |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1202 | GlFunction(Void, "glGetProgramBinary", [(GLprogram, "program"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(Pointer(GLenum), "binaryFormat"), Out(OpaqueArray(GLvoid, "__glGetProgramBinary_size(length)"), "binary")], sideeffects=False), |
| 1203 | GlFunction(Void, "glProgramBinary", [(GLprogram, "program"), (GLenum, "binaryFormat"), (Const(Blob(GLvoid, "length")), "binary"), (GLsizei, "length")]), |
| 1204 | GlFunction(Void, "glProgramParameteri", [(GLprogram, "program"), (GLenum, "pname"), (GLint, "value")]), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1205 | |
| 1206 | # GL_ARB_separate_shader_objects |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1207 | GlFunction(Void, "glUseProgramStages", [(GLpipeline, "pipeline"), (GLbitfield_shader, "stages"), (GLprogram, "program")]), |
| 1208 | GlFunction(Void, "glActiveShaderProgram", [(GLpipeline, "pipeline"), (GLprogram, "program")]), |
| 1209 | GlFunction(GLprogram, "glCreateShaderProgramv", [(GLenum, "type"), (GLsizei, "count"), (Const(Array(Const(GLstring), "count")), "strings")]), |
| 1210 | GlFunction(Void, "glBindProgramPipeline", [(GLpipeline, "pipeline")]), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1211 | GlFunction(Void, "glDeleteProgramPipelines", [(GLsizei, "n"), (Const(Array(GLuint, "n")), "pipelines")]), |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1212 | GlFunction(Void, "glGenProgramPipelines", [(GLsizei, "n"), Out(Array(GLpipeline, "n"), "pipelines")]), |
| 1213 | GlFunction(GLboolean, "glIsProgramPipeline", [(GLpipeline, "pipeline")], sideeffects=False), |
| 1214 | GlFunction(Void, "glGetProgramPipelineiv", [(GLpipeline, "pipeline"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetProgramPipelineiv_size(pname)"), "params")], sideeffects=False), |
| 1215 | GlFunction(Void, "glProgramUniform1i", [(GLprogram, "program"), (GLlocation, "location"), (GLint, "v0")]), |
| 1216 | GlFunction(Void, "glProgramUniform1iv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Pointer(GLint)), "value")]), |
| 1217 | GlFunction(Void, "glProgramUniform1f", [(GLprogram, "program"), (GLlocation, "location"), (GLfloat, "v0")]), |
| 1218 | GlFunction(Void, "glProgramUniform1fv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Pointer(GLfloat)), "value")]), |
| 1219 | GlFunction(Void, "glProgramUniform1d", [(GLprogram, "program"), (GLlocation, "location"), (GLdouble, "v0")]), |
| 1220 | GlFunction(Void, "glProgramUniform1dv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Pointer(GLdouble)), "value")]), |
| 1221 | GlFunction(Void, "glProgramUniform1ui", [(GLprogram, "program"), (GLlocation, "location"), (GLuint, "v0")]), |
| 1222 | GlFunction(Void, "glProgramUniform1uiv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Pointer(GLuint)), "value")]), |
| 1223 | GlFunction(Void, "glProgramUniform2i", [(GLprogram, "program"), (GLlocation, "location"), (GLint, "v0"), (GLint, "v1")]), |
| 1224 | GlFunction(Void, "glProgramUniform2iv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLint, "2")), "value")]), |
| 1225 | GlFunction(Void, "glProgramUniform2f", [(GLprogram, "program"), (GLlocation, "location"), (GLfloat, "v0"), (GLfloat, "v1")]), |
| 1226 | GlFunction(Void, "glProgramUniform2fv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "2")), "value")]), |
| 1227 | GlFunction(Void, "glProgramUniform2d", [(GLprogram, "program"), (GLlocation, "location"), (GLdouble, "v0"), (GLdouble, "v1")]), |
| 1228 | GlFunction(Void, "glProgramUniform2dv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "2")), "value")]), |
| 1229 | GlFunction(Void, "glProgramUniform2ui", [(GLprogram, "program"), (GLlocation, "location"), (GLuint, "v0"), (GLuint, "v1")]), |
| 1230 | GlFunction(Void, "glProgramUniform2uiv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLuint, "2")), "value")]), |
| 1231 | GlFunction(Void, "glProgramUniform3i", [(GLprogram, "program"), (GLlocation, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2")]), |
| 1232 | GlFunction(Void, "glProgramUniform3iv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLint, "3")), "value")]), |
| 1233 | GlFunction(Void, "glProgramUniform3f", [(GLprogram, "program"), (GLlocation, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2")]), |
| 1234 | GlFunction(Void, "glProgramUniform3fv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "3")), "value")]), |
| 1235 | GlFunction(Void, "glProgramUniform3d", [(GLprogram, "program"), (GLlocation, "location"), (GLdouble, "v0"), (GLdouble, "v1"), (GLdouble, "v2")]), |
| 1236 | GlFunction(Void, "glProgramUniform3dv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "3")), "value")]), |
| 1237 | GlFunction(Void, "glProgramUniform3ui", [(GLprogram, "program"), (GLlocation, "location"), (GLuint, "v0"), (GLuint, "v1"), (GLuint, "v2")]), |
| 1238 | GlFunction(Void, "glProgramUniform3uiv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLuint, "3")), "value")]), |
| 1239 | GlFunction(Void, "glProgramUniform4i", [(GLprogram, "program"), (GLlocation, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2"), (GLint, "v3")]), |
| 1240 | GlFunction(Void, "glProgramUniform4iv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLint, "4")), "value")]), |
| 1241 | GlFunction(Void, "glProgramUniform4f", [(GLprogram, "program"), (GLlocation, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2"), (GLfloat, "v3")]), |
| 1242 | GlFunction(Void, "glProgramUniform4fv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "4")), "value")]), |
| 1243 | GlFunction(Void, "glProgramUniform4d", [(GLprogram, "program"), (GLlocation, "location"), (GLdouble, "v0"), (GLdouble, "v1"), (GLdouble, "v2"), (GLdouble, "v3")]), |
| 1244 | GlFunction(Void, "glProgramUniform4dv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "4")), "value")]), |
| 1245 | GlFunction(Void, "glProgramUniform4ui", [(GLprogram, "program"), (GLlocation, "location"), (GLuint, "v0"), (GLuint, "v1"), (GLuint, "v2"), (GLuint, "v3")]), |
| 1246 | GlFunction(Void, "glProgramUniform4uiv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLuint, "4")), "value")]), |
| 1247 | GlFunction(Void, "glProgramUniformMatrix2fv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "2")), "value")]), |
| 1248 | GlFunction(Void, "glProgramUniformMatrix3fv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "3")), "value")]), |
| 1249 | GlFunction(Void, "glProgramUniformMatrix4fv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "4")), "value")]), |
| 1250 | GlFunction(Void, "glProgramUniformMatrix2dv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "2")), "value")]), |
| 1251 | GlFunction(Void, "glProgramUniformMatrix3dv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "3")), "value")]), |
| 1252 | GlFunction(Void, "glProgramUniformMatrix4dv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "4")), "value")]), |
| 1253 | GlFunction(Void, "glProgramUniformMatrix2x3fv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count")), "value")]), |
| 1254 | GlFunction(Void, "glProgramUniformMatrix3x2fv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count")), "value")]), |
| 1255 | GlFunction(Void, "glProgramUniformMatrix2x4fv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count")), "value")]), |
| 1256 | GlFunction(Void, "glProgramUniformMatrix4x2fv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count")), "value")]), |
| 1257 | GlFunction(Void, "glProgramUniformMatrix3x4fv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count")), "value")]), |
| 1258 | GlFunction(Void, "glProgramUniformMatrix4x3fv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count")), "value")]), |
| 1259 | GlFunction(Void, "glProgramUniformMatrix2x3dv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1260 | GlFunction(Void, "glProgramUniformMatrix3x2dv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1261 | GlFunction(Void, "glProgramUniformMatrix2x4dv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1262 | GlFunction(Void, "glProgramUniformMatrix4x2dv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1263 | GlFunction(Void, "glProgramUniformMatrix3x4dv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1264 | GlFunction(Void, "glProgramUniformMatrix4x3dv", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 1265 | GlFunction(Void, "glValidateProgramPipeline", [(GLpipeline, "pipeline")]), |
| 1266 | GlFunction(Void, "glGetProgramPipelineInfoLog", [(GLpipeline, "pipeline"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(GLstring, "infoLog")], sideeffects=False), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1267 | |
| 1268 | # GL_ARB_vertex_attrib_64bit |
| 1269 | GlFunction(Void, "glVertexAttribL1d", [(GLuint, "index"), (GLdouble, "x")]), |
| 1270 | GlFunction(Void, "glVertexAttribL2d", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y")]), |
| 1271 | GlFunction(Void, "glVertexAttribL3d", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 1272 | GlFunction(Void, "glVertexAttribL4d", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 1273 | GlFunction(Void, "glVertexAttribL1dv", [(GLuint, "index"), (Const(Pointer(GLdouble)), "v")]), |
| 1274 | GlFunction(Void, "glVertexAttribL2dv", [(GLuint, "index"), (Const(Array(GLdouble, "2")), "v")]), |
| 1275 | GlFunction(Void, "glVertexAttribL3dv", [(GLuint, "index"), (Const(Array(GLdouble, "3")), "v")]), |
| 1276 | GlFunction(Void, "glVertexAttribL4dv", [(GLuint, "index"), (Const(Array(GLdouble, "4")), "v")]), |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 1277 | GlFunction(Void, "glVertexAttribLPointer", [(GLuint, "index"), (GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1278 | GlFunction(Void, "glGetVertexAttribLdv", [(GLuint, "index"), (GLenum, "pname"), Out(OpaqueArray(GLdouble, "__glGetVertexAttribLdv_size(pname)"), "params")], sideeffects=False), |
| 1279 | |
| 1280 | # GL_ARB_viewport_array |
| 1281 | GlFunction(Void, "glViewportArrayv", [(GLuint, "first"), (GLsizei, "count"), (Const(OpaqueArray(GLfloat, "__glViewportArrayv_size(count)")), "v")]), |
| 1282 | GlFunction(Void, "glViewportIndexedf", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "w"), (GLfloat, "h")]), |
| 1283 | GlFunction(Void, "glViewportIndexedfv", [(GLuint, "index"), (Const(Array(GLfloat, "4")), "v")]), |
| 1284 | GlFunction(Void, "glScissorArrayv", [(GLuint, "first"), (GLsizei, "count"), (Const(OpaqueArray(GLint, "__glScissorArrayv_size(count)")), "v")]), |
| 1285 | GlFunction(Void, "glScissorIndexed", [(GLuint, "index"), (GLint, "left"), (GLint, "bottom"), (GLsizei, "width"), (GLsizei, "height")]), |
| 1286 | GlFunction(Void, "glScissorIndexedv", [(GLuint, "index"), (Const(Array(GLint, "4")), "v")]), |
| 1287 | GlFunction(Void, "glDepthRangeArrayv", [(GLuint, "first"), (GLsizei, "count"), (Const(OpaqueArray(GLclampd, "__glDepthRangeArrayv_size(count)")), "v")]), |
| 1288 | GlFunction(Void, "glDepthRangeIndexed", [(GLuint, "index"), (GLclampd, "n"), (GLclampd, "f")]), |
| 1289 | GlFunction(Void, "glGetFloati_v", [(GLenum, "target"), (GLuint, "index"), Out(OpaqueArray(GLfloat, "__glGetFloati_v_size(target)"), "data")], sideeffects=False), |
| 1290 | GlFunction(Void, "glGetDoublei_v", [(GLenum, "target"), (GLuint, "index"), Out(OpaqueArray(GLdouble, "__glGetDoublei_v_size(target)"), "data")], sideeffects=False), |
| 1291 | |
| 1292 | # GL_ARB_debug_output |
| 1293 | GlFunction(Void, "glDebugMessageControlARB", [(GLenum, "source"), (GLenum, "type"), (GLenum, "severity"), (GLsizei, "count"), (Const(Array(GLuint, "count")), "ids"), (GLboolean, "enabled")]), |
| 1294 | GlFunction(Void, "glDebugMessageInsertARB", [(GLenum, "source"), (GLenum, "type"), (GLuint, "id"), (GLenum, "severity"), (GLsizei, "length"), (Const(String("GLchar *", "length")), "buf")]), |
| 1295 | GlFunction(Void, "glDebugMessageCallbackARB", [(GLDEBUGPROCARB, "callback"), (Const(OpaqueArray(GLvoid, "__glDebugMessageCallbackARB_size(callback)")), "userParam")]), |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1296 | 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(GLstring, "messageLog")], sideeffects=False), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1297 | |
| 1298 | # GL_ARB_robustness |
| 1299 | GlFunction(GLenum, "glGetGraphicsResetStatusARB", [], sideeffects=False), |
| 1300 | GlFunction(Void, "glGetnMapdvARB", [(GLenum, "target"), (GLenum, "query"), (GLsizei, "bufSize"), Out(Array(GLdouble, "bufSize"), "v")], sideeffects=False), |
| 1301 | GlFunction(Void, "glGetnMapfvARB", [(GLenum, "target"), (GLenum, "query"), (GLsizei, "bufSize"), Out(Array(GLfloat, "bufSize"), "v")], sideeffects=False), |
| 1302 | GlFunction(Void, "glGetnMapivARB", [(GLenum, "target"), (GLenum, "query"), (GLsizei, "bufSize"), Out(Array(GLint, "bufSize"), "v")], sideeffects=False), |
| 1303 | GlFunction(Void, "glGetnPixelMapfvARB", [(GLenum, "map"), (GLsizei, "bufSize"), Out(Array(GLfloat, "bufSize"), "values")], sideeffects=False), |
| 1304 | GlFunction(Void, "glGetnPixelMapuivARB", [(GLenum, "map"), (GLsizei, "bufSize"), Out(Array(GLuint, "bufSize"), "values")], sideeffects=False), |
| 1305 | GlFunction(Void, "glGetnPixelMapusvARB", [(GLenum, "map"), (GLsizei, "bufSize"), Out(Array(GLushort, "bufSize"), "values")], sideeffects=False), |
| 1306 | GlFunction(Void, "glGetnPolygonStippleARB", [(GLsizei, "bufSize"), Out(Blob(GLubyte, "bufSize"), "pattern")], sideeffects=False), |
| 1307 | GlFunction(Void, "glGetnColorTableARB", [(GLenum, "target"), (GLenum, "format"), (GLenum, "type"), (GLsizei, "bufSize"), Out(Blob(GLvoid, "bufSize"), "table")], sideeffects=False), |
| 1308 | GlFunction(Void, "glGetnConvolutionFilterARB", [(GLenum, "target"), (GLenum, "format"), (GLenum, "type"), (GLsizei, "bufSize"), Out(Blob(GLvoid, "bufSize"), "image")], sideeffects=False), |
| 1309 | 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), |
| 1310 | GlFunction(Void, "glGetnHistogramARB", [(GLenum, "target"), (GLboolean, "reset"), (GLenum, "format"), (GLenum, "type"), (GLsizei, "bufSize"), Out(Blob(GLvoid, "bufSize"), "values")], sideeffects=False), |
| 1311 | GlFunction(Void, "glGetnMinmaxARB", [(GLenum, "target"), (GLboolean, "reset"), (GLenum, "format"), (GLenum, "type"), (GLsizei, "bufSize"), Out(Blob(GLvoid, "bufSize"), "values")], sideeffects=False), |
| 1312 | GlFunction(Void, "glGetnTexImageARB", [(GLenum, "target"), (GLint, "level"), (GLenum, "format"), (GLenum, "type"), (GLsizei, "bufSize"), Out(Blob(GLvoid, "bufSize"), "img")], sideeffects=False), |
| 1313 | GlFunction(Void, "glReadnPixelsARB", [(GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLenum, "type"), (GLsizei, "bufSize"), Out(Blob(GLvoid, "bufSize"), "data")], sideeffects=False), |
| 1314 | GlFunction(Void, "glGetnCompressedTexImageARB", [(GLenum, "target"), (GLint, "lod"), (GLsizei, "bufSize"), Out(Blob(GLvoid, "bufSize"), "img")], sideeffects=False), |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1315 | GlFunction(Void, "glGetnUniformfvARB", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "bufSize"), Out(Array(GLfloat, "bufSize"), "params")], sideeffects=False), |
| 1316 | GlFunction(Void, "glGetnUniformivARB", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "bufSize"), Out(Array(GLint, "bufSize"), "params")], sideeffects=False), |
| 1317 | GlFunction(Void, "glGetnUniformuivARB", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "bufSize"), Out(Array(GLuint, "bufSize"), "params")], sideeffects=False), |
| 1318 | GlFunction(Void, "glGetnUniformdvARB", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "bufSize"), Out(Array(GLdouble, "bufSize"), "params")], sideeffects=False), |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1319 | |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1320 | # GL_EXT_blend_color |
| 1321 | GlFunction(Void, "glBlendColorEXT", [(GLclampf, "red"), (GLclampf, "green"), (GLclampf, "blue"), (GLclampf, "alpha")]), |
| 1322 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1323 | # GL_EXT_polygon_offset |
| 1324 | GlFunction(Void, "glPolygonOffsetEXT", [(GLfloat, "factor"), (GLfloat, "bias")]), |
| 1325 | |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1326 | # GL_EXT_texture3D |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 1327 | GlFunction(Void, "glTexImage3DEXT", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLint, "border"), (GLenum, "format"), (GLenum, "type"), (Const(OpaqueBlob(GLvoid, "__glTexImage3D_size(format, type, width, height, depth)")), "pixels")]), |
| 1328 | GlFunction(Void, "glTexSubImage3DEXT", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "zoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLenum, "format"), (GLenum, "type"), (Const(OpaqueBlob(GLvoid, "__glTexSubImage3D_size(format, type, width, height, depth)")), "pixels")]), |
José Fonseca | e075d2b | 2010-11-30 09:44:27 +0000 | [diff] [blame] | 1329 | |
| 1330 | # GL_SGIS_texture_filter4 |
| 1331 | GlFunction(Void, "glGetTexFilterFuncSGIS", [(GLenum, "target"), (GLenum, "filter"), Out(OpaqueArray(GLfloat, "__glGetTexFilterFuncSGIS_size(target, filter)"), "weights")], sideeffects=False), |
| 1332 | GlFunction(Void, "glTexFilterFuncSGIS", [(GLenum, "target"), (GLenum, "filter"), (GLsizei, "n"), (Const(Array(GLfloat, "n")), "weights")]), |
| 1333 | |
| 1334 | # GL_EXT_subtexture |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 1335 | GlFunction(Void, "glTexSubImage1DEXT", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLsizei, "width"), (GLenum, "format"), (GLenum, "type"), (Const(Blob(GLvoid, "__glTexSubImage1D_size(format, type, width)")), "pixels")]), |
| 1336 | GlFunction(Void, "glTexSubImage2DEXT", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLenum, "type"), (Const(Blob(GLvoid, "__glTexSubImage2D_size(format, type, width, height)")), "pixels")]), |
José Fonseca | e075d2b | 2010-11-30 09:44:27 +0000 | [diff] [blame] | 1337 | |
| 1338 | # GL_EXT_copy_texture |
| 1339 | GlFunction(Void, "glCopyTexImage1DEXT", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLint, "border")]), |
| 1340 | GlFunction(Void, "glCopyTexImage2DEXT", [(GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height"), (GLint, "border")]), |
| 1341 | GlFunction(Void, "glCopyTexSubImage1DEXT", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "x"), (GLint, "y"), (GLsizei, "width")]), |
| 1342 | GlFunction(Void, "glCopyTexSubImage2DEXT", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height")]), |
| 1343 | GlFunction(Void, "glCopyTexSubImage3DEXT", [(GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "zoffset"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height")]), |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1344 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1345 | # GL_SGIX_pixel_texture |
| 1346 | GlFunction(Void, "glPixelTexGenSGIX", [(GLenum, "mode")]), |
| 1347 | |
| 1348 | # GL_SGIS_pixel_texture |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1349 | GlFunction(Void, "glPixelTexGenParameteriSGIS", [(GLenum, "pname"), (GLint, "param")]), |
| 1350 | GlFunction(Void, "glPixelTexGenParameterivSGIS", [(GLenum, "pname"), (Const(OpaqueArray(GLint, "__glPixelTexGenParameterivSGIS_size(pname)")), "params")]), |
| 1351 | GlFunction(Void, "glPixelTexGenParameterfSGIS", [(GLenum, "pname"), (GLfloat, "param")]), |
| 1352 | GlFunction(Void, "glPixelTexGenParameterfvSGIS", [(GLenum, "pname"), (Const(OpaqueArray(GLfloat, "__glPixelTexGenParameterfvSGIS_size(pname)")), "params")]), |
| 1353 | GlFunction(Void, "glGetPixelTexGenParameterivSGIS", [(GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetPixelTexGenParameterivSGIS_size(pname)"), "params")], sideeffects=False), |
| 1354 | 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] | 1355 | |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1356 | # GL_EXT_texture_object |
| 1357 | GlFunction(GLboolean, "glAreTexturesResidentEXT", [(GLsizei, "n"), (Const(Array(GLtexture, "n")), "textures"), Out(Array(GLboolean, "n"), "residences")]), |
| 1358 | GlFunction(Void, "glBindTextureEXT", [(GLenum, "target"), (GLtexture, "texture")]), |
| 1359 | GlFunction(Void, "glDeleteTexturesEXT", [(GLsizei, "n"), (Const(Array(GLtexture, "n")), "textures")]), |
| 1360 | GlFunction(Void, "glGenTexturesEXT", [(GLsizei, "n"), Out(Array(GLtexture, "n"), "textures")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 1361 | GlFunction(GLboolean, "glIsTextureEXT", [(GLtexture, "texture")], sideeffects=False), |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1362 | GlFunction(Void, "glPrioritizeTexturesEXT", [(GLsizei, "n"), (Const(Array(GLtexture, "n")), "textures"), (Const(Array(GLclampf, "n")), "priorities")]), |
| 1363 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1364 | # GL_SGIS_multisample |
José Fonseca | 7012598 | 2010-11-28 18:46:12 +0000 | [diff] [blame] | 1365 | GlFunction(Void, "glSampleMaskSGIS", [(GLclampf, "value"), (GLboolean, "invert")]), |
| 1366 | GlFunction(Void, "glSamplePatternSGIS", [(GLenum, "pattern")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1367 | |
| 1368 | # GL_EXT_vertex_array |
| 1369 | GlFunction(Void, "glArrayElementEXT", [(GLint, "i")]), |
| 1370 | GlFunction(Void, "glColorPointerEXT", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (GLsizei, "count"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
José Fonseca | 5c749e3 | 2011-05-09 11:11:37 +0100 | [diff] [blame] | 1371 | GlFunction(Void, "glDrawArraysEXT", [(GLenum_mode, "mode"), (GLint, "first"), (GLsizei, "count")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1372 | GlFunction(Void, "glEdgeFlagPointerEXT", [(GLsizei, "stride"), (GLsizei, "count"), (Const(OpaquePointer(GLboolean)), "pointer")]), |
| 1373 | GlFunction(Void, "glGetPointervEXT", [(GLenum, "pname"), Out(Pointer(OpaquePointer(GLvoid)), "params")], sideeffects=False), |
| 1374 | GlFunction(Void, "glIndexPointerEXT", [(GLenum, "type"), (GLsizei, "stride"), (GLsizei, "count"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1375 | GlFunction(Void, "glNormalPointerEXT", [(GLenum, "type"), (GLsizei, "stride"), (GLsizei, "count"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1376 | GlFunction(Void, "glTexCoordPointerEXT", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (GLsizei, "count"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1377 | GlFunction(Void, "glVertexPointerEXT", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (GLsizei, "count"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1378 | |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1379 | # GL_EXT_blend_minmax |
| 1380 | GlFunction(Void, "glBlendEquationEXT", [(GLenum, "mode")]), |
| 1381 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1382 | # GL_EXT_point_parameters |
| 1383 | GlFunction(Void, "glPointParameterfEXT", [(GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 1384 | GlFunction(Void, "glPointParameterfvEXT", [(GLenum, "pname"), (Const(Array(GLfloat, "__glPointParameterfv_size(pname)")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1385 | |
José Fonseca | e075d2b | 2010-11-30 09:44:27 +0000 | [diff] [blame] | 1386 | # GL_EXT_color_subtable |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 1387 | GlFunction(Void, "glColorSubTableEXT", [(GLenum, "target"), (GLsizei, "start"), (GLsizei, "count"), (GLenum, "format"), (GLenum, "type"), (Const(OpaqueBlob(GLvoid, "__glColorSubTable_size(format, type, count)")), "data")]), |
José Fonseca | e075d2b | 2010-11-30 09:44:27 +0000 | [diff] [blame] | 1388 | GlFunction(Void, "glCopyColorSubTableEXT", [(GLenum, "target"), (GLsizei, "start"), (GLint, "x"), (GLint, "y"), (GLsizei, "width")]), |
| 1389 | |
José Fonseca | 2acb730 | 2010-11-30 16:34:00 +0000 | [diff] [blame] | 1390 | # GL_EXT_paletted_texture |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 1391 | GlFunction(Void, "glColorTableEXT", [(GLenum, "target"), (GLenum, "internalFormat"), (GLsizei, "width"), (GLenum, "format"), (GLenum, "type"), (Const(OpaqueBlob(GLvoid, "__glColorTable_size(format, type, width)")), "table")]), |
| 1392 | GlFunction(Void, "glGetColorTableEXT", [(GLenum, "target"), (GLenum, "format"), (GLenum, "type"), Out(OpaqueBlob(GLvoid, "__glGetColorTable_size(target, format, type)"), "data")], sideeffects=False), |
| 1393 | GlFunction(Void, "glGetColorTableParameterivEXT", [(GLenum, "target"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetColorTableParameteriv_size(pname)"), "params")], sideeffects=False), |
| 1394 | GlFunction(Void, "glGetColorTableParameterfvEXT", [(GLenum, "target"), (GLenum, "pname"), Out(OpaqueArray(GLfloat, "__glGetColorTableParameterfv_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 2acb730 | 2010-11-30 16:34:00 +0000 | [diff] [blame] | 1395 | |
| 1396 | # GL_EXT_index_material |
| 1397 | GlFunction(Void, "glIndexMaterialEXT", [(GLenum, "face"), (GLenum, "mode")]), |
| 1398 | |
| 1399 | # GL_EXT_index_func |
| 1400 | GlFunction(Void, "glIndexFuncEXT", [(GLenum, "func"), (GLclampf, "ref")]), |
| 1401 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1402 | # GL_EXT_compiled_vertex_array |
| 1403 | GlFunction(Void, "glLockArraysEXT", [(GLint, "first"), (GLsizei, "count")]), |
| 1404 | GlFunction(Void, "glUnlockArraysEXT", []), |
| 1405 | |
| 1406 | # GL_EXT_cull_vertex |
| 1407 | GlFunction(Void, "glCullParameterdvEXT", [(GLenum, "pname"), (Array(GLdouble, "4"), "params")]), |
| 1408 | GlFunction(Void, "glCullParameterfvEXT", [(GLenum, "pname"), (Array(GLfloat, "4"), "params")]), |
| 1409 | |
José Fonseca | e075d2b | 2010-11-30 09:44:27 +0000 | [diff] [blame] | 1410 | # GL_EXT_draw_range_elements |
José Fonseca | 5c749e3 | 2011-05-09 11:11:37 +0100 | [diff] [blame] | 1411 | GlFunction(Void, "glDrawRangeElementsEXT", [(GLenum_mode, "mode"), (GLuint, "start"), (GLuint, "end"), (GLsizei, "count"), (GLenum, "type"), (OpaquePointer(Const(GLvoid)), "indices")]), |
José Fonseca | e075d2b | 2010-11-30 09:44:27 +0000 | [diff] [blame] | 1412 | |
| 1413 | # GL_EXT_light_texture |
| 1414 | GlFunction(Void, "glApplyTextureEXT", [(GLenum, "mode")]), |
| 1415 | GlFunction(Void, "glTextureLightEXT", [(GLenum, "pname")]), |
| 1416 | GlFunction(Void, "glTextureMaterialEXT", [(GLenum, "face"), (GLenum, "mode")]), |
| 1417 | |
José Fonseca | 2acb730 | 2010-11-30 16:34:00 +0000 | [diff] [blame] | 1418 | # GL_EXT_pixel_transform |
| 1419 | GlFunction(Void, "glPixelTransformParameteriEXT", [(GLenum, "target"), (GLenum, "pname"), (GLint, "param")]), |
| 1420 | GlFunction(Void, "glPixelTransformParameterfEXT", [(GLenum, "target"), (GLenum, "pname"), (GLfloat, "param")]), |
| 1421 | GlFunction(Void, "glPixelTransformParameterivEXT", [(GLenum, "target"), (GLenum, "pname"), (Const(Pointer(GLint)), "params")]), |
| 1422 | GlFunction(Void, "glPixelTransformParameterfvEXT", [(GLenum, "target"), (GLenum, "pname"), (Const(Pointer(GLfloat)), "params")]), |
José Fonseca | e075d2b | 2010-11-30 09:44:27 +0000 | [diff] [blame] | 1423 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1424 | # GL_EXT_secondary_color |
| 1425 | GlFunction(Void, "glSecondaryColor3bEXT", [(GLbyte, "red"), (GLbyte, "green"), (GLbyte, "blue")]), |
| 1426 | GlFunction(Void, "glSecondaryColor3bvEXT", [(Const(Array(GLbyte, "3")), "v")]), |
| 1427 | GlFunction(Void, "glSecondaryColor3dEXT", [(GLdouble, "red"), (GLdouble, "green"), (GLdouble, "blue")]), |
| 1428 | GlFunction(Void, "glSecondaryColor3dvEXT", [(Const(Array(GLdouble, "3")), "v")]), |
| 1429 | GlFunction(Void, "glSecondaryColor3fEXT", [(GLfloat, "red"), (GLfloat, "green"), (GLfloat, "blue")]), |
| 1430 | GlFunction(Void, "glSecondaryColor3fvEXT", [(Const(Array(GLfloat, "3")), "v")]), |
| 1431 | GlFunction(Void, "glSecondaryColor3iEXT", [(GLint, "red"), (GLint, "green"), (GLint, "blue")]), |
| 1432 | GlFunction(Void, "glSecondaryColor3ivEXT", [(Const(Array(GLint, "3")), "v")]), |
| 1433 | GlFunction(Void, "glSecondaryColor3sEXT", [(GLshort, "red"), (GLshort, "green"), (GLshort, "blue")]), |
| 1434 | GlFunction(Void, "glSecondaryColor3svEXT", [(Const(Array(GLshort, "3")), "v")]), |
| 1435 | GlFunction(Void, "glSecondaryColor3ubEXT", [(GLubyte, "red"), (GLubyte, "green"), (GLubyte, "blue")]), |
| 1436 | GlFunction(Void, "glSecondaryColor3ubvEXT", [(Const(Array(GLubyte, "3")), "v")]), |
| 1437 | GlFunction(Void, "glSecondaryColor3uiEXT", [(GLuint, "red"), (GLuint, "green"), (GLuint, "blue")]), |
| 1438 | GlFunction(Void, "glSecondaryColor3uivEXT", [(Const(Array(GLuint, "3")), "v")]), |
| 1439 | GlFunction(Void, "glSecondaryColor3usEXT", [(GLushort, "red"), (GLushort, "green"), (GLushort, "blue")]), |
| 1440 | GlFunction(Void, "glSecondaryColor3usvEXT", [(Const(Array(GLushort, "3")), "v")]), |
| 1441 | GlFunction(Void, "glSecondaryColorPointerEXT", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1442 | |
José Fonseca | e075d2b | 2010-11-30 09:44:27 +0000 | [diff] [blame] | 1443 | # GL_EXT_texture_perturb_normal |
| 1444 | GlFunction(Void, "glTextureNormalEXT", [(GLenum, "mode")]), |
| 1445 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1446 | # GL_EXT_multi_draw_arrays |
José Fonseca | a3b3d86 | 2011-05-08 10:45:05 +0100 | [diff] [blame] | 1447 | GlFunction(Void, "glMultiDrawArraysEXT", [(GLenum_mode, "mode"), (Const(Array(GLint, "primcount")), "first"), (Const(Array(GLsizei, "primcount")), "count"), (GLsizei, "primcount")]), |
| 1448 | GlFunction(Void, "glMultiDrawElementsEXT", [(GLenum_mode, "mode"), (Const(Array(GLsizei, "primcount")), "count"), (GLenum, "type"), (Array(Opaque("const GLvoid *"), "primcount"), "indices"), (GLsizei, "primcount")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1449 | |
| 1450 | # GL_EXT_fog_coord |
| 1451 | GlFunction(Void, "glFogCoordfEXT", [(GLfloat, "coord")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 1452 | GlFunction(Void, "glFogCoordfvEXT", [(Const(Pointer(GLfloat)), "coord")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1453 | GlFunction(Void, "glFogCoorddEXT", [(GLdouble, "coord")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 1454 | GlFunction(Void, "glFogCoorddvEXT", [(Const(Pointer(GLdouble)), "coord")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1455 | GlFunction(Void, "glFogCoordPointerEXT", [(GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1456 | |
José Fonseca | 2acb730 | 2010-11-30 16:34:00 +0000 | [diff] [blame] | 1457 | # GL_EXT_coordinate_frame |
| 1458 | GlFunction(Void, "glTangent3bEXT", [(GLbyte, "tx"), (GLbyte, "ty"), (GLbyte, "tz")]), |
| 1459 | GlFunction(Void, "glTangent3bvEXT", [(Const(Array(GLbyte, "3")), "v")]), |
| 1460 | GlFunction(Void, "glTangent3dEXT", [(GLdouble, "tx"), (GLdouble, "ty"), (GLdouble, "tz")]), |
| 1461 | GlFunction(Void, "glTangent3dvEXT", [(Const(Array(GLdouble, "3")), "v")]), |
| 1462 | GlFunction(Void, "glTangent3fEXT", [(GLfloat, "tx"), (GLfloat, "ty"), (GLfloat, "tz")]), |
| 1463 | GlFunction(Void, "glTangent3fvEXT", [(Const(Array(GLfloat, "3")), "v")]), |
| 1464 | GlFunction(Void, "glTangent3iEXT", [(GLint, "tx"), (GLint, "ty"), (GLint, "tz")]), |
| 1465 | GlFunction(Void, "glTangent3ivEXT", [(Const(Array(GLint, "3")), "v")]), |
| 1466 | GlFunction(Void, "glTangent3sEXT", [(GLshort, "tx"), (GLshort, "ty"), (GLshort, "tz")]), |
| 1467 | GlFunction(Void, "glTangent3svEXT", [(Const(Array(GLshort, "3")), "v")]), |
| 1468 | GlFunction(Void, "glBinormal3bEXT", [(GLbyte, "bx"), (GLbyte, "by"), (GLbyte, "bz")]), |
| 1469 | GlFunction(Void, "glBinormal3bvEXT", [(Const(Array(GLbyte, "3")), "v")]), |
| 1470 | GlFunction(Void, "glBinormal3dEXT", [(GLdouble, "bx"), (GLdouble, "by"), (GLdouble, "bz")]), |
| 1471 | GlFunction(Void, "glBinormal3dvEXT", [(Const(Array(GLdouble, "3")), "v")]), |
| 1472 | GlFunction(Void, "glBinormal3fEXT", [(GLfloat, "bx"), (GLfloat, "by"), (GLfloat, "bz")]), |
| 1473 | GlFunction(Void, "glBinormal3fvEXT", [(Const(Array(GLfloat, "3")), "v")]), |
| 1474 | GlFunction(Void, "glBinormal3iEXT", [(GLint, "bx"), (GLint, "by"), (GLint, "bz")]), |
| 1475 | GlFunction(Void, "glBinormal3ivEXT", [(Const(Array(GLint, "3")), "v")]), |
| 1476 | GlFunction(Void, "glBinormal3sEXT", [(GLshort, "bx"), (GLshort, "by"), (GLshort, "bz")]), |
| 1477 | GlFunction(Void, "glBinormal3svEXT", [(Const(Array(GLshort, "3")), "v")]), |
| 1478 | GlFunction(Void, "glTangentPointerEXT", [(GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1479 | GlFunction(Void, "glBinormalPointerEXT", [(GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1480 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1481 | # GL_EXT_blend_func_separate |
| 1482 | GlFunction(Void, "glBlendFuncSeparateEXT", [(GLenum, "sfactorRGB"), (GLenum, "dfactorRGB"), (GLenum, "sfactorAlpha"), (GLenum, "dfactorAlpha")]), |
| 1483 | |
José Fonseca | 091fbdb | 2010-12-14 14:40:48 +0000 | [diff] [blame] | 1484 | # GL_INGR_blend_func_separate |
| 1485 | GlFunction(Void, "glBlendFuncSeparateINGR", [(GLenum, "sfactorRGB"), (GLenum, "dfactorRGB"), (GLenum, "sfactorAlpha"), (GLenum, "dfactorAlpha")]), |
| 1486 | |
José Fonseca | e075d2b | 2010-11-30 09:44:27 +0000 | [diff] [blame] | 1487 | # GL_EXT_vertex_weighting |
| 1488 | GlFunction(Void, "glVertexWeightfEXT", [(GLfloat, "weight")]), |
| 1489 | GlFunction(Void, "glVertexWeightfvEXT", [(Const(Pointer(GLfloat)), "weight")]), |
| 1490 | GlFunction(Void, "glVertexWeightPointerEXT", [(GLsizei, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1491 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1492 | # GL_NV_vertex_array_range |
| 1493 | GlFunction(Void, "glFlushVertexArrayRangeNV", []), |
| 1494 | GlFunction(Void, "glVertexArrayRangeNV", [(GLsizei, "length"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1495 | |
| 1496 | # GL_NV_register_combiners |
| 1497 | GlFunction(Void, "glCombinerParameterfvNV", [(GLenum, "pname"), (Const(OpaquePointer(GLfloat)), "params")]), |
| 1498 | GlFunction(Void, "glCombinerParameterfNV", [(GLenum, "pname"), (GLfloat, "param")]), |
| 1499 | GlFunction(Void, "glCombinerParameterivNV", [(GLenum, "pname"), (Const(OpaquePointer(GLint)), "params")]), |
| 1500 | GlFunction(Void, "glCombinerParameteriNV", [(GLenum, "pname"), (GLint, "param")]), |
| 1501 | GlFunction(Void, "glCombinerInputNV", [(GLenum, "stage"), (GLenum, "portion"), (GLenum, "variable"), (GLenum, "input"), (GLenum, "mapping"), (GLenum, "componentUsage")]), |
| 1502 | GlFunction(Void, "glCombinerOutputNV", [(GLenum, "stage"), (GLenum, "portion"), (GLenum, "abOutput"), (GLenum, "cdOutput"), (GLenum, "sumOutput"), (GLenum, "scale"), (GLenum, "bias"), (GLboolean, "abDotProduct"), (GLboolean, "cdDotProduct"), (GLboolean, "muxSum")]), |
| 1503 | GlFunction(Void, "glFinalCombinerInputNV", [(GLenum, "variable"), (GLenum, "input"), (GLenum, "mapping"), (GLenum, "componentUsage")]), |
| 1504 | GlFunction(Void, "glGetCombinerInputParameterfvNV", [(GLenum, "stage"), (GLenum, "portion"), (GLenum, "variable"), (GLenum, "pname"), Out(OpaquePointer(GLfloat), "params")], sideeffects=False), |
| 1505 | GlFunction(Void, "glGetCombinerInputParameterivNV", [(GLenum, "stage"), (GLenum, "portion"), (GLenum, "variable"), (GLenum, "pname"), Out(OpaquePointer(GLint), "params")], sideeffects=False), |
| 1506 | GlFunction(Void, "glGetCombinerOutputParameterfvNV", [(GLenum, "stage"), (GLenum, "portion"), (GLenum, "pname"), Out(OpaquePointer(GLfloat), "params")], sideeffects=False), |
| 1507 | GlFunction(Void, "glGetCombinerOutputParameterivNV", [(GLenum, "stage"), (GLenum, "portion"), (GLenum, "pname"), Out(OpaquePointer(GLint), "params")], sideeffects=False), |
| 1508 | GlFunction(Void, "glGetFinalCombinerInputParameterfvNV", [(GLenum, "variable"), (GLenum, "pname"), Out(OpaquePointer(GLfloat), "params")], sideeffects=False), |
| 1509 | GlFunction(Void, "glGetFinalCombinerInputParameterivNV", [(GLenum, "variable"), (GLenum, "pname"), Out(OpaquePointer(GLint), "params")], sideeffects=False), |
| 1510 | |
| 1511 | # GL_MESA_resize_buffers |
| 1512 | GlFunction(Void, "glResizeBuffersMESA", []), |
| 1513 | |
| 1514 | # GL_MESA_window_pos |
| 1515 | GlFunction(Void, "glWindowPos2dMESA", [(GLdouble, "x"), (GLdouble, "y")]), |
| 1516 | GlFunction(Void, "glWindowPos2dvMESA", [(Const(Array(GLdouble, "2")), "v")]), |
| 1517 | GlFunction(Void, "glWindowPos2fMESA", [(GLfloat, "x"), (GLfloat, "y")]), |
| 1518 | GlFunction(Void, "glWindowPos2fvMESA", [(Const(Array(GLfloat, "2")), "v")]), |
| 1519 | GlFunction(Void, "glWindowPos2iMESA", [(GLint, "x"), (GLint, "y")]), |
| 1520 | GlFunction(Void, "glWindowPos2ivMESA", [(Const(Array(GLint, "2")), "v")]), |
| 1521 | GlFunction(Void, "glWindowPos2sMESA", [(GLshort, "x"), (GLshort, "y")]), |
| 1522 | GlFunction(Void, "glWindowPos2svMESA", [(Const(Array(GLshort, "2")), "v")]), |
| 1523 | GlFunction(Void, "glWindowPos3dMESA", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 1524 | GlFunction(Void, "glWindowPos3dvMESA", [(Const(Array(GLdouble, "3")), "v")]), |
| 1525 | GlFunction(Void, "glWindowPos3fMESA", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 1526 | GlFunction(Void, "glWindowPos3fvMESA", [(Const(Array(GLfloat, "3")), "v")]), |
| 1527 | GlFunction(Void, "glWindowPos3iMESA", [(GLint, "x"), (GLint, "y"), (GLint, "z")]), |
| 1528 | GlFunction(Void, "glWindowPos3ivMESA", [(Const(Array(GLint, "3")), "v")]), |
| 1529 | GlFunction(Void, "glWindowPos3sMESA", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), |
| 1530 | GlFunction(Void, "glWindowPos3svMESA", [(Const(Array(GLshort, "3")), "v")]), |
| 1531 | GlFunction(Void, "glWindowPos4dMESA", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 1532 | GlFunction(Void, "glWindowPos4dvMESA", [(Const(Array(GLdouble, "4")), "v")]), |
| 1533 | GlFunction(Void, "glWindowPos4fMESA", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 1534 | GlFunction(Void, "glWindowPos4fvMESA", [(Const(Array(GLfloat, "4")), "v")]), |
| 1535 | GlFunction(Void, "glWindowPos4iMESA", [(GLint, "x"), (GLint, "y"), (GLint, "z"), (GLint, "w")]), |
| 1536 | GlFunction(Void, "glWindowPos4ivMESA", [(Const(Array(GLint, "4")), "v")]), |
| 1537 | GlFunction(Void, "glWindowPos4sMESA", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]), |
| 1538 | GlFunction(Void, "glWindowPos4svMESA", [(Const(Array(GLshort, "4")), "v")]), |
| 1539 | |
| 1540 | # GL_IBM_multimode_draw_arrays |
| 1541 | GlFunction(Void, "glMultiModeDrawArraysIBM", [(Const(Array(GLenum_mode, "primcount")), "mode"), (Const(Array(GLint, "primcount")), "first"), (Const(Array(GLsizei, "primcount")), "count"), (GLsizei, "primcount"), (GLint, "modestride")]), |
| 1542 | 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")]), |
| 1543 | |
José Fonseca | e075d2b | 2010-11-30 09:44:27 +0000 | [diff] [blame] | 1544 | # GL_EXT_multisample |
| 1545 | GlFunction(Void, "glSampleMaskEXT", [(GLclampf, "value"), (GLboolean, "invert")]), |
| 1546 | GlFunction(Void, "glSamplePatternEXT", [(GLenum, "pattern")]), |
| 1547 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1548 | # GL_NV_fence |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 1549 | GlFunction(Void, "glDeleteFencesNV", [(GLsizei, "n"), (Const(Array(GLfenceNV, "n")), "fences")]), |
| 1550 | GlFunction(Void, "glGenFencesNV", [(GLsizei, "n"), Out(Array(GLfenceNV, "n"), "fences")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 1551 | GlFunction(GLboolean, "glIsFenceNV", [(GLfenceNV, "fence")], sideeffects=False), |
José Fonseca | 833d14a | 2010-11-25 18:37:38 +0000 | [diff] [blame] | 1552 | GlFunction(GLboolean, "glTestFenceNV", [(GLfenceNV, "fence")]), |
| 1553 | GlFunction(Void, "glGetFenceivNV", [(GLfenceNV, "fence"), (GLenum, "pname"), Out(OpaquePointer(GLint), "params")], sideeffects=False), |
| 1554 | GlFunction(Void, "glFinishFenceNV", [(GLfenceNV, "fence")]), |
| 1555 | GlFunction(Void, "glSetFenceNV", [(GLfenceNV, "fence"), (GLenum, "condition")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1556 | |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1557 | # GL_NV_register_combiners2 |
| 1558 | GlFunction(Void, "glCombinerStageParameterfvNV", [(GLenum, "stage"), (GLenum, "pname"), (Const(OpaqueArray(GLfloat, "__glCombinerStageParameterfvNV_size(pname)")), "params")]), |
| 1559 | GlFunction(Void, "glGetCombinerStageParameterfvNV", [(GLenum, "stage"), (GLenum, "pname"), Out(OpaqueArray(GLfloat, "__glGetCombinerStageParameterfvNV_size(pname)"), "params")], sideeffects=False), |
| 1560 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1561 | # GL_NV_vertex_program |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1562 | GlFunction(GLboolean, "glAreProgramsResidentNV", [(GLsizei, "n"), (Const(Array(GLprogramARB, "n")), "ids"), Out(Array(GLboolean, "n"), "residences")]), |
| 1563 | GlFunction(Void, "glBindProgramNV", [(GLenum, "target"), (GLprogramARB, "program")]), |
| 1564 | GlFunction(Void, "glDeleteProgramsNV", [(GLsizei, "n"), (Const(Array(GLprogramARB, "n")), "programs")]), |
| 1565 | GlFunction(Void, "glExecuteProgramNV", [(GLenum, "target"), (GLprogramARB, "id"), (Const(Array(GLfloat, "4")), "params")]), |
| 1566 | GlFunction(Void, "glGenProgramsNV", [(GLsizei, "n"), Out(Array(GLprogramARB, "n"), "programs")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1567 | GlFunction(Void, "glGetProgramParameterdvNV", [(GLenum, "target"), (GLuint, "index"), (GLenum, "pname"), (OpaquePointer(GLdouble), "params")], sideeffects=False), |
| 1568 | GlFunction(Void, "glGetProgramParameterfvNV", [(GLenum, "target"), (GLuint, "index"), (GLenum, "pname"), (OpaquePointer(GLfloat), "params")], sideeffects=False), |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1569 | GlFunction(Void, "glGetProgramivNV", [(GLprogramARB, "id"), (GLenum, "pname"), (OpaquePointer(GLint), "params")], sideeffects=False), |
| 1570 | GlFunction(Void, "glGetProgramStringNV", [(GLprogramARB, "id"), (GLenum, "pname"), (OpaquePointer(GLubyte), "program")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1571 | GlFunction(Void, "glGetTrackMatrixivNV", [(GLenum, "target"), (GLuint, "address"), (GLenum, "pname"), (OpaquePointer(GLint), "params")], sideeffects=False), |
| 1572 | GlFunction(Void, "glGetVertexAttribdvNV", [(GLuint, "index"), (GLenum, "pname"), (OpaquePointer(GLdouble), "params")], sideeffects=False), |
| 1573 | GlFunction(Void, "glGetVertexAttribfvNV", [(GLuint, "index"), (GLenum, "pname"), (OpaquePointer(GLfloat), "params")], sideeffects=False), |
| 1574 | GlFunction(Void, "glGetVertexAttribivNV", [(GLuint, "index"), (GLenum, "pname"), (OpaquePointer(GLint), "params")], sideeffects=False), |
| 1575 | GlFunction(Void, "glGetVertexAttribPointervNV", [(GLuint, "index"), (GLenum, "pname"), (OpaquePointer(OpaquePointer(GLvoid)), "pointer")], sideeffects=False), |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1576 | GlFunction(GLboolean, "glIsProgramNV", [(GLprogramARB, "program")], sideeffects=False), |
| 1577 | GlFunction(Void, "glLoadProgramNV", [(GLenum, "target"), (GLprogramARB, "id"), (GLsizei, "len"), (String("const GLubyte *", "len"), "program")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1578 | GlFunction(Void, "glProgramParameter4dNV", [(GLenum, "target"), (GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 1579 | GlFunction(Void, "glProgramParameter4dvNV", [(GLenum, "target"), (GLuint, "index"), (Const(Array(GLdouble, "4")), "v")]), |
| 1580 | GlFunction(Void, "glProgramParameter4fNV", [(GLenum, "target"), (GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 1581 | GlFunction(Void, "glProgramParameter4fvNV", [(GLenum, "target"), (GLuint, "index"), (Const(Array(GLfloat, "4")), "v")]), |
| 1582 | GlFunction(Void, "glProgramParameters4dvNV", [(GLenum, "target"), (GLuint, "index"), (GLsizei, "count"), (Const(Array(GLdouble, "count*4")), "v")]), |
| 1583 | GlFunction(Void, "glProgramParameters4fvNV", [(GLenum, "target"), (GLuint, "index"), (GLsizei, "count"), (Const(Array(GLfloat, "count*4")), "v")]), |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1584 | GlFunction(Void, "glRequestResidentProgramsNV", [(GLsizei, "n"), (Const(Array(GLprogramARB, "n")), "programs")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1585 | GlFunction(Void, "glTrackMatrixNV", [(GLenum, "target"), (GLuint, "address"), (GLenum, "matrix"), (GLenum, "transform")]), |
| 1586 | GlFunction(Void, "glVertexAttribPointerNV", [(GLuint, "index"), (GLint, "fsize"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1587 | GlFunction(Void, "glVertexAttrib1dNV", [(GLuint, "index"), (GLdouble, "x")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 1588 | GlFunction(Void, "glVertexAttrib1dvNV", [(GLuint, "index"), (Const(Pointer(GLdouble)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1589 | GlFunction(Void, "glVertexAttrib1fNV", [(GLuint, "index"), (GLfloat, "x")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 1590 | GlFunction(Void, "glVertexAttrib1fvNV", [(GLuint, "index"), (Const(Pointer(GLfloat)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1591 | GlFunction(Void, "glVertexAttrib1sNV", [(GLuint, "index"), (GLshort, "x")]), |
José Fonseca | f9e6eb1 | 2010-11-24 20:44:44 +0000 | [diff] [blame] | 1592 | GlFunction(Void, "glVertexAttrib1svNV", [(GLuint, "index"), (Const(Pointer(GLshort)), "v")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1593 | GlFunction(Void, "glVertexAttrib2dNV", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y")]), |
| 1594 | GlFunction(Void, "glVertexAttrib2dvNV", [(GLuint, "index"), (Const(Array(GLdouble, "2")), "v")]), |
| 1595 | GlFunction(Void, "glVertexAttrib2fNV", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y")]), |
| 1596 | GlFunction(Void, "glVertexAttrib2fvNV", [(GLuint, "index"), (Const(Array(GLfloat, "2")), "v")]), |
| 1597 | GlFunction(Void, "glVertexAttrib2sNV", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y")]), |
| 1598 | GlFunction(Void, "glVertexAttrib2svNV", [(GLuint, "index"), (Const(Array(GLshort, "2")), "v")]), |
| 1599 | GlFunction(Void, "glVertexAttrib3dNV", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 1600 | GlFunction(Void, "glVertexAttrib3dvNV", [(GLuint, "index"), (Const(Array(GLdouble, "3")), "v")]), |
| 1601 | GlFunction(Void, "glVertexAttrib3fNV", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 1602 | GlFunction(Void, "glVertexAttrib3fvNV", [(GLuint, "index"), (Const(Array(GLfloat, "3")), "v")]), |
| 1603 | GlFunction(Void, "glVertexAttrib3sNV", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y"), (GLshort, "z")]), |
| 1604 | GlFunction(Void, "glVertexAttrib3svNV", [(GLuint, "index"), (Const(Array(GLshort, "3")), "v")]), |
| 1605 | GlFunction(Void, "glVertexAttrib4dNV", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 1606 | GlFunction(Void, "glVertexAttrib4dvNV", [(GLuint, "index"), (Const(Array(GLdouble, "4")), "v")]), |
| 1607 | GlFunction(Void, "glVertexAttrib4fNV", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 1608 | GlFunction(Void, "glVertexAttrib4fvNV", [(GLuint, "index"), (Const(Array(GLfloat, "4")), "v")]), |
| 1609 | GlFunction(Void, "glVertexAttrib4sNV", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]), |
| 1610 | GlFunction(Void, "glVertexAttrib4svNV", [(GLuint, "index"), (Const(Array(GLshort, "4")), "v")]), |
| 1611 | GlFunction(Void, "glVertexAttrib4ubNV", [(GLuint, "index"), (GLubyte, "x"), (GLubyte, "y"), (GLubyte, "z"), (GLubyte, "w")]), |
| 1612 | GlFunction(Void, "glVertexAttrib4ubvNV", [(GLuint, "index"), (Const(Array(GLubyte, "4")), "v")]), |
| 1613 | GlFunction(Void, "glVertexAttribs1dvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLdouble, "count")), "v")]), |
| 1614 | GlFunction(Void, "glVertexAttribs1fvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLfloat, "count")), "v")]), |
| 1615 | GlFunction(Void, "glVertexAttribs1svNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLshort, "count")), "v")]), |
| 1616 | GlFunction(Void, "glVertexAttribs2dvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLdouble, "count*2")), "v")]), |
| 1617 | GlFunction(Void, "glVertexAttribs2fvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLfloat, "count*2")), "v")]), |
| 1618 | GlFunction(Void, "glVertexAttribs2svNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLshort, "count*2")), "v")]), |
| 1619 | GlFunction(Void, "glVertexAttribs3dvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLdouble, "count*3")), "v")]), |
| 1620 | GlFunction(Void, "glVertexAttribs3fvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLfloat, "count*3")), "v")]), |
| 1621 | GlFunction(Void, "glVertexAttribs3svNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLshort, "count*3")), "v")]), |
| 1622 | GlFunction(Void, "glVertexAttribs4dvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLdouble, "count*4")), "v")]), |
| 1623 | GlFunction(Void, "glVertexAttribs4fvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLfloat, "count*4")), "v")]), |
| 1624 | GlFunction(Void, "glVertexAttribs4svNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLshort, "count*4")), "v")]), |
| 1625 | GlFunction(Void, "glVertexAttribs4ubvNV", [(GLuint, "index"), (GLsizei, "count"), (Const(Array(GLubyte, "count*4")), "v")]), |
| 1626 | |
| 1627 | # GL_ATI_envmap_bumpmap |
| 1628 | GlFunction(Void, "glTexBumpParameterivATI", [(GLenum, "pname"), (Const(OpaquePointer(GLint)), "param")]), |
| 1629 | GlFunction(Void, "glTexBumpParameterfvATI", [(GLenum, "pname"), (Const(OpaquePointer(GLfloat)), "param")]), |
| 1630 | GlFunction(Void, "glGetTexBumpParameterivATI", [(GLenum, "pname"), Out(OpaquePointer(GLint), "param")], sideeffects=False), |
| 1631 | GlFunction(Void, "glGetTexBumpParameterfvATI", [(GLenum, "pname"), Out(OpaquePointer(GLfloat), "param")], sideeffects=False), |
| 1632 | |
| 1633 | # GL_ATI_fragment_shader |
José Fonseca | 780219b | 2010-11-28 11:25:08 +0000 | [diff] [blame] | 1634 | GlFunction(Handle("fragmentShaderATI", GLuint, "range"), "glGenFragmentShadersATI", [(GLuint, "range")]), |
| 1635 | GlFunction(Void, "glBindFragmentShaderATI", [(GLfragmentShaderATI, "id")]), |
| 1636 | GlFunction(Void, "glDeleteFragmentShaderATI", [(GLfragmentShaderATI, "id")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1637 | GlFunction(Void, "glBeginFragmentShaderATI", []), |
| 1638 | GlFunction(Void, "glEndFragmentShaderATI", []), |
| 1639 | GlFunction(Void, "glPassTexCoordATI", [(GLuint, "dst"), (GLuint, "coord"), (GLenum, "swizzle")]), |
| 1640 | GlFunction(Void, "glSampleMapATI", [(GLuint, "dst"), (GLuint, "interp"), (GLenum, "swizzle")]), |
| 1641 | GlFunction(Void, "glColorFragmentOp1ATI", [(GLenum, "op"), (GLuint, "dst"), (GLuint, "dstMask"), (GLuint, "dstMod"), (GLuint, "arg1"), (GLuint, "arg1Rep"), (GLuint, "arg1Mod")]), |
| 1642 | GlFunction(Void, "glColorFragmentOp2ATI", [(GLenum, "op"), (GLuint, "dst"), (GLuint, "dstMask"), (GLuint, "dstMod"), (GLuint, "arg1"), (GLuint, "arg1Rep"), (GLuint, "arg1Mod"), (GLuint, "arg2"), (GLuint, "arg2Rep"), (GLuint, "arg2Mod")]), |
| 1643 | 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")]), |
| 1644 | GlFunction(Void, "glAlphaFragmentOp1ATI", [(GLenum, "op"), (GLuint, "dst"), (GLuint, "dstMod"), (GLuint, "arg1"), (GLuint, "arg1Rep"), (GLuint, "arg1Mod")]), |
| 1645 | GlFunction(Void, "glAlphaFragmentOp2ATI", [(GLenum, "op"), (GLuint, "dst"), (GLuint, "dstMod"), (GLuint, "arg1"), (GLuint, "arg1Rep"), (GLuint, "arg1Mod"), (GLuint, "arg2"), (GLuint, "arg2Rep"), (GLuint, "arg2Mod")]), |
| 1646 | 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")]), |
| 1647 | GlFunction(Void, "glSetFragmentShaderConstantATI", [(GLuint, "dst"), (Const(Array(GLfloat, "4")), "value")]), |
| 1648 | |
José Fonseca | 2acb730 | 2010-11-30 16:34:00 +0000 | [diff] [blame] | 1649 | # GL_EXT_vertex_shader |
| 1650 | GlFunction(Void, "glBeginVertexShaderEXT", []), |
| 1651 | GlFunction(Void, "glEndVertexShaderEXT", []), |
| 1652 | GlFunction(Void, "glBindVertexShaderEXT", [(GLuint, "id")]), |
| 1653 | GlFunction(GLuint, "glGenVertexShadersEXT", [(GLuint, "range")]), |
| 1654 | GlFunction(Void, "glDeleteVertexShaderEXT", [(GLuint, "id")]), |
| 1655 | GlFunction(Void, "glShaderOp1EXT", [(GLenum, "op"), (GLuint, "res"), (GLuint, "arg1")]), |
| 1656 | GlFunction(Void, "glShaderOp2EXT", [(GLenum, "op"), (GLuint, "res"), (GLuint, "arg1"), (GLuint, "arg2")]), |
| 1657 | GlFunction(Void, "glShaderOp3EXT", [(GLenum, "op"), (GLuint, "res"), (GLuint, "arg1"), (GLuint, "arg2"), (GLuint, "arg3")]), |
| 1658 | GlFunction(Void, "glSwizzleEXT", [(GLuint, "res"), (GLuint, "in"), (GLenum, "outX"), (GLenum, "outY"), (GLenum, "outZ"), (GLenum, "outW")]), |
| 1659 | GlFunction(Void, "glWriteMaskEXT", [(GLuint, "res"), (GLuint, "in"), (GLenum, "outX"), (GLenum, "outY"), (GLenum, "outZ"), (GLenum, "outW")]), |
| 1660 | GlFunction(Void, "glInsertComponentEXT", [(GLuint, "res"), (GLuint, "src"), (GLuint, "num")]), |
| 1661 | GlFunction(Void, "glExtractComponentEXT", [(GLuint, "res"), (GLuint, "src"), (GLuint, "num")]), |
| 1662 | GlFunction(GLuint, "glGenSymbolsEXT", [(GLenum, "datatype"), (GLenum, "storagetype"), (GLenum, "range"), (GLuint, "components")]), |
| 1663 | GlFunction(Void, "glSetInvariantEXT", [(GLuint, "id"), (GLenum, "type"), (Const(OpaqueBlob(GLvoid, "__glSetInvariantEXT_size(id, type)")), "addr")]), |
| 1664 | GlFunction(Void, "glSetLocalConstantEXT", [(GLuint, "id"), (GLenum, "type"), (Const(OpaqueBlob(GLvoid, "__glSetLocalConstantEXT_size(id, type)")), "addr")]), |
| 1665 | GlFunction(Void, "glVariantbvEXT", [(GLuint, "id"), (Const(OpaqueArray(GLbyte, "__glVariantbvEXT_size(id)")), "addr")]), |
| 1666 | GlFunction(Void, "glVariantsvEXT", [(GLuint, "id"), (Const(OpaqueArray(GLshort, "__glVariantsvEXT_size(id)")), "addr")]), |
| 1667 | GlFunction(Void, "glVariantivEXT", [(GLuint, "id"), (Const(OpaqueArray(GLint, "__glVariantivEXT_size(id)")), "addr")]), |
| 1668 | GlFunction(Void, "glVariantfvEXT", [(GLuint, "id"), (Const(OpaqueArray(GLfloat, "__glVariantfvEXT_size(id)")), "addr")]), |
| 1669 | GlFunction(Void, "glVariantdvEXT", [(GLuint, "id"), (Const(OpaqueArray(GLdouble, "__glVariantdvEXT_size(id)")), "addr")]), |
| 1670 | GlFunction(Void, "glVariantubvEXT", [(GLuint, "id"), (Const(OpaqueArray(GLubyte, "__glVariantubvEXT_size(id)")), "addr")]), |
| 1671 | GlFunction(Void, "glVariantusvEXT", [(GLuint, "id"), (Const(OpaqueArray(GLushort, "__glVariantusvEXT_size(id)")), "addr")]), |
| 1672 | GlFunction(Void, "glVariantuivEXT", [(GLuint, "id"), (Const(OpaqueArray(GLuint, "__glVariantuivEXT_size(id)")), "addr")]), |
| 1673 | GlFunction(Void, "glVariantPointerEXT", [(GLuint, "id"), (GLenum, "type"), (GLuint, "stride"), (Const(OpaqueBlob(GLvoid, "__glVariantPointerEXT_size(id, type, stride)")), "addr")]), |
| 1674 | GlFunction(Void, "glEnableVariantClientStateEXT", [(GLuint, "id")]), |
| 1675 | GlFunction(Void, "glDisableVariantClientStateEXT", [(GLuint, "id")]), |
| 1676 | GlFunction(GLuint, "glBindLightParameterEXT", [(GLenum, "light"), (GLenum, "value")]), |
| 1677 | GlFunction(GLuint, "glBindMaterialParameterEXT", [(GLenum, "face"), (GLenum, "value")]), |
| 1678 | GlFunction(GLuint, "glBindTexGenParameterEXT", [(GLenum, "unit"), (GLenum, "coord"), (GLenum, "value")]), |
| 1679 | GlFunction(GLuint, "glBindTextureUnitParameterEXT", [(GLenum, "unit"), (GLenum, "value")]), |
| 1680 | GlFunction(GLuint, "glBindParameterEXT", [(GLenum, "value")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 1681 | GlFunction(GLboolean, "glIsVariantEnabledEXT", [(GLuint, "id"), (GLenum, "cap")], sideeffects=False), |
José Fonseca | 2acb730 | 2010-11-30 16:34:00 +0000 | [diff] [blame] | 1682 | GlFunction(Void, "glGetVariantBooleanvEXT", [(GLuint, "id"), (GLenum, "value"), Out(OpaqueArray(GLboolean, "__glGetVariantBooleanvEXT_size(id)"), "data")], sideeffects=False), |
| 1683 | GlFunction(Void, "glGetVariantIntegervEXT", [(GLuint, "id"), (GLenum, "value"), Out(OpaqueArray(GLint, "__glGetVariantIntegervEXT_size(id)"), "data")], sideeffects=False), |
| 1684 | GlFunction(Void, "glGetVariantFloatvEXT", [(GLuint, "id"), (GLenum, "value"), Out(OpaqueArray(GLfloat, "__glGetVariantFloatvEXT_size(id)"), "data")], sideeffects=False), |
| 1685 | GlFunction(Void, "glGetVariantPointervEXT", [(GLuint, "id"), (GLenum, "value"), Out(OpaqueArray(OpaquePointer(GLvoid), "__glGetVariantPointervEXT_size(id)"), "data")], sideeffects=False), |
| 1686 | GlFunction(Void, "glGetInvariantBooleanvEXT", [(GLuint, "id"), (GLenum, "value"), Out(OpaqueArray(GLboolean, "__glGetInvariantBooleanvEXT_size(id)"), "data")], sideeffects=False), |
| 1687 | GlFunction(Void, "glGetInvariantIntegervEXT", [(GLuint, "id"), (GLenum, "value"), Out(OpaqueArray(GLint, "__glGetInvariantIntegervEXT_size(id)"), "data")], sideeffects=False), |
| 1688 | GlFunction(Void, "glGetInvariantFloatvEXT", [(GLuint, "id"), (GLenum, "value"), Out(OpaqueArray(GLfloat, "__glGetInvariantFloatvEXT_size(id)"), "data")], sideeffects=False), |
| 1689 | GlFunction(Void, "glGetLocalConstantBooleanvEXT", [(GLuint, "id"), (GLenum, "value"), Out(OpaqueArray(GLboolean, "__glGetLocalConstantBooleanvEXT_size(id)"), "data")], sideeffects=False), |
| 1690 | GlFunction(Void, "glGetLocalConstantIntegervEXT", [(GLuint, "id"), (GLenum, "value"), Out(OpaqueArray(GLint, "__glGetLocalConstantIntegervEXT_size(id)"), "data")], sideeffects=False), |
| 1691 | GlFunction(Void, "glGetLocalConstantFloatvEXT", [(GLuint, "id"), (GLenum, "value"), Out(OpaqueArray(GLfloat, "__glGetLocalConstantFloatvEXT_size(id)"), "data")], sideeffects=False), |
| 1692 | |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1693 | # GL_NV_occlusion_query |
José Fonseca | 780219b | 2010-11-28 11:25:08 +0000 | [diff] [blame] | 1694 | GlFunction(Void, "glGenOcclusionQueriesNV", [(GLsizei, "n"), Out(Array(GLquery, "n"), "ids")]), |
| 1695 | GlFunction(Void, "glDeleteOcclusionQueriesNV", [(GLsizei, "n"), (Const(Array(GLquery, "n")), "ids")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 1696 | GlFunction(GLboolean, "glIsOcclusionQueryNV", [(GLquery, "id")], sideeffects=False), |
José Fonseca | 780219b | 2010-11-28 11:25:08 +0000 | [diff] [blame] | 1697 | GlFunction(Void, "glBeginOcclusionQueryNV", [(GLquery, "id")]), |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 1698 | GlFunction(Void, "glEndOcclusionQueryNV", []), |
José Fonseca | 780219b | 2010-11-28 11:25:08 +0000 | [diff] [blame] | 1699 | GlFunction(Void, "glGetOcclusionQueryivNV", [(GLquery, "id"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetOcclusionQueryivNV_size(pname)"), "params")], sideeffects=False), |
| 1700 | 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] | 1701 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1702 | # GL_NV_point_sprite |
| 1703 | GlFunction(Void, "glPointParameteriNV", [(GLenum, "pname"), (GLint, "param")]), |
| 1704 | GlFunction(Void, "glPointParameterivNV", [(GLenum, "pname"), (Const(OpaquePointer(GLint)), "params")]), |
| 1705 | |
| 1706 | # GL_EXT_stencil_two_side |
| 1707 | GlFunction(Void, "glActiveStencilFaceEXT", [(GLenum, "face")]), |
| 1708 | |
| 1709 | # GL_APPLE_vertex_array_object |
José Fonseca | 56139d1 | 2011-05-09 09:06:02 +0100 | [diff] [blame] | 1710 | GlFunction(Void, "glBindVertexArrayAPPLE", [(GLarray, "array")]), |
| 1711 | GlFunction(Void, "glDeleteVertexArraysAPPLE", [(GLsizei, "n"), (Const(Array(GLarray, "n")), "arrays")]), |
| 1712 | GlFunction(Void, "glGenVertexArraysAPPLE", [(GLsizei, "n"), Out(Array(GLarray, "n"), "arrays")]), |
| 1713 | GlFunction(GLboolean, "glIsVertexArrayAPPLE", [(GLarray, "array")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1714 | |
José Fonseca | 81810e5 | 2011-04-22 22:59:07 +0100 | [diff] [blame] | 1715 | # GL_ATI_draw_buffers |
| 1716 | GlFunction(Void, "glDrawBuffersATI", [(GLsizei, "n"), (Const(Array(GLenum, "n")), "bufs")]), |
| 1717 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1718 | # GL_NV_fragment_program |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1719 | GlFunction(Void, "glProgramNamedParameter4fNV", [(GLprogramARB, "id"), (GLsizei, "len"), (Const(OpaquePointer(GLubyte)), "name"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 1720 | GlFunction(Void, "glProgramNamedParameter4dNV", [(GLprogramARB, "id"), (GLsizei, "len"), (Const(OpaquePointer(GLubyte)), "name"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 1721 | GlFunction(Void, "glProgramNamedParameter4fvNV", [(GLprogramARB, "id"), (GLsizei, "len"), (Const(OpaquePointer(GLubyte)), "name"), (Const(Array(GLfloat, "4")), "v")]), |
| 1722 | GlFunction(Void, "glProgramNamedParameter4dvNV", [(GLprogramARB, "id"), (GLsizei, "len"), (Const(OpaquePointer(GLubyte)), "name"), (Const(Array(GLdouble, "4")), "v")]), |
| 1723 | GlFunction(Void, "glGetProgramNamedParameterdvNV", [(GLprogramARB, "id"), (GLsizei, "len"), (Const(OpaquePointer(GLubyte)), "name"), (OpaquePointer(GLdouble), "params")], sideeffects=False), |
| 1724 | GlFunction(Void, "glGetProgramNamedParameterfvNV", [(GLprogramARB, "id"), (GLsizei, "len"), (Const(OpaquePointer(GLubyte)), "name"), (OpaquePointer(GLfloat), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1725 | |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 1726 | # GL_NV_half_float |
| 1727 | GlFunction(Void, "glVertex2hNV", [(GLhalfNV, "x"), (GLhalfNV, "y")]), |
| 1728 | GlFunction(Void, "glVertex2hvNV", [(Const(Array(GLhalfNV, "2")), "v")]), |
| 1729 | GlFunction(Void, "glVertex3hNV", [(GLhalfNV, "x"), (GLhalfNV, "y"), (GLhalfNV, "z")]), |
| 1730 | GlFunction(Void, "glVertex3hvNV", [(Const(Array(GLhalfNV, "3")), "v")]), |
| 1731 | GlFunction(Void, "glVertex4hNV", [(GLhalfNV, "x"), (GLhalfNV, "y"), (GLhalfNV, "z"), (GLhalfNV, "w")]), |
| 1732 | GlFunction(Void, "glVertex4hvNV", [(Const(Array(GLhalfNV, "4")), "v")]), |
| 1733 | GlFunction(Void, "glNormal3hNV", [(GLhalfNV, "nx"), (GLhalfNV, "ny"), (GLhalfNV, "nz")]), |
| 1734 | GlFunction(Void, "glNormal3hvNV", [(Const(Array(GLhalfNV, "3")), "v")]), |
| 1735 | GlFunction(Void, "glColor3hNV", [(GLhalfNV, "red"), (GLhalfNV, "green"), (GLhalfNV, "blue")]), |
| 1736 | GlFunction(Void, "glColor3hvNV", [(Const(Array(GLhalfNV, "3")), "v")]), |
| 1737 | GlFunction(Void, "glColor4hNV", [(GLhalfNV, "red"), (GLhalfNV, "green"), (GLhalfNV, "blue"), (GLhalfNV, "alpha")]), |
| 1738 | GlFunction(Void, "glColor4hvNV", [(Const(Array(GLhalfNV, "4")), "v")]), |
| 1739 | GlFunction(Void, "glTexCoord1hNV", [(GLhalfNV, "s")]), |
| 1740 | GlFunction(Void, "glTexCoord1hvNV", [(Const(Pointer(GLhalfNV)), "v")]), |
| 1741 | GlFunction(Void, "glTexCoord2hNV", [(GLhalfNV, "s"), (GLhalfNV, "t")]), |
| 1742 | GlFunction(Void, "glTexCoord2hvNV", [(Const(Array(GLhalfNV, "2")), "v")]), |
| 1743 | GlFunction(Void, "glTexCoord3hNV", [(GLhalfNV, "s"), (GLhalfNV, "t"), (GLhalfNV, "r")]), |
| 1744 | GlFunction(Void, "glTexCoord3hvNV", [(Const(Array(GLhalfNV, "3")), "v")]), |
| 1745 | GlFunction(Void, "glTexCoord4hNV", [(GLhalfNV, "s"), (GLhalfNV, "t"), (GLhalfNV, "r"), (GLhalfNV, "q")]), |
| 1746 | GlFunction(Void, "glTexCoord4hvNV", [(Const(Array(GLhalfNV, "4")), "v")]), |
| 1747 | GlFunction(Void, "glMultiTexCoord1hNV", [(GLenum, "target"), (GLhalfNV, "s")]), |
| 1748 | GlFunction(Void, "glMultiTexCoord1hvNV", [(GLenum, "target"), (Const(Pointer(GLhalfNV)), "v")]), |
| 1749 | GlFunction(Void, "glMultiTexCoord2hNV", [(GLenum, "target"), (GLhalfNV, "s"), (GLhalfNV, "t")]), |
| 1750 | GlFunction(Void, "glMultiTexCoord2hvNV", [(GLenum, "target"), (Const(Array(GLhalfNV, "2")), "v")]), |
| 1751 | GlFunction(Void, "glMultiTexCoord3hNV", [(GLenum, "target"), (GLhalfNV, "s"), (GLhalfNV, "t"), (GLhalfNV, "r")]), |
| 1752 | GlFunction(Void, "glMultiTexCoord3hvNV", [(GLenum, "target"), (Const(Array(GLhalfNV, "3")), "v")]), |
| 1753 | GlFunction(Void, "glMultiTexCoord4hNV", [(GLenum, "target"), (GLhalfNV, "s"), (GLhalfNV, "t"), (GLhalfNV, "r"), (GLhalfNV, "q")]), |
| 1754 | GlFunction(Void, "glMultiTexCoord4hvNV", [(GLenum, "target"), (Const(Array(GLhalfNV, "4")), "v")]), |
| 1755 | GlFunction(Void, "glFogCoordhNV", [(GLhalfNV, "fog")]), |
| 1756 | GlFunction(Void, "glFogCoordhvNV", [(Const(Pointer(GLhalfNV)), "fog")]), |
| 1757 | GlFunction(Void, "glSecondaryColor3hNV", [(GLhalfNV, "red"), (GLhalfNV, "green"), (GLhalfNV, "blue")]), |
| 1758 | GlFunction(Void, "glSecondaryColor3hvNV", [(Const(Array(GLhalfNV, "3")), "v")]), |
| 1759 | GlFunction(Void, "glVertexWeighthNV", [(GLhalfNV, "weight")]), |
| 1760 | GlFunction(Void, "glVertexWeighthvNV", [(Const(Pointer(GLhalfNV)), "weight")]), |
| 1761 | GlFunction(Void, "glVertexAttrib1hNV", [(GLuint, "index"), (GLhalfNV, "x")]), |
| 1762 | GlFunction(Void, "glVertexAttrib1hvNV", [(GLuint, "index"), (Const(Pointer(GLhalfNV)), "v")]), |
| 1763 | GlFunction(Void, "glVertexAttrib2hNV", [(GLuint, "index"), (GLhalfNV, "x"), (GLhalfNV, "y")]), |
| 1764 | GlFunction(Void, "glVertexAttrib2hvNV", [(GLuint, "index"), (Const(Array(GLhalfNV, "2")), "v")]), |
| 1765 | GlFunction(Void, "glVertexAttrib3hNV", [(GLuint, "index"), (GLhalfNV, "x"), (GLhalfNV, "y"), (GLhalfNV, "z")]), |
| 1766 | GlFunction(Void, "glVertexAttrib3hvNV", [(GLuint, "index"), (Const(Array(GLhalfNV, "3")), "v")]), |
| 1767 | GlFunction(Void, "glVertexAttrib4hNV", [(GLuint, "index"), (GLhalfNV, "x"), (GLhalfNV, "y"), (GLhalfNV, "z"), (GLhalfNV, "w")]), |
| 1768 | GlFunction(Void, "glVertexAttrib4hvNV", [(GLuint, "index"), (Const(Array(GLhalfNV, "4")), "v")]), |
| 1769 | GlFunction(Void, "glVertexAttribs1hvNV", [(GLuint, "index"), (GLsizei, "n"), (Const(Array(GLhalfNV, "n")), "v")]), |
| 1770 | GlFunction(Void, "glVertexAttribs2hvNV", [(GLuint, "index"), (GLsizei, "n"), (Const(Array(GLhalfNV, "n")), "v")]), |
| 1771 | GlFunction(Void, "glVertexAttribs3hvNV", [(GLuint, "index"), (GLsizei, "n"), (Const(Array(GLhalfNV, "n")), "v")]), |
| 1772 | GlFunction(Void, "glVertexAttribs4hvNV", [(GLuint, "index"), (GLsizei, "n"), (Const(Array(GLhalfNV, "n")), "v")]), |
| 1773 | |
| 1774 | # GL_NV_pixel_data_range |
| 1775 | GlFunction(Void, "glPixelDataRangeNV", [(GLenum, "target"), (GLsizei, "length"), Out(Blob(GLvoid, "length"), "pointer")]), |
| 1776 | GlFunction(Void, "glFlushPixelDataRangeNV", [(GLenum, "target")]), |
| 1777 | |
| 1778 | # GL_NV_primitive_restart |
| 1779 | GlFunction(Void, "glPrimitiveRestartNV", []), |
| 1780 | GlFunction(Void, "glPrimitiveRestartIndexNV", [(GLuint, "index")]), |
| 1781 | |
| 1782 | # GL_ATI_map_object_buffer |
José Fonseca | 837b0dc | 2011-05-09 09:21:34 +0100 | [diff] [blame] | 1783 | GlFunction(GLmap, "glMapObjectBufferATI", [(GLbuffer, "buffer")]), |
| 1784 | GlFunction(Void, "glUnmapObjectBufferATI", [(GLbuffer, "buffer")]), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 1785 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1786 | # GL_ATI_separate_stencil |
José Fonseca | 5e254ca | 2010-11-25 10:08:50 +0000 | [diff] [blame] | 1787 | GlFunction(Void, "glStencilOpSeparateATI", [(GLenum, "face"), (GLenum, "sfail"), (GLenum, "dpfail"), (GLenum, "dppass")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1788 | GlFunction(Void, "glStencilFuncSeparateATI", [(GLenum, "frontfunc"), (GLenum, "backfunc"), (GLint, "ref"), (GLuint, "mask")]), |
| 1789 | |
| 1790 | # GL_EXT_depth_bounds_test |
| 1791 | GlFunction(Void, "glDepthBoundsEXT", [(GLclampd, "zmin"), (GLclampd, "zmax")]), |
| 1792 | |
| 1793 | # GL_EXT_blend_equation_separate |
| 1794 | GlFunction(Void, "glBlendEquationSeparateEXT", [(GLenum, "modeRGB"), (GLenum, "modeAlpha")]), |
| 1795 | |
| 1796 | # GL_EXT_framebuffer_object |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 1797 | GlFunction(GLboolean, "glIsRenderbufferEXT", [(GLrenderbuffer, "renderbuffer")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1798 | GlFunction(Void, "glBindRenderbufferEXT", [(GLenum, "target"), (GLrenderbuffer, "renderbuffer")]), |
| 1799 | GlFunction(Void, "glDeleteRenderbuffersEXT", [(GLsizei, "n"), (Const(Array(GLrenderbuffer, "n")), "renderbuffers")]), |
| 1800 | GlFunction(Void, "glGenRenderbuffersEXT", [(GLsizei, "n"), Out(Array(GLrenderbuffer, "n"), "renderbuffers")]), |
| 1801 | GlFunction(Void, "glRenderbufferStorageEXT", [(GLenum, "target"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height")]), |
| 1802 | GlFunction(Void, "glGetRenderbufferParameterivEXT", [(GLenum, "target"), (GLenum, "pname"), (OpaquePointer(GLint), "params")], sideeffects=False), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 1803 | GlFunction(GLboolean, "glIsFramebufferEXT", [(GLframebuffer, "framebuffer")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1804 | GlFunction(Void, "glBindFramebufferEXT", [(GLenum, "target"), (GLframebuffer, "framebuffer")]), |
| 1805 | GlFunction(Void, "glDeleteFramebuffersEXT", [(GLsizei, "n"), (Const(Array(GLframebuffer, "n")), "framebuffers")]), |
| 1806 | GlFunction(Void, "glGenFramebuffersEXT", [(GLsizei, "n"), Out(Array(GLframebuffer, "n"), "framebuffers")]), |
| 1807 | GlFunction(GLenum, "glCheckFramebufferStatusEXT", [(GLenum, "target")]), |
| 1808 | GlFunction(Void, "glFramebufferTexture1DEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLtexture, "texture"), (GLint, "level")]), |
| 1809 | GlFunction(Void, "glFramebufferTexture2DEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLtexture, "texture"), (GLint, "level")]), |
| 1810 | GlFunction(Void, "glFramebufferTexture3DEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "textarget"), (GLtexture, "texture"), (GLint, "level"), (GLint, "zoffset")]), |
| 1811 | GlFunction(Void, "glFramebufferRenderbufferEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "renderbuffertarget"), (GLuint, "renderbuffer")]), |
| 1812 | GlFunction(Void, "glGetFramebufferAttachmentParameterivEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLenum, "pname"), (OpaquePointer(GLint), "params")], sideeffects=False), |
| 1813 | GlFunction(Void, "glGenerateMipmapEXT", [(GLenum, "target")]), |
| 1814 | |
José Fonseca | e075d2b | 2010-11-30 09:44:27 +0000 | [diff] [blame] | 1815 | # GL_GREMEDY_string_marker |
| 1816 | GlFunction(Void, "glStringMarkerGREMEDY", [(GLsizei, "len"), (Const(String("GLvoid *", "len")), "string")]), |
| 1817 | |
| 1818 | # GL_EXT_stencil_clear_tag |
| 1819 | GlFunction(Void, "glStencilClearTagEXT", [(GLsizei, "stencilTagBits"), (GLuint, "stencilClearTag")]), |
| 1820 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1821 | # GL_EXT_framebuffer_blit |
| 1822 | GlFunction(Void, "glBlitFramebufferEXT", [(GLint, "srcX0"), (GLint, "srcY0"), (GLint, "srcX1"), (GLint, "srcY1"), (GLint, "dstX0"), (GLint, "dstY0"), (GLint, "dstX1"), (GLint, "dstY1"), (GLbitfield_attrib, "mask"), (GLenum, "filter")]), |
| 1823 | |
José Fonseca | 5e254ca | 2010-11-25 10:08:50 +0000 | [diff] [blame] | 1824 | # GL_EXT_framebuffer_multisample |
| 1825 | GlFunction(Void, "glRenderbufferStorageMultisampleEXT", [(GLenum, "target"), (GLsizei, "samples"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height")]), |
| 1826 | |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1827 | # GL_EXT_timer_query |
José Fonseca | 780219b | 2010-11-28 11:25:08 +0000 | [diff] [blame] | 1828 | GlFunction(Void, "glGetQueryObjecti64vEXT", [(GLquery, "id"), (GLenum, "pname"), (OpaquePointer(GLint64EXT), "params")], sideeffects=False), |
| 1829 | GlFunction(Void, "glGetQueryObjectui64vEXT", [(GLquery, "id"), (GLenum, "pname"), (OpaquePointer(GLuint64EXT), "params")], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1830 | |
| 1831 | # GL_EXT_gpu_program_parameters |
José Fonseca | 1bc09d0 | 2011-03-23 19:39:11 +0000 | [diff] [blame] | 1832 | GlFunction(Void, "glProgramEnvParameters4fvEXT", [(GLenum, "target"), (GLuint, "index"), (GLsizei, "count"), (Const(Array(GLfloat, "count*4")), "params")]), |
| 1833 | GlFunction(Void, "glProgramLocalParameters4fvEXT", [(GLenum, "target"), (GLuint, "index"), (GLsizei, "count"), (Const(Array(GLfloat, "count*4")), "params")]), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 1834 | |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 1835 | # GL_APPLE_flush_buffer_range |
| 1836 | GlFunction(Void, "glBufferParameteriAPPLE", [(GLenum, "target"), (GLenum, "pname"), (GLint, "param")]), |
| 1837 | GlFunction(Void, "glFlushMappedBufferRangeAPPLE", [(GLenum, "target"), (GLintptr, "offset"), (GLsizeiptr, "size")]), |
| 1838 | |
José Fonseca | 5aa74c6 | 2010-11-30 00:45:33 +0000 | [diff] [blame] | 1839 | # GL_NV_gpu_program4 |
| 1840 | GlFunction(Void, "glProgramLocalParameterI4iNV", [(GLenum, "target"), (GLuint, "index"), (GLint, "x"), (GLint, "y"), (GLint, "z"), (GLint, "w")]), |
| 1841 | GlFunction(Void, "glProgramLocalParameterI4ivNV", [(GLenum, "target"), (GLuint, "index"), (Const(Array(GLint, "4")), "params")]), |
| 1842 | GlFunction(Void, "glProgramLocalParametersI4ivNV", [(GLenum, "target"), (GLuint, "index"), (GLsizei, "count"), (Const(Array(GLint, "count*4")), "params")]), |
| 1843 | GlFunction(Void, "glProgramLocalParameterI4uiNV", [(GLenum, "target"), (GLuint, "index"), (GLuint, "x"), (GLuint, "y"), (GLuint, "z"), (GLuint, "w")]), |
| 1844 | GlFunction(Void, "glProgramLocalParameterI4uivNV", [(GLenum, "target"), (GLuint, "index"), (Const(Array(GLuint, "4")), "params")]), |
| 1845 | GlFunction(Void, "glProgramLocalParametersI4uivNV", [(GLenum, "target"), (GLuint, "index"), (GLsizei, "count"), (Const(Array(GLuint, "count*4")), "params")]), |
| 1846 | GlFunction(Void, "glProgramEnvParameterI4iNV", [(GLenum, "target"), (GLuint, "index"), (GLint, "x"), (GLint, "y"), (GLint, "z"), (GLint, "w")]), |
| 1847 | GlFunction(Void, "glProgramEnvParameterI4ivNV", [(GLenum, "target"), (GLuint, "index"), (Const(Array(GLint, "4")), "params")]), |
| 1848 | GlFunction(Void, "glProgramEnvParametersI4ivNV", [(GLenum, "target"), (GLuint, "index"), (GLsizei, "count"), (Const(Array(GLint, "count*4")), "params")]), |
| 1849 | GlFunction(Void, "glProgramEnvParameterI4uiNV", [(GLenum, "target"), (GLuint, "index"), (GLuint, "x"), (GLuint, "y"), (GLuint, "z"), (GLuint, "w")]), |
| 1850 | GlFunction(Void, "glProgramEnvParameterI4uivNV", [(GLenum, "target"), (GLuint, "index"), (Const(Array(GLuint, "4")), "params")]), |
| 1851 | GlFunction(Void, "glProgramEnvParametersI4uivNV", [(GLenum, "target"), (GLuint, "index"), (GLsizei, "count"), (Const(Array(GLuint, "count*4")), "params")]), |
| 1852 | GlFunction(Void, "glGetProgramLocalParameterIivNV", [(GLenum, "target"), (GLuint, "index"), Out(Array(GLint, "4"), "params")], sideeffects=False), |
| 1853 | GlFunction(Void, "glGetProgramLocalParameterIuivNV", [(GLenum, "target"), (GLuint, "index"), Out(Array(GLuint, "4"), "params")], sideeffects=False), |
| 1854 | GlFunction(Void, "glGetProgramEnvParameterIivNV", [(GLenum, "target"), (GLuint, "index"), Out(Array(GLint, "4"), "params")], sideeffects=False), |
| 1855 | GlFunction(Void, "glGetProgramEnvParameterIuivNV", [(GLenum, "target"), (GLuint, "index"), Out(Array(GLuint, "4"), "params")], sideeffects=False), |
| 1856 | |
José Fonseca | e075d2b | 2010-11-30 09:44:27 +0000 | [diff] [blame] | 1857 | # GL_NV_geometry_program4 |
| 1858 | GlFunction(Void, "glProgramVertexLimitNV", [(GLenum, "target"), (GLint, "limit")]), |
| 1859 | GlFunction(Void, "glFramebufferTextureEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLtexture, "texture"), (GLint, "level")]), |
| 1860 | GlFunction(Void, "glFramebufferTextureLayerEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLtexture, "texture"), (GLint, "level"), (GLint, "layer")]), |
| 1861 | GlFunction(Void, "glFramebufferTextureFaceEXT", [(GLenum, "target"), (GLenum, "attachment"), (GLtexture, "texture"), (GLint, "level"), (GLenum, "face")]), |
| 1862 | |
| 1863 | # GL_EXT_geometry_shader4 |
| 1864 | GlFunction(Void, "glProgramParameteriEXT", [(GLprogram, "program"), (GLenum, "pname"), (GLint, "value")]), |
| 1865 | |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 1866 | # GL_NV_vertex_program4 |
| 1867 | GlFunction(Void, "glVertexAttribI1iEXT", [(GLuint, "index"), (GLint, "x")]), |
| 1868 | GlFunction(Void, "glVertexAttribI2iEXT", [(GLuint, "index"), (GLint, "x"), (GLint, "y")]), |
| 1869 | GlFunction(Void, "glVertexAttribI3iEXT", [(GLuint, "index"), (GLint, "x"), (GLint, "y"), (GLint, "z")]), |
| 1870 | GlFunction(Void, "glVertexAttribI4iEXT", [(GLuint, "index"), (GLint, "x"), (GLint, "y"), (GLint, "z"), (GLint, "w")]), |
| 1871 | GlFunction(Void, "glVertexAttribI1uiEXT", [(GLuint, "index"), (GLuint, "x")]), |
| 1872 | GlFunction(Void, "glVertexAttribI2uiEXT", [(GLuint, "index"), (GLuint, "x"), (GLuint, "y")]), |
| 1873 | GlFunction(Void, "glVertexAttribI3uiEXT", [(GLuint, "index"), (GLuint, "x"), (GLuint, "y"), (GLuint, "z")]), |
| 1874 | GlFunction(Void, "glVertexAttribI4uiEXT", [(GLuint, "index"), (GLuint, "x"), (GLuint, "y"), (GLuint, "z"), (GLuint, "w")]), |
| 1875 | GlFunction(Void, "glVertexAttribI1ivEXT", [(GLuint, "index"), (Const(Pointer(GLint)), "v")]), |
| 1876 | GlFunction(Void, "glVertexAttribI2ivEXT", [(GLuint, "index"), (Const(Array(GLint, "2")), "v")]), |
| 1877 | GlFunction(Void, "glVertexAttribI3ivEXT", [(GLuint, "index"), (Const(Array(GLint, "3")), "v")]), |
| 1878 | GlFunction(Void, "glVertexAttribI4ivEXT", [(GLuint, "index"), (Const(Array(GLint, "4")), "v")]), |
| 1879 | GlFunction(Void, "glVertexAttribI1uivEXT", [(GLuint, "index"), (Const(Pointer(GLuint)), "v")]), |
| 1880 | GlFunction(Void, "glVertexAttribI2uivEXT", [(GLuint, "index"), (Const(Array(GLuint, "2")), "v")]), |
| 1881 | GlFunction(Void, "glVertexAttribI3uivEXT", [(GLuint, "index"), (Const(Array(GLuint, "3")), "v")]), |
| 1882 | GlFunction(Void, "glVertexAttribI4uivEXT", [(GLuint, "index"), (Const(Array(GLuint, "4")), "v")]), |
| 1883 | GlFunction(Void, "glVertexAttribI4bvEXT", [(GLuint, "index"), (Const(Array(GLbyte, "4")), "v")]), |
| 1884 | GlFunction(Void, "glVertexAttribI4svEXT", [(GLuint, "index"), (Const(Array(GLshort, "4")), "v")]), |
| 1885 | GlFunction(Void, "glVertexAttribI4ubvEXT", [(GLuint, "index"), (Const(Array(GLubyte, "4")), "v")]), |
| 1886 | GlFunction(Void, "glVertexAttribI4usvEXT", [(GLuint, "index"), (Const(Array(GLushort, "4")), "v")]), |
| 1887 | GlFunction(Void, "glVertexAttribIPointerEXT", [(GLuint, "index"), (GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 1888 | GlFunction(Void, "glGetVertexAttribIivEXT", [(GLuint, "index"), (GLenum, "pname"), Out(Pointer(GLint), "params")], sideeffects=False), |
| 1889 | GlFunction(Void, "glGetVertexAttribIuivEXT", [(GLuint, "index"), (GLenum, "pname"), Out(Pointer(GLuint), "params")], sideeffects=False), |
| 1890 | |
| 1891 | # GL_EXT_gpu_shader4 |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1892 | GlFunction(Void, "glGetUniformuivEXT", [(GLprogram, "program"), (GLlocation, "location"), Out(OpaqueArray(GLuint, "__glGetUniformuivEXT_size(program, location)"), "params")], sideeffects=False), |
| 1893 | GlFunction(Void, "glBindFragDataLocationEXT", [(GLprogram, "program"), (GLuint, "color"), (Const(GLstring), "name")]), |
| 1894 | GlFunction(GLlocation, "glGetFragDataLocationEXT", [(GLprogram, "program"), (Const(GLstring), "name")]), |
| 1895 | GlFunction(Void, "glUniform1uiEXT", [(GLlocation, "location"), (GLuint, "v0")]), |
| 1896 | GlFunction(Void, "glUniform2uiEXT", [(GLlocation, "location"), (GLuint, "v0"), (GLuint, "v1")]), |
| 1897 | GlFunction(Void, "glUniform3uiEXT", [(GLlocation, "location"), (GLuint, "v0"), (GLuint, "v1"), (GLuint, "v2")]), |
| 1898 | GlFunction(Void, "glUniform4uiEXT", [(GLlocation, "location"), (GLuint, "v0"), (GLuint, "v1"), (GLuint, "v2"), (GLuint, "v3")]), |
| 1899 | GlFunction(Void, "glUniform1uivEXT", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLuint, "count")), "value")]), |
| 1900 | GlFunction(Void, "glUniform2uivEXT", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLuint, "count*2")), "value")]), |
| 1901 | GlFunction(Void, "glUniform3uivEXT", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLuint, "count*3")), "value")]), |
| 1902 | GlFunction(Void, "glUniform4uivEXT", [(GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLuint, "count*4")), "value")]), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 1903 | |
| 1904 | # GL_EXT_draw_instanced |
José Fonseca | 5c749e3 | 2011-05-09 11:11:37 +0100 | [diff] [blame] | 1905 | GlFunction(Void, "glDrawArraysInstancedEXT", [(GLenum_mode, "mode"), (GLint, "start"), (GLsizei, "count"), (GLsizei, "primcount")]), |
| 1906 | GlFunction(Void, "glDrawElementsInstancedEXT", [(GLenum_mode, "mode"), (GLsizei, "count"), (GLenum, "type"), (OpaquePointer(Const(GLvoid)), "indices"), (GLsizei, "primcount")]), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 1907 | |
| 1908 | # GL_EXT_texture_buffer_object |
| 1909 | GlFunction(Void, "glTexBufferEXT", [(GLenum, "target"), (GLenum, "internalformat"), (GLuint, "buffer")]), |
| 1910 | |
José Fonseca | e075d2b | 2010-11-30 09:44:27 +0000 | [diff] [blame] | 1911 | # GL_NV_depth_buffer_float |
| 1912 | GlFunction(Void, "glDepthRangedNV", [(GLdouble, "zNear"), (GLdouble, "zFar")]), |
| 1913 | GlFunction(Void, "glClearDepthdNV", [(GLdouble, "depth")]), |
| 1914 | GlFunction(Void, "glDepthBoundsdNV", [(GLdouble, "zmin"), (GLdouble, "zmax")]), |
| 1915 | |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 1916 | # GL_NV_framebuffer_multisample_coverage |
| 1917 | GlFunction(Void, "glRenderbufferStorageMultisampleCoverageNV", [(GLenum, "target"), (GLsizei, "coverageSamples"), (GLsizei, "colorSamples"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height")]), |
| 1918 | |
| 1919 | # GL_NV_parameter_buffer_object |
| 1920 | GlFunction(Void, "glProgramBufferParametersfvNV", [(GLenum, "target"), (GLuint, "buffer"), (GLuint, "index"), (GLsizei, "count"), (Const(Array(GLfloat, "count")), "params")]), |
| 1921 | GlFunction(Void, "glProgramBufferParametersIivNV", [(GLenum, "target"), (GLuint, "buffer"), (GLuint, "index"), (GLsizei, "count"), (Const(Array(GLint, "count")), "params")]), |
| 1922 | GlFunction(Void, "glProgramBufferParametersIuivNV", [(GLenum, "target"), (GLuint, "buffer"), (GLuint, "index"), (GLsizei, "count"), (Const(Array(GLuint, "count")), "params")]), |
| 1923 | |
| 1924 | # GL_EXT_draw_buffers2 |
| 1925 | GlFunction(Void, "glColorMaskIndexedEXT", [(GLuint, "index"), (GLboolean, "r"), (GLboolean, "g"), (GLboolean, "b"), (GLboolean, "a")]), |
| 1926 | GlFunction(Void, "glGetBooleanIndexedvEXT", [(GLenum, "target"), (GLuint, "index"), Out(OpaqueArray(GLboolean, "__glGetBooleanIndexedvEXT_size(target)"), "data")], sideeffects=False), |
| 1927 | GlFunction(Void, "glGetIntegerIndexedvEXT", [(GLenum, "target"), (GLuint, "index"), Out(OpaqueArray(GLint, "__glGetIntegerIndexedvEXT_size(target)"), "data")], sideeffects=False), |
| 1928 | GlFunction(Void, "glEnableIndexedEXT", [(GLenum, "target"), (GLuint, "index")]), |
| 1929 | GlFunction(Void, "glDisableIndexedEXT", [(GLenum, "target"), (GLuint, "index")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 1930 | GlFunction(GLboolean, "glIsEnabledIndexedEXT", [(GLenum, "target"), (GLuint, "index")], sideeffects=False), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 1931 | |
| 1932 | # GL_NV_transform_feedback |
| 1933 | GlFunction(Void, "glBeginTransformFeedbackNV", [(GLenum, "primitiveMode")]), |
| 1934 | GlFunction(Void, "glEndTransformFeedbackNV", []), |
| 1935 | GlFunction(Void, "glTransformFeedbackAttribsNV", [(GLuint, "count"), (Const(OpaqueArray(GLint, "__glTransformFeedbackAttribsNV_size(count)")), "attribs"), (GLenum, "bufferMode")]), |
| 1936 | GlFunction(Void, "glBindBufferRangeNV", [(GLenum, "target"), (GLuint, "index"), (GLuint, "buffer"), (GLintptr, "offset"), (GLsizeiptr, "size")]), |
| 1937 | GlFunction(Void, "glBindBufferOffsetNV", [(GLenum, "target"), (GLuint, "index"), (GLuint, "buffer"), (GLintptr, "offset")]), |
| 1938 | GlFunction(Void, "glBindBufferBaseNV", [(GLenum, "target"), (GLuint, "index"), (GLuint, "buffer")]), |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1939 | GlFunction(Void, "glTransformFeedbackVaryingsNV", [(GLprogram, "program"), (GLsizei, "count"), (Const(Array(GLint, "count")), "locations"), (GLenum, "bufferMode")]), |
| 1940 | GlFunction(Void, "glActiveVaryingNV", [(GLprogram, "program"), (Const(GLstring), "name")]), |
| 1941 | GlFunction(GLlocation, "glGetVaryingLocationNV", [(GLprogram, "program"), (Const(GLstring), "name")]), |
| 1942 | GlFunction(Void, "glGetActiveVaryingNV", [(GLprogram, "program"), (GLuint, "index"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(Pointer(GLsizei), "size"), Out(Pointer(GLenum), "type"), Out(GLstring, "name")], sideeffects=False), |
| 1943 | GlFunction(Void, "glGetTransformFeedbackVaryingNV", [(GLprogram, "program"), (GLuint, "index"), Out(Pointer(GLlocation), "location")], sideeffects=False), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 1944 | GlFunction(Void, "glTransformFeedbackStreamAttribsNV", [(GLsizei, "count"), (Const(Array(GLint, "count")), "attribs"), (GLsizei, "nbuffers"), (Const(Array(GLint, "nbuffers")), "bufstreams"), (GLenum, "bufferMode")]), |
| 1945 | |
José Fonseca | 2acb730 | 2010-11-30 16:34:00 +0000 | [diff] [blame] | 1946 | # GL_EXT_bindable_uniform |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1947 | GlFunction(Void, "glUniformBufferEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLuint, "buffer")]), |
| 1948 | GlFunction(GLint, "glGetUniformBufferSizeEXT", [(GLprogram, "program"), (GLlocation, "location")]), |
| 1949 | GlFunction(GLintptr, "glGetUniformOffsetEXT", [(GLprogram, "program"), (GLlocation, "location")]), |
José Fonseca | 2acb730 | 2010-11-30 16:34:00 +0000 | [diff] [blame] | 1950 | |
| 1951 | # GL_EXT_texture_integer |
| 1952 | GlFunction(Void, "glTexParameterIivEXT", [(GLenum, "target"), (GLenum, "pname"), (Const(OpaqueArray(GLint, "__glTexParameterIivEXT_size(pname)")), "params")]), |
| 1953 | GlFunction(Void, "glTexParameterIuivEXT", [(GLenum, "target"), (GLenum, "pname"), (Const(OpaqueArray(GLuint, "__glTexParameterIuivEXT_size(pname)")), "params")]), |
| 1954 | GlFunction(Void, "glGetTexParameterIivEXT", [(GLenum, "target"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetTexParameterIivEXT_size(pname)"), "params")], sideeffects=False), |
| 1955 | GlFunction(Void, "glGetTexParameterIuivEXT", [(GLenum, "target"), (GLenum, "pname"), Out(OpaqueArray(GLuint, "__glGetTexParameterIuivEXT_size(pname)"), "params")], sideeffects=False), |
| 1956 | GlFunction(Void, "glClearColorIiEXT", [(GLint, "red"), (GLint, "green"), (GLint, "blue"), (GLint, "alpha")]), |
| 1957 | GlFunction(Void, "glClearColorIuiEXT", [(GLuint, "red"), (GLuint, "green"), (GLuint, "blue"), (GLuint, "alpha")]), |
| 1958 | |
José Fonseca | e075d2b | 2010-11-30 09:44:27 +0000 | [diff] [blame] | 1959 | # GL_GREMEDY_frame_terminator |
| 1960 | GlFunction(Void, "glFrameTerminatorGREMEDY", []), |
| 1961 | |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 1962 | # GL_NV_conditional_render |
| 1963 | GlFunction(Void, "glBeginConditionalRenderNV", [(GLuint, "id"), (GLenum, "mode")]), |
| 1964 | GlFunction(Void, "glEndConditionalRenderNV", []), |
| 1965 | |
| 1966 | # GL_NV_present_video |
| 1967 | GlFunction(Void, "glPresentFrameKeyedNV", [(GLuint, "video_slot"), (GLuint64EXT, "minPresentTime"), (GLuint, "beginPresentTimeId"), (GLuint, "presentDurationId"), (GLenum, "type"), (GLenum, "target0"), (GLuint, "fill0"), (GLuint, "key0"), (GLenum, "target1"), (GLuint, "fill1"), (GLuint, "key1")]), |
| 1968 | GlFunction(Void, "glPresentFrameDualFillNV", [(GLuint, "video_slot"), (GLuint64EXT, "minPresentTime"), (GLuint, "beginPresentTimeId"), (GLuint, "presentDurationId"), (GLenum, "type"), (GLenum, "target0"), (GLuint, "fill0"), (GLenum, "target1"), (GLuint, "fill1"), (GLenum, "target2"), (GLuint, "fill2"), (GLenum, "target3"), (GLuint, "fill3")]), |
| 1969 | GlFunction(Void, "glGetVideoivNV", [(GLuint, "video_slot"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetVideoivNV_size(pname)"), "params")], sideeffects=False), |
| 1970 | GlFunction(Void, "glGetVideouivNV", [(GLuint, "video_slot"), (GLenum, "pname"), Out(OpaqueArray(GLuint, "__glGetVideouivNV_size(pname)"), "params")], sideeffects=False), |
| 1971 | GlFunction(Void, "glGetVideoi64vNV", [(GLuint, "video_slot"), (GLenum, "pname"), Out(OpaqueArray(GLint64EXT, "__glGetVideoi64vNV_size(pname)"), "params")], sideeffects=False), |
| 1972 | GlFunction(Void, "glGetVideoui64vNV", [(GLuint, "video_slot"), (GLenum, "pname"), Out(OpaqueArray(GLuint64EXT, "__glGetVideoui64vNV_size(pname)"), "params")], sideeffects=False), |
| 1973 | |
José Fonseca | 2acb730 | 2010-11-30 16:34:00 +0000 | [diff] [blame] | 1974 | # GL_EXT_transform_feedback |
| 1975 | GlFunction(Void, "glBeginTransformFeedbackEXT", [(GLenum, "primitiveMode")]), |
| 1976 | GlFunction(Void, "glEndTransformFeedbackEXT", []), |
| 1977 | GlFunction(Void, "glBindBufferRangeEXT", [(GLenum, "target"), (GLuint, "index"), (GLuint, "buffer"), (GLintptr, "offset"), (GLsizeiptr, "size")]), |
| 1978 | GlFunction(Void, "glBindBufferOffsetEXT", [(GLenum, "target"), (GLuint, "index"), (GLuint, "buffer"), (GLintptr, "offset")]), |
| 1979 | GlFunction(Void, "glBindBufferBaseEXT", [(GLenum, "target"), (GLuint, "index"), (GLuint, "buffer")]), |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 1980 | GlFunction(Void, "glTransformFeedbackVaryingsEXT", [(GLprogram, "program"), (GLsizei, "count"), (Const(Array(Const(GLstring), "count")), "varyings"), (GLenum, "bufferMode")]), |
| 1981 | GlFunction(Void, "glGetTransformFeedbackVaryingEXT", [(GLprogram, "program"), (GLuint, "index"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(Pointer(GLsizei), "size"), Out(Pointer(GLenum), "type"), Out(GLstring, "name")], sideeffects=False), |
José Fonseca | 2acb730 | 2010-11-30 16:34:00 +0000 | [diff] [blame] | 1982 | |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 1983 | # GL_EXT_direct_state_access |
| 1984 | GlFunction(Void, "glClientAttribDefaultEXT", [(GLbitfield, "mask")]), |
| 1985 | GlFunction(Void, "glPushClientAttribDefaultEXT", [(GLbitfield, "mask")]), |
| 1986 | GlFunction(Void, "glMatrixLoadfEXT", [(GLenum, "mode"), (Const(Array(GLfloat, "16")), "m")]), |
| 1987 | GlFunction(Void, "glMatrixLoaddEXT", [(GLenum, "mode"), (Const(Array(GLdouble, "16")), "m")]), |
| 1988 | GlFunction(Void, "glMatrixMultfEXT", [(GLenum, "mode"), (Const(Array(GLfloat, "16")), "m")]), |
| 1989 | GlFunction(Void, "glMatrixMultdEXT", [(GLenum, "mode"), (Const(Array(GLdouble, "16")), "m")]), |
| 1990 | GlFunction(Void, "glMatrixLoadIdentityEXT", [(GLenum, "mode")]), |
| 1991 | GlFunction(Void, "glMatrixRotatefEXT", [(GLenum, "mode"), (GLfloat, "angle"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 1992 | GlFunction(Void, "glMatrixRotatedEXT", [(GLenum, "mode"), (GLdouble, "angle"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 1993 | GlFunction(Void, "glMatrixScalefEXT", [(GLenum, "mode"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 1994 | GlFunction(Void, "glMatrixScaledEXT", [(GLenum, "mode"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 1995 | GlFunction(Void, "glMatrixTranslatefEXT", [(GLenum, "mode"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]), |
| 1996 | GlFunction(Void, "glMatrixTranslatedEXT", [(GLenum, "mode"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 1997 | GlFunction(Void, "glMatrixFrustumEXT", [(GLenum, "mode"), (GLdouble, "left"), (GLdouble, "right"), (GLdouble, "bottom"), (GLdouble, "top"), (GLdouble, "zNear"), (GLdouble, "zFar")]), |
| 1998 | GlFunction(Void, "glMatrixOrthoEXT", [(GLenum, "mode"), (GLdouble, "left"), (GLdouble, "right"), (GLdouble, "bottom"), (GLdouble, "top"), (GLdouble, "zNear"), (GLdouble, "zFar")]), |
| 1999 | GlFunction(Void, "glMatrixPopEXT", [(GLenum, "mode")]), |
| 2000 | GlFunction(Void, "glMatrixPushEXT", [(GLenum, "mode")]), |
| 2001 | GlFunction(Void, "glMatrixLoadTransposefEXT", [(GLenum, "mode"), (Const(Array(GLfloat, "16")), "m")]), |
| 2002 | GlFunction(Void, "glMatrixLoadTransposedEXT", [(GLenum, "mode"), (Const(Array(GLdouble, "16")), "m")]), |
| 2003 | GlFunction(Void, "glMatrixMultTransposefEXT", [(GLenum, "mode"), (Const(Array(GLfloat, "16")), "m")]), |
| 2004 | GlFunction(Void, "glMatrixMultTransposedEXT", [(GLenum, "mode"), (Const(Array(GLdouble, "16")), "m")]), |
| 2005 | GlFunction(Void, "glTextureParameterfEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 2006 | GlFunction(Void, "glTextureParameterfvEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLenum, "pname"), (Const(Array(GLfloat, "__gl_param_size(pname)")), "params")]), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 2007 | GlFunction(Void, "glTextureParameteriEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLenum, "pname"), (GLint, "param")]), |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 2008 | GlFunction(Void, "glTextureParameterivEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLenum, "pname"), (Const(Array(GLint, "__gl_param_size(pname)")), "params")]), |
| 2009 | GlFunction(Void, "glTextureImage1DEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLint, "border"), (GLenum, "format"), (GLenum, "type"), (Const(Blob(GLvoid, "__glTextureImage1DEXT_size(format, type, width)")), "pixels")]), |
| 2010 | GlFunction(Void, "glTextureImage2DEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLint, "border"), (GLenum, "format"), (GLenum, "type"), (Const(Blob(GLvoid, "__glTextureImage2DEXT_size(format, type, width, height)")), "pixels")]), |
| 2011 | GlFunction(Void, "glTextureSubImage1DEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLsizei, "width"), (GLenum, "format"), (GLenum, "type"), (Const(Blob(GLvoid, "__glTextureSubImage1DEXT_size(format, type, width)")), "pixels")]), |
| 2012 | GlFunction(Void, "glTextureSubImage2DEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLenum, "type"), (Const(Blob(GLvoid, "__glTextureSubImage2DEXT_size(format, type, width, height)")), "pixels")]), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 2013 | GlFunction(Void, "glCopyTextureImage1DEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLint, "border")]), |
| 2014 | GlFunction(Void, "glCopyTextureImage2DEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height"), (GLint, "border")]), |
| 2015 | GlFunction(Void, "glCopyTextureSubImage1DEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "x"), (GLint, "y"), (GLsizei, "width")]), |
| 2016 | GlFunction(Void, "glCopyTextureSubImage2DEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height")]), |
| 2017 | GlFunction(Void, "glGetTextureImageEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLenum, "format"), (GLenum, "type"), Out(OpaqueBlob(GLvoid, "__glGetTextureImageEXT_size(target, level, format, type)"), "pixels")], sideeffects=False), |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 2018 | GlFunction(Void, "glGetTextureParameterfvEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLenum, "pname"), Out(Array(GLfloat, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2019 | GlFunction(Void, "glGetTextureParameterivEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2020 | GlFunction(Void, "glGetTextureLevelParameterfvEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLenum, "pname"), Out(Array(GLfloat, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2021 | GlFunction(Void, "glGetTextureLevelParameterivEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLenum, "pname"), Out(Array(GLint, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2022 | GlFunction(Void, "glTextureImage3DEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLint, "border"), (GLenum, "format"), (GLenum, "type"), (Const(Blob(GLvoid, "__glTextureImage3DEXT_size(format, type, width, height, depth)")), "pixels")]), |
| 2023 | GlFunction(Void, "glTextureSubImage3DEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "zoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLenum, "format"), (GLenum, "type"), (Const(Blob(GLvoid, "__glTextureSubImage3DEXT_size(format, type, width, height, depth)")), "pixels")]), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 2024 | GlFunction(Void, "glCopyTextureSubImage3DEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "zoffset"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height")]), |
| 2025 | GlFunction(Void, "glMultiTexParameterfEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 2026 | GlFunction(Void, "glMultiTexParameterfvEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLenum, "pname"), (Const(Array(GLfloat, "__gl_param_size(pname)")), "params")]), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 2027 | GlFunction(Void, "glMultiTexParameteriEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLenum, "pname"), (GLint, "param")]), |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 2028 | GlFunction(Void, "glMultiTexParameterivEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLenum, "pname"), (Const(Array(GLint, "__gl_param_size(pname)")), "params")]), |
| 2029 | GlFunction(Void, "glMultiTexImage1DEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLint, "border"), (GLenum, "format"), (GLenum, "type"), (Const(Blob(GLvoid, "__glMultiTexImage1DEXT_size(format, type, width)")), "pixels")]), |
| 2030 | GlFunction(Void, "glMultiTexImage2DEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLint, "border"), (GLenum, "format"), (GLenum, "type"), (Const(Blob(GLvoid, "__glMultiTexImage2DEXT_size(format, type, width, height)")), "pixels")]), |
| 2031 | GlFunction(Void, "glMultiTexSubImage1DEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLsizei, "width"), (GLenum, "format"), (GLenum, "type"), (Const(Blob(GLvoid, "__glMultiTexSubImage1DEXT_size(format, type, width)")), "pixels")]), |
| 2032 | GlFunction(Void, "glMultiTexSubImage2DEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLenum, "type"), (Const(Blob(GLvoid, "__glMultiTexSubImage2DEXT_size(format, type, width, height)")), "pixels")]), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 2033 | GlFunction(Void, "glCopyMultiTexImage1DEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLint, "border")]), |
| 2034 | GlFunction(Void, "glCopyMultiTexImage2DEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height"), (GLint, "border")]), |
| 2035 | GlFunction(Void, "glCopyMultiTexSubImage1DEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "x"), (GLint, "y"), (GLsizei, "width")]), |
| 2036 | GlFunction(Void, "glCopyMultiTexSubImage2DEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height")]), |
| 2037 | GlFunction(Void, "glGetMultiTexImageEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLenum, "format"), (GLenum, "type"), Out(OpaqueBlob(GLvoid, "__glGetMultiTexImageEXT_size(target, level, format, type)"), "pixels")], sideeffects=False), |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 2038 | GlFunction(Void, "glGetMultiTexParameterfvEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLenum, "pname"), Out(Array(GLfloat, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2039 | GlFunction(Void, "glGetMultiTexParameterivEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2040 | GlFunction(Void, "glGetMultiTexLevelParameterfvEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLenum, "pname"), Out(Array(GLfloat, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2041 | GlFunction(Void, "glGetMultiTexLevelParameterivEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLenum, "pname"), Out(Array(GLint, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2042 | GlFunction(Void, "glMultiTexImage3DEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLint, "border"), (GLenum, "format"), (GLenum, "type"), (Const(Blob(GLvoid, "__glMultiTexImage3DEXT_size(format, type, width, height, depth)")), "pixels")]), |
| 2043 | GlFunction(Void, "glMultiTexSubImage3DEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "zoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLenum, "format"), (GLenum, "type"), (Const(Blob(GLvoid, "__glMultiTexSubImage3DEXT_size(format, type, width, height, depth)")), "pixels")]), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 2044 | GlFunction(Void, "glCopyMultiTexSubImage3DEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "zoffset"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height")]), |
| 2045 | GlFunction(Void, "glBindMultiTextureEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLtexture, "texture")]), |
| 2046 | GlFunction(Void, "glEnableClientStateIndexedEXT", [(GLenum, "array"), (GLuint, "index")]), |
| 2047 | GlFunction(Void, "glDisableClientStateIndexedEXT", [(GLenum, "array"), (GLuint, "index")]), |
| 2048 | GlFunction(Void, "glMultiTexCoordPointerEXT", [(GLenum, "texunit"), (GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Const(OpaquePointer(GLvoid)), "pointer")]), |
| 2049 | GlFunction(Void, "glMultiTexEnvfEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 2050 | GlFunction(Void, "glMultiTexEnvfvEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLenum, "pname"), (Const(Array(GLfloat, "__gl_param_size(pname)")), "params")]), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 2051 | GlFunction(Void, "glMultiTexEnviEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLenum, "pname"), (GLint, "param")]), |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 2052 | GlFunction(Void, "glMultiTexEnvivEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLenum, "pname"), (Const(Array(GLint, "__gl_param_size(pname)")), "params")]), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 2053 | GlFunction(Void, "glMultiTexGendEXT", [(GLenum, "texunit"), (GLenum, "coord"), (GLenum, "pname"), (GLdouble, "param")]), |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 2054 | GlFunction(Void, "glMultiTexGendvEXT", [(GLenum, "texunit"), (GLenum, "coord"), (GLenum, "pname"), (Const(Array(GLdouble, "__gl_param_size(pname)")), "params")]), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 2055 | GlFunction(Void, "glMultiTexGenfEXT", [(GLenum, "texunit"), (GLenum, "coord"), (GLenum, "pname"), (GLfloat, "param")]), |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 2056 | GlFunction(Void, "glMultiTexGenfvEXT", [(GLenum, "texunit"), (GLenum, "coord"), (GLenum, "pname"), (Const(Array(GLfloat, "__gl_param_size(pname)")), "params")]), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 2057 | GlFunction(Void, "glMultiTexGeniEXT", [(GLenum, "texunit"), (GLenum, "coord"), (GLenum, "pname"), (GLint, "param")]), |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 2058 | GlFunction(Void, "glMultiTexGenivEXT", [(GLenum, "texunit"), (GLenum, "coord"), (GLenum, "pname"), (Const(Array(GLint, "__gl_param_size(pname)")), "params")]), |
| 2059 | GlFunction(Void, "glGetMultiTexEnvfvEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLenum, "pname"), Out(Array(GLfloat, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2060 | GlFunction(Void, "glGetMultiTexEnvivEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2061 | GlFunction(Void, "glGetMultiTexGendvEXT", [(GLenum, "texunit"), (GLenum, "coord"), (GLenum, "pname"), Out(Array(GLdouble, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2062 | GlFunction(Void, "glGetMultiTexGenfvEXT", [(GLenum, "texunit"), (GLenum, "coord"), (GLenum, "pname"), Out(Array(GLfloat, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2063 | GlFunction(Void, "glGetMultiTexGenivEXT", [(GLenum, "texunit"), (GLenum, "coord"), (GLenum, "pname"), Out(Array(GLint, "__gl_param_size(pname)"), "params")], sideeffects=False), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 2064 | GlFunction(Void, "glGetFloatIndexedvEXT", [(GLenum, "target"), (GLuint, "index"), Out(OpaqueArray(GLfloat, "__glGetFloatIndexedvEXT_size(target)"), "data")], sideeffects=False), |
| 2065 | GlFunction(Void, "glGetDoubleIndexedvEXT", [(GLenum, "target"), (GLuint, "index"), Out(OpaqueArray(GLdouble, "__glGetDoubleIndexedvEXT_size(target)"), "data")], sideeffects=False), |
| 2066 | GlFunction(Void, "glGetPointerIndexedvEXT", [(GLenum, "target"), (GLuint, "index"), Out(OpaqueArray(OpaquePointer(GLvoid), "__glGetPointerIndexedvEXT_size(target)"), "data")], sideeffects=False), |
| 2067 | GlFunction(Void, "glCompressedTextureImage3DEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLint, "border"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "bits")]), |
| 2068 | GlFunction(Void, "glCompressedTextureImage2DEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLint, "border"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "bits")]), |
| 2069 | GlFunction(Void, "glCompressedTextureImage1DEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLint, "border"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "bits")]), |
| 2070 | GlFunction(Void, "glCompressedTextureSubImage3DEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "zoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLenum, "format"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "bits")]), |
| 2071 | GlFunction(Void, "glCompressedTextureSubImage2DEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "bits")]), |
| 2072 | GlFunction(Void, "glCompressedTextureSubImage1DEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLsizei, "width"), (GLenum, "format"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "bits")]), |
| 2073 | GlFunction(Void, "glGetCompressedTextureImageEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLint, "lod"), Out(OpaqueBlob(GLvoid, "__glGetCompressedTextureImageEXT_size(target, lod)"), "img")], sideeffects=False), |
| 2074 | GlFunction(Void, "glCompressedMultiTexImage3DEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLint, "border"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "bits")]), |
| 2075 | GlFunction(Void, "glCompressedMultiTexImage2DEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height"), (GLint, "border"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "bits")]), |
| 2076 | GlFunction(Void, "glCompressedMultiTexImage1DEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLenum, "internalformat"), (GLsizei, "width"), (GLint, "border"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "bits")]), |
| 2077 | GlFunction(Void, "glCompressedMultiTexSubImage3DEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLint, "zoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth"), (GLenum, "format"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "bits")]), |
| 2078 | GlFunction(Void, "glCompressedMultiTexSubImage2DEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLint, "yoffset"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "bits")]), |
| 2079 | GlFunction(Void, "glCompressedMultiTexSubImage1DEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "level"), (GLint, "xoffset"), (GLsizei, "width"), (GLenum, "format"), (GLsizei, "imageSize"), (Const(Blob(GLvoid, "imageSize")), "bits")]), |
| 2080 | GlFunction(Void, "glGetCompressedMultiTexImageEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLint, "lod"), Out(OpaqueBlob(GLvoid, "__glGetCompressedMultiTexImageEXT_size(target, lod)"), "img")], sideeffects=False), |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 2081 | GlFunction(Void, "glNamedProgramStringEXT", [(GLprogram, "program"), (GLenum, "target"), (GLenum, "format"), (GLsizei, "len"), (Const(String("GLvoid *", "len")), "string")]), |
| 2082 | GlFunction(Void, "glNamedProgramLocalParameter4dEXT", [(GLprogram, "program"), (GLenum, "target"), (GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 2083 | GlFunction(Void, "glNamedProgramLocalParameter4dvEXT", [(GLprogram, "program"), (GLenum, "target"), (GLuint, "index"), (Const(Array(GLdouble, "4")), "params")]), |
| 2084 | GlFunction(Void, "glNamedProgramLocalParameter4fEXT", [(GLprogram, "program"), (GLenum, "target"), (GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]), |
| 2085 | GlFunction(Void, "glNamedProgramLocalParameter4fvEXT", [(GLprogram, "program"), (GLenum, "target"), (GLuint, "index"), (Const(Array(GLfloat, "4")), "params")]), |
| 2086 | GlFunction(Void, "glGetNamedProgramLocalParameterdvEXT", [(GLprogram, "program"), (GLenum, "target"), (GLuint, "index"), Out(Array(GLdouble, "4"), "params")], sideeffects=False), |
| 2087 | GlFunction(Void, "glGetNamedProgramLocalParameterfvEXT", [(GLprogram, "program"), (GLenum, "target"), (GLuint, "index"), Out(Array(GLfloat, "4"), "params")], sideeffects=False), |
| 2088 | GlFunction(Void, "glGetNamedProgramivEXT", [(GLprogram, "program"), (GLenum, "target"), (GLenum, "pname"), Out(Pointer(GLint), "params")], sideeffects=False), |
| 2089 | GlFunction(Void, "glGetNamedProgramStringEXT", [(GLprogram, "program"), (GLenum, "target"), (GLenum, "pname"), Out(OpaqueBlob(GLvoid, "__glGetNamedProgramStringEXT_size(program,pname)"), "string")], sideeffects=False), |
| 2090 | GlFunction(Void, "glNamedProgramLocalParameters4fvEXT", [(GLprogram, "program"), (GLenum, "target"), (GLuint, "index"), (GLsizei, "count"), (Const(Array(GLfloat, "count*4")), "params")]), |
| 2091 | GlFunction(Void, "glNamedProgramLocalParameterI4iEXT", [(GLprogram, "program"), (GLenum, "target"), (GLuint, "index"), (GLint, "x"), (GLint, "y"), (GLint, "z"), (GLint, "w")]), |
| 2092 | GlFunction(Void, "glNamedProgramLocalParameterI4ivEXT", [(GLprogram, "program"), (GLenum, "target"), (GLuint, "index"), (Const(Array(GLint, "4")), "params")]), |
| 2093 | GlFunction(Void, "glNamedProgramLocalParametersI4ivEXT", [(GLprogram, "program"), (GLenum, "target"), (GLuint, "index"), (GLsizei, "count"), (Const(Array(GLint, "count*4")), "params")]), |
| 2094 | GlFunction(Void, "glNamedProgramLocalParameterI4uiEXT", [(GLprogram, "program"), (GLenum, "target"), (GLuint, "index"), (GLuint, "x"), (GLuint, "y"), (GLuint, "z"), (GLuint, "w")]), |
| 2095 | GlFunction(Void, "glNamedProgramLocalParameterI4uivEXT", [(GLprogram, "program"), (GLenum, "target"), (GLuint, "index"), (Const(Array(GLuint, "4")), "params")]), |
| 2096 | GlFunction(Void, "glNamedProgramLocalParametersI4uivEXT", [(GLprogram, "program"), (GLenum, "target"), (GLuint, "index"), (GLsizei, "count"), (Const(Array(GLuint, "count*4")), "params")]), |
| 2097 | GlFunction(Void, "glGetNamedProgramLocalParameterIivEXT", [(GLprogram, "program"), (GLenum, "target"), (GLuint, "index"), Out(Array(GLint, "4"), "params")], sideeffects=False), |
| 2098 | GlFunction(Void, "glGetNamedProgramLocalParameterIuivEXT", [(GLprogram, "program"), (GLenum, "target"), (GLuint, "index"), Out(Array(GLuint, "4"), "params")], sideeffects=False), |
José Fonseca | f4aca5d | 2011-05-08 08:29:30 +0100 | [diff] [blame] | 2099 | GlFunction(Void, "glTextureParameterIivEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLenum, "pname"), (Const(Array(GLint, "__gl_param_size(pname)")), "params")]), |
| 2100 | GlFunction(Void, "glTextureParameterIuivEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLenum, "pname"), (Const(Array(GLuint, "__gl_param_size(pname)")), "params")]), |
| 2101 | GlFunction(Void, "glGetTextureParameterIivEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2102 | GlFunction(Void, "glGetTextureParameterIuivEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLenum, "pname"), Out(Array(GLuint, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2103 | GlFunction(Void, "glMultiTexParameterIivEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLenum, "pname"), (Const(Array(GLint, "__gl_param_size(pname)")), "params")]), |
| 2104 | GlFunction(Void, "glMultiTexParameterIuivEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLenum, "pname"), (Const(Array(GLuint, "__gl_param_size(pname)")), "params")]), |
| 2105 | GlFunction(Void, "glGetMultiTexParameterIivEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLenum, "pname"), Out(Array(GLint, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2106 | GlFunction(Void, "glGetMultiTexParameterIuivEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLenum, "pname"), Out(Array(GLuint, "__gl_param_size(pname)"), "params")], sideeffects=False), |
José Fonseca | 266d58b | 2011-05-08 09:54:47 +0100 | [diff] [blame] | 2107 | GlFunction(Void, "glProgramUniform1fEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLfloat, "v0")]), |
| 2108 | GlFunction(Void, "glProgramUniform2fEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLfloat, "v0"), (GLfloat, "v1")]), |
| 2109 | GlFunction(Void, "glProgramUniform3fEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2")]), |
| 2110 | GlFunction(Void, "glProgramUniform4fEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLfloat, "v0"), (GLfloat, "v1"), (GLfloat, "v2"), (GLfloat, "v3")]), |
| 2111 | GlFunction(Void, "glProgramUniform1iEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLint, "v0")]), |
| 2112 | GlFunction(Void, "glProgramUniform2iEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLint, "v0"), (GLint, "v1")]), |
| 2113 | GlFunction(Void, "glProgramUniform3iEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2")]), |
| 2114 | GlFunction(Void, "glProgramUniform4iEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLint, "v0"), (GLint, "v1"), (GLint, "v2"), (GLint, "v3")]), |
| 2115 | GlFunction(Void, "glProgramUniform1fvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "count")), "value")]), |
| 2116 | GlFunction(Void, "glProgramUniform2fvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "count*2")), "value")]), |
| 2117 | GlFunction(Void, "glProgramUniform3fvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "count*3")), "value")]), |
| 2118 | GlFunction(Void, "glProgramUniform4fvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLfloat, "count*4")), "value")]), |
| 2119 | GlFunction(Void, "glProgramUniform1ivEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLint, "count")), "value")]), |
| 2120 | GlFunction(Void, "glProgramUniform2ivEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLint, "count*2")), "value")]), |
| 2121 | GlFunction(Void, "glProgramUniform3ivEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLint, "count*3")), "value")]), |
| 2122 | GlFunction(Void, "glProgramUniform4ivEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLint, "count*4")), "value")]), |
| 2123 | GlFunction(Void, "glProgramUniformMatrix2fvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count*4")), "value")]), |
| 2124 | GlFunction(Void, "glProgramUniformMatrix3fvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count*9")), "value")]), |
| 2125 | GlFunction(Void, "glProgramUniformMatrix4fvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count*16")), "value")]), |
| 2126 | GlFunction(Void, "glProgramUniformMatrix2x3fvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count*6")), "value")]), |
| 2127 | GlFunction(Void, "glProgramUniformMatrix3x2fvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count*6")), "value")]), |
| 2128 | GlFunction(Void, "glProgramUniformMatrix2x4fvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count*8")), "value")]), |
| 2129 | GlFunction(Void, "glProgramUniformMatrix4x2fvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count*8")), "value")]), |
| 2130 | GlFunction(Void, "glProgramUniformMatrix3x4fvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count*12")), "value")]), |
| 2131 | GlFunction(Void, "glProgramUniformMatrix4x3fvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLfloat, "count*12")), "value")]), |
| 2132 | GlFunction(Void, "glProgramUniform1uiEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLuint, "v0")]), |
| 2133 | GlFunction(Void, "glProgramUniform2uiEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLuint, "v0"), (GLuint, "v1")]), |
| 2134 | GlFunction(Void, "glProgramUniform3uiEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLuint, "v0"), (GLuint, "v1"), (GLuint, "v2")]), |
| 2135 | GlFunction(Void, "glProgramUniform4uiEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLuint, "v0"), (GLuint, "v1"), (GLuint, "v2"), (GLuint, "v3")]), |
| 2136 | GlFunction(Void, "glProgramUniform1uivEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLuint, "count")), "value")]), |
| 2137 | GlFunction(Void, "glProgramUniform2uivEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLuint, "count*2")), "value")]), |
| 2138 | GlFunction(Void, "glProgramUniform3uivEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLuint, "count*3")), "value")]), |
| 2139 | GlFunction(Void, "glProgramUniform4uivEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLuint, "count*4")), "value")]), |
| 2140 | GlFunction(Void, "glNamedBufferDataEXT", [(GLbuffer, "buffer"), (GLsizeiptr, "size"), (Const(Blob(GLvoid, "size")), "data"), (GLenum, "usage")]), |
| 2141 | GlFunction(Void, "glNamedBufferSubDataEXT", [(GLbuffer, "buffer"), (GLintptr, "offset"), (GLsizeiptr, "size"), (Const(Blob(GLvoid, "size")), "data")]), |
José Fonseca | 837b0dc | 2011-05-09 09:21:34 +0100 | [diff] [blame] | 2142 | GlFunction(GLmap, "glMapNamedBufferEXT", [(GLbuffer, "buffer"), (GLenum, "access")]), |
José Fonseca | 266d58b | 2011-05-08 09:54:47 +0100 | [diff] [blame] | 2143 | GlFunction(GLboolean, "glUnmapNamedBufferEXT", [(GLbuffer, "buffer")]), |
José Fonseca | 837b0dc | 2011-05-09 09:21:34 +0100 | [diff] [blame] | 2144 | GlFunction(GLmap, "glMapNamedBufferRangeEXT", [(GLbuffer, "buffer"), (GLintptr, "offset"), (GLsizeiptr, "length"), (GLbitfield, "access")]), |
José Fonseca | 266d58b | 2011-05-08 09:54:47 +0100 | [diff] [blame] | 2145 | GlFunction(Void, "glFlushMappedNamedBufferRangeEXT", [(GLbuffer, "buffer"), (GLintptr, "offset"), (GLsizeiptr, "length")]), |
| 2146 | GlFunction(Void, "glNamedCopyBufferSubDataEXT", [(GLbuffer, "readBuffer"), (GLbuffer, "writeBuffer"), (GLintptr, "readOffset"), (GLintptr, "writeOffset"), (GLsizeiptr, "size")]), |
| 2147 | GlFunction(Void, "glGetNamedBufferParameterivEXT", [(GLbuffer, "buffer"), (GLenum, "pname"), Out(Array(GLint, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2148 | GlFunction(Void, "glGetNamedBufferPointervEXT", [(GLbuffer, "buffer"), (GLenum, "pname"), Out(Array(OpaquePointer(GLvoid), "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2149 | GlFunction(Void, "glGetNamedBufferSubDataEXT", [(GLbuffer, "buffer"), (GLintptr, "offset"), (GLsizeiptr, "size"), Out(OpaqueBlob(GLvoid, "__glGetNamedBufferSubDataEXT_size(size)"), "data")], sideeffects=False), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 2150 | GlFunction(Void, "glTextureBufferEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLenum, "internalformat"), (GLuint, "buffer")]), |
| 2151 | GlFunction(Void, "glMultiTexBufferEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLenum, "internalformat"), (GLuint, "buffer")]), |
José Fonseca | 266d58b | 2011-05-08 09:54:47 +0100 | [diff] [blame] | 2152 | GlFunction(Void, "glNamedRenderbufferStorageEXT", [(GLrenderbuffer, "renderbuffer"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height")]), |
| 2153 | GlFunction(Void, "glGetNamedRenderbufferParameterivEXT", [(GLrenderbuffer, "renderbuffer"), (GLenum, "pname"), Out(Array(GLint, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2154 | GlFunction(GLenum, "glCheckNamedFramebufferStatusEXT", [(GLframebuffer, "framebuffer"), (GLenum, "target")]), |
| 2155 | GlFunction(Void, "glNamedFramebufferTexture1DEXT", [(GLframebuffer, "framebuffer"), (GLenum, "attachment"), (GLenum, "textarget"), (GLtexture, "texture"), (GLint, "level")]), |
| 2156 | GlFunction(Void, "glNamedFramebufferTexture2DEXT", [(GLframebuffer, "framebuffer"), (GLenum, "attachment"), (GLenum, "textarget"), (GLtexture, "texture"), (GLint, "level")]), |
| 2157 | GlFunction(Void, "glNamedFramebufferTexture3DEXT", [(GLframebuffer, "framebuffer"), (GLenum, "attachment"), (GLenum, "textarget"), (GLtexture, "texture"), (GLint, "level"), (GLint, "zoffset")]), |
| 2158 | GlFunction(Void, "glNamedFramebufferRenderbufferEXT", [(GLframebuffer, "framebuffer"), (GLenum, "attachment"), (GLenum, "renderbuffertarget"), (GLuint, "renderbuffer")]), |
| 2159 | GlFunction(Void, "glGetNamedFramebufferAttachmentParameterivEXT", [(GLframebuffer, "framebuffer"), (GLenum, "attachment"), (GLenum, "pname"), Out(Array(GLint, "__gl_param_size(pname)"), "params")], sideeffects=False), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 2160 | GlFunction(Void, "glGenerateTextureMipmapEXT", [(GLtexture, "texture"), (GLenum, "target")]), |
| 2161 | GlFunction(Void, "glGenerateMultiTexMipmapEXT", [(GLenum, "texunit"), (GLenum, "target")]), |
José Fonseca | 266d58b | 2011-05-08 09:54:47 +0100 | [diff] [blame] | 2162 | GlFunction(Void, "glFramebufferDrawBufferEXT", [(GLframebuffer, "framebuffer"), (GLenum, "mode")]), |
| 2163 | GlFunction(Void, "glFramebufferDrawBuffersEXT", [(GLframebuffer, "framebuffer"), (GLsizei, "n"), (Const(Array(GLenum, "n")), "bufs")]), |
| 2164 | GlFunction(Void, "glFramebufferReadBufferEXT", [(GLframebuffer, "framebuffer"), (GLenum, "mode")]), |
| 2165 | GlFunction(Void, "glGetFramebufferParameterivEXT", [(GLframebuffer, "framebuffer"), (GLenum, "pname"), Out(Array(GLint, "__gl_param_size(pname)"), "params")], sideeffects=False), |
| 2166 | GlFunction(Void, "glNamedRenderbufferStorageMultisampleEXT", [(GLrenderbuffer, "renderbuffer"), (GLsizei, "samples"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height")]), |
| 2167 | GlFunction(Void, "glNamedRenderbufferStorageMultisampleCoverageEXT", [(GLrenderbuffer, "renderbuffer"), (GLsizei, "coverageSamples"), (GLsizei, "colorSamples"), (GLenum, "internalformat"), (GLsizei, "width"), (GLsizei, "height")]), |
| 2168 | GlFunction(Void, "glNamedFramebufferTextureEXT", [(GLframebuffer, "framebuffer"), (GLenum, "attachment"), (GLtexture, "texture"), (GLint, "level")]), |
| 2169 | GlFunction(Void, "glNamedFramebufferTextureLayerEXT", [(GLframebuffer, "framebuffer"), (GLenum, "attachment"), (GLtexture, "texture"), (GLint, "level"), (GLint, "layer")]), |
| 2170 | GlFunction(Void, "glNamedFramebufferTextureFaceEXT", [(GLframebuffer, "framebuffer"), (GLenum, "attachment"), (GLtexture, "texture"), (GLint, "level"), (GLenum, "face")]), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 2171 | GlFunction(Void, "glTextureRenderbufferEXT", [(GLtexture, "texture"), (GLenum, "target"), (GLuint, "renderbuffer")]), |
| 2172 | GlFunction(Void, "glMultiTexRenderbufferEXT", [(GLenum, "texunit"), (GLenum, "target"), (GLuint, "renderbuffer")]), |
José Fonseca | 266d58b | 2011-05-08 09:54:47 +0100 | [diff] [blame] | 2173 | GlFunction(Void, "glProgramUniform1dEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLdouble, "x")]), |
| 2174 | GlFunction(Void, "glProgramUniform2dEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLdouble, "x"), (GLdouble, "y")]), |
| 2175 | GlFunction(Void, "glProgramUniform3dEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]), |
| 2176 | GlFunction(Void, "glProgramUniform4dEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]), |
| 2177 | GlFunction(Void, "glProgramUniform1dvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "count")), "value")]), |
| 2178 | GlFunction(Void, "glProgramUniform2dvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "count")), "value")]), |
| 2179 | GlFunction(Void, "glProgramUniform3dvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "count")), "value")]), |
| 2180 | GlFunction(Void, "glProgramUniform4dvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (Const(Array(GLdouble, "count")), "value")]), |
| 2181 | GlFunction(Void, "glProgramUniformMatrix2dvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 2182 | GlFunction(Void, "glProgramUniformMatrix3dvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 2183 | GlFunction(Void, "glProgramUniformMatrix4dvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 2184 | GlFunction(Void, "glProgramUniformMatrix2x3dvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 2185 | GlFunction(Void, "glProgramUniformMatrix2x4dvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 2186 | GlFunction(Void, "glProgramUniformMatrix3x2dvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 2187 | GlFunction(Void, "glProgramUniformMatrix3x4dvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 2188 | GlFunction(Void, "glProgramUniformMatrix4x2dvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
| 2189 | GlFunction(Void, "glProgramUniformMatrix4x3dvEXT", [(GLprogram, "program"), (GLlocation, "location"), (GLsizei, "count"), (GLboolean, "transpose"), (Const(Array(GLdouble, "count")), "value")]), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 2190 | |
| 2191 | # GL_NV_explicit_multisample |
| 2192 | GlFunction(Void, "glGetMultisamplefvNV", [(GLenum, "pname"), (GLuint, "index"), Out(Array(GLfloat, "2"), "val")], sideeffects=False), |
| 2193 | GlFunction(Void, "glSampleMaskIndexedNV", [(GLuint, "index"), (GLbitfield, "mask")]), |
| 2194 | GlFunction(Void, "glTexRenderbufferNV", [(GLenum, "target"), (GLuint, "renderbuffer")]), |
| 2195 | |
| 2196 | # GL_NV_transform_feedback2 |
| 2197 | GlFunction(Void, "glBindTransformFeedbackNV", [(GLenum, "target"), (GLuint, "id")]), |
| 2198 | GlFunction(Void, "glDeleteTransformFeedbacksNV", [(GLsizei, "n"), (Const(Array(GLuint, "n")), "ids")]), |
| 2199 | GlFunction(Void, "glGenTransformFeedbacksNV", [(GLsizei, "n"), Out(Array(GLuint, "n"), "ids")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 2200 | GlFunction(GLboolean, "glIsTransformFeedbackNV", [(GLuint, "id")], sideeffects=False), |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 2201 | GlFunction(Void, "glPauseTransformFeedbackNV", []), |
| 2202 | GlFunction(Void, "glResumeTransformFeedbackNV", []), |
| 2203 | GlFunction(Void, "glDrawTransformFeedbackNV", [(GLenum, "mode"), (GLuint, "id")]), |
| 2204 | |
| 2205 | # GL_EXT_provoking_vertex |
| 2206 | GlFunction(Void, "glProvokingVertexEXT", [(GLenum, "mode")]), |
| 2207 | |
José Fonseca | 81810e5 | 2011-04-22 22:59:07 +0100 | [diff] [blame] | 2208 | # GL_APPLE_texture_range |
| 2209 | GlFunction(Void, "glTextureRangeAPPLE", [(GLenum, "target"), (GLsizei, "length"), (Const(Blob(GLvoid, "length")), "pointer")]), |
| 2210 | GlFunction(Void, "glGetTexParameterPointervAPPLE", [(GLenum, "target"), (GLenum, "pname"), Out(Pointer(OpaquePointer(GLvoid)), "params")], sideeffects=False), |
| 2211 | |
| 2212 | # GL_APPLE_vertex_program_evaluators |
| 2213 | GlFunction(Void, "glEnableVertexAttribAPPLE", [(GLuint, "index"), (GLenum, "pname")]), |
| 2214 | GlFunction(Void, "glDisableVertexAttribAPPLE", [(GLuint, "index"), (GLenum, "pname")]), |
José Fonseca | e4fc8dd | 2011-05-09 09:03:55 +0100 | [diff] [blame] | 2215 | GlFunction(GLboolean, "glIsVertexAttribEnabledAPPLE", [(GLuint, "index"), (GLenum, "pname")], sideeffects=False), |
José Fonseca | 81810e5 | 2011-04-22 22:59:07 +0100 | [diff] [blame] | 2216 | GlFunction(Void, "glMapVertexAttrib1dAPPLE", [(GLuint, "index"), (GLuint, "size"), (GLdouble, "u1"), (GLdouble, "u2"), (GLint, "stride"), (GLint, "order"), (Const(OpaqueArray(GLdouble, "__glMapVertexAttrib1dAPPLE_size(size, stride, order)")), "points")]), |
| 2217 | GlFunction(Void, "glMapVertexAttrib1fAPPLE", [(GLuint, "index"), (GLuint, "size"), (GLfloat, "u1"), (GLfloat, "u2"), (GLint, "stride"), (GLint, "order"), (Const(OpaqueArray(GLfloat, "__glMapVertexAttrib1fAPPLE_size(size, stride, order)")), "points")]), |
| 2218 | GlFunction(Void, "glMapVertexAttrib2dAPPLE", [(GLuint, "index"), (GLuint, "size"), (GLdouble, "u1"), (GLdouble, "u2"), (GLint, "ustride"), (GLint, "uorder"), (GLdouble, "v1"), (GLdouble, "v2"), (GLint, "vstride"), (GLint, "vorder"), (Const(OpaqueArray(GLdouble, "__glMapVertexAttrib2dAPPLE_size(size, ustride, uorder, vstride, vorder)")), "points")]), |
| 2219 | GlFunction(Void, "glMapVertexAttrib2fAPPLE", [(GLuint, "index"), (GLuint, "size"), (GLfloat, "u1"), (GLfloat, "u2"), (GLint, "ustride"), (GLint, "uorder"), (GLfloat, "v1"), (GLfloat, "v2"), (GLint, "vstride"), (GLint, "vorder"), (Const(OpaqueArray(GLfloat, "__glMapVertexAttrib2fAPPLE_size(size, ustride, uorder, vstride, vorder)")), "points")]), |
| 2220 | |
| 2221 | # GL_APPLE_object_purgeable |
| 2222 | GlFunction(GLenum, "glObjectPurgeableAPPLE", [(GLenum, "objectType"), (GLuint, "name"), (GLenum, "option")]), |
| 2223 | GlFunction(GLenum, "glObjectUnpurgeableAPPLE", [(GLenum, "objectType"), (GLuint, "name"), (GLenum, "option")]), |
| 2224 | GlFunction(Void, "glGetObjectParameterivAPPLE", [(GLenum, "objectType"), (GLuint, "name"), (GLenum, "pname"), Out(OpaqueArray(GLint, "__glGetObjectParameterivAPPLE_size(pname)"), "params")], sideeffects=False), |
| 2225 | |
José Fonseca | a87c938 | 2011-03-23 19:42:20 +0000 | [diff] [blame] | 2226 | # GL_NV_copy_image |
| 2227 | GlFunction(Void, "glCopyImageSubDataNV", [(GLuint, "srcName"), (GLenum, "srcTarget"), (GLint, "srcLevel"), (GLint, "srcX"), (GLint, "srcY"), (GLint, "srcZ"), (GLuint, "dstName"), (GLenum, "dstTarget"), (GLint, "dstLevel"), (GLint, "dstX"), (GLint, "dstY"), (GLint, "dstZ"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth")]), |
| 2228 | |
José Fonseca | f40f51e | 2010-11-30 12:08:58 +0000 | [diff] [blame] | 2229 | # GL_EXT_separate_shader_objects |
José Fonseca | 3c1b7ce | 2011-05-09 11:22:54 +0100 | [diff] [blame^] | 2230 | GlFunction(Void, "glUseShaderProgramEXT", [(GLenum, "type"), (GLprogram, "program")]), |
| 2231 | GlFunction(Void, "glActiveProgramEXT", [(GLprogram, "program")]), |
| 2232 | GlFunction(GLprogram, "glCreateShaderProgramEXT", [(GLenum, "type"), (Const(GLstring), "string")]), |
José Fonseca | f40f51e | 2010-11-30 12:08:58 +0000 | [diff] [blame] | 2233 | |
José Fonseca | 4441baf | 2010-11-25 19:55:27 +0000 | [diff] [blame] | 2234 | # GL_KTX_buffer_region |
| 2235 | GlFunction(GLregion, "glNewBufferRegion", [(GLenum, "type")]), |
| 2236 | GlFunction(Void, "glDeleteBufferRegion", [(GLregion, "region")]), |
| 2237 | GlFunction(Void, "glReadBufferRegion", [(GLregion, "region"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height")]), |
| 2238 | GlFunction(Void, "glDrawBufferRegion", [(GLregion, "region"), (GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height"), (GLint, "xDest"), (GLint, "yDest")]), |
| 2239 | GlFunction(GLuint, "glBufferRegionEnabled", [], sideeffects=False), |
José Fonseca | 0931f46 | 2010-11-24 20:25:56 +0000 | [diff] [blame] | 2240 | ]) |
José Fonseca | 8fbdd3a | 2010-11-23 20:55:07 +0000 | [diff] [blame] | 2241 | |
José Fonseca | 867b1b7 | 2011-04-24 11:58:04 +0100 | [diff] [blame] | 2242 | |
José Fonseca | 35f4578 | 2011-04-24 12:25:43 +0100 | [diff] [blame] | 2243 | # memcpy's prototype. We don't really want to trace all memcpy calls -- just |
| 2244 | # emit a few fake memcpy calls --, which is why the prototype is not together |
| 2245 | # with the rest. |
José Fonseca | 867b1b7 | 2011-04-24 11:58:04 +0100 | [diff] [blame] | 2246 | memcpy = Function(Void, "memcpy", [(GLmap, "dest"), (Blob(Const(Void), "n"), "src"), (SizeT, "n")]) |