GLCoreFunc.h 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422
  1. //-----------------------------------------------------------------------------
  2. // Copyright (c) 2013 GarageGames, LLC
  3. //
  4. // Permission is hereby granted, free of charge, to any person obtaining a copy
  5. // of this software and associated documentation files (the "Software"), to
  6. // deal in the Software without restriction, including without limitation the
  7. // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  8. // sell copies of the Software, and to permit persons to whom the Software is
  9. // furnished to do so, subject to the following conditions:
  10. //
  11. // The above copyright notice and this permission notice shall be included in
  12. // all copies or substantial portions of the Software.
  13. //
  14. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  17. // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18. // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  19. // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  20. // IN THE SOFTWARE.
  21. //-----------------------------------------------------------------------------
  22. GL_FUNCTION(void, glAccum, (GLenum op, GLfloat value), return; )
  23. GL_FUNCTION(void, glAlphaFunc, (GLenum func, GLclampf ref), return; )
  24. GL_FUNCTION(GLboolean, glAreTexturesResident, (GLsizei n, const GLuint *textures, GLboolean *residences), return false; )
  25. GL_FUNCTION(void, glArrayElement, (GLint i), return; )
  26. GL_FUNCTION(void, glBegin, (GLenum mode), return; )
  27. GL_FUNCTION(void, glBindTexture, (GLenum target, GLuint texture), return; )
  28. GL_FUNCTION(void, glBitmap, (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap), return; )
  29. GL_FUNCTION(void, glBlendFunc, (GLenum sfactor, GLenum dfactor), return; )
  30. GL_FUNCTION(void, glCallList, (GLuint list), return; )
  31. GL_FUNCTION(void, glCallLists, (GLsizei n, GLenum type, const GLvoid *lists), return; )
  32. GL_FUNCTION(void, glClear, (GLbitfield mask), return; )
  33. GL_FUNCTION(void, glClearAccum, (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha), return; )
  34. GL_FUNCTION(void, glClearColor, (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha), return; )
  35. GL_FUNCTION(void, glClearDepth, (GLclampd depth), return; )
  36. GL_FUNCTION(void, glClearIndex, (GLfloat c), return; )
  37. GL_FUNCTION(void, glClearStencil, (GLint s), return; )
  38. GL_FUNCTION(void, glClipPlane, (GLenum plane, const GLdouble *equation), return; )
  39. GL_FUNCTION(void, glColor3b, (GLbyte red, GLbyte green, GLbyte blue), return; )
  40. GL_FUNCTION(void, glColor3bv, (const GLbyte *v), return; )
  41. GL_FUNCTION(void, glColor3d, (GLdouble red, GLdouble green, GLdouble blue), return; )
  42. GL_FUNCTION(void, glColor3dv, (const GLdouble *v), return; )
  43. GL_FUNCTION(void, glColor3f, (GLfloat red, GLfloat green, GLfloat blue), return; )
  44. GL_FUNCTION(void, glColor3fv, (const GLfloat *v), return; )
  45. GL_FUNCTION(void, glColor3i, (GLint red, GLint green, GLint blue), return; )
  46. GL_FUNCTION(void, glColor3iv, (const GLint *v), return; )
  47. GL_FUNCTION(void, glColor3s, (GLshort red, GLshort green, GLshort blue), return; )
  48. GL_FUNCTION(void, glColor3sv, (const GLshort *v), return; )
  49. GL_FUNCTION(void, glColor3ub, (GLubyte red, GLubyte green, GLubyte blue), return; )
  50. GL_FUNCTION(void, glColor3ubv, (const GLubyte *v), return; )
  51. GL_FUNCTION(void, glColor3ui, (GLuint red, GLuint green, GLuint blue), return; )
  52. GL_FUNCTION(void, glColor3uiv, (const GLuint *v), return; )
  53. GL_FUNCTION(void, glColor3us, (GLushort red, GLushort green, GLushort blue), return; )
  54. GL_FUNCTION(void, glColor3usv, (const GLushort *v), return; )
  55. GL_FUNCTION(void, glColor4b, (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha), return; )
  56. GL_FUNCTION(void, glColor4bv, (const GLbyte *v), return; )
  57. GL_FUNCTION(void, glColor4d, (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha), return; )
  58. GL_FUNCTION(void, glColor4dv, (const GLdouble *v), return; )
  59. GL_FUNCTION(void, glColor4f, (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha), return; )
  60. GL_FUNCTION(void, glColor4fv, (const GLfloat *v), return; )
  61. GL_FUNCTION(void, glColor4i, (GLint red, GLint green, GLint blue, GLint alpha), return; )
  62. GL_FUNCTION(void, glColor4iv, (const GLint *v), return; )
  63. GL_FUNCTION(void, glColor4s, (GLshort red, GLshort green, GLshort blue, GLshort alpha), return; )
  64. GL_FUNCTION(void, glColor4sv, (const GLshort *v), return; )
  65. GL_FUNCTION(void, glColor4ub, (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha), return; )
  66. GL_FUNCTION(void, glColor4ubv, (const GLubyte *v), return; )
  67. GL_FUNCTION(void, glColor4ui, (GLuint red, GLuint green, GLuint blue, GLuint alpha), return; )
  68. GL_FUNCTION(void, glColor4uiv, (const GLuint *v), return; )
  69. GL_FUNCTION(void, glColor4us, (GLushort red, GLushort green, GLushort blue, GLushort alpha), return; )
  70. GL_FUNCTION(void, glColor4usv, (const GLushort *v), return; )
  71. GL_FUNCTION(void, glColorMask, (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha), return; )
  72. GL_FUNCTION(void, glColorMaterial, (GLenum face, GLenum mode), return; )
  73. GL_FUNCTION(void, glCopyPixels, (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type), return; )
  74. GL_FUNCTION(void, glCopyTexImage1D, (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border), return; )
  75. GL_FUNCTION(void, glCopyTexImage2D, (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border), return; )
  76. GL_FUNCTION(void, glCopyTexSubImage1D, (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width), return; )
  77. GL_FUNCTION(void, glCopyTexSubImage2D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height), return; )
  78. //GL_FUNCTION(void, glCopyTexSubImage3D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height), return; )
  79. GL_FUNCTION(void, glCullFace, (GLenum mode), return; )
  80. GL_FUNCTION(void, glDeleteLists, (GLuint list, GLsizei range), return; )
  81. GL_FUNCTION(void, glDeleteTextures, (GLsizei n, const GLuint *textures), return; )
  82. GL_FUNCTION(void, glDepthFunc, (GLenum func), return; )
  83. GL_FUNCTION(void, glDepthMask, (GLboolean flag), return; )
  84. GL_FUNCTION(void, glDepthRange, (GLclampd zNear, GLclampd zFar), return; )
  85. GL_FUNCTION(void, glDisable, (GLenum cap), return; )
  86. GL_FUNCTION(void, glDisableClientState, (GLenum array), return; )
  87. GL_FUNCTION(void, glDrawArrays, (GLenum mode, GLint first, GLsizei count), return; )
  88. GL_FUNCTION(void, glDrawBuffer, (GLenum mode), return; )
  89. GL_FUNCTION(void, glDrawElements, (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices), return; )
  90. GL_FUNCTION(void, glDrawPixels, (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels), return; )
  91. //GL_FUNCTION(void, glDrawRangeElements, (GLenum mode, GLuint start, GLuint end, GLsizei cound, GLenum type, const GLvoid *indices), return; )
  92. GL_FUNCTION(void, glEdgeFlag, (GLboolean flag), return; )
  93. GL_FUNCTION(void, glEdgeFlagv, (const GLboolean *flag), return; )
  94. GL_FUNCTION(void, glEdgeFlagPointer, (GLsizei stride, const GLvoid *pointer), return; )
  95. GL_FUNCTION(void, glEnable, (GLenum cap), return; )
  96. GL_FUNCTION(void, glEndList, (void), return; )
  97. GL_FUNCTION(void, glEnableClientState, (GLenum array), return; )
  98. GL_FUNCTION(void, glEnd, (void), return; )
  99. GL_FUNCTION(void, glEvalCoord1d, (GLdouble u), return;)
  100. GL_FUNCTION(void, glEvalCoord1f, (GLfloat u), return;)
  101. GL_FUNCTION(void, glEvalCoord2d, (GLdouble u, GLdouble v), return;)
  102. GL_FUNCTION(void, glEvalCoord2f, (GLfloat u, GLfloat v), return;)
  103. GL_FUNCTION(void, glEvalCoord1dv, (const GLdouble *u), return;)
  104. GL_FUNCTION(void, glEvalCoord1fv, (const GLfloat *u), return;)
  105. GL_FUNCTION(void, glEvalCoord2dv, (const GLdouble *u), return;)
  106. GL_FUNCTION(void, glEvalCoord2fv, (const GLfloat *u), return;)
  107. GL_FUNCTION(void, glEvalMesh1, (GLenum mode, GLint i1, GLint i2), return; )
  108. GL_FUNCTION(void, glEvalMesh2, (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2), return; )
  109. GL_FUNCTION(void, glEvalPoint1, (GLint i), return; )
  110. GL_FUNCTION(void, glEvalPoint2, (GLint i, GLint j), return; )
  111. GL_FUNCTION(void, glFeedbackBuffer, (GLsizei size, GLenum type, GLfloat *buffer), return; )
  112. GL_FUNCTION(void, glFinish, (void), return; )
  113. GL_FUNCTION(void, glFlush, (void), return; )
  114. GL_FUNCTION(void, glFogf, (GLenum pname, GLfloat param), return; )
  115. GL_FUNCTION(void, glFogfv, (GLenum pname, const GLfloat *params), return; )
  116. GL_FUNCTION(void, glFogi, (GLenum pname, GLint param), return; )
  117. GL_FUNCTION(void, glFogiv, (GLenum pname, const GLint *params), return; )
  118. GL_FUNCTION(void, glFrontFace, (GLenum mode), return; )
  119. GL_FUNCTION(void, glFrustum, (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar), return; )
  120. GL_FUNCTION(GLuint, glGenLists, (GLsizei range), return 0; )
  121. GL_FUNCTION(void, glGenTextures, (GLsizei n, GLuint *textures), return; )
  122. GL_FUNCTION(void, glGetBooleanv, (GLenum pname, GLboolean *params), return; )
  123. GL_FUNCTION(void, glGetClipPlane, (GLenum plane, GLdouble *equation), return; )
  124. GL_FUNCTION(void, glColorPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer), return; )
  125. GL_FUNCTION(void, glGetDoublev, (GLenum pname, GLdouble *params), return; )
  126. GL_FUNCTION(void, glGetFloatv, (GLenum pname, GLfloat *params), return; )
  127. GL_FUNCTION(GLuint, glGetError, (void), return 0; )
  128. GL_FUNCTION(void, glGetIntegerv, (GLenum pname, GLint *params), return; )
  129. GL_FUNCTION(void, glGetLightfv, (GLenum light, GLenum pname, GLfloat *params), return; )
  130. GL_FUNCTION(void, glGetLightiv, (GLenum light, GLenum pname, GLint *params), return; )
  131. GL_FUNCTION(void, glGetMapdv, (GLenum target, GLenum query, GLdouble *v), return; )
  132. GL_FUNCTION(void, glGetMapfv, (GLenum target, GLenum query, GLfloat *v), return; )
  133. GL_FUNCTION(void, glGetMapiv, (GLenum target, GLenum query, GLint *v), return; )
  134. GL_FUNCTION(void, glGetMaterialfv, (GLenum face, GLenum pname, GLfloat *params), return; )
  135. GL_FUNCTION(void, glGetMaterialiv, (GLenum face, GLenum pname, GLint *params), return; )
  136. GL_FUNCTION(void, glGetPixelMapfv, (GLenum map, GLfloat *values), return; )
  137. GL_FUNCTION(void, glGetPixelMapuiv, (GLenum map, GLuint *values), return; )
  138. GL_FUNCTION(void, glGetPixelMapusv, (GLenum map, GLushort *values), return; )
  139. GL_FUNCTION(void, glGetPointerv, (GLenum pname, GLvoid* *params), return; )
  140. GL_FUNCTION(void, glGetPolygonStipple, (GLubyte *mask), return; )
  141. GL_FUNCTION(const GLubyte*, glGetString, (GLenum name), return NULL; )
  142. GL_FUNCTION(void, glGetTexEnvfv, (GLenum target, GLenum pname, GLfloat *params), return; )
  143. GL_FUNCTION(void, glGetTexEnviv, (GLenum target, GLenum pname, GLint *params), return; )
  144. GL_FUNCTION(void, glGetTexGendv, (GLenum coord, GLenum pname, GLdouble *params), return; )
  145. GL_FUNCTION(void, glGetTexGenfv, (GLenum coord, GLenum pname, GLfloat *params), return; )
  146. GL_FUNCTION(void, glGetTexGeniv, (GLenum coord, GLenum pname, GLint *params), return; )
  147. GL_FUNCTION(void, glGetTexImage, (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels), return; )
  148. GL_FUNCTION(void, glGetTexLevelParameterfv, (GLenum target, GLint level, GLenum pname, GLfloat *params), return; )
  149. GL_FUNCTION(void, glGetTexLevelParameteriv, (GLenum target, GLint level, GLenum pname, GLint *params), return; )
  150. GL_FUNCTION(void, glGetTexParameterfv, (GLenum target, GLenum pname, GLfloat *params), return; )
  151. GL_FUNCTION(void, glGetTexParameteriv, (GLenum target, GLenum pname, GLint *params), return; )
  152. GL_FUNCTION(void, glHint, (GLenum target, GLenum mode), return; )
  153. GL_FUNCTION(void, glIndexd, (GLdouble c), return; )
  154. GL_FUNCTION(void, glIndexf, (GLfloat c), return; )
  155. GL_FUNCTION(void, glIndexi, (GLint c), return; )
  156. GL_FUNCTION(void, glIndexs, (GLshort c), return; )
  157. GL_FUNCTION(void, glIndexub, (GLubyte c), return; )
  158. GL_FUNCTION(void, glIndexdv, (const GLdouble *c), return; )
  159. GL_FUNCTION(void, glIndexfv, (const GLfloat *c), return; )
  160. GL_FUNCTION(void, glIndexiv, (const GLint *c), return; )
  161. GL_FUNCTION(void, glIndexsv, (const GLshort *c), return; )
  162. GL_FUNCTION(void, glIndexubv, (const GLubyte *c), return; )
  163. GL_FUNCTION(void, glIndexMask, (GLuint mask), return; )
  164. GL_FUNCTION(void, glIndexPointer, (GLenum type, GLsizei stride, const GLvoid *pointer), return; )
  165. GL_FUNCTION(void, glInitNames, (void), return; );
  166. GL_FUNCTION(void, glInterleavedArrays, (GLenum format, GLsizei stride, const GLvoid *pointer), return; )
  167. GL_FUNCTION(GLboolean, glIsEnabled, (GLenum cap), return false; )
  168. GL_FUNCTION(GLboolean, glIsList, (GLuint list), return false; )
  169. GL_FUNCTION(GLboolean, glIsTexture, (GLuint texture), return false; )
  170. GL_FUNCTION(void, glLightf, (GLenum light, GLenum pname, GLfloat param), return; )
  171. GL_FUNCTION(void, glLightfv, (GLenum light, GLenum pname, const GLfloat *params), return; )
  172. GL_FUNCTION(void, glLighti, (GLenum light, GLenum pname, GLint param), return; )
  173. GL_FUNCTION(void, glLightiv, (GLenum light, GLenum pname, const GLint *params), return; )
  174. GL_FUNCTION(void, glLightModelf, (GLenum pname, GLfloat param), return; )
  175. GL_FUNCTION(void, glLightModelfv, (GLenum pname, const GLfloat *params), return; )
  176. GL_FUNCTION(void, glLightModeli, (GLenum pname, GLint param), return; )
  177. GL_FUNCTION(void, glLightModeliv, (GLenum pname, const GLint *params), return; )
  178. GL_FUNCTION(void, glLineStipple, (GLint factor, GLushort pattern), return; )
  179. GL_FUNCTION(void, glLineWidth, (GLfloat width), return; )
  180. GL_FUNCTION(void, glListBase, (GLuint base), return; )
  181. GL_FUNCTION(void, glLoadIdentity, (void), return; )
  182. GL_FUNCTION(void, glLoadMatrixd, (const GLdouble *m), return; )
  183. GL_FUNCTION(void, glLoadMatrixf, (const GLfloat *m), return; )
  184. GL_FUNCTION(void, glLoadName, (GLuint name), return; )
  185. GL_FUNCTION(void, glLogicOp, (GLenum opcode), return; )
  186. GL_FUNCTION(void, glMap1d, (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points), return; )
  187. GL_FUNCTION(void, glMap1f, (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points), return; )
  188. GL_FUNCTION(void, glMap2d, (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points), return; )
  189. GL_FUNCTION(void, glMap2f, (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points), return; )
  190. GL_FUNCTION(void, glMapGrid1d, (GLint un, GLdouble u1, GLdouble u2), return; )
  191. GL_FUNCTION(void, glMapGrid1f, (GLint un, GLfloat u1, GLfloat u2), return; )
  192. GL_FUNCTION(void, glMapGrid2d, (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2), return; )
  193. GL_FUNCTION(void, glMapGrid2f, (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2), return; )
  194. GL_FUNCTION(void, glMaterialf, (GLenum face, GLenum pname, GLfloat param), return; )
  195. GL_FUNCTION(void, glMaterialfv, (GLenum face, GLenum pname, const GLfloat* params), return; )
  196. GL_FUNCTION(void, glMateriali, (GLenum face, GLenum pname, GLint param), return; )
  197. GL_FUNCTION(void, glMaterialiv, (GLenum face, GLenum pname, const GLint* params), return; )
  198. GL_FUNCTION(void, glMatrixMode, (GLenum mode), return; )
  199. GL_FUNCTION(void, glMultMatrixd, (const GLdouble *m), return; )
  200. GL_FUNCTION(void, glMultMatrixf, (const GLfloat *m), return; )
  201. GL_FUNCTION(void, glNewList, (GLuint list, GLenum mode), return; )
  202. GL_FUNCTION(void, glNormal3b, (GLbyte nx, GLbyte ny, GLbyte nz), return; );
  203. GL_FUNCTION(void, glNormal3bv, (const GLbyte *v), return; );
  204. GL_FUNCTION(void, glNormal3d, (GLdouble nx, GLdouble ny, GLdouble nz), return; );
  205. GL_FUNCTION(void, glNormal3dv, (const GLdouble *v), return; );
  206. GL_FUNCTION(void, glNormal3f, (GLfloat nx, GLfloat ny, GLfloat nz), return; );
  207. GL_FUNCTION(void, glNormal3fv, (const GLfloat *v), return; );
  208. GL_FUNCTION(void, glNormal3i, (GLint nx, GLint ny, GLint nz), return; );
  209. GL_FUNCTION(void, glNormal3iv, (const GLint *v), return; );
  210. GL_FUNCTION(void, glNormal3s, (GLshort nx, GLshort ny, GLshort nz), return; );
  211. GL_FUNCTION(void, glNormal3sv, (const GLshort *v), return; );
  212. GL_FUNCTION(void, glNormalPointer, (GLenum type, GLsizei stride, const GLvoid *pointer), return; )
  213. GL_FUNCTION(void, glOrtho, (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar), return; )
  214. GL_FUNCTION(void, glPassThrough, (GLfloat token), return; )
  215. GL_FUNCTION(void, glPixelMapfv, (GLenum map, GLint mapSize, const GLfloat *values), return; )
  216. GL_FUNCTION(void, glPixelMapuiv, (GLenum map, GLint mapSize, const GLuint *values), return; )
  217. GL_FUNCTION(void, glPixelMapusv, (GLenum map, GLint mapSize, const GLushort *values), return; )
  218. GL_FUNCTION(void, glPixelStoref, (GLenum pname, GLfloat param), return; )
  219. GL_FUNCTION(void, glPixelStorei, (GLenum pname, GLint param), return; )
  220. GL_FUNCTION(void, glPixelTransferf, (GLenum pname, GLfloat param), return; )
  221. GL_FUNCTION(void, glPixelTransferi, (GLenum pname, GLint param), return; )
  222. GL_FUNCTION(void, glPixelZoom, (GLfloat xfactor, GLfloat yfactor), return; )
  223. GL_FUNCTION(void, glPointSize, (GLfloat size), return; )
  224. GL_FUNCTION(void, glPolygonMode, (GLenum face, GLenum mode), return; )
  225. GL_FUNCTION(void, glPolygonOffset, (GLfloat factor, GLfloat units), return; )
  226. GL_FUNCTION(void, glPolygonStipple, (const GLubyte *mask), return; )
  227. GL_FUNCTION(void, glPopAttrib, (void), return; )
  228. GL_FUNCTION(void, glPopClientAttrib, (void), return; )
  229. GL_FUNCTION(void, glPopMatrix, (void), return; )
  230. GL_FUNCTION(void, glPopName, (void), return; )
  231. GL_FUNCTION(void, glPrioritizeTextures, (GLsizei n, const GLuint *textures, const GLclampf *priorities), return; )
  232. GL_FUNCTION(void, glPushAttrib, (GLbitfield mask), return; )
  233. GL_FUNCTION(void, glPushClientAttrib, (GLbitfield mask), return; )
  234. GL_FUNCTION(void, glPushMatrix, (void), return; )
  235. GL_FUNCTION(void, glPushName, (GLuint name), return; )
  236. GL_FUNCTION(void, glRasterPos2d, (GLdouble x, GLdouble y), return; )
  237. GL_FUNCTION(void, glRasterPos2dv, (const GLdouble *v), return; )
  238. GL_FUNCTION(void, glRasterPos2f, (GLfloat x, GLfloat y), return; )
  239. GL_FUNCTION(void, glRasterPos2fv, (const GLfloat *v), return; )
  240. GL_FUNCTION(void, glRasterPos2i, (GLint x, GLint y), return; )
  241. GL_FUNCTION(void, glRasterPos2iv, (const GLint *v), return; )
  242. GL_FUNCTION(void, glRasterPos2s, (GLshort x, GLshort y), return; )
  243. GL_FUNCTION(void, glRasterPos2sv, (const GLshort *v), return; )
  244. GL_FUNCTION(void, glRasterPos3d, (GLdouble x, GLdouble y, GLdouble z), return; )
  245. GL_FUNCTION(void, glRasterPos3dv, (const GLdouble *v), return; )
  246. GL_FUNCTION(void, glRasterPos3f, (GLfloat x, GLfloat y, GLfloat z), return; )
  247. GL_FUNCTION(void, glRasterPos3fv, (const GLfloat *v), return; )
  248. GL_FUNCTION(void, glRasterPos3i, (GLint x, GLint y, GLint z), return; )
  249. GL_FUNCTION(void, glRasterPos3iv, (const GLint *v), return; )
  250. GL_FUNCTION(void, glRasterPos3s, (GLshort x, GLshort y, GLshort z), return; )
  251. GL_FUNCTION(void, glRasterPos3sv, (const GLshort *v), return; )
  252. GL_FUNCTION(void, glRasterPos4d, (GLdouble x, GLdouble y, GLdouble z, GLdouble w), return; )
  253. GL_FUNCTION(void, glRasterPos4dv, (const GLdouble *v), return; )
  254. GL_FUNCTION(void, glRasterPos4f, (GLfloat x, GLfloat y, GLfloat z, GLfloat w), return; )
  255. GL_FUNCTION(void, glRasterPos4fv, (const GLfloat *v), return; )
  256. GL_FUNCTION(void, glRasterPos4i, (GLint x, GLint y, GLint z, GLint w), return; )
  257. GL_FUNCTION(void, glRasterPos4iv, (const GLint *v), return; )
  258. GL_FUNCTION(void, glRasterPos4s, (GLshort x, GLshort y, GLshort z, GLshort w), return; )
  259. GL_FUNCTION(void, glRasterPos4sv, (const GLshort *v), return; )
  260. GL_FUNCTION(void, glReadBuffer, (GLenum mode), return; )
  261. GL_FUNCTION(void, glReadPixels, (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels), return; )
  262. GL_FUNCTION(void, glRectd, (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2), return; )
  263. GL_FUNCTION(void, glRectdv, (const GLdouble *v1, const GLdouble *v2), return; )
  264. GL_FUNCTION(void, glRectf, (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2), return; )
  265. GL_FUNCTION(void, glRectfv, (const GLfloat *v1, const GLfloat *v2), return; )
  266. GL_FUNCTION(void, glRecti, (GLint x1, GLint y1, GLint x2, GLint y2), return; )
  267. GL_FUNCTION(void, glRectiv, (const GLint *v1, const GLint *v2), return; )
  268. GL_FUNCTION(void, glRects, (GLshort x1, GLshort y1, GLshort x2, GLshort y2), return; )
  269. GL_FUNCTION(void, glRectsv, (const GLshort *v1, const GLshort *v2), return; )
  270. GL_FUNCTION(GLint, glRenderMode, (GLenum mode), return 0; )
  271. GL_FUNCTION(void, glRotated, (GLdouble angle, GLdouble x, GLdouble y, GLdouble z), return; )
  272. GL_FUNCTION(void, glRotatef, (GLfloat angle, GLfloat x, GLfloat y, GLfloat z), return; )
  273. GL_FUNCTION(void, glScaled, (GLdouble x, GLdouble y, GLdouble z), return; )
  274. GL_FUNCTION(void, glScalef, (GLfloat x, GLfloat y, GLfloat z), return; )
  275. GL_FUNCTION(void, glScissor, (GLint x, GLint y, GLsizei width, GLsizei height), return; )
  276. GL_FUNCTION(void, glSelectBuffer, (GLsizei size, GLuint *buffer), return; )
  277. GL_FUNCTION(void, glShadeModel, (GLenum mode), return; )
  278. GL_FUNCTION(void, glStencilFunc, (GLenum func, GLint ref, GLuint mask), return; )
  279. GL_FUNCTION(void, glStencilMask, (GLuint mask), return; )
  280. GL_FUNCTION(void, glStencilOp, (GLenum fail, GLenum zfail, GLenum zpass), return; )
  281. GL_FUNCTION(void, glTexCoord1d, (GLdouble s), return; )
  282. GL_FUNCTION(void, glTexCoord1dv, (const GLdouble *v), return; )
  283. GL_FUNCTION(void, glTexCoord1f, (GLfloat s), return; )
  284. GL_FUNCTION(void, glTexCoord1fv, (const GLfloat *v), return; )
  285. GL_FUNCTION(void, glTexCoord1i, (GLint s), return; )
  286. GL_FUNCTION(void, glTexCoord1iv, (const GLint *v), return; )
  287. GL_FUNCTION(void, glTexCoord1s, (GLshort s), return; )
  288. GL_FUNCTION(void, glTexCoord1sv, (const GLshort *v), return; )
  289. GL_FUNCTION(void, glTexCoord2d, (GLdouble s, GLdouble t), return; )
  290. GL_FUNCTION(void, glTexCoord2dv, (const GLdouble *v), return; )
  291. GL_FUNCTION(void, glTexCoord2f, (GLfloat s, GLfloat t), return; )
  292. GL_FUNCTION(void, glTexCoord2fv, (const GLfloat *v), return; )
  293. GL_FUNCTION(void, glTexCoord2i, (GLint s, GLint t), return; )
  294. GL_FUNCTION(void, glTexCoord2iv, (const GLint *v), return; )
  295. GL_FUNCTION(void, glTexCoord2s, (GLshort s, GLshort t), return; )
  296. GL_FUNCTION(void, glTexCoord2sv, (const GLshort *v), return; )
  297. GL_FUNCTION(void, glTexCoord3d, (GLdouble s, GLdouble t, GLdouble r), return; )
  298. GL_FUNCTION(void, glTexCoord3dv, (const GLdouble *v), return; )
  299. GL_FUNCTION(void, glTexCoord3f, (GLfloat s, GLfloat t, GLfloat r), return; )
  300. GL_FUNCTION(void, glTexCoord3fv, (const GLfloat *v), return; )
  301. GL_FUNCTION(void, glTexCoord3i, (GLint s, GLint t, GLint r), return; )
  302. GL_FUNCTION(void, glTexCoord3iv, (const GLint *v), return; )
  303. GL_FUNCTION(void, glTexCoord3s, (GLshort s, GLshort t, GLshort r), return; )
  304. GL_FUNCTION(void, glTexCoord3sv, (const GLshort *v), return; )
  305. GL_FUNCTION(void, glTexCoord4d, (GLdouble s, GLdouble t, GLdouble r, GLdouble q), return; )
  306. GL_FUNCTION(void, glTexCoord4dv, (const GLdouble *v), return; )
  307. GL_FUNCTION(void, glTexCoord4f, (GLfloat s, GLfloat t, GLfloat r, GLfloat q), return; )
  308. GL_FUNCTION(void, glTexCoord4fv, (const GLfloat *v), return; )
  309. GL_FUNCTION(void, glTexCoord4i, (GLint s, GLint t, GLint r, GLint q), return; )
  310. GL_FUNCTION(void, glTexCoord4iv, (const GLint *v), return; )
  311. GL_FUNCTION(void, glTexCoord4s, (GLshort s, GLshort t, GLshort r, GLshort q), return; )
  312. GL_FUNCTION(void, glTexCoord4sv, (const GLshort *v), return; )
  313. GL_FUNCTION(void, glTexCoordPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer), return; )
  314. GL_FUNCTION(void, glTexEnvf, (GLenum target, GLenum pname, GLfloat param), return; )
  315. GL_FUNCTION(void, glTexEnvfv, (GLenum target, GLenum pname, const GLfloat *params), return; )
  316. GL_FUNCTION(void, glTexEnvi, (GLenum target, GLenum pname, GLint param), return; )
  317. GL_FUNCTION(void, glTexEnviv, (GLenum target, GLenum pname, const GLint *params), return; )
  318. GL_FUNCTION(void, glTexGend, (GLenum coord, GLenum pname, GLdouble param), return; )
  319. GL_FUNCTION(void, glTexGendv, (GLenum coord, GLenum pname, const GLdouble *param), return; )
  320. GL_FUNCTION(void, glTexGenf, (GLenum coord, GLenum pname, GLfloat param), return; )
  321. GL_FUNCTION(void, glTexGenfv, (GLenum coord, GLenum pname, const GLfloat *param), return; )
  322. GL_FUNCTION(void, glTexGeni, (GLenum coord, GLenum pname, GLint param), return; )
  323. GL_FUNCTION(void, glTexGeniv, (GLenum coord, GLenum pname, const GLint *param), return; )
  324. GL_FUNCTION(void, glTexImage1D, (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels), return; )
  325. GL_FUNCTION(void, glTexImage2D, (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels), return; )
  326. //GL_FUNCTION(void, glTexImage3D, (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels), return; )
  327. GL_FUNCTION(void, glTexParameterfv, (GLenum target, GLenum pname, const GLfloat *params), return; )
  328. GL_FUNCTION(void, glTexParameterf, (GLenum target, GLenum pname, GLfloat param), return; )
  329. GL_FUNCTION(void, glTexParameteriv, (GLenum target, GLenum pname, const GLint *params), return; )
  330. GL_FUNCTION(void, glTexParameteri, (GLenum target, GLenum pname, GLint param), return; )
  331. GL_FUNCTION(void, glTexSubImage1D, (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels), return; )
  332. GL_FUNCTION(void, glTexSubImage2D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels), return; )
  333. //GL_FUNCTION(void, glTexSubImage3D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels), return; )
  334. GL_FUNCTION(void, glTranslated, (GLdouble x, GLdouble y, GLdouble z), return; )
  335. GL_FUNCTION(void, glTranslatef, (GLfloat x, GLfloat y, GLfloat z), return; )
  336. GL_FUNCTION(void, glVertex2d, (GLdouble x, GLdouble y), return; )
  337. GL_FUNCTION(void, glVertex2dv, (const GLdouble *v), return; )
  338. GL_FUNCTION(void, glVertex2f, (GLfloat x, GLfloat y), return; )
  339. GL_FUNCTION(void, glVertex2fv, (const GLfloat *v), return; )
  340. GL_FUNCTION(void, glVertex2i, (GLint x, GLint y), return; )
  341. GL_FUNCTION(void, glVertex2iv, (const GLint *v), return; )
  342. GL_FUNCTION(void, glVertex2s, (GLshort x, GLshort y), return; )
  343. GL_FUNCTION(void, glVertex2sv, (const GLshort *v), return; )
  344. GL_FUNCTION(void, glVertex3d, (GLdouble x, GLdouble y, GLdouble z), return; )
  345. GL_FUNCTION(void, glVertex3dv, (const GLdouble *v), return; )
  346. GL_FUNCTION(void, glVertex3f, (GLfloat x, GLfloat y, GLfloat z), return; )
  347. GL_FUNCTION(void, glVertex3fv, (const GLfloat *v), return; )
  348. GL_FUNCTION(void, glVertex3i, (GLint x, GLint y, GLint z), return; )
  349. GL_FUNCTION(void, glVertex3iv, (const GLint *v), return; )
  350. GL_FUNCTION(void, glVertex3s, (GLshort x, GLshort y, GLshort z), return; )
  351. GL_FUNCTION(void, glVertex3sv, (const GLshort *v), return; )
  352. GL_FUNCTION(void, glVertex4d, (GLdouble x, GLdouble y, GLdouble z, GLdouble w), return; )
  353. GL_FUNCTION(void, glVertex4dv, (const GLdouble *v), return; )
  354. GL_FUNCTION(void, glVertex4f, (GLfloat x, GLfloat y, GLfloat z, GLfloat w), return; )
  355. GL_FUNCTION(void, glVertex4fv, (const GLfloat *v), return; )
  356. GL_FUNCTION(void, glVertex4i, (GLint x, GLint y, GLint z, GLint w), return; )
  357. GL_FUNCTION(void, glVertex4iv, (const GLint *v), return; )
  358. GL_FUNCTION(void, glVertex4s, (GLshort x, GLshort y, GLshort z, GLshort w), return; )
  359. GL_FUNCTION(void, glVertex4sv, (const GLshort *v), return; )
  360. GL_FUNCTION(void, glVertexPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer), return; )
  361. GL_FUNCTION(void, glViewport, (GLint x, GLint y, GLsizei width, GLsizei height), return; )
  362. //torque vertex buffer extension
  363. GL_FUNCTION(GLboolean, glAvailableVertexBufferEXT, (void), return GL_FALSE; )
  364. GL_FUNCTION(GLint, glAllocateVertexBufferEXT, (GLsizei size, GLint format, GLboolean preserve), return 0; )
  365. GL_FUNCTION(void*, glLockVertexBufferEXT, (GLint handle, GLsizei size), return NULL; )
  366. GL_FUNCTION(void, glUnlockVertexBufferEXT, (GLint handle), return; )
  367. GL_FUNCTION(void, glSetVertexBufferEXT, (GLint handle), return; )
  368. GL_FUNCTION(void, glOffsetVertexBufferEXT, (GLint handle, GLuint offset), return; )
  369. GL_FUNCTION(void, glFillVertexBufferEXT, (GLint handle, GLint first, GLsizei count), return; )
  370. GL_FUNCTION(void, glFreeVertexBufferEXT, (GLint handle), return; )
  371. //GL_ARB_imaging
  372. #ifdef DEFINE_IMAGING
  373. GL_FUNCTION(void, glBlendColor, (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha), return; )
  374. GL_FUNCTION(void, glBlendEquation, (GLenum mode), return; )
  375. GL_FUNCTION(void, glColorSubTable, (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data), return; )
  376. GL_FUNCTION(void, glColorTable, (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid* data), return; )
  377. GL_FUNCTION(void, glColorTableParameterfv, (GLenum target, GLenum pname, const GLfloat *params), return; )
  378. GL_FUNCTION(void, glColorTableParameterfi, (GLenum target, GLenum pname, const GLint *params), return; )
  379. GL_FUNCTION(void, glConvolutionFilter1D, (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image), return; )
  380. GL_FUNCTION(void, glConvolutionFilter2D, (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image), return; )
  381. GL_FUNCTION(void, glConvolutionParameterf, (GLenum target, GLenum pname, GLfloat params), return; )
  382. GL_FUNCTION(void, glConvolutionParameteri, (GLenum target, GLenum pname, GLint params), return; )
  383. GL_FUNCTION(void, glCopyColorSubTable, (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width), return; )
  384. GL_FUNCTION(void, glCopyColorTable, (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width), return; )
  385. GL_FUNCTION(void, glCopyConvolutionFilter1D, (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width), return; )
  386. GL_FUNCTION(void, glCopyConvolutionFilter2D, (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height), return; )
  387. GL_FUNCTION(void, glGetColorTable, (GLenum target, GLenum format, GLenum type, GLvoid *table), return; )
  388. GL_FUNCTION(void, glGetColorTableParameterfv, (GLenum target, GLenum pname, GLfloat *params), return; )
  389. GL_FUNCTION(void, glGetColorTableParameteriv, (GLenum target, GLenum pname, GLint *params), return; )
  390. GL_FUNCTION(void, glGetConvolutionFilter, (GLenum target, GLenum format, GLenum type, GLvoid *image), return; )
  391. GL_FUNCTION(void, glGetConvolutionParamterfv, (GLenum target, GLenum pname, GLfloat *params), return; )
  392. GL_FUNCTION(void, glGetConvolutionParamteriv, (GLenum target, GLenum pname, GLint *params), return; )
  393. GL_FUNCTION(void, glGetHistogram, (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values), return; )
  394. GL_FUNCTION(void, glGetHistogramParameterfv, (GLenum target, GLenum pname, GLfloat *params), return; )
  395. GL_FUNCTION(void, glGetHistogramParameteriv, (GLenum target, GLenum pname, GLint *params), return; )
  396. GL_FUNCTION(void, glGetMinmax, (GLenum target, GLboolean reset, GLenum format, GLvoid *values), return; )
  397. GL_FUNCTION(void, glGetMinmaxParameterfv, (GLenum target, GLenum pname, GLfloat *params), return; )
  398. GL_FUNCTION(void, glGetMinmaxParameteriv, (GLenum target, GLenum pname, GLint *params), return; )
  399. GL_FUNCTION(void, glGetSeparableFilter, (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span), return; )
  400. GL_FUNCTION(void, glHistogram, (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink), return; )
  401. GL_FUNCTION(void, glMinmax, (GLenum target, GLenum internalformat, GLboolean sink), return; )
  402. GL_FUNCTION(void, glResetHistogram, (GLenum target), return; )
  403. GL_FUNCTION(void, glResetMinmax, (GLenum target), return; )
  404. GL_FUNCTION(void, glSeparableFilter2D, (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column), return; )
  405. #endif