gl_api.in 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  1. void API_ENTRY(glAlphaFunc)(GLenum func, GLfloat ref) {
  2. CALL_GL_API(glAlphaFunc, func, ref);
  3. }
  4. void API_ENTRY(glClearColor)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) {
  5. CALL_GL_API(glClearColor, red, green, blue, alpha);
  6. }
  7. void API_ENTRY(glClearDepthf)(GLfloat d) {
  8. CALL_GL_API(glClearDepthf, d);
  9. }
  10. void API_ENTRY(glClipPlanef)(GLenum p, const GLfloat * eqn) {
  11. CALL_GL_API(glClipPlanef, p, eqn);
  12. }
  13. void API_ENTRY(glColor4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) {
  14. CALL_GL_API(glColor4f, red, green, blue, alpha);
  15. }
  16. void API_ENTRY(glDepthRangef)(GLfloat n, GLfloat f) {
  17. CALL_GL_API(glDepthRangef, n, f);
  18. }
  19. void API_ENTRY(glFogf)(GLenum pname, GLfloat param) {
  20. CALL_GL_API(glFogf, pname, param);
  21. }
  22. void API_ENTRY(glFogfv)(GLenum pname, const GLfloat * params) {
  23. CALL_GL_API(glFogfv, pname, params);
  24. }
  25. void API_ENTRY(glFrustumf)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) {
  26. CALL_GL_API(glFrustumf, l, r, b, t, n, f);
  27. }
  28. void API_ENTRY(glGetClipPlanef)(GLenum plane, GLfloat * equation) {
  29. CALL_GL_API(glGetClipPlanef, plane, equation);
  30. }
  31. void API_ENTRY(glGetFloatv)(GLenum pname, GLfloat * data) {
  32. CALL_GL_API(glGetFloatv, pname, data);
  33. }
  34. void API_ENTRY(glGetLightfv)(GLenum light, GLenum pname, GLfloat * params) {
  35. CALL_GL_API(glGetLightfv, light, pname, params);
  36. }
  37. void API_ENTRY(glGetMaterialfv)(GLenum face, GLenum pname, GLfloat * params) {
  38. CALL_GL_API(glGetMaterialfv, face, pname, params);
  39. }
  40. void API_ENTRY(glGetTexEnvfv)(GLenum target, GLenum pname, GLfloat * params) {
  41. CALL_GL_API(glGetTexEnvfv, target, pname, params);
  42. }
  43. void API_ENTRY(glGetTexParameterfv)(GLenum target, GLenum pname, GLfloat * params) {
  44. CALL_GL_API(glGetTexParameterfv, target, pname, params);
  45. }
  46. void API_ENTRY(glLightModelf)(GLenum pname, GLfloat param) {
  47. CALL_GL_API(glLightModelf, pname, param);
  48. }
  49. void API_ENTRY(glLightModelfv)(GLenum pname, const GLfloat * params) {
  50. CALL_GL_API(glLightModelfv, pname, params);
  51. }
  52. void API_ENTRY(glLightf)(GLenum light, GLenum pname, GLfloat param) {
  53. CALL_GL_API(glLightf, light, pname, param);
  54. }
  55. void API_ENTRY(glLightfv)(GLenum light, GLenum pname, const GLfloat * params) {
  56. CALL_GL_API(glLightfv, light, pname, params);
  57. }
  58. void API_ENTRY(glLineWidth)(GLfloat width) {
  59. CALL_GL_API(glLineWidth, width);
  60. }
  61. void API_ENTRY(glLoadMatrixf)(const GLfloat * m) {
  62. CALL_GL_API(glLoadMatrixf, m);
  63. }
  64. void API_ENTRY(glMaterialf)(GLenum face, GLenum pname, GLfloat param) {
  65. CALL_GL_API(glMaterialf, face, pname, param);
  66. }
  67. void API_ENTRY(glMaterialfv)(GLenum face, GLenum pname, const GLfloat * params) {
  68. CALL_GL_API(glMaterialfv, face, pname, params);
  69. }
  70. void API_ENTRY(glMultMatrixf)(const GLfloat * m) {
  71. CALL_GL_API(glMultMatrixf, m);
  72. }
  73. void API_ENTRY(glMultiTexCoord4f)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) {
  74. CALL_GL_API(glMultiTexCoord4f, target, s, t, r, q);
  75. }
  76. void API_ENTRY(glNormal3f)(GLfloat nx, GLfloat ny, GLfloat nz) {
  77. CALL_GL_API(glNormal3f, nx, ny, nz);
  78. }
  79. void API_ENTRY(glOrthof)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) {
  80. CALL_GL_API(glOrthof, l, r, b, t, n, f);
  81. }
  82. void API_ENTRY(glPointParameterf)(GLenum pname, GLfloat param) {
  83. CALL_GL_API(glPointParameterf, pname, param);
  84. }
  85. void API_ENTRY(glPointParameterfv)(GLenum pname, const GLfloat * params) {
  86. CALL_GL_API(glPointParameterfv, pname, params);
  87. }
  88. void API_ENTRY(glPointSize)(GLfloat size) {
  89. CALL_GL_API(glPointSize, size);
  90. }
  91. void API_ENTRY(glPolygonOffset)(GLfloat factor, GLfloat units) {
  92. CALL_GL_API(glPolygonOffset, factor, units);
  93. }
  94. void API_ENTRY(glRotatef)(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) {
  95. CALL_GL_API(glRotatef, angle, x, y, z);
  96. }
  97. void API_ENTRY(glScalef)(GLfloat x, GLfloat y, GLfloat z) {
  98. CALL_GL_API(glScalef, x, y, z);
  99. }
  100. void API_ENTRY(glTexEnvf)(GLenum target, GLenum pname, GLfloat param) {
  101. CALL_GL_API(glTexEnvf, target, pname, param);
  102. }
  103. void API_ENTRY(glTexEnvfv)(GLenum target, GLenum pname, const GLfloat * params) {
  104. CALL_GL_API(glTexEnvfv, target, pname, params);
  105. }
  106. void API_ENTRY(glTexParameterf)(GLenum target, GLenum pname, GLfloat param) {
  107. CALL_GL_API(glTexParameterf, target, pname, param);
  108. }
  109. void API_ENTRY(glTexParameterfv)(GLenum target, GLenum pname, const GLfloat * params) {
  110. CALL_GL_API(glTexParameterfv, target, pname, params);
  111. }
  112. void API_ENTRY(glTranslatef)(GLfloat x, GLfloat y, GLfloat z) {
  113. CALL_GL_API(glTranslatef, x, y, z);
  114. }
  115. void API_ENTRY(glActiveTexture)(GLenum texture) {
  116. CALL_GL_API(glActiveTexture, texture);
  117. }
  118. void API_ENTRY(glAlphaFuncx)(GLenum func, GLfixed ref) {
  119. CALL_GL_API(glAlphaFuncx, func, ref);
  120. }
  121. void API_ENTRY(glBindBuffer)(GLenum target, GLuint buffer) {
  122. CALL_GL_API(glBindBuffer, target, buffer);
  123. }
  124. void API_ENTRY(glBindTexture)(GLenum target, GLuint texture) {
  125. CALL_GL_API(glBindTexture, target, texture);
  126. }
  127. void API_ENTRY(glBlendFunc)(GLenum sfactor, GLenum dfactor) {
  128. CALL_GL_API(glBlendFunc, sfactor, dfactor);
  129. }
  130. void API_ENTRY(glBufferData)(GLenum target, GLsizeiptr size, const void * data, GLenum usage) {
  131. CALL_GL_API(glBufferData, target, size, data, usage);
  132. }
  133. void API_ENTRY(glBufferSubData)(GLenum target, GLintptr offset, GLsizeiptr size, const void * data) {
  134. CALL_GL_API(glBufferSubData, target, offset, size, data);
  135. }
  136. void API_ENTRY(glClear)(GLbitfield mask) {
  137. CALL_GL_API(glClear, mask);
  138. }
  139. void API_ENTRY(glClearColorx)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) {
  140. CALL_GL_API(glClearColorx, red, green, blue, alpha);
  141. }
  142. void API_ENTRY(glClearDepthx)(GLfixed depth) {
  143. CALL_GL_API(glClearDepthx, depth);
  144. }
  145. void API_ENTRY(glClearStencil)(GLint s) {
  146. CALL_GL_API(glClearStencil, s);
  147. }
  148. void API_ENTRY(glClientActiveTexture)(GLenum texture) {
  149. CALL_GL_API(glClientActiveTexture, texture);
  150. }
  151. void API_ENTRY(glClipPlanex)(GLenum plane, const GLfixed * equation) {
  152. CALL_GL_API(glClipPlanex, plane, equation);
  153. }
  154. void API_ENTRY(glColor4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) {
  155. CALL_GL_API(glColor4ub, red, green, blue, alpha);
  156. }
  157. void API_ENTRY(glColor4x)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) {
  158. CALL_GL_API(glColor4x, red, green, blue, alpha);
  159. }
  160. void API_ENTRY(glColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) {
  161. CALL_GL_API(glColorMask, red, green, blue, alpha);
  162. }
  163. void API_ENTRY(glColorPointer)(GLint size, GLenum type, GLsizei stride, const void * pointer) {
  164. CALL_GL_API(glColorPointer, size, type, stride, pointer);
  165. }
  166. void API_ENTRY(glCompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data) {
  167. CALL_GL_API(glCompressedTexImage2D, target, level, internalformat, width, height, border, imageSize, data);
  168. }
  169. void API_ENTRY(glCompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data) {
  170. CALL_GL_API(glCompressedTexSubImage2D, target, level, xoffset, yoffset, width, height, format, imageSize, data);
  171. }
  172. void API_ENTRY(glCopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) {
  173. CALL_GL_API(glCopyTexImage2D, target, level, internalformat, x, y, width, height, border);
  174. }
  175. void API_ENTRY(glCopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) {
  176. CALL_GL_API(glCopyTexSubImage2D, target, level, xoffset, yoffset, x, y, width, height);
  177. }
  178. void API_ENTRY(glCullFace)(GLenum mode) {
  179. CALL_GL_API(glCullFace, mode);
  180. }
  181. void API_ENTRY(glDeleteBuffers)(GLsizei n, const GLuint * buffers) {
  182. CALL_GL_API(glDeleteBuffers, n, buffers);
  183. }
  184. void API_ENTRY(glDeleteTextures)(GLsizei n, const GLuint * textures) {
  185. CALL_GL_API(glDeleteTextures, n, textures);
  186. }
  187. void API_ENTRY(glDepthFunc)(GLenum func) {
  188. CALL_GL_API(glDepthFunc, func);
  189. }
  190. void API_ENTRY(glDepthMask)(GLboolean flag) {
  191. CALL_GL_API(glDepthMask, flag);
  192. }
  193. void API_ENTRY(glDepthRangex)(GLfixed n, GLfixed f) {
  194. CALL_GL_API(glDepthRangex, n, f);
  195. }
  196. void API_ENTRY(glDisable)(GLenum cap) {
  197. CALL_GL_API(glDisable, cap);
  198. }
  199. void API_ENTRY(glDisableClientState)(GLenum array) {
  200. CALL_GL_API(glDisableClientState, array);
  201. }
  202. void API_ENTRY(glDrawArrays)(GLenum mode, GLint first, GLsizei count) {
  203. CALL_GL_API(glDrawArrays, mode, first, count);
  204. }
  205. void API_ENTRY(glDrawElements)(GLenum mode, GLsizei count, GLenum type, const void * indices) {
  206. CALL_GL_API(glDrawElements, mode, count, type, indices);
  207. }
  208. void API_ENTRY(glEnable)(GLenum cap) {
  209. CALL_GL_API(glEnable, cap);
  210. }
  211. void API_ENTRY(glEnableClientState)(GLenum array) {
  212. CALL_GL_API(glEnableClientState, array);
  213. }
  214. void API_ENTRY(glFinish)(void) {
  215. CALL_GL_API(glFinish);
  216. }
  217. void API_ENTRY(glFlush)(void) {
  218. CALL_GL_API(glFlush);
  219. }
  220. void API_ENTRY(glFogx)(GLenum pname, GLfixed param) {
  221. CALL_GL_API(glFogx, pname, param);
  222. }
  223. void API_ENTRY(glFogxv)(GLenum pname, const GLfixed * param) {
  224. CALL_GL_API(glFogxv, pname, param);
  225. }
  226. void API_ENTRY(glFrontFace)(GLenum mode) {
  227. CALL_GL_API(glFrontFace, mode);
  228. }
  229. void API_ENTRY(glFrustumx)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) {
  230. CALL_GL_API(glFrustumx, l, r, b, t, n, f);
  231. }
  232. void API_ENTRY(glGetBooleanv)(GLenum pname, GLboolean * data) {
  233. CALL_GL_API(glGetBooleanv, pname, data);
  234. }
  235. void API_ENTRY(glGetBufferParameteriv)(GLenum target, GLenum pname, GLint * params) {
  236. CALL_GL_API(glGetBufferParameteriv, target, pname, params);
  237. }
  238. void API_ENTRY(glGetClipPlanex)(GLenum plane, GLfixed * equation) {
  239. CALL_GL_API(glGetClipPlanex, plane, equation);
  240. }
  241. void API_ENTRY(glGenBuffers)(GLsizei n, GLuint * buffers) {
  242. CALL_GL_API(glGenBuffers, n, buffers);
  243. }
  244. void API_ENTRY(glGenTextures)(GLsizei n, GLuint * textures) {
  245. CALL_GL_API(glGenTextures, n, textures);
  246. }
  247. GLenum API_ENTRY(glGetError)(void) {
  248. CALL_GL_API_RETURN(glGetError);
  249. }
  250. void API_ENTRY(glGetFixedv)(GLenum pname, GLfixed * params) {
  251. CALL_GL_API(glGetFixedv, pname, params);
  252. }
  253. void API_ENTRY(glGetIntegerv)(GLenum pname, GLint * data) {
  254. CALL_GL_API(glGetIntegerv, pname, data);
  255. }
  256. void API_ENTRY(glGetLightxv)(GLenum light, GLenum pname, GLfixed * params) {
  257. CALL_GL_API(glGetLightxv, light, pname, params);
  258. }
  259. void API_ENTRY(glGetMaterialxv)(GLenum face, GLenum pname, GLfixed * params) {
  260. CALL_GL_API(glGetMaterialxv, face, pname, params);
  261. }
  262. void API_ENTRY(glGetPointerv)(GLenum pname, void ** params) {
  263. CALL_GL_API(glGetPointerv, pname, params);
  264. }
  265. const GLubyte * API_ENTRY(__glGetString)(GLenum name) {
  266. CALL_GL_API_RETURN(glGetString, name);
  267. }
  268. void API_ENTRY(glGetTexEnviv)(GLenum target, GLenum pname, GLint * params) {
  269. CALL_GL_API(glGetTexEnviv, target, pname, params);
  270. }
  271. void API_ENTRY(glGetTexEnvxv)(GLenum target, GLenum pname, GLfixed * params) {
  272. CALL_GL_API(glGetTexEnvxv, target, pname, params);
  273. }
  274. void API_ENTRY(glGetTexParameteriv)(GLenum target, GLenum pname, GLint * params) {
  275. CALL_GL_API(glGetTexParameteriv, target, pname, params);
  276. }
  277. void API_ENTRY(glGetTexParameterxv)(GLenum target, GLenum pname, GLfixed * params) {
  278. CALL_GL_API(glGetTexParameterxv, target, pname, params);
  279. }
  280. void API_ENTRY(glHint)(GLenum target, GLenum mode) {
  281. CALL_GL_API(glHint, target, mode);
  282. }
  283. GLboolean API_ENTRY(glIsBuffer)(GLuint buffer) {
  284. CALL_GL_API_RETURN(glIsBuffer, buffer);
  285. }
  286. GLboolean API_ENTRY(glIsEnabled)(GLenum cap) {
  287. CALL_GL_API_RETURN(glIsEnabled, cap);
  288. }
  289. GLboolean API_ENTRY(glIsTexture)(GLuint texture) {
  290. CALL_GL_API_RETURN(glIsTexture, texture);
  291. }
  292. void API_ENTRY(glLightModelx)(GLenum pname, GLfixed param) {
  293. CALL_GL_API(glLightModelx, pname, param);
  294. }
  295. void API_ENTRY(glLightModelxv)(GLenum pname, const GLfixed * param) {
  296. CALL_GL_API(glLightModelxv, pname, param);
  297. }
  298. void API_ENTRY(glLightx)(GLenum light, GLenum pname, GLfixed param) {
  299. CALL_GL_API(glLightx, light, pname, param);
  300. }
  301. void API_ENTRY(glLightxv)(GLenum light, GLenum pname, const GLfixed * params) {
  302. CALL_GL_API(glLightxv, light, pname, params);
  303. }
  304. void API_ENTRY(glLineWidthx)(GLfixed width) {
  305. CALL_GL_API(glLineWidthx, width);
  306. }
  307. void API_ENTRY(glLoadIdentity)(void) {
  308. CALL_GL_API(glLoadIdentity);
  309. }
  310. void API_ENTRY(glLoadMatrixx)(const GLfixed * m) {
  311. CALL_GL_API(glLoadMatrixx, m);
  312. }
  313. void API_ENTRY(glLogicOp)(GLenum opcode) {
  314. CALL_GL_API(glLogicOp, opcode);
  315. }
  316. void API_ENTRY(glMaterialx)(GLenum face, GLenum pname, GLfixed param) {
  317. CALL_GL_API(glMaterialx, face, pname, param);
  318. }
  319. void API_ENTRY(glMaterialxv)(GLenum face, GLenum pname, const GLfixed * param) {
  320. CALL_GL_API(glMaterialxv, face, pname, param);
  321. }
  322. void API_ENTRY(glMatrixMode)(GLenum mode) {
  323. CALL_GL_API(glMatrixMode, mode);
  324. }
  325. void API_ENTRY(glMultMatrixx)(const GLfixed * m) {
  326. CALL_GL_API(glMultMatrixx, m);
  327. }
  328. void API_ENTRY(glMultiTexCoord4x)(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) {
  329. CALL_GL_API(glMultiTexCoord4x, texture, s, t, r, q);
  330. }
  331. void API_ENTRY(glNormal3x)(GLfixed nx, GLfixed ny, GLfixed nz) {
  332. CALL_GL_API(glNormal3x, nx, ny, nz);
  333. }
  334. void API_ENTRY(glNormalPointer)(GLenum type, GLsizei stride, const void * pointer) {
  335. CALL_GL_API(glNormalPointer, type, stride, pointer);
  336. }
  337. void API_ENTRY(glOrthox)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) {
  338. CALL_GL_API(glOrthox, l, r, b, t, n, f);
  339. }
  340. void API_ENTRY(glPixelStorei)(GLenum pname, GLint param) {
  341. CALL_GL_API(glPixelStorei, pname, param);
  342. }
  343. void API_ENTRY(glPointParameterx)(GLenum pname, GLfixed param) {
  344. CALL_GL_API(glPointParameterx, pname, param);
  345. }
  346. void API_ENTRY(glPointParameterxv)(GLenum pname, const GLfixed * params) {
  347. CALL_GL_API(glPointParameterxv, pname, params);
  348. }
  349. void API_ENTRY(glPointSizex)(GLfixed size) {
  350. CALL_GL_API(glPointSizex, size);
  351. }
  352. void API_ENTRY(glPolygonOffsetx)(GLfixed factor, GLfixed units) {
  353. CALL_GL_API(glPolygonOffsetx, factor, units);
  354. }
  355. void API_ENTRY(glPopMatrix)(void) {
  356. CALL_GL_API(glPopMatrix);
  357. }
  358. void API_ENTRY(glPushMatrix)(void) {
  359. CALL_GL_API(glPushMatrix);
  360. }
  361. void API_ENTRY(glReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels) {
  362. CALL_GL_API(glReadPixels, x, y, width, height, format, type, pixels);
  363. }
  364. void API_ENTRY(glRotatex)(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) {
  365. CALL_GL_API(glRotatex, angle, x, y, z);
  366. }
  367. void API_ENTRY(glSampleCoverage)(GLfloat value, GLboolean invert) {
  368. CALL_GL_API(glSampleCoverage, value, invert);
  369. }
  370. void API_ENTRY(glSampleCoveragex)(GLclampx value, GLboolean invert) {
  371. CALL_GL_API(glSampleCoveragex, value, invert);
  372. }
  373. void API_ENTRY(glScalex)(GLfixed x, GLfixed y, GLfixed z) {
  374. CALL_GL_API(glScalex, x, y, z);
  375. }
  376. void API_ENTRY(glScissor)(GLint x, GLint y, GLsizei width, GLsizei height) {
  377. CALL_GL_API(glScissor, x, y, width, height);
  378. }
  379. void API_ENTRY(glShadeModel)(GLenum mode) {
  380. CALL_GL_API(glShadeModel, mode);
  381. }
  382. void API_ENTRY(glStencilFunc)(GLenum func, GLint ref, GLuint mask) {
  383. CALL_GL_API(glStencilFunc, func, ref, mask);
  384. }
  385. void API_ENTRY(glStencilMask)(GLuint mask) {
  386. CALL_GL_API(glStencilMask, mask);
  387. }
  388. void API_ENTRY(glStencilOp)(GLenum fail, GLenum zfail, GLenum zpass) {
  389. CALL_GL_API(glStencilOp, fail, zfail, zpass);
  390. }
  391. void API_ENTRY(glTexCoordPointer)(GLint size, GLenum type, GLsizei stride, const void * pointer) {
  392. CALL_GL_API(glTexCoordPointer, size, type, stride, pointer);
  393. }
  394. void API_ENTRY(glTexEnvi)(GLenum target, GLenum pname, GLint param) {
  395. CALL_GL_API(glTexEnvi, target, pname, param);
  396. }
  397. void API_ENTRY(glTexEnvx)(GLenum target, GLenum pname, GLfixed param) {
  398. CALL_GL_API(glTexEnvx, target, pname, param);
  399. }
  400. void API_ENTRY(glTexEnviv)(GLenum target, GLenum pname, const GLint * params) {
  401. CALL_GL_API(glTexEnviv, target, pname, params);
  402. }
  403. void API_ENTRY(glTexEnvxv)(GLenum target, GLenum pname, const GLfixed * params) {
  404. CALL_GL_API(glTexEnvxv, target, pname, params);
  405. }
  406. void API_ENTRY(glTexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels) {
  407. CALL_GL_API(glTexImage2D, target, level, internalformat, width, height, border, format, type, pixels);
  408. }
  409. void API_ENTRY(glTexParameteri)(GLenum target, GLenum pname, GLint param) {
  410. CALL_GL_API(glTexParameteri, target, pname, param);
  411. }
  412. void API_ENTRY(glTexParameterx)(GLenum target, GLenum pname, GLfixed param) {
  413. CALL_GL_API(glTexParameterx, target, pname, param);
  414. }
  415. void API_ENTRY(glTexParameteriv)(GLenum target, GLenum pname, const GLint * params) {
  416. CALL_GL_API(glTexParameteriv, target, pname, params);
  417. }
  418. void API_ENTRY(glTexParameterxv)(GLenum target, GLenum pname, const GLfixed * params) {
  419. CALL_GL_API(glTexParameterxv, target, pname, params);
  420. }
  421. void API_ENTRY(glTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) {
  422. CALL_GL_API(glTexSubImage2D, target, level, xoffset, yoffset, width, height, format, type, pixels);
  423. }
  424. void API_ENTRY(glTranslatex)(GLfixed x, GLfixed y, GLfixed z) {
  425. CALL_GL_API(glTranslatex, x, y, z);
  426. }
  427. void API_ENTRY(glVertexPointer)(GLint size, GLenum type, GLsizei stride, const void * pointer) {
  428. CALL_GL_API(glVertexPointer, size, type, stride, pointer);
  429. }
  430. void API_ENTRY(glViewport)(GLint x, GLint y, GLsizei width, GLsizei height) {
  431. CALL_GL_API(glViewport, x, y, width, height);
  432. }