Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3858 lines
143 KiB

  1. /*
  2. ** Copyright 1995-2095, Silicon Graphics, Inc.
  3. ** All Rights Reserved.
  4. **
  5. ** This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  6. ** the contents of this file may not be disclosed to third parties, copied or
  7. ** duplicated in any form, in whole or in part, without the prior written
  8. ** permission of Silicon Graphics, Inc.
  9. **
  10. ** RESTRICTED RIGHTS LEGEND:
  11. ** Use, duplication or disclosure by the Government is subject to restrictions
  12. ** as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  13. ** and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  14. ** successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  15. ** rights reserved under the Copyright Laws of the United States.
  16. */
  17. /* GENERATED FILE: DO NOT EDIT */
  18. #include "glslib.h"
  19. void glNewList(GLuint list, GLenum mode) {
  20. typedef void (*__GLSdispatch)(GLuint, GLenum);
  21. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  22. GLSfunc *const __glsDispTab = (
  23. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  24. );
  25. ((__GLSdispatch)__glsDispTab[64])(list, mode);
  26. }
  27. void glEndList(void) {
  28. typedef void (*__GLSdispatch)(void);
  29. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  30. GLSfunc *const __glsDispTab = (
  31. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  32. );
  33. ((__GLSdispatch)__glsDispTab[65])();
  34. }
  35. void glCallList(GLuint list) {
  36. typedef void (*__GLSdispatch)(GLuint);
  37. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  38. GLSfunc *const __glsDispTab = (
  39. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  40. );
  41. ((__GLSdispatch)__glsDispTab[66])(list);
  42. }
  43. void glCallLists(GLsizei n, GLenum type, const GLvoid *lists) {
  44. typedef void (*__GLSdispatch)(GLsizei, GLenum, const GLvoid *);
  45. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  46. GLSfunc *const __glsDispTab = (
  47. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  48. );
  49. ((__GLSdispatch)__glsDispTab[67])(n, type, lists);
  50. }
  51. void glDeleteLists(GLuint list, GLsizei range) {
  52. typedef void (*__GLSdispatch)(GLuint, GLsizei);
  53. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  54. GLSfunc *const __glsDispTab = (
  55. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  56. );
  57. ((__GLSdispatch)__glsDispTab[68])(list, range);
  58. }
  59. GLuint glGenLists(GLsizei range) {
  60. typedef GLuint (*__GLSdispatch)(GLsizei);
  61. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  62. GLSfunc *const __glsDispTab = (
  63. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  64. );
  65. return ((__GLSdispatch)__glsDispTab[69])(range);
  66. }
  67. void glListBase(GLuint base) {
  68. typedef void (*__GLSdispatch)(GLuint);
  69. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  70. GLSfunc *const __glsDispTab = (
  71. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  72. );
  73. ((__GLSdispatch)__glsDispTab[70])(base);
  74. }
  75. void glBegin(GLenum mode) {
  76. typedef void (*__GLSdispatch)(GLenum);
  77. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  78. GLSfunc *const __glsDispTab = (
  79. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  80. );
  81. ((__GLSdispatch)__glsDispTab[71])(mode);
  82. }
  83. void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) {
  84. typedef void (*__GLSdispatch)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *);
  85. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  86. GLSfunc *const __glsDispTab = (
  87. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  88. );
  89. ((__GLSdispatch)__glsDispTab[72])(width, height, xorig, yorig, xmove, ymove, bitmap);
  90. }
  91. void glColor3b(GLbyte red, GLbyte green, GLbyte blue) {
  92. typedef void (*__GLSdispatch)(GLbyte, GLbyte, GLbyte);
  93. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  94. GLSfunc *const __glsDispTab = (
  95. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  96. );
  97. ((__GLSdispatch)__glsDispTab[73])(red, green, blue);
  98. }
  99. void glColor3bv(const GLbyte *v) {
  100. typedef void (*__GLSdispatch)(const GLbyte *);
  101. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  102. GLSfunc *const __glsDispTab = (
  103. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  104. );
  105. ((__GLSdispatch)__glsDispTab[74])(v);
  106. }
  107. void glColor3d(GLdouble red, GLdouble green, GLdouble blue) {
  108. typedef void (*__GLSdispatch)(GLdouble, GLdouble, GLdouble);
  109. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  110. GLSfunc *const __glsDispTab = (
  111. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  112. );
  113. ((__GLSdispatch)__glsDispTab[75])(red, green, blue);
  114. }
  115. void glColor3dv(const GLdouble *v) {
  116. typedef void (*__GLSdispatch)(const GLdouble *);
  117. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  118. GLSfunc *const __glsDispTab = (
  119. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  120. );
  121. ((__GLSdispatch)__glsDispTab[76])(v);
  122. }
  123. void glColor3f(GLfloat red, GLfloat green, GLfloat blue) {
  124. typedef void (*__GLSdispatch)(GLfloat, GLfloat, GLfloat);
  125. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  126. GLSfunc *const __glsDispTab = (
  127. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  128. );
  129. ((__GLSdispatch)__glsDispTab[77])(red, green, blue);
  130. }
  131. void glColor3fv(const GLfloat *v) {
  132. typedef void (*__GLSdispatch)(const GLfloat *);
  133. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  134. GLSfunc *const __glsDispTab = (
  135. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  136. );
  137. ((__GLSdispatch)__glsDispTab[78])(v);
  138. }
  139. void glColor3i(GLint red, GLint green, GLint blue) {
  140. typedef void (*__GLSdispatch)(GLint, GLint, GLint);
  141. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  142. GLSfunc *const __glsDispTab = (
  143. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  144. );
  145. ((__GLSdispatch)__glsDispTab[79])(red, green, blue);
  146. }
  147. void glColor3iv(const GLint *v) {
  148. typedef void (*__GLSdispatch)(const GLint *);
  149. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  150. GLSfunc *const __glsDispTab = (
  151. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  152. );
  153. ((__GLSdispatch)__glsDispTab[80])(v);
  154. }
  155. void glColor3s(GLshort red, GLshort green, GLshort blue) {
  156. typedef void (*__GLSdispatch)(GLshort, GLshort, GLshort);
  157. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  158. GLSfunc *const __glsDispTab = (
  159. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  160. );
  161. ((__GLSdispatch)__glsDispTab[81])(red, green, blue);
  162. }
  163. void glColor3sv(const GLshort *v) {
  164. typedef void (*__GLSdispatch)(const GLshort *);
  165. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  166. GLSfunc *const __glsDispTab = (
  167. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  168. );
  169. ((__GLSdispatch)__glsDispTab[82])(v);
  170. }
  171. void glColor3ub(GLubyte red, GLubyte green, GLubyte blue) {
  172. typedef void (*__GLSdispatch)(GLubyte, GLubyte, GLubyte);
  173. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  174. GLSfunc *const __glsDispTab = (
  175. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  176. );
  177. ((__GLSdispatch)__glsDispTab[83])(red, green, blue);
  178. }
  179. void glColor3ubv(const GLubyte *v) {
  180. typedef void (*__GLSdispatch)(const GLubyte *);
  181. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  182. GLSfunc *const __glsDispTab = (
  183. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  184. );
  185. ((__GLSdispatch)__glsDispTab[84])(v);
  186. }
  187. void glColor3ui(GLuint red, GLuint green, GLuint blue) {
  188. typedef void (*__GLSdispatch)(GLuint, GLuint, GLuint);
  189. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  190. GLSfunc *const __glsDispTab = (
  191. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  192. );
  193. ((__GLSdispatch)__glsDispTab[85])(red, green, blue);
  194. }
  195. void glColor3uiv(const GLuint *v) {
  196. typedef void (*__GLSdispatch)(const GLuint *);
  197. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  198. GLSfunc *const __glsDispTab = (
  199. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  200. );
  201. ((__GLSdispatch)__glsDispTab[86])(v);
  202. }
  203. void glColor3us(GLushort red, GLushort green, GLushort blue) {
  204. typedef void (*__GLSdispatch)(GLushort, GLushort, GLushort);
  205. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  206. GLSfunc *const __glsDispTab = (
  207. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  208. );
  209. ((__GLSdispatch)__glsDispTab[87])(red, green, blue);
  210. }
  211. void glColor3usv(const GLushort *v) {
  212. typedef void (*__GLSdispatch)(const GLushort *);
  213. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  214. GLSfunc *const __glsDispTab = (
  215. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  216. );
  217. ((__GLSdispatch)__glsDispTab[88])(v);
  218. }
  219. void glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) {
  220. typedef void (*__GLSdispatch)(GLbyte, GLbyte, GLbyte, GLbyte);
  221. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  222. GLSfunc *const __glsDispTab = (
  223. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  224. );
  225. ((__GLSdispatch)__glsDispTab[89])(red, green, blue, alpha);
  226. }
  227. void glColor4bv(const GLbyte *v) {
  228. typedef void (*__GLSdispatch)(const GLbyte *);
  229. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  230. GLSfunc *const __glsDispTab = (
  231. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  232. );
  233. ((__GLSdispatch)__glsDispTab[90])(v);
  234. }
  235. void glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) {
  236. typedef void (*__GLSdispatch)(GLdouble, GLdouble, GLdouble, GLdouble);
  237. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  238. GLSfunc *const __glsDispTab = (
  239. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  240. );
  241. ((__GLSdispatch)__glsDispTab[91])(red, green, blue, alpha);
  242. }
  243. void glColor4dv(const GLdouble *v) {
  244. typedef void (*__GLSdispatch)(const GLdouble *);
  245. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  246. GLSfunc *const __glsDispTab = (
  247. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  248. );
  249. ((__GLSdispatch)__glsDispTab[92])(v);
  250. }
  251. void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) {
  252. typedef void (*__GLSdispatch)(GLfloat, GLfloat, GLfloat, GLfloat);
  253. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  254. GLSfunc *const __glsDispTab = (
  255. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  256. );
  257. ((__GLSdispatch)__glsDispTab[93])(red, green, blue, alpha);
  258. }
  259. void glColor4fv(const GLfloat *v) {
  260. typedef void (*__GLSdispatch)(const GLfloat *);
  261. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  262. GLSfunc *const __glsDispTab = (
  263. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  264. );
  265. ((__GLSdispatch)__glsDispTab[94])(v);
  266. }
  267. void glColor4i(GLint red, GLint green, GLint blue, GLint alpha) {
  268. typedef void (*__GLSdispatch)(GLint, GLint, GLint, GLint);
  269. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  270. GLSfunc *const __glsDispTab = (
  271. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  272. );
  273. ((__GLSdispatch)__glsDispTab[95])(red, green, blue, alpha);
  274. }
  275. void glColor4iv(const GLint *v) {
  276. typedef void (*__GLSdispatch)(const GLint *);
  277. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  278. GLSfunc *const __glsDispTab = (
  279. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  280. );
  281. ((__GLSdispatch)__glsDispTab[96])(v);
  282. }
  283. void glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha) {
  284. typedef void (*__GLSdispatch)(GLshort, GLshort, GLshort, GLshort);
  285. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  286. GLSfunc *const __glsDispTab = (
  287. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  288. );
  289. ((__GLSdispatch)__glsDispTab[97])(red, green, blue, alpha);
  290. }
  291. void glColor4sv(const GLshort *v) {
  292. typedef void (*__GLSdispatch)(const GLshort *);
  293. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  294. GLSfunc *const __glsDispTab = (
  295. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  296. );
  297. ((__GLSdispatch)__glsDispTab[98])(v);
  298. }
  299. void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) {
  300. typedef void (*__GLSdispatch)(GLubyte, GLubyte, GLubyte, GLubyte);
  301. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  302. GLSfunc *const __glsDispTab = (
  303. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  304. );
  305. ((__GLSdispatch)__glsDispTab[99])(red, green, blue, alpha);
  306. }
  307. void glColor4ubv(const GLubyte *v) {
  308. typedef void (*__GLSdispatch)(const GLubyte *);
  309. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  310. GLSfunc *const __glsDispTab = (
  311. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  312. );
  313. ((__GLSdispatch)__glsDispTab[100])(v);
  314. }
  315. void glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha) {
  316. typedef void (*__GLSdispatch)(GLuint, GLuint, GLuint, GLuint);
  317. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  318. GLSfunc *const __glsDispTab = (
  319. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  320. );
  321. ((__GLSdispatch)__glsDispTab[101])(red, green, blue, alpha);
  322. }
  323. void glColor4uiv(const GLuint *v) {
  324. typedef void (*__GLSdispatch)(const GLuint *);
  325. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  326. GLSfunc *const __glsDispTab = (
  327. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  328. );
  329. ((__GLSdispatch)__glsDispTab[102])(v);
  330. }
  331. void glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha) {
  332. typedef void (*__GLSdispatch)(GLushort, GLushort, GLushort, GLushort);
  333. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  334. GLSfunc *const __glsDispTab = (
  335. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  336. );
  337. ((__GLSdispatch)__glsDispTab[103])(red, green, blue, alpha);
  338. }
  339. void glColor4usv(const GLushort *v) {
  340. typedef void (*__GLSdispatch)(const GLushort *);
  341. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  342. GLSfunc *const __glsDispTab = (
  343. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  344. );
  345. ((__GLSdispatch)__glsDispTab[104])(v);
  346. }
  347. void glEdgeFlag(GLboolean flag) {
  348. typedef void (*__GLSdispatch)(GLboolean);
  349. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  350. GLSfunc *const __glsDispTab = (
  351. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  352. );
  353. ((__GLSdispatch)__glsDispTab[105])(flag);
  354. }
  355. void glEdgeFlagv(const GLboolean *flag) {
  356. typedef void (*__GLSdispatch)(const GLboolean *);
  357. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  358. GLSfunc *const __glsDispTab = (
  359. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  360. );
  361. ((__GLSdispatch)__glsDispTab[106])(flag);
  362. }
  363. void glEnd(void) {
  364. typedef void (*__GLSdispatch)(void);
  365. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  366. GLSfunc *const __glsDispTab = (
  367. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  368. );
  369. ((__GLSdispatch)__glsDispTab[107])();
  370. }
  371. void glIndexd(GLdouble c) {
  372. typedef void (*__GLSdispatch)(GLdouble);
  373. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  374. GLSfunc *const __glsDispTab = (
  375. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  376. );
  377. ((__GLSdispatch)__glsDispTab[108])(c);
  378. }
  379. void glIndexdv(const GLdouble *c) {
  380. typedef void (*__GLSdispatch)(const GLdouble *);
  381. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  382. GLSfunc *const __glsDispTab = (
  383. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  384. );
  385. ((__GLSdispatch)__glsDispTab[109])(c);
  386. }
  387. void glIndexf(GLfloat c) {
  388. typedef void (*__GLSdispatch)(GLfloat);
  389. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  390. GLSfunc *const __glsDispTab = (
  391. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  392. );
  393. ((__GLSdispatch)__glsDispTab[110])(c);
  394. }
  395. void glIndexfv(const GLfloat *c) {
  396. typedef void (*__GLSdispatch)(const GLfloat *);
  397. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  398. GLSfunc *const __glsDispTab = (
  399. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  400. );
  401. ((__GLSdispatch)__glsDispTab[111])(c);
  402. }
  403. void glIndexi(GLint c) {
  404. typedef void (*__GLSdispatch)(GLint);
  405. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  406. GLSfunc *const __glsDispTab = (
  407. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  408. );
  409. ((__GLSdispatch)__glsDispTab[112])(c);
  410. }
  411. void glIndexiv(const GLint *c) {
  412. typedef void (*__GLSdispatch)(const GLint *);
  413. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  414. GLSfunc *const __glsDispTab = (
  415. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  416. );
  417. ((__GLSdispatch)__glsDispTab[113])(c);
  418. }
  419. void glIndexs(GLshort c) {
  420. typedef void (*__GLSdispatch)(GLshort);
  421. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  422. GLSfunc *const __glsDispTab = (
  423. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  424. );
  425. ((__GLSdispatch)__glsDispTab[114])(c);
  426. }
  427. void glIndexsv(const GLshort *c) {
  428. typedef void (*__GLSdispatch)(const GLshort *);
  429. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  430. GLSfunc *const __glsDispTab = (
  431. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  432. );
  433. ((__GLSdispatch)__glsDispTab[115])(c);
  434. }
  435. void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz) {
  436. typedef void (*__GLSdispatch)(GLbyte, GLbyte, GLbyte);
  437. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  438. GLSfunc *const __glsDispTab = (
  439. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  440. );
  441. ((__GLSdispatch)__glsDispTab[116])(nx, ny, nz);
  442. }
  443. void glNormal3bv(const GLbyte *v) {
  444. typedef void (*__GLSdispatch)(const GLbyte *);
  445. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  446. GLSfunc *const __glsDispTab = (
  447. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  448. );
  449. ((__GLSdispatch)__glsDispTab[117])(v);
  450. }
  451. void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz) {
  452. typedef void (*__GLSdispatch)(GLdouble, GLdouble, GLdouble);
  453. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  454. GLSfunc *const __glsDispTab = (
  455. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  456. );
  457. ((__GLSdispatch)__glsDispTab[118])(nx, ny, nz);
  458. }
  459. void glNormal3dv(const GLdouble *v) {
  460. typedef void (*__GLSdispatch)(const GLdouble *);
  461. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  462. GLSfunc *const __glsDispTab = (
  463. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  464. );
  465. ((__GLSdispatch)__glsDispTab[119])(v);
  466. }
  467. void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) {
  468. typedef void (*__GLSdispatch)(GLfloat, GLfloat, GLfloat);
  469. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  470. GLSfunc *const __glsDispTab = (
  471. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  472. );
  473. ((__GLSdispatch)__glsDispTab[120])(nx, ny, nz);
  474. }
  475. void glNormal3fv(const GLfloat *v) {
  476. typedef void (*__GLSdispatch)(const GLfloat *);
  477. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  478. GLSfunc *const __glsDispTab = (
  479. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  480. );
  481. ((__GLSdispatch)__glsDispTab[121])(v);
  482. }
  483. void glNormal3i(GLint nx, GLint ny, GLint nz) {
  484. typedef void (*__GLSdispatch)(GLint, GLint, GLint);
  485. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  486. GLSfunc *const __glsDispTab = (
  487. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  488. );
  489. ((__GLSdispatch)__glsDispTab[122])(nx, ny, nz);
  490. }
  491. void glNormal3iv(const GLint *v) {
  492. typedef void (*__GLSdispatch)(const GLint *);
  493. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  494. GLSfunc *const __glsDispTab = (
  495. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  496. );
  497. ((__GLSdispatch)__glsDispTab[123])(v);
  498. }
  499. void glNormal3s(GLshort nx, GLshort ny, GLshort nz) {
  500. typedef void (*__GLSdispatch)(GLshort, GLshort, GLshort);
  501. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  502. GLSfunc *const __glsDispTab = (
  503. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  504. );
  505. ((__GLSdispatch)__glsDispTab[124])(nx, ny, nz);
  506. }
  507. void glNormal3sv(const GLshort *v) {
  508. typedef void (*__GLSdispatch)(const GLshort *);
  509. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  510. GLSfunc *const __glsDispTab = (
  511. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  512. );
  513. ((__GLSdispatch)__glsDispTab[125])(v);
  514. }
  515. void glRasterPos2d(GLdouble x, GLdouble y) {
  516. typedef void (*__GLSdispatch)(GLdouble, GLdouble);
  517. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  518. GLSfunc *const __glsDispTab = (
  519. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  520. );
  521. ((__GLSdispatch)__glsDispTab[126])(x, y);
  522. }
  523. void glRasterPos2dv(const GLdouble *v) {
  524. typedef void (*__GLSdispatch)(const GLdouble *);
  525. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  526. GLSfunc *const __glsDispTab = (
  527. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  528. );
  529. ((__GLSdispatch)__glsDispTab[127])(v);
  530. }
  531. void glRasterPos2f(GLfloat x, GLfloat y) {
  532. typedef void (*__GLSdispatch)(GLfloat, GLfloat);
  533. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  534. GLSfunc *const __glsDispTab = (
  535. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  536. );
  537. ((__GLSdispatch)__glsDispTab[128])(x, y);
  538. }
  539. void glRasterPos2fv(const GLfloat *v) {
  540. typedef void (*__GLSdispatch)(const GLfloat *);
  541. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  542. GLSfunc *const __glsDispTab = (
  543. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  544. );
  545. ((__GLSdispatch)__glsDispTab[129])(v);
  546. }
  547. void glRasterPos2i(GLint x, GLint y) {
  548. typedef void (*__GLSdispatch)(GLint, GLint);
  549. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  550. GLSfunc *const __glsDispTab = (
  551. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  552. );
  553. ((__GLSdispatch)__glsDispTab[130])(x, y);
  554. }
  555. void glRasterPos2iv(const GLint *v) {
  556. typedef void (*__GLSdispatch)(const GLint *);
  557. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  558. GLSfunc *const __glsDispTab = (
  559. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  560. );
  561. ((__GLSdispatch)__glsDispTab[131])(v);
  562. }
  563. void glRasterPos2s(GLshort x, GLshort y) {
  564. typedef void (*__GLSdispatch)(GLshort, GLshort);
  565. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  566. GLSfunc *const __glsDispTab = (
  567. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  568. );
  569. ((__GLSdispatch)__glsDispTab[132])(x, y);
  570. }
  571. void glRasterPos2sv(const GLshort *v) {
  572. typedef void (*__GLSdispatch)(const GLshort *);
  573. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  574. GLSfunc *const __glsDispTab = (
  575. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  576. );
  577. ((__GLSdispatch)__glsDispTab[133])(v);
  578. }
  579. void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z) {
  580. typedef void (*__GLSdispatch)(GLdouble, GLdouble, GLdouble);
  581. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  582. GLSfunc *const __glsDispTab = (
  583. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  584. );
  585. ((__GLSdispatch)__glsDispTab[134])(x, y, z);
  586. }
  587. void glRasterPos3dv(const GLdouble *v) {
  588. typedef void (*__GLSdispatch)(const GLdouble *);
  589. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  590. GLSfunc *const __glsDispTab = (
  591. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  592. );
  593. ((__GLSdispatch)__glsDispTab[135])(v);
  594. }
  595. void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) {
  596. typedef void (*__GLSdispatch)(GLfloat, GLfloat, GLfloat);
  597. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  598. GLSfunc *const __glsDispTab = (
  599. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  600. );
  601. ((__GLSdispatch)__glsDispTab[136])(x, y, z);
  602. }
  603. void glRasterPos3fv(const GLfloat *v) {
  604. typedef void (*__GLSdispatch)(const GLfloat *);
  605. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  606. GLSfunc *const __glsDispTab = (
  607. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  608. );
  609. ((__GLSdispatch)__glsDispTab[137])(v);
  610. }
  611. void glRasterPos3i(GLint x, GLint y, GLint z) {
  612. typedef void (*__GLSdispatch)(GLint, GLint, GLint);
  613. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  614. GLSfunc *const __glsDispTab = (
  615. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  616. );
  617. ((__GLSdispatch)__glsDispTab[138])(x, y, z);
  618. }
  619. void glRasterPos3iv(const GLint *v) {
  620. typedef void (*__GLSdispatch)(const GLint *);
  621. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  622. GLSfunc *const __glsDispTab = (
  623. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  624. );
  625. ((__GLSdispatch)__glsDispTab[139])(v);
  626. }
  627. void glRasterPos3s(GLshort x, GLshort y, GLshort z) {
  628. typedef void (*__GLSdispatch)(GLshort, GLshort, GLshort);
  629. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  630. GLSfunc *const __glsDispTab = (
  631. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  632. );
  633. ((__GLSdispatch)__glsDispTab[140])(x, y, z);
  634. }
  635. void glRasterPos3sv(const GLshort *v) {
  636. typedef void (*__GLSdispatch)(const GLshort *);
  637. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  638. GLSfunc *const __glsDispTab = (
  639. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  640. );
  641. ((__GLSdispatch)__glsDispTab[141])(v);
  642. }
  643. void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) {
  644. typedef void (*__GLSdispatch)(GLdouble, GLdouble, GLdouble, GLdouble);
  645. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  646. GLSfunc *const __glsDispTab = (
  647. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  648. );
  649. ((__GLSdispatch)__glsDispTab[142])(x, y, z, w);
  650. }
  651. void glRasterPos4dv(const GLdouble *v) {
  652. typedef void (*__GLSdispatch)(const GLdouble *);
  653. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  654. GLSfunc *const __glsDispTab = (
  655. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  656. );
  657. ((__GLSdispatch)__glsDispTab[143])(v);
  658. }
  659. void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) {
  660. typedef void (*__GLSdispatch)(GLfloat, GLfloat, GLfloat, GLfloat);
  661. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  662. GLSfunc *const __glsDispTab = (
  663. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  664. );
  665. ((__GLSdispatch)__glsDispTab[144])(x, y, z, w);
  666. }
  667. void glRasterPos4fv(const GLfloat *v) {
  668. typedef void (*__GLSdispatch)(const GLfloat *);
  669. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  670. GLSfunc *const __glsDispTab = (
  671. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  672. );
  673. ((__GLSdispatch)__glsDispTab[145])(v);
  674. }
  675. void glRasterPos4i(GLint x, GLint y, GLint z, GLint w) {
  676. typedef void (*__GLSdispatch)(GLint, GLint, GLint, GLint);
  677. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  678. GLSfunc *const __glsDispTab = (
  679. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  680. );
  681. ((__GLSdispatch)__glsDispTab[146])(x, y, z, w);
  682. }
  683. void glRasterPos4iv(const GLint *v) {
  684. typedef void (*__GLSdispatch)(const GLint *);
  685. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  686. GLSfunc *const __glsDispTab = (
  687. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  688. );
  689. ((__GLSdispatch)__glsDispTab[147])(v);
  690. }
  691. void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w) {
  692. typedef void (*__GLSdispatch)(GLshort, GLshort, GLshort, GLshort);
  693. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  694. GLSfunc *const __glsDispTab = (
  695. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  696. );
  697. ((__GLSdispatch)__glsDispTab[148])(x, y, z, w);
  698. }
  699. void glRasterPos4sv(const GLshort *v) {
  700. typedef void (*__GLSdispatch)(const GLshort *);
  701. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  702. GLSfunc *const __glsDispTab = (
  703. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  704. );
  705. ((__GLSdispatch)__glsDispTab[149])(v);
  706. }
  707. void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) {
  708. typedef void (*__GLSdispatch)(GLdouble, GLdouble, GLdouble, GLdouble);
  709. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  710. GLSfunc *const __glsDispTab = (
  711. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  712. );
  713. ((__GLSdispatch)__glsDispTab[150])(x1, y1, x2, y2);
  714. }
  715. void glRectdv(const GLdouble *v1, const GLdouble *v2) {
  716. typedef void (*__GLSdispatch)(const GLdouble *, const GLdouble *);
  717. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  718. GLSfunc *const __glsDispTab = (
  719. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  720. );
  721. ((__GLSdispatch)__glsDispTab[151])(v1, v2);
  722. }
  723. void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) {
  724. typedef void (*__GLSdispatch)(GLfloat, GLfloat, GLfloat, GLfloat);
  725. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  726. GLSfunc *const __glsDispTab = (
  727. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  728. );
  729. ((__GLSdispatch)__glsDispTab[152])(x1, y1, x2, y2);
  730. }
  731. void glRectfv(const GLfloat *v1, const GLfloat *v2) {
  732. typedef void (*__GLSdispatch)(const GLfloat *, const GLfloat *);
  733. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  734. GLSfunc *const __glsDispTab = (
  735. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  736. );
  737. ((__GLSdispatch)__glsDispTab[153])(v1, v2);
  738. }
  739. void glRecti(GLint x1, GLint y1, GLint x2, GLint y2) {
  740. typedef void (*__GLSdispatch)(GLint, GLint, GLint, GLint);
  741. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  742. GLSfunc *const __glsDispTab = (
  743. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  744. );
  745. ((__GLSdispatch)__glsDispTab[154])(x1, y1, x2, y2);
  746. }
  747. void glRectiv(const GLint *v1, const GLint *v2) {
  748. typedef void (*__GLSdispatch)(const GLint *, const GLint *);
  749. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  750. GLSfunc *const __glsDispTab = (
  751. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  752. );
  753. ((__GLSdispatch)__glsDispTab[155])(v1, v2);
  754. }
  755. void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2) {
  756. typedef void (*__GLSdispatch)(GLshort, GLshort, GLshort, GLshort);
  757. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  758. GLSfunc *const __glsDispTab = (
  759. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  760. );
  761. ((__GLSdispatch)__glsDispTab[156])(x1, y1, x2, y2);
  762. }
  763. void glRectsv(const GLshort *v1, const GLshort *v2) {
  764. typedef void (*__GLSdispatch)(const GLshort *, const GLshort *);
  765. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  766. GLSfunc *const __glsDispTab = (
  767. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  768. );
  769. ((__GLSdispatch)__glsDispTab[157])(v1, v2);
  770. }
  771. void glTexCoord1d(GLdouble s) {
  772. typedef void (*__GLSdispatch)(GLdouble);
  773. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  774. GLSfunc *const __glsDispTab = (
  775. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  776. );
  777. ((__GLSdispatch)__glsDispTab[158])(s);
  778. }
  779. void glTexCoord1dv(const GLdouble *v) {
  780. typedef void (*__GLSdispatch)(const GLdouble *);
  781. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  782. GLSfunc *const __glsDispTab = (
  783. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  784. );
  785. ((__GLSdispatch)__glsDispTab[159])(v);
  786. }
  787. void glTexCoord1f(GLfloat s) {
  788. typedef void (*__GLSdispatch)(GLfloat);
  789. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  790. GLSfunc *const __glsDispTab = (
  791. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  792. );
  793. ((__GLSdispatch)__glsDispTab[160])(s);
  794. }
  795. void glTexCoord1fv(const GLfloat *v) {
  796. typedef void (*__GLSdispatch)(const GLfloat *);
  797. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  798. GLSfunc *const __glsDispTab = (
  799. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  800. );
  801. ((__GLSdispatch)__glsDispTab[161])(v);
  802. }
  803. void glTexCoord1i(GLint s) {
  804. typedef void (*__GLSdispatch)(GLint);
  805. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  806. GLSfunc *const __glsDispTab = (
  807. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  808. );
  809. ((__GLSdispatch)__glsDispTab[162])(s);
  810. }
  811. void glTexCoord1iv(const GLint *v) {
  812. typedef void (*__GLSdispatch)(const GLint *);
  813. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  814. GLSfunc *const __glsDispTab = (
  815. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  816. );
  817. ((__GLSdispatch)__glsDispTab[163])(v);
  818. }
  819. void glTexCoord1s(GLshort s) {
  820. typedef void (*__GLSdispatch)(GLshort);
  821. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  822. GLSfunc *const __glsDispTab = (
  823. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  824. );
  825. ((__GLSdispatch)__glsDispTab[164])(s);
  826. }
  827. void glTexCoord1sv(const GLshort *v) {
  828. typedef void (*__GLSdispatch)(const GLshort *);
  829. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  830. GLSfunc *const __glsDispTab = (
  831. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  832. );
  833. ((__GLSdispatch)__glsDispTab[165])(v);
  834. }
  835. void glTexCoord2d(GLdouble s, GLdouble t) {
  836. typedef void (*__GLSdispatch)(GLdouble, GLdouble);
  837. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  838. GLSfunc *const __glsDispTab = (
  839. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  840. );
  841. ((__GLSdispatch)__glsDispTab[166])(s, t);
  842. }
  843. void glTexCoord2dv(const GLdouble *v) {
  844. typedef void (*__GLSdispatch)(const GLdouble *);
  845. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  846. GLSfunc *const __glsDispTab = (
  847. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  848. );
  849. ((__GLSdispatch)__glsDispTab[167])(v);
  850. }
  851. void glTexCoord2f(GLfloat s, GLfloat t) {
  852. typedef void (*__GLSdispatch)(GLfloat, GLfloat);
  853. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  854. GLSfunc *const __glsDispTab = (
  855. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  856. );
  857. ((__GLSdispatch)__glsDispTab[168])(s, t);
  858. }
  859. void glTexCoord2fv(const GLfloat *v) {
  860. typedef void (*__GLSdispatch)(const GLfloat *);
  861. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  862. GLSfunc *const __glsDispTab = (
  863. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  864. );
  865. ((__GLSdispatch)__glsDispTab[169])(v);
  866. }
  867. void glTexCoord2i(GLint s, GLint t) {
  868. typedef void (*__GLSdispatch)(GLint, GLint);
  869. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  870. GLSfunc *const __glsDispTab = (
  871. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  872. );
  873. ((__GLSdispatch)__glsDispTab[170])(s, t);
  874. }
  875. void glTexCoord2iv(const GLint *v) {
  876. typedef void (*__GLSdispatch)(const GLint *);
  877. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  878. GLSfunc *const __glsDispTab = (
  879. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  880. );
  881. ((__GLSdispatch)__glsDispTab[171])(v);
  882. }
  883. void glTexCoord2s(GLshort s, GLshort t) {
  884. typedef void (*__GLSdispatch)(GLshort, GLshort);
  885. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  886. GLSfunc *const __glsDispTab = (
  887. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  888. );
  889. ((__GLSdispatch)__glsDispTab[172])(s, t);
  890. }
  891. void glTexCoord2sv(const GLshort *v) {
  892. typedef void (*__GLSdispatch)(const GLshort *);
  893. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  894. GLSfunc *const __glsDispTab = (
  895. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  896. );
  897. ((__GLSdispatch)__glsDispTab[173])(v);
  898. }
  899. void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r) {
  900. typedef void (*__GLSdispatch)(GLdouble, GLdouble, GLdouble);
  901. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  902. GLSfunc *const __glsDispTab = (
  903. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  904. );
  905. ((__GLSdispatch)__glsDispTab[174])(s, t, r);
  906. }
  907. void glTexCoord3dv(const GLdouble *v) {
  908. typedef void (*__GLSdispatch)(const GLdouble *);
  909. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  910. GLSfunc *const __glsDispTab = (
  911. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  912. );
  913. ((__GLSdispatch)__glsDispTab[175])(v);
  914. }
  915. void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r) {
  916. typedef void (*__GLSdispatch)(GLfloat, GLfloat, GLfloat);
  917. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  918. GLSfunc *const __glsDispTab = (
  919. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  920. );
  921. ((__GLSdispatch)__glsDispTab[176])(s, t, r);
  922. }
  923. void glTexCoord3fv(const GLfloat *v) {
  924. typedef void (*__GLSdispatch)(const GLfloat *);
  925. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  926. GLSfunc *const __glsDispTab = (
  927. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  928. );
  929. ((__GLSdispatch)__glsDispTab[177])(v);
  930. }
  931. void glTexCoord3i(GLint s, GLint t, GLint r) {
  932. typedef void (*__GLSdispatch)(GLint, GLint, GLint);
  933. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  934. GLSfunc *const __glsDispTab = (
  935. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  936. );
  937. ((__GLSdispatch)__glsDispTab[178])(s, t, r);
  938. }
  939. void glTexCoord3iv(const GLint *v) {
  940. typedef void (*__GLSdispatch)(const GLint *);
  941. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  942. GLSfunc *const __glsDispTab = (
  943. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  944. );
  945. ((__GLSdispatch)__glsDispTab[179])(v);
  946. }
  947. void glTexCoord3s(GLshort s, GLshort t, GLshort r) {
  948. typedef void (*__GLSdispatch)(GLshort, GLshort, GLshort);
  949. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  950. GLSfunc *const __glsDispTab = (
  951. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  952. );
  953. ((__GLSdispatch)__glsDispTab[180])(s, t, r);
  954. }
  955. void glTexCoord3sv(const GLshort *v) {
  956. typedef void (*__GLSdispatch)(const GLshort *);
  957. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  958. GLSfunc *const __glsDispTab = (
  959. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  960. );
  961. ((__GLSdispatch)__glsDispTab[181])(v);
  962. }
  963. void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q) {
  964. typedef void (*__GLSdispatch)(GLdouble, GLdouble, GLdouble, GLdouble);
  965. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  966. GLSfunc *const __glsDispTab = (
  967. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  968. );
  969. ((__GLSdispatch)__glsDispTab[182])(s, t, r, q);
  970. }
  971. void glTexCoord4dv(const GLdouble *v) {
  972. typedef void (*__GLSdispatch)(const GLdouble *);
  973. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  974. GLSfunc *const __glsDispTab = (
  975. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  976. );
  977. ((__GLSdispatch)__glsDispTab[183])(v);
  978. }
  979. void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q) {
  980. typedef void (*__GLSdispatch)(GLfloat, GLfloat, GLfloat, GLfloat);
  981. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  982. GLSfunc *const __glsDispTab = (
  983. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  984. );
  985. ((__GLSdispatch)__glsDispTab[184])(s, t, r, q);
  986. }
  987. void glTexCoord4fv(const GLfloat *v) {
  988. typedef void (*__GLSdispatch)(const GLfloat *);
  989. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  990. GLSfunc *const __glsDispTab = (
  991. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  992. );
  993. ((__GLSdispatch)__glsDispTab[185])(v);
  994. }
  995. void glTexCoord4i(GLint s, GLint t, GLint r, GLint q) {
  996. typedef void (*__GLSdispatch)(GLint, GLint, GLint, GLint);
  997. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  998. GLSfunc *const __glsDispTab = (
  999. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1000. );
  1001. ((__GLSdispatch)__glsDispTab[186])(s, t, r, q);
  1002. }
  1003. void glTexCoord4iv(const GLint *v) {
  1004. typedef void (*__GLSdispatch)(const GLint *);
  1005. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1006. GLSfunc *const __glsDispTab = (
  1007. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1008. );
  1009. ((__GLSdispatch)__glsDispTab[187])(v);
  1010. }
  1011. void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q) {
  1012. typedef void (*__GLSdispatch)(GLshort, GLshort, GLshort, GLshort);
  1013. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1014. GLSfunc *const __glsDispTab = (
  1015. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1016. );
  1017. ((__GLSdispatch)__glsDispTab[188])(s, t, r, q);
  1018. }
  1019. void glTexCoord4sv(const GLshort *v) {
  1020. typedef void (*__GLSdispatch)(const GLshort *);
  1021. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1022. GLSfunc *const __glsDispTab = (
  1023. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1024. );
  1025. ((__GLSdispatch)__glsDispTab[189])(v);
  1026. }
  1027. void glVertex2d(GLdouble x, GLdouble y) {
  1028. typedef void (*__GLSdispatch)(GLdouble, GLdouble);
  1029. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1030. GLSfunc *const __glsDispTab = (
  1031. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1032. );
  1033. ((__GLSdispatch)__glsDispTab[190])(x, y);
  1034. }
  1035. void glVertex2dv(const GLdouble *v) {
  1036. typedef void (*__GLSdispatch)(const GLdouble *);
  1037. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1038. GLSfunc *const __glsDispTab = (
  1039. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1040. );
  1041. ((__GLSdispatch)__glsDispTab[191])(v);
  1042. }
  1043. void glVertex2f(GLfloat x, GLfloat y) {
  1044. typedef void (*__GLSdispatch)(GLfloat, GLfloat);
  1045. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1046. GLSfunc *const __glsDispTab = (
  1047. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1048. );
  1049. ((__GLSdispatch)__glsDispTab[192])(x, y);
  1050. }
  1051. void glVertex2fv(const GLfloat *v) {
  1052. typedef void (*__GLSdispatch)(const GLfloat *);
  1053. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1054. GLSfunc *const __glsDispTab = (
  1055. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1056. );
  1057. ((__GLSdispatch)__glsDispTab[193])(v);
  1058. }
  1059. void glVertex2i(GLint x, GLint y) {
  1060. typedef void (*__GLSdispatch)(GLint, GLint);
  1061. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1062. GLSfunc *const __glsDispTab = (
  1063. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1064. );
  1065. ((__GLSdispatch)__glsDispTab[194])(x, y);
  1066. }
  1067. void glVertex2iv(const GLint *v) {
  1068. typedef void (*__GLSdispatch)(const GLint *);
  1069. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1070. GLSfunc *const __glsDispTab = (
  1071. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1072. );
  1073. ((__GLSdispatch)__glsDispTab[195])(v);
  1074. }
  1075. void glVertex2s(GLshort x, GLshort y) {
  1076. typedef void (*__GLSdispatch)(GLshort, GLshort);
  1077. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1078. GLSfunc *const __glsDispTab = (
  1079. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1080. );
  1081. ((__GLSdispatch)__glsDispTab[196])(x, y);
  1082. }
  1083. void glVertex2sv(const GLshort *v) {
  1084. typedef void (*__GLSdispatch)(const GLshort *);
  1085. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1086. GLSfunc *const __glsDispTab = (
  1087. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1088. );
  1089. ((__GLSdispatch)__glsDispTab[197])(v);
  1090. }
  1091. void glVertex3d(GLdouble x, GLdouble y, GLdouble z) {
  1092. typedef void (*__GLSdispatch)(GLdouble, GLdouble, GLdouble);
  1093. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1094. GLSfunc *const __glsDispTab = (
  1095. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1096. );
  1097. ((__GLSdispatch)__glsDispTab[198])(x, y, z);
  1098. }
  1099. void glVertex3dv(const GLdouble *v) {
  1100. typedef void (*__GLSdispatch)(const GLdouble *);
  1101. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1102. GLSfunc *const __glsDispTab = (
  1103. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1104. );
  1105. ((__GLSdispatch)__glsDispTab[199])(v);
  1106. }
  1107. void glVertex3f(GLfloat x, GLfloat y, GLfloat z) {
  1108. typedef void (*__GLSdispatch)(GLfloat, GLfloat, GLfloat);
  1109. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1110. GLSfunc *const __glsDispTab = (
  1111. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1112. );
  1113. ((__GLSdispatch)__glsDispTab[200])(x, y, z);
  1114. }
  1115. void glVertex3fv(const GLfloat *v) {
  1116. typedef void (*__GLSdispatch)(const GLfloat *);
  1117. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1118. GLSfunc *const __glsDispTab = (
  1119. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1120. );
  1121. ((__GLSdispatch)__glsDispTab[201])(v);
  1122. }
  1123. void glVertex3i(GLint x, GLint y, GLint z) {
  1124. typedef void (*__GLSdispatch)(GLint, GLint, GLint);
  1125. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1126. GLSfunc *const __glsDispTab = (
  1127. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1128. );
  1129. ((__GLSdispatch)__glsDispTab[202])(x, y, z);
  1130. }
  1131. void glVertex3iv(const GLint *v) {
  1132. typedef void (*__GLSdispatch)(const GLint *);
  1133. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1134. GLSfunc *const __glsDispTab = (
  1135. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1136. );
  1137. ((__GLSdispatch)__glsDispTab[203])(v);
  1138. }
  1139. void glVertex3s(GLshort x, GLshort y, GLshort z) {
  1140. typedef void (*__GLSdispatch)(GLshort, GLshort, GLshort);
  1141. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1142. GLSfunc *const __glsDispTab = (
  1143. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1144. );
  1145. ((__GLSdispatch)__glsDispTab[204])(x, y, z);
  1146. }
  1147. void glVertex3sv(const GLshort *v) {
  1148. typedef void (*__GLSdispatch)(const GLshort *);
  1149. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1150. GLSfunc *const __glsDispTab = (
  1151. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1152. );
  1153. ((__GLSdispatch)__glsDispTab[205])(v);
  1154. }
  1155. void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) {
  1156. typedef void (*__GLSdispatch)(GLdouble, GLdouble, GLdouble, GLdouble);
  1157. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1158. GLSfunc *const __glsDispTab = (
  1159. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1160. );
  1161. ((__GLSdispatch)__glsDispTab[206])(x, y, z, w);
  1162. }
  1163. void glVertex4dv(const GLdouble *v) {
  1164. typedef void (*__GLSdispatch)(const GLdouble *);
  1165. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1166. GLSfunc *const __glsDispTab = (
  1167. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1168. );
  1169. ((__GLSdispatch)__glsDispTab[207])(v);
  1170. }
  1171. void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) {
  1172. typedef void (*__GLSdispatch)(GLfloat, GLfloat, GLfloat, GLfloat);
  1173. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1174. GLSfunc *const __glsDispTab = (
  1175. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1176. );
  1177. ((__GLSdispatch)__glsDispTab[208])(x, y, z, w);
  1178. }
  1179. void glVertex4fv(const GLfloat *v) {
  1180. typedef void (*__GLSdispatch)(const GLfloat *);
  1181. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1182. GLSfunc *const __glsDispTab = (
  1183. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1184. );
  1185. ((__GLSdispatch)__glsDispTab[209])(v);
  1186. }
  1187. void glVertex4i(GLint x, GLint y, GLint z, GLint w) {
  1188. typedef void (*__GLSdispatch)(GLint, GLint, GLint, GLint);
  1189. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1190. GLSfunc *const __glsDispTab = (
  1191. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1192. );
  1193. ((__GLSdispatch)__glsDispTab[210])(x, y, z, w);
  1194. }
  1195. void glVertex4iv(const GLint *v) {
  1196. typedef void (*__GLSdispatch)(const GLint *);
  1197. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1198. GLSfunc *const __glsDispTab = (
  1199. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1200. );
  1201. ((__GLSdispatch)__glsDispTab[211])(v);
  1202. }
  1203. void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w) {
  1204. typedef void (*__GLSdispatch)(GLshort, GLshort, GLshort, GLshort);
  1205. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1206. GLSfunc *const __glsDispTab = (
  1207. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1208. );
  1209. ((__GLSdispatch)__glsDispTab[212])(x, y, z, w);
  1210. }
  1211. void glVertex4sv(const GLshort *v) {
  1212. typedef void (*__GLSdispatch)(const GLshort *);
  1213. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1214. GLSfunc *const __glsDispTab = (
  1215. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1216. );
  1217. ((__GLSdispatch)__glsDispTab[213])(v);
  1218. }
  1219. void glClipPlane(GLenum plane, const GLdouble *equation) {
  1220. typedef void (*__GLSdispatch)(GLenum, const GLdouble *);
  1221. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1222. GLSfunc *const __glsDispTab = (
  1223. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1224. );
  1225. ((__GLSdispatch)__glsDispTab[214])(plane, equation);
  1226. }
  1227. void glColorMaterial(GLenum face, GLenum mode) {
  1228. typedef void (*__GLSdispatch)(GLenum, GLenum);
  1229. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1230. GLSfunc *const __glsDispTab = (
  1231. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1232. );
  1233. ((__GLSdispatch)__glsDispTab[215])(face, mode);
  1234. }
  1235. void glCullFace(GLenum mode) {
  1236. typedef void (*__GLSdispatch)(GLenum);
  1237. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1238. GLSfunc *const __glsDispTab = (
  1239. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1240. );
  1241. ((__GLSdispatch)__glsDispTab[216])(mode);
  1242. }
  1243. void glFogf(GLenum pname, GLfloat param) {
  1244. typedef void (*__GLSdispatch)(GLenum, GLfloat);
  1245. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1246. GLSfunc *const __glsDispTab = (
  1247. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1248. );
  1249. ((__GLSdispatch)__glsDispTab[217])(pname, param);
  1250. }
  1251. void glFogfv(GLenum pname, const GLfloat *params) {
  1252. typedef void (*__GLSdispatch)(GLenum, const GLfloat *);
  1253. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1254. GLSfunc *const __glsDispTab = (
  1255. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1256. );
  1257. ((__GLSdispatch)__glsDispTab[218])(pname, params);
  1258. }
  1259. void glFogi(GLenum pname, GLint param) {
  1260. typedef void (*__GLSdispatch)(GLenum, GLint);
  1261. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1262. GLSfunc *const __glsDispTab = (
  1263. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1264. );
  1265. ((__GLSdispatch)__glsDispTab[219])(pname, param);
  1266. }
  1267. void glFogiv(GLenum pname, const GLint *params) {
  1268. typedef void (*__GLSdispatch)(GLenum, const GLint *);
  1269. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1270. GLSfunc *const __glsDispTab = (
  1271. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1272. );
  1273. ((__GLSdispatch)__glsDispTab[220])(pname, params);
  1274. }
  1275. void glFrontFace(GLenum mode) {
  1276. typedef void (*__GLSdispatch)(GLenum);
  1277. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1278. GLSfunc *const __glsDispTab = (
  1279. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1280. );
  1281. ((__GLSdispatch)__glsDispTab[221])(mode);
  1282. }
  1283. void glHint(GLenum target, GLenum mode) {
  1284. typedef void (*__GLSdispatch)(GLenum, GLenum);
  1285. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1286. GLSfunc *const __glsDispTab = (
  1287. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1288. );
  1289. ((__GLSdispatch)__glsDispTab[222])(target, mode);
  1290. }
  1291. void glLightf(GLenum light, GLenum pname, GLfloat param) {
  1292. typedef void (*__GLSdispatch)(GLenum, GLenum, GLfloat);
  1293. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1294. GLSfunc *const __glsDispTab = (
  1295. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1296. );
  1297. ((__GLSdispatch)__glsDispTab[223])(light, pname, param);
  1298. }
  1299. void glLightfv(GLenum light, GLenum pname, const GLfloat *params) {
  1300. typedef void (*__GLSdispatch)(GLenum, GLenum, const GLfloat *);
  1301. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1302. GLSfunc *const __glsDispTab = (
  1303. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1304. );
  1305. ((__GLSdispatch)__glsDispTab[224])(light, pname, params);
  1306. }
  1307. void glLighti(GLenum light, GLenum pname, GLint param) {
  1308. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint);
  1309. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1310. GLSfunc *const __glsDispTab = (
  1311. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1312. );
  1313. ((__GLSdispatch)__glsDispTab[225])(light, pname, param);
  1314. }
  1315. void glLightiv(GLenum light, GLenum pname, const GLint *params) {
  1316. typedef void (*__GLSdispatch)(GLenum, GLenum, const GLint *);
  1317. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1318. GLSfunc *const __glsDispTab = (
  1319. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1320. );
  1321. ((__GLSdispatch)__glsDispTab[226])(light, pname, params);
  1322. }
  1323. void glLightModelf(GLenum pname, GLfloat param) {
  1324. typedef void (*__GLSdispatch)(GLenum, GLfloat);
  1325. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1326. GLSfunc *const __glsDispTab = (
  1327. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1328. );
  1329. ((__GLSdispatch)__glsDispTab[227])(pname, param);
  1330. }
  1331. void glLightModelfv(GLenum pname, const GLfloat *params) {
  1332. typedef void (*__GLSdispatch)(GLenum, const GLfloat *);
  1333. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1334. GLSfunc *const __glsDispTab = (
  1335. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1336. );
  1337. ((__GLSdispatch)__glsDispTab[228])(pname, params);
  1338. }
  1339. void glLightModeli(GLenum pname, GLint param) {
  1340. typedef void (*__GLSdispatch)(GLenum, GLint);
  1341. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1342. GLSfunc *const __glsDispTab = (
  1343. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1344. );
  1345. ((__GLSdispatch)__glsDispTab[229])(pname, param);
  1346. }
  1347. void glLightModeliv(GLenum pname, const GLint *params) {
  1348. typedef void (*__GLSdispatch)(GLenum, const GLint *);
  1349. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1350. GLSfunc *const __glsDispTab = (
  1351. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1352. );
  1353. ((__GLSdispatch)__glsDispTab[230])(pname, params);
  1354. }
  1355. void glLineStipple(GLint factor, GLushort pattern) {
  1356. typedef void (*__GLSdispatch)(GLint, GLushort);
  1357. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1358. GLSfunc *const __glsDispTab = (
  1359. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1360. );
  1361. ((__GLSdispatch)__glsDispTab[231])(factor, pattern);
  1362. }
  1363. void glLineWidth(GLfloat width) {
  1364. typedef void (*__GLSdispatch)(GLfloat);
  1365. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1366. GLSfunc *const __glsDispTab = (
  1367. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1368. );
  1369. ((__GLSdispatch)__glsDispTab[232])(width);
  1370. }
  1371. void glMaterialf(GLenum face, GLenum pname, GLfloat param) {
  1372. typedef void (*__GLSdispatch)(GLenum, GLenum, GLfloat);
  1373. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1374. GLSfunc *const __glsDispTab = (
  1375. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1376. );
  1377. ((__GLSdispatch)__glsDispTab[233])(face, pname, param);
  1378. }
  1379. void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) {
  1380. typedef void (*__GLSdispatch)(GLenum, GLenum, const GLfloat *);
  1381. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1382. GLSfunc *const __glsDispTab = (
  1383. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1384. );
  1385. ((__GLSdispatch)__glsDispTab[234])(face, pname, params);
  1386. }
  1387. void glMateriali(GLenum face, GLenum pname, GLint param) {
  1388. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint);
  1389. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1390. GLSfunc *const __glsDispTab = (
  1391. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1392. );
  1393. ((__GLSdispatch)__glsDispTab[235])(face, pname, param);
  1394. }
  1395. void glMaterialiv(GLenum face, GLenum pname, const GLint *params) {
  1396. typedef void (*__GLSdispatch)(GLenum, GLenum, const GLint *);
  1397. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1398. GLSfunc *const __glsDispTab = (
  1399. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1400. );
  1401. ((__GLSdispatch)__glsDispTab[236])(face, pname, params);
  1402. }
  1403. void glPointSize(GLfloat size) {
  1404. typedef void (*__GLSdispatch)(GLfloat);
  1405. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1406. GLSfunc *const __glsDispTab = (
  1407. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1408. );
  1409. ((__GLSdispatch)__glsDispTab[237])(size);
  1410. }
  1411. void glPolygonMode(GLenum face, GLenum mode) {
  1412. typedef void (*__GLSdispatch)(GLenum, GLenum);
  1413. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1414. GLSfunc *const __glsDispTab = (
  1415. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1416. );
  1417. ((__GLSdispatch)__glsDispTab[238])(face, mode);
  1418. }
  1419. void glPolygonStipple(const GLubyte *mask) {
  1420. typedef void (*__GLSdispatch)(const GLubyte *);
  1421. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1422. GLSfunc *const __glsDispTab = (
  1423. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1424. );
  1425. ((__GLSdispatch)__glsDispTab[239])(mask);
  1426. }
  1427. void glScissor(GLint x, GLint y, GLsizei width, GLsizei height) {
  1428. typedef void (*__GLSdispatch)(GLint, GLint, GLsizei, GLsizei);
  1429. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1430. GLSfunc *const __glsDispTab = (
  1431. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1432. );
  1433. ((__GLSdispatch)__glsDispTab[240])(x, y, width, height);
  1434. }
  1435. void glShadeModel(GLenum mode) {
  1436. typedef void (*__GLSdispatch)(GLenum);
  1437. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1438. GLSfunc *const __glsDispTab = (
  1439. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1440. );
  1441. ((__GLSdispatch)__glsDispTab[241])(mode);
  1442. }
  1443. void glTexParameterf(GLenum target, GLenum pname, GLfloat param) {
  1444. typedef void (*__GLSdispatch)(GLenum, GLenum, GLfloat);
  1445. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1446. GLSfunc *const __glsDispTab = (
  1447. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1448. );
  1449. ((__GLSdispatch)__glsDispTab[242])(target, pname, param);
  1450. }
  1451. void glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params) {
  1452. typedef void (*__GLSdispatch)(GLenum, GLenum, const GLfloat *);
  1453. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1454. GLSfunc *const __glsDispTab = (
  1455. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1456. );
  1457. ((__GLSdispatch)__glsDispTab[243])(target, pname, params);
  1458. }
  1459. void glTexParameteri(GLenum target, GLenum pname, GLint param) {
  1460. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint);
  1461. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1462. GLSfunc *const __glsDispTab = (
  1463. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1464. );
  1465. ((__GLSdispatch)__glsDispTab[244])(target, pname, param);
  1466. }
  1467. void glTexParameteriv(GLenum target, GLenum pname, const GLint *params) {
  1468. typedef void (*__GLSdispatch)(GLenum, GLenum, const GLint *);
  1469. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1470. GLSfunc *const __glsDispTab = (
  1471. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1472. );
  1473. ((__GLSdispatch)__glsDispTab[245])(target, pname, params);
  1474. }
  1475. void glTexImage1D(GLenum target, GLint level, GLint components, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) {
  1476. typedef void (*__GLSdispatch)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  1477. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1478. GLSfunc *const __glsDispTab = (
  1479. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1480. );
  1481. ((__GLSdispatch)__glsDispTab[246])(target, level, components, width, border, format, type, pixels);
  1482. }
  1483. void glTexImage2D(GLenum target, GLint level, GLint components, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) {
  1484. typedef void (*__GLSdispatch)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  1485. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1486. GLSfunc *const __glsDispTab = (
  1487. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1488. );
  1489. ((__GLSdispatch)__glsDispTab[247])(target, level, components, width, height, border, format, type, pixels);
  1490. }
  1491. void glTexEnvf(GLenum target, GLenum pname, GLfloat param) {
  1492. typedef void (*__GLSdispatch)(GLenum, GLenum, GLfloat);
  1493. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1494. GLSfunc *const __glsDispTab = (
  1495. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1496. );
  1497. ((__GLSdispatch)__glsDispTab[248])(target, pname, param);
  1498. }
  1499. void glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params) {
  1500. typedef void (*__GLSdispatch)(GLenum, GLenum, const GLfloat *);
  1501. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1502. GLSfunc *const __glsDispTab = (
  1503. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1504. );
  1505. ((__GLSdispatch)__glsDispTab[249])(target, pname, params);
  1506. }
  1507. void glTexEnvi(GLenum target, GLenum pname, GLint param) {
  1508. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint);
  1509. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1510. GLSfunc *const __glsDispTab = (
  1511. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1512. );
  1513. ((__GLSdispatch)__glsDispTab[250])(target, pname, param);
  1514. }
  1515. void glTexEnviv(GLenum target, GLenum pname, const GLint *params) {
  1516. typedef void (*__GLSdispatch)(GLenum, GLenum, const GLint *);
  1517. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1518. GLSfunc *const __glsDispTab = (
  1519. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1520. );
  1521. ((__GLSdispatch)__glsDispTab[251])(target, pname, params);
  1522. }
  1523. void glTexGend(GLenum coord, GLenum pname, GLdouble param) {
  1524. typedef void (*__GLSdispatch)(GLenum, GLenum, GLdouble);
  1525. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1526. GLSfunc *const __glsDispTab = (
  1527. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1528. );
  1529. ((__GLSdispatch)__glsDispTab[252])(coord, pname, param);
  1530. }
  1531. void glTexGendv(GLenum coord, GLenum pname, const GLdouble *params) {
  1532. typedef void (*__GLSdispatch)(GLenum, GLenum, const GLdouble *);
  1533. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1534. GLSfunc *const __glsDispTab = (
  1535. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1536. );
  1537. ((__GLSdispatch)__glsDispTab[253])(coord, pname, params);
  1538. }
  1539. void glTexGenf(GLenum coord, GLenum pname, GLfloat param) {
  1540. typedef void (*__GLSdispatch)(GLenum, GLenum, GLfloat);
  1541. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1542. GLSfunc *const __glsDispTab = (
  1543. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1544. );
  1545. ((__GLSdispatch)__glsDispTab[254])(coord, pname, param);
  1546. }
  1547. void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params) {
  1548. typedef void (*__GLSdispatch)(GLenum, GLenum, const GLfloat *);
  1549. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1550. GLSfunc *const __glsDispTab = (
  1551. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1552. );
  1553. ((__GLSdispatch)__glsDispTab[255])(coord, pname, params);
  1554. }
  1555. void glTexGeni(GLenum coord, GLenum pname, GLint param) {
  1556. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint);
  1557. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1558. GLSfunc *const __glsDispTab = (
  1559. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1560. );
  1561. ((__GLSdispatch)__glsDispTab[256])(coord, pname, param);
  1562. }
  1563. void glTexGeniv(GLenum coord, GLenum pname, const GLint *params) {
  1564. typedef void (*__GLSdispatch)(GLenum, GLenum, const GLint *);
  1565. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1566. GLSfunc *const __glsDispTab = (
  1567. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1568. );
  1569. ((__GLSdispatch)__glsDispTab[257])(coord, pname, params);
  1570. }
  1571. void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer) {
  1572. typedef void (*__GLSdispatch)(GLsizei, GLenum, GLfloat *);
  1573. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1574. GLSfunc *const __glsDispTab = (
  1575. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1576. );
  1577. ((__GLSdispatch)__glsDispTab[258])(size, type, buffer);
  1578. }
  1579. void glSelectBuffer(GLsizei size, GLuint *buffer) {
  1580. typedef void (*__GLSdispatch)(GLsizei, GLuint *);
  1581. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1582. GLSfunc *const __glsDispTab = (
  1583. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1584. );
  1585. ((__GLSdispatch)__glsDispTab[259])(size, buffer);
  1586. }
  1587. GLint glRenderMode(GLenum mode) {
  1588. typedef GLint (*__GLSdispatch)(GLenum);
  1589. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1590. GLSfunc *const __glsDispTab = (
  1591. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1592. );
  1593. return ((__GLSdispatch)__glsDispTab[260])(mode);
  1594. }
  1595. void glInitNames(void) {
  1596. typedef void (*__GLSdispatch)(void);
  1597. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1598. GLSfunc *const __glsDispTab = (
  1599. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1600. );
  1601. ((__GLSdispatch)__glsDispTab[261])();
  1602. }
  1603. void glLoadName(GLuint name) {
  1604. typedef void (*__GLSdispatch)(GLuint);
  1605. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1606. GLSfunc *const __glsDispTab = (
  1607. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1608. );
  1609. ((__GLSdispatch)__glsDispTab[262])(name);
  1610. }
  1611. void glPassThrough(GLfloat token) {
  1612. typedef void (*__GLSdispatch)(GLfloat);
  1613. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1614. GLSfunc *const __glsDispTab = (
  1615. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1616. );
  1617. ((__GLSdispatch)__glsDispTab[263])(token);
  1618. }
  1619. void glPopName(void) {
  1620. typedef void (*__GLSdispatch)(void);
  1621. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1622. GLSfunc *const __glsDispTab = (
  1623. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1624. );
  1625. ((__GLSdispatch)__glsDispTab[264])();
  1626. }
  1627. void glPushName(GLuint name) {
  1628. typedef void (*__GLSdispatch)(GLuint);
  1629. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1630. GLSfunc *const __glsDispTab = (
  1631. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1632. );
  1633. ((__GLSdispatch)__glsDispTab[265])(name);
  1634. }
  1635. void glDrawBuffer(GLenum mode) {
  1636. typedef void (*__GLSdispatch)(GLenum);
  1637. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1638. GLSfunc *const __glsDispTab = (
  1639. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1640. );
  1641. ((__GLSdispatch)__glsDispTab[266])(mode);
  1642. }
  1643. void glClear(GLbitfield mask) {
  1644. typedef void (*__GLSdispatch)(GLbitfield);
  1645. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1646. GLSfunc *const __glsDispTab = (
  1647. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1648. );
  1649. ((__GLSdispatch)__glsDispTab[267])(mask);
  1650. }
  1651. void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) {
  1652. typedef void (*__GLSdispatch)(GLfloat, GLfloat, GLfloat, GLfloat);
  1653. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1654. GLSfunc *const __glsDispTab = (
  1655. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1656. );
  1657. ((__GLSdispatch)__glsDispTab[268])(red, green, blue, alpha);
  1658. }
  1659. void glClearIndex(GLfloat c) {
  1660. typedef void (*__GLSdispatch)(GLfloat);
  1661. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1662. GLSfunc *const __glsDispTab = (
  1663. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1664. );
  1665. ((__GLSdispatch)__glsDispTab[269])(c);
  1666. }
  1667. void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) {
  1668. typedef void (*__GLSdispatch)(GLclampf, GLclampf, GLclampf, GLclampf);
  1669. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1670. GLSfunc *const __glsDispTab = (
  1671. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1672. );
  1673. ((__GLSdispatch)__glsDispTab[270])(red, green, blue, alpha);
  1674. }
  1675. void glClearStencil(GLint s) {
  1676. typedef void (*__GLSdispatch)(GLint);
  1677. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1678. GLSfunc *const __glsDispTab = (
  1679. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1680. );
  1681. ((__GLSdispatch)__glsDispTab[271])(s);
  1682. }
  1683. void glClearDepth(GLclampd depth) {
  1684. typedef void (*__GLSdispatch)(GLclampd);
  1685. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1686. GLSfunc *const __glsDispTab = (
  1687. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1688. );
  1689. ((__GLSdispatch)__glsDispTab[272])(depth);
  1690. }
  1691. void glStencilMask(GLuint mask) {
  1692. typedef void (*__GLSdispatch)(GLuint);
  1693. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1694. GLSfunc *const __glsDispTab = (
  1695. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1696. );
  1697. ((__GLSdispatch)__glsDispTab[273])(mask);
  1698. }
  1699. void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) {
  1700. typedef void (*__GLSdispatch)(GLboolean, GLboolean, GLboolean, GLboolean);
  1701. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1702. GLSfunc *const __glsDispTab = (
  1703. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1704. );
  1705. ((__GLSdispatch)__glsDispTab[274])(red, green, blue, alpha);
  1706. }
  1707. void glDepthMask(GLboolean flag) {
  1708. typedef void (*__GLSdispatch)(GLboolean);
  1709. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1710. GLSfunc *const __glsDispTab = (
  1711. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1712. );
  1713. ((__GLSdispatch)__glsDispTab[275])(flag);
  1714. }
  1715. void glIndexMask(GLuint mask) {
  1716. typedef void (*__GLSdispatch)(GLuint);
  1717. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1718. GLSfunc *const __glsDispTab = (
  1719. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1720. );
  1721. ((__GLSdispatch)__glsDispTab[276])(mask);
  1722. }
  1723. void glAccum(GLenum op, GLfloat value) {
  1724. typedef void (*__GLSdispatch)(GLenum, GLfloat);
  1725. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1726. GLSfunc *const __glsDispTab = (
  1727. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1728. );
  1729. ((__GLSdispatch)__glsDispTab[277])(op, value);
  1730. }
  1731. void glDisable(GLenum cap) {
  1732. typedef void (*__GLSdispatch)(GLenum);
  1733. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1734. GLSfunc *const __glsDispTab = (
  1735. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1736. );
  1737. ((__GLSdispatch)__glsDispTab[278])(cap);
  1738. }
  1739. void glEnable(GLenum cap) {
  1740. typedef void (*__GLSdispatch)(GLenum);
  1741. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1742. GLSfunc *const __glsDispTab = (
  1743. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1744. );
  1745. ((__GLSdispatch)__glsDispTab[279])(cap);
  1746. }
  1747. void glFinish(void) {
  1748. typedef void (*__GLSdispatch)(void);
  1749. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1750. GLSfunc *const __glsDispTab = (
  1751. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1752. );
  1753. ((__GLSdispatch)__glsDispTab[280])();
  1754. }
  1755. void glFlush(void) {
  1756. typedef void (*__GLSdispatch)(void);
  1757. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1758. GLSfunc *const __glsDispTab = (
  1759. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1760. );
  1761. ((__GLSdispatch)__glsDispTab[281])();
  1762. }
  1763. void glPopAttrib(void) {
  1764. typedef void (*__GLSdispatch)(void);
  1765. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1766. GLSfunc *const __glsDispTab = (
  1767. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1768. );
  1769. ((__GLSdispatch)__glsDispTab[282])();
  1770. }
  1771. void glPushAttrib(GLbitfield mask) {
  1772. typedef void (*__GLSdispatch)(GLbitfield);
  1773. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1774. GLSfunc *const __glsDispTab = (
  1775. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1776. );
  1777. ((__GLSdispatch)__glsDispTab[283])(mask);
  1778. }
  1779. void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points) {
  1780. typedef void (*__GLSdispatch)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
  1781. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1782. GLSfunc *const __glsDispTab = (
  1783. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1784. );
  1785. ((__GLSdispatch)__glsDispTab[284])(target, u1, u2, stride, order, points);
  1786. }
  1787. void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points) {
  1788. typedef void (*__GLSdispatch)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
  1789. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1790. GLSfunc *const __glsDispTab = (
  1791. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1792. );
  1793. ((__GLSdispatch)__glsDispTab[285])(target, u1, u2, stride, order, points);
  1794. }
  1795. void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) {
  1796. typedef void (*__GLSdispatch)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
  1797. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1798. GLSfunc *const __glsDispTab = (
  1799. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1800. );
  1801. ((__GLSdispatch)__glsDispTab[286])(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
  1802. }
  1803. void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) {
  1804. typedef void (*__GLSdispatch)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
  1805. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1806. GLSfunc *const __glsDispTab = (
  1807. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1808. );
  1809. ((__GLSdispatch)__glsDispTab[287])(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
  1810. }
  1811. void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2) {
  1812. typedef void (*__GLSdispatch)(GLint, GLdouble, GLdouble);
  1813. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1814. GLSfunc *const __glsDispTab = (
  1815. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1816. );
  1817. ((__GLSdispatch)__glsDispTab[288])(un, u1, u2);
  1818. }
  1819. void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2) {
  1820. typedef void (*__GLSdispatch)(GLint, GLfloat, GLfloat);
  1821. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1822. GLSfunc *const __glsDispTab = (
  1823. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1824. );
  1825. ((__GLSdispatch)__glsDispTab[289])(un, u1, u2);
  1826. }
  1827. void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) {
  1828. typedef void (*__GLSdispatch)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble);
  1829. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1830. GLSfunc *const __glsDispTab = (
  1831. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1832. );
  1833. ((__GLSdispatch)__glsDispTab[290])(un, u1, u2, vn, v1, v2);
  1834. }
  1835. void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) {
  1836. typedef void (*__GLSdispatch)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat);
  1837. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1838. GLSfunc *const __glsDispTab = (
  1839. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1840. );
  1841. ((__GLSdispatch)__glsDispTab[291])(un, u1, u2, vn, v1, v2);
  1842. }
  1843. void glEvalCoord1d(GLdouble u) {
  1844. typedef void (*__GLSdispatch)(GLdouble);
  1845. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1846. GLSfunc *const __glsDispTab = (
  1847. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1848. );
  1849. ((__GLSdispatch)__glsDispTab[292])(u);
  1850. }
  1851. void glEvalCoord1dv(const GLdouble *u) {
  1852. typedef void (*__GLSdispatch)(const GLdouble *);
  1853. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1854. GLSfunc *const __glsDispTab = (
  1855. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1856. );
  1857. ((__GLSdispatch)__glsDispTab[293])(u);
  1858. }
  1859. void glEvalCoord1f(GLfloat u) {
  1860. typedef void (*__GLSdispatch)(GLfloat);
  1861. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1862. GLSfunc *const __glsDispTab = (
  1863. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1864. );
  1865. ((__GLSdispatch)__glsDispTab[294])(u);
  1866. }
  1867. void glEvalCoord1fv(const GLfloat *u) {
  1868. typedef void (*__GLSdispatch)(const GLfloat *);
  1869. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1870. GLSfunc *const __glsDispTab = (
  1871. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1872. );
  1873. ((__GLSdispatch)__glsDispTab[295])(u);
  1874. }
  1875. void glEvalCoord2d(GLdouble u, GLdouble v) {
  1876. typedef void (*__GLSdispatch)(GLdouble, GLdouble);
  1877. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1878. GLSfunc *const __glsDispTab = (
  1879. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1880. );
  1881. ((__GLSdispatch)__glsDispTab[296])(u, v);
  1882. }
  1883. void glEvalCoord2dv(const GLdouble *u) {
  1884. typedef void (*__GLSdispatch)(const GLdouble *);
  1885. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1886. GLSfunc *const __glsDispTab = (
  1887. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1888. );
  1889. ((__GLSdispatch)__glsDispTab[297])(u);
  1890. }
  1891. void glEvalCoord2f(GLfloat u, GLfloat v) {
  1892. typedef void (*__GLSdispatch)(GLfloat, GLfloat);
  1893. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1894. GLSfunc *const __glsDispTab = (
  1895. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1896. );
  1897. ((__GLSdispatch)__glsDispTab[298])(u, v);
  1898. }
  1899. void glEvalCoord2fv(const GLfloat *u) {
  1900. typedef void (*__GLSdispatch)(const GLfloat *);
  1901. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1902. GLSfunc *const __glsDispTab = (
  1903. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1904. );
  1905. ((__GLSdispatch)__glsDispTab[299])(u);
  1906. }
  1907. void glEvalMesh1(GLenum mode, GLint i1, GLint i2) {
  1908. typedef void (*__GLSdispatch)(GLenum, GLint, GLint);
  1909. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1910. GLSfunc *const __glsDispTab = (
  1911. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1912. );
  1913. ((__GLSdispatch)__glsDispTab[300])(mode, i1, i2);
  1914. }
  1915. void glEvalPoint1(GLint i) {
  1916. typedef void (*__GLSdispatch)(GLint);
  1917. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1918. GLSfunc *const __glsDispTab = (
  1919. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1920. );
  1921. ((__GLSdispatch)__glsDispTab[301])(i);
  1922. }
  1923. void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) {
  1924. typedef void (*__GLSdispatch)(GLenum, GLint, GLint, GLint, GLint);
  1925. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1926. GLSfunc *const __glsDispTab = (
  1927. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1928. );
  1929. ((__GLSdispatch)__glsDispTab[302])(mode, i1, i2, j1, j2);
  1930. }
  1931. void glEvalPoint2(GLint i, GLint j) {
  1932. typedef void (*__GLSdispatch)(GLint, GLint);
  1933. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1934. GLSfunc *const __glsDispTab = (
  1935. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1936. );
  1937. ((__GLSdispatch)__glsDispTab[303])(i, j);
  1938. }
  1939. void glAlphaFunc(GLenum func, GLclampf ref) {
  1940. typedef void (*__GLSdispatch)(GLenum, GLclampf);
  1941. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1942. GLSfunc *const __glsDispTab = (
  1943. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1944. );
  1945. ((__GLSdispatch)__glsDispTab[304])(func, ref);
  1946. }
  1947. void glBlendFunc(GLenum sfactor, GLenum dfactor) {
  1948. typedef void (*__GLSdispatch)(GLenum, GLenum);
  1949. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1950. GLSfunc *const __glsDispTab = (
  1951. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1952. );
  1953. ((__GLSdispatch)__glsDispTab[305])(sfactor, dfactor);
  1954. }
  1955. void glLogicOp(GLenum opcode) {
  1956. typedef void (*__GLSdispatch)(GLenum);
  1957. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1958. GLSfunc *const __glsDispTab = (
  1959. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1960. );
  1961. ((__GLSdispatch)__glsDispTab[306])(opcode);
  1962. }
  1963. void glStencilFunc(GLenum func, GLint ref, GLuint mask) {
  1964. typedef void (*__GLSdispatch)(GLenum, GLint, GLuint);
  1965. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1966. GLSfunc *const __glsDispTab = (
  1967. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1968. );
  1969. ((__GLSdispatch)__glsDispTab[307])(func, ref, mask);
  1970. }
  1971. void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) {
  1972. typedef void (*__GLSdispatch)(GLenum, GLenum, GLenum);
  1973. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1974. GLSfunc *const __glsDispTab = (
  1975. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1976. );
  1977. ((__GLSdispatch)__glsDispTab[308])(fail, zfail, zpass);
  1978. }
  1979. void glDepthFunc(GLenum func) {
  1980. typedef void (*__GLSdispatch)(GLenum);
  1981. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1982. GLSfunc *const __glsDispTab = (
  1983. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1984. );
  1985. ((__GLSdispatch)__glsDispTab[309])(func);
  1986. }
  1987. void glPixelZoom(GLfloat xfactor, GLfloat yfactor) {
  1988. typedef void (*__GLSdispatch)(GLfloat, GLfloat);
  1989. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1990. GLSfunc *const __glsDispTab = (
  1991. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  1992. );
  1993. ((__GLSdispatch)__glsDispTab[310])(xfactor, yfactor);
  1994. }
  1995. void glPixelTransferf(GLenum pname, GLfloat param) {
  1996. typedef void (*__GLSdispatch)(GLenum, GLfloat);
  1997. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  1998. GLSfunc *const __glsDispTab = (
  1999. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2000. );
  2001. ((__GLSdispatch)__glsDispTab[311])(pname, param);
  2002. }
  2003. void glPixelTransferi(GLenum pname, GLint param) {
  2004. typedef void (*__GLSdispatch)(GLenum, GLint);
  2005. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2006. GLSfunc *const __glsDispTab = (
  2007. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2008. );
  2009. ((__GLSdispatch)__glsDispTab[312])(pname, param);
  2010. }
  2011. void glPixelStoref(GLenum pname, GLfloat param) {
  2012. typedef void (*__GLSdispatch)(GLenum, GLfloat);
  2013. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2014. GLSfunc *const __glsDispTab = (
  2015. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2016. );
  2017. ((__GLSdispatch)__glsDispTab[313])(pname, param);
  2018. }
  2019. void glPixelStorei(GLenum pname, GLint param) {
  2020. typedef void (*__GLSdispatch)(GLenum, GLint);
  2021. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2022. GLSfunc *const __glsDispTab = (
  2023. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2024. );
  2025. ((__GLSdispatch)__glsDispTab[314])(pname, param);
  2026. }
  2027. void glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values) {
  2028. typedef void (*__GLSdispatch)(GLenum, GLint, const GLfloat *);
  2029. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2030. GLSfunc *const __glsDispTab = (
  2031. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2032. );
  2033. ((__GLSdispatch)__glsDispTab[315])(map, mapsize, values);
  2034. }
  2035. void glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values) {
  2036. typedef void (*__GLSdispatch)(GLenum, GLint, const GLuint *);
  2037. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2038. GLSfunc *const __glsDispTab = (
  2039. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2040. );
  2041. ((__GLSdispatch)__glsDispTab[316])(map, mapsize, values);
  2042. }
  2043. void glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values) {
  2044. typedef void (*__GLSdispatch)(GLenum, GLint, const GLushort *);
  2045. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2046. GLSfunc *const __glsDispTab = (
  2047. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2048. );
  2049. ((__GLSdispatch)__glsDispTab[317])(map, mapsize, values);
  2050. }
  2051. void glReadBuffer(GLenum mode) {
  2052. typedef void (*__GLSdispatch)(GLenum);
  2053. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2054. GLSfunc *const __glsDispTab = (
  2055. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2056. );
  2057. ((__GLSdispatch)__glsDispTab[318])(mode);
  2058. }
  2059. void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) {
  2060. typedef void (*__GLSdispatch)(GLint, GLint, GLsizei, GLsizei, GLenum);
  2061. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2062. GLSfunc *const __glsDispTab = (
  2063. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2064. );
  2065. ((__GLSdispatch)__glsDispTab[319])(x, y, width, height, type);
  2066. }
  2067. void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) {
  2068. typedef void (*__GLSdispatch)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *);
  2069. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2070. GLSfunc *const __glsDispTab = (
  2071. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2072. );
  2073. ((__GLSdispatch)__glsDispTab[320])(x, y, width, height, format, type, pixels);
  2074. }
  2075. void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) {
  2076. typedef void (*__GLSdispatch)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  2077. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2078. GLSfunc *const __glsDispTab = (
  2079. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2080. );
  2081. ((__GLSdispatch)__glsDispTab[321])(width, height, format, type, pixels);
  2082. }
  2083. void glGetBooleanv(GLenum pname, GLboolean *params) {
  2084. typedef void (*__GLSdispatch)(GLenum, GLboolean *);
  2085. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2086. GLSfunc *const __glsDispTab = (
  2087. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2088. );
  2089. ((__GLSdispatch)__glsDispTab[322])(pname, params);
  2090. }
  2091. void glGetClipPlane(GLenum plane, GLdouble *equation) {
  2092. typedef void (*__GLSdispatch)(GLenum, GLdouble *);
  2093. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2094. GLSfunc *const __glsDispTab = (
  2095. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2096. );
  2097. ((__GLSdispatch)__glsDispTab[323])(plane, equation);
  2098. }
  2099. void glGetDoublev(GLenum pname, GLdouble *params) {
  2100. typedef void (*__GLSdispatch)(GLenum, GLdouble *);
  2101. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2102. GLSfunc *const __glsDispTab = (
  2103. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2104. );
  2105. ((__GLSdispatch)__glsDispTab[324])(pname, params);
  2106. }
  2107. GLenum glGetError(void) {
  2108. typedef GLenum (*__GLSdispatch)(void);
  2109. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2110. GLSfunc *const __glsDispTab = (
  2111. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2112. );
  2113. return ((__GLSdispatch)__glsDispTab[325])();
  2114. }
  2115. void glGetFloatv(GLenum pname, GLfloat *params) {
  2116. typedef void (*__GLSdispatch)(GLenum, GLfloat *);
  2117. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2118. GLSfunc *const __glsDispTab = (
  2119. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2120. );
  2121. ((__GLSdispatch)__glsDispTab[326])(pname, params);
  2122. }
  2123. void glGetIntegerv(GLenum pname, GLint *params) {
  2124. typedef void (*__GLSdispatch)(GLenum, GLint *);
  2125. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2126. GLSfunc *const __glsDispTab = (
  2127. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2128. );
  2129. ((__GLSdispatch)__glsDispTab[327])(pname, params);
  2130. }
  2131. void glGetLightfv(GLenum light, GLenum pname, GLfloat *params) {
  2132. typedef void (*__GLSdispatch)(GLenum, GLenum, GLfloat *);
  2133. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2134. GLSfunc *const __glsDispTab = (
  2135. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2136. );
  2137. ((__GLSdispatch)__glsDispTab[328])(light, pname, params);
  2138. }
  2139. void glGetLightiv(GLenum light, GLenum pname, GLint *params) {
  2140. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint *);
  2141. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2142. GLSfunc *const __glsDispTab = (
  2143. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2144. );
  2145. ((__GLSdispatch)__glsDispTab[329])(light, pname, params);
  2146. }
  2147. void glGetMapdv(GLenum target, GLenum query, GLdouble *v) {
  2148. typedef void (*__GLSdispatch)(GLenum, GLenum, GLdouble *);
  2149. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2150. GLSfunc *const __glsDispTab = (
  2151. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2152. );
  2153. ((__GLSdispatch)__glsDispTab[330])(target, query, v);
  2154. }
  2155. void glGetMapfv(GLenum target, GLenum query, GLfloat *v) {
  2156. typedef void (*__GLSdispatch)(GLenum, GLenum, GLfloat *);
  2157. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2158. GLSfunc *const __glsDispTab = (
  2159. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2160. );
  2161. ((__GLSdispatch)__glsDispTab[331])(target, query, v);
  2162. }
  2163. void glGetMapiv(GLenum target, GLenum query, GLint *v) {
  2164. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint *);
  2165. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2166. GLSfunc *const __glsDispTab = (
  2167. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2168. );
  2169. ((__GLSdispatch)__glsDispTab[332])(target, query, v);
  2170. }
  2171. void glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params) {
  2172. typedef void (*__GLSdispatch)(GLenum, GLenum, GLfloat *);
  2173. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2174. GLSfunc *const __glsDispTab = (
  2175. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2176. );
  2177. ((__GLSdispatch)__glsDispTab[333])(face, pname, params);
  2178. }
  2179. void glGetMaterialiv(GLenum face, GLenum pname, GLint *params) {
  2180. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint *);
  2181. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2182. GLSfunc *const __glsDispTab = (
  2183. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2184. );
  2185. ((__GLSdispatch)__glsDispTab[334])(face, pname, params);
  2186. }
  2187. void glGetPixelMapfv(GLenum map, GLfloat *values) {
  2188. typedef void (*__GLSdispatch)(GLenum, GLfloat *);
  2189. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2190. GLSfunc *const __glsDispTab = (
  2191. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2192. );
  2193. ((__GLSdispatch)__glsDispTab[335])(map, values);
  2194. }
  2195. void glGetPixelMapuiv(GLenum map, GLuint *values) {
  2196. typedef void (*__GLSdispatch)(GLenum, GLuint *);
  2197. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2198. GLSfunc *const __glsDispTab = (
  2199. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2200. );
  2201. ((__GLSdispatch)__glsDispTab[336])(map, values);
  2202. }
  2203. void glGetPixelMapusv(GLenum map, GLushort *values) {
  2204. typedef void (*__GLSdispatch)(GLenum, GLushort *);
  2205. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2206. GLSfunc *const __glsDispTab = (
  2207. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2208. );
  2209. ((__GLSdispatch)__glsDispTab[337])(map, values);
  2210. }
  2211. void glGetPolygonStipple(GLubyte *mask) {
  2212. typedef void (*__GLSdispatch)(GLubyte *);
  2213. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2214. GLSfunc *const __glsDispTab = (
  2215. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2216. );
  2217. ((__GLSdispatch)__glsDispTab[338])(mask);
  2218. }
  2219. const GLubyte * glGetString(GLenum name) {
  2220. typedef const GLubyte * (*__GLSdispatch)(GLenum);
  2221. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2222. GLSfunc *const __glsDispTab = (
  2223. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2224. );
  2225. return ((__GLSdispatch)__glsDispTab[339])(name);
  2226. }
  2227. void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params) {
  2228. typedef void (*__GLSdispatch)(GLenum, GLenum, GLfloat *);
  2229. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2230. GLSfunc *const __glsDispTab = (
  2231. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2232. );
  2233. ((__GLSdispatch)__glsDispTab[340])(target, pname, params);
  2234. }
  2235. void glGetTexEnviv(GLenum target, GLenum pname, GLint *params) {
  2236. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint *);
  2237. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2238. GLSfunc *const __glsDispTab = (
  2239. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2240. );
  2241. ((__GLSdispatch)__glsDispTab[341])(target, pname, params);
  2242. }
  2243. void glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params) {
  2244. typedef void (*__GLSdispatch)(GLenum, GLenum, GLdouble *);
  2245. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2246. GLSfunc *const __glsDispTab = (
  2247. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2248. );
  2249. ((__GLSdispatch)__glsDispTab[342])(coord, pname, params);
  2250. }
  2251. void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params) {
  2252. typedef void (*__GLSdispatch)(GLenum, GLenum, GLfloat *);
  2253. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2254. GLSfunc *const __glsDispTab = (
  2255. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2256. );
  2257. ((__GLSdispatch)__glsDispTab[343])(coord, pname, params);
  2258. }
  2259. void glGetTexGeniv(GLenum coord, GLenum pname, GLint *params) {
  2260. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint *);
  2261. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2262. GLSfunc *const __glsDispTab = (
  2263. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2264. );
  2265. ((__GLSdispatch)__glsDispTab[344])(coord, pname, params);
  2266. }
  2267. void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) {
  2268. typedef void (*__GLSdispatch)(GLenum, GLint, GLenum, GLenum, GLvoid *);
  2269. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2270. GLSfunc *const __glsDispTab = (
  2271. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2272. );
  2273. ((__GLSdispatch)__glsDispTab[345])(target, level, format, type, pixels);
  2274. }
  2275. void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) {
  2276. typedef void (*__GLSdispatch)(GLenum, GLenum, GLfloat *);
  2277. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2278. GLSfunc *const __glsDispTab = (
  2279. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2280. );
  2281. ((__GLSdispatch)__glsDispTab[346])(target, pname, params);
  2282. }
  2283. void glGetTexParameteriv(GLenum target, GLenum pname, GLint *params) {
  2284. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint *);
  2285. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2286. GLSfunc *const __glsDispTab = (
  2287. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2288. );
  2289. ((__GLSdispatch)__glsDispTab[347])(target, pname, params);
  2290. }
  2291. void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params) {
  2292. typedef void (*__GLSdispatch)(GLenum, GLint, GLenum, GLfloat *);
  2293. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2294. GLSfunc *const __glsDispTab = (
  2295. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2296. );
  2297. ((__GLSdispatch)__glsDispTab[348])(target, level, pname, params);
  2298. }
  2299. void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params) {
  2300. typedef void (*__GLSdispatch)(GLenum, GLint, GLenum, GLint *);
  2301. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2302. GLSfunc *const __glsDispTab = (
  2303. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2304. );
  2305. ((__GLSdispatch)__glsDispTab[349])(target, level, pname, params);
  2306. }
  2307. GLboolean glIsEnabled(GLenum cap) {
  2308. typedef GLboolean (*__GLSdispatch)(GLenum);
  2309. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2310. GLSfunc *const __glsDispTab = (
  2311. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2312. );
  2313. return ((__GLSdispatch)__glsDispTab[350])(cap);
  2314. }
  2315. GLboolean glIsList(GLuint list) {
  2316. typedef GLboolean (*__GLSdispatch)(GLuint);
  2317. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2318. GLSfunc *const __glsDispTab = (
  2319. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2320. );
  2321. return ((__GLSdispatch)__glsDispTab[351])(list);
  2322. }
  2323. void glDepthRange(GLclampd zNear, GLclampd zFar) {
  2324. typedef void (*__GLSdispatch)(GLclampd, GLclampd);
  2325. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2326. GLSfunc *const __glsDispTab = (
  2327. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2328. );
  2329. ((__GLSdispatch)__glsDispTab[352])(zNear, zFar);
  2330. }
  2331. void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) {
  2332. typedef void (*__GLSdispatch)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
  2333. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2334. GLSfunc *const __glsDispTab = (
  2335. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2336. );
  2337. ((__GLSdispatch)__glsDispTab[353])(left, right, bottom, top, zNear, zFar);
  2338. }
  2339. void glLoadIdentity(void) {
  2340. typedef void (*__GLSdispatch)(void);
  2341. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2342. GLSfunc *const __glsDispTab = (
  2343. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2344. );
  2345. ((__GLSdispatch)__glsDispTab[354])();
  2346. }
  2347. void glLoadMatrixf(const GLfloat *m) {
  2348. typedef void (*__GLSdispatch)(const GLfloat *);
  2349. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2350. GLSfunc *const __glsDispTab = (
  2351. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2352. );
  2353. ((__GLSdispatch)__glsDispTab[355])(m);
  2354. }
  2355. void glLoadMatrixd(const GLdouble *m) {
  2356. typedef void (*__GLSdispatch)(const GLdouble *);
  2357. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2358. GLSfunc *const __glsDispTab = (
  2359. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2360. );
  2361. ((__GLSdispatch)__glsDispTab[356])(m);
  2362. }
  2363. void glMatrixMode(GLenum mode) {
  2364. typedef void (*__GLSdispatch)(GLenum);
  2365. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2366. GLSfunc *const __glsDispTab = (
  2367. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2368. );
  2369. ((__GLSdispatch)__glsDispTab[357])(mode);
  2370. }
  2371. void glMultMatrixf(const GLfloat *m) {
  2372. typedef void (*__GLSdispatch)(const GLfloat *);
  2373. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2374. GLSfunc *const __glsDispTab = (
  2375. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2376. );
  2377. ((__GLSdispatch)__glsDispTab[358])(m);
  2378. }
  2379. void glMultMatrixd(const GLdouble *m) {
  2380. typedef void (*__GLSdispatch)(const GLdouble *);
  2381. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2382. GLSfunc *const __glsDispTab = (
  2383. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2384. );
  2385. ((__GLSdispatch)__glsDispTab[359])(m);
  2386. }
  2387. void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) {
  2388. typedef void (*__GLSdispatch)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
  2389. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2390. GLSfunc *const __glsDispTab = (
  2391. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2392. );
  2393. ((__GLSdispatch)__glsDispTab[360])(left, right, bottom, top, zNear, zFar);
  2394. }
  2395. void glPopMatrix(void) {
  2396. typedef void (*__GLSdispatch)(void);
  2397. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2398. GLSfunc *const __glsDispTab = (
  2399. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2400. );
  2401. ((__GLSdispatch)__glsDispTab[361])();
  2402. }
  2403. void glPushMatrix(void) {
  2404. typedef void (*__GLSdispatch)(void);
  2405. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2406. GLSfunc *const __glsDispTab = (
  2407. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2408. );
  2409. ((__GLSdispatch)__glsDispTab[362])();
  2410. }
  2411. void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) {
  2412. typedef void (*__GLSdispatch)(GLdouble, GLdouble, GLdouble, GLdouble);
  2413. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2414. GLSfunc *const __glsDispTab = (
  2415. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2416. );
  2417. ((__GLSdispatch)__glsDispTab[363])(angle, x, y, z);
  2418. }
  2419. void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) {
  2420. typedef void (*__GLSdispatch)(GLfloat, GLfloat, GLfloat, GLfloat);
  2421. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2422. GLSfunc *const __glsDispTab = (
  2423. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2424. );
  2425. ((__GLSdispatch)__glsDispTab[364])(angle, x, y, z);
  2426. }
  2427. void glScaled(GLdouble x, GLdouble y, GLdouble z) {
  2428. typedef void (*__GLSdispatch)(GLdouble, GLdouble, GLdouble);
  2429. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2430. GLSfunc *const __glsDispTab = (
  2431. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2432. );
  2433. ((__GLSdispatch)__glsDispTab[365])(x, y, z);
  2434. }
  2435. void glScalef(GLfloat x, GLfloat y, GLfloat z) {
  2436. typedef void (*__GLSdispatch)(GLfloat, GLfloat, GLfloat);
  2437. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2438. GLSfunc *const __glsDispTab = (
  2439. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2440. );
  2441. ((__GLSdispatch)__glsDispTab[366])(x, y, z);
  2442. }
  2443. void glTranslated(GLdouble x, GLdouble y, GLdouble z) {
  2444. typedef void (*__GLSdispatch)(GLdouble, GLdouble, GLdouble);
  2445. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2446. GLSfunc *const __glsDispTab = (
  2447. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2448. );
  2449. ((__GLSdispatch)__glsDispTab[367])(x, y, z);
  2450. }
  2451. void glTranslatef(GLfloat x, GLfloat y, GLfloat z) {
  2452. typedef void (*__GLSdispatch)(GLfloat, GLfloat, GLfloat);
  2453. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2454. GLSfunc *const __glsDispTab = (
  2455. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2456. );
  2457. ((__GLSdispatch)__glsDispTab[368])(x, y, z);
  2458. }
  2459. void glViewport(GLint x, GLint y, GLsizei width, GLsizei height) {
  2460. typedef void (*__GLSdispatch)(GLint, GLint, GLsizei, GLsizei);
  2461. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2462. GLSfunc *const __glsDispTab = (
  2463. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2464. );
  2465. ((__GLSdispatch)__glsDispTab[369])(x, y, width, height);
  2466. }
  2467. void glBlendColorEXT(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) {
  2468. #if __GL_EXT_blend_color
  2469. typedef void (*__GLSdispatch)(GLclampf, GLclampf, GLclampf, GLclampf);
  2470. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2471. GLSfunc *const __glsDispTab = (
  2472. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2473. );
  2474. ((__GLSdispatch)__glsDispTab[384])(red, green, blue, alpha);
  2475. #endif /* __GL_EXT_blend_color */
  2476. }
  2477. void glBlendEquationEXT(GLenum mode) {
  2478. #if __GL_EXT_blend_minmax
  2479. typedef void (*__GLSdispatch)(GLenum);
  2480. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2481. GLSfunc *const __glsDispTab = (
  2482. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2483. );
  2484. ((__GLSdispatch)__glsDispTab[385])(mode);
  2485. #endif /* __GL_EXT_blend_minmax */
  2486. }
  2487. void glPolygonOffsetEXT(GLfloat factor, GLfloat bias) {
  2488. #if __GL_EXT_polygon_offset
  2489. typedef void (*__GLSdispatch)(GLfloat, GLfloat);
  2490. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2491. GLSfunc *const __glsDispTab = (
  2492. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2493. );
  2494. ((__GLSdispatch)__glsDispTab[386])(factor, bias);
  2495. #endif /* __GL_EXT_polygon_offset */
  2496. }
  2497. void glPolygonOffset(GLfloat factor, GLfloat bias) {
  2498. typedef void (*__GLSdispatch)(GLfloat, GLfloat);
  2499. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2500. GLSfunc *const __glsDispTab = (
  2501. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2502. );
  2503. ((__GLSdispatch)__glsDispTab[383])(factor, bias);
  2504. }
  2505. void glTexSubImage1DEXT(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) {
  2506. #if __GL_EXT_subtexture
  2507. typedef void (*__GLSdispatch)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
  2508. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2509. GLSfunc *const __glsDispTab = (
  2510. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2511. );
  2512. ((__GLSdispatch)__glsDispTab[387])(target, level, xoffset, width, format, type, pixels);
  2513. #endif /* __GL_EXT_subtexture */
  2514. }
  2515. void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) {
  2516. typedef void (*__GLSdispatch)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
  2517. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2518. GLSfunc *const __glsDispTab = (
  2519. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2520. );
  2521. ((__GLSdispatch)__glsDispTab[396])(target, level, xoffset, width, format, type, pixels);
  2522. }
  2523. void glTexSubImage2DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) {
  2524. #if __GL_EXT_subtexture
  2525. typedef void (*__GLSdispatch)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  2526. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2527. GLSfunc *const __glsDispTab = (
  2528. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2529. );
  2530. ((__GLSdispatch)__glsDispTab[388])(target, level, xoffset, yoffset, width, height, format, type, pixels);
  2531. #endif /* __GL_EXT_subtexture */
  2532. }
  2533. void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) {
  2534. typedef void (*__GLSdispatch)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  2535. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2536. GLSfunc *const __glsDispTab = (
  2537. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2538. );
  2539. ((__GLSdispatch)__glsDispTab[397])(target, level, xoffset, yoffset, width, height, format, type, pixels);
  2540. }
  2541. void glSampleMaskSGIS(GLclampf value, GLboolean invert) {
  2542. #if __GL_SGIS_multisample
  2543. typedef void (*__GLSdispatch)(GLclampf, GLboolean);
  2544. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2545. GLSfunc *const __glsDispTab = (
  2546. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2547. );
  2548. ((__GLSdispatch)__glsDispTab[389])(value, invert);
  2549. #endif /* __GL_SGIS_multisample */
  2550. }
  2551. void glSamplePatternSGIS(GLenum pattern) {
  2552. #if __GL_SGIS_multisample
  2553. typedef void (*__GLSdispatch)(GLenum);
  2554. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2555. GLSfunc *const __glsDispTab = (
  2556. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2557. );
  2558. ((__GLSdispatch)__glsDispTab[390])(pattern);
  2559. #endif /* __GL_SGIS_multisample */
  2560. }
  2561. void glTagSampleBufferSGIX(void) {
  2562. #if __GL_SGIX_multisample
  2563. typedef void (*__GLSdispatch)(void);
  2564. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2565. GLSfunc *const __glsDispTab = (
  2566. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2567. );
  2568. ((__GLSdispatch)__glsDispTab[391])();
  2569. #endif /* __GL_SGIX_multisample */
  2570. }
  2571. void glConvolutionFilter1DEXT(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) {
  2572. #if __GL_EXT_convolution
  2573. typedef void (*__GLSdispatch)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  2574. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2575. GLSfunc *const __glsDispTab = (
  2576. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2577. );
  2578. ((__GLSdispatch)__glsDispTab[392])(target, internalformat, width, format, type, image);
  2579. #endif /* __GL_EXT_convolution */
  2580. }
  2581. void glConvolutionFilter2DEXT(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) {
  2582. #if __GL_EXT_convolution
  2583. typedef void (*__GLSdispatch)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  2584. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2585. GLSfunc *const __glsDispTab = (
  2586. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2587. );
  2588. ((__GLSdispatch)__glsDispTab[393])(target, internalformat, width, height, format, type, image);
  2589. #endif /* __GL_EXT_convolution */
  2590. }
  2591. void glConvolutionParameterfEXT(GLenum target, GLenum pname, GLfloat params) {
  2592. #if __GL_EXT_convolution
  2593. typedef void (*__GLSdispatch)(GLenum, GLenum, GLfloat);
  2594. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2595. GLSfunc *const __glsDispTab = (
  2596. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2597. );
  2598. ((__GLSdispatch)__glsDispTab[394])(target, pname, params);
  2599. #endif /* __GL_EXT_convolution */
  2600. }
  2601. void glConvolutionParameterfvEXT(GLenum target, GLenum pname, const GLfloat *params) {
  2602. #if __GL_EXT_convolution
  2603. typedef void (*__GLSdispatch)(GLenum, GLenum, const GLfloat *);
  2604. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2605. GLSfunc *const __glsDispTab = (
  2606. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2607. );
  2608. ((__GLSdispatch)__glsDispTab[395])(target, pname, params);
  2609. #endif /* __GL_EXT_convolution */
  2610. }
  2611. void glConvolutionParameteriEXT(GLenum target, GLenum pname, GLint params) {
  2612. #if __GL_EXT_convolution
  2613. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint);
  2614. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2615. GLSfunc *const __glsDispTab = (
  2616. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2617. );
  2618. ((__GLSdispatch)__glsDispTab[396])(target, pname, params);
  2619. #endif /* __GL_EXT_convolution */
  2620. }
  2621. void glConvolutionParameterivEXT(GLenum target, GLenum pname, const GLint *params) {
  2622. #if __GL_EXT_convolution
  2623. typedef void (*__GLSdispatch)(GLenum, GLenum, const GLint *);
  2624. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2625. GLSfunc *const __glsDispTab = (
  2626. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2627. );
  2628. ((__GLSdispatch)__glsDispTab[397])(target, pname, params);
  2629. #endif /* __GL_EXT_convolution */
  2630. }
  2631. void glCopyConvolutionFilter1DEXT(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) {
  2632. #if __GL_EXT_convolution
  2633. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint, GLint, GLsizei);
  2634. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2635. GLSfunc *const __glsDispTab = (
  2636. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2637. );
  2638. ((__GLSdispatch)__glsDispTab[398])(target, internalformat, x, y, width);
  2639. #endif /* __GL_EXT_convolution */
  2640. }
  2641. void glCopyConvolutionFilter2DEXT(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) {
  2642. #if __GL_EXT_convolution
  2643. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
  2644. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2645. GLSfunc *const __glsDispTab = (
  2646. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2647. );
  2648. ((__GLSdispatch)__glsDispTab[399])(target, internalformat, x, y, width, height);
  2649. #endif /* __GL_EXT_convolution */
  2650. }
  2651. void glGetConvolutionFilterEXT(GLenum target, GLenum format, GLenum type, GLvoid *image) {
  2652. #if __GL_EXT_convolution
  2653. typedef void (*__GLSdispatch)(GLenum, GLenum, GLenum, GLvoid *);
  2654. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2655. GLSfunc *const __glsDispTab = (
  2656. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2657. );
  2658. ((__GLSdispatch)__glsDispTab[400])(target, format, type, image);
  2659. #endif /* __GL_EXT_convolution */
  2660. }
  2661. void glGetConvolutionParameterfvEXT(GLenum target, GLenum pname, GLfloat *params) {
  2662. #if __GL_EXT_convolution
  2663. typedef void (*__GLSdispatch)(GLenum, GLenum, GLfloat *);
  2664. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2665. GLSfunc *const __glsDispTab = (
  2666. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2667. );
  2668. ((__GLSdispatch)__glsDispTab[401])(target, pname, params);
  2669. #endif /* __GL_EXT_convolution */
  2670. }
  2671. void glGetConvolutionParameterivEXT(GLenum target, GLenum pname, GLint *params) {
  2672. #if __GL_EXT_convolution
  2673. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint *);
  2674. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2675. GLSfunc *const __glsDispTab = (
  2676. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2677. );
  2678. ((__GLSdispatch)__glsDispTab[402])(target, pname, params);
  2679. #endif /* __GL_EXT_convolution */
  2680. }
  2681. void glGetSeparableFilterEXT(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) {
  2682. #if __GL_EXT_convolution
  2683. typedef void (*__GLSdispatch)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
  2684. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2685. GLSfunc *const __glsDispTab = (
  2686. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2687. );
  2688. ((__GLSdispatch)__glsDispTab[403])(target, format, type, row, column, span);
  2689. #endif /* __GL_EXT_convolution */
  2690. }
  2691. void glSeparableFilter2DEXT(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) {
  2692. #if __GL_EXT_convolution
  2693. typedef void (*__GLSdispatch)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
  2694. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2695. GLSfunc *const __glsDispTab = (
  2696. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2697. );
  2698. ((__GLSdispatch)__glsDispTab[404])(target, internalformat, width, height, format, type, row, column);
  2699. #endif /* __GL_EXT_convolution */
  2700. }
  2701. void glGetHistogramEXT(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) {
  2702. #if __GL_EXT_histogram
  2703. typedef void (*__GLSdispatch)(GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  2704. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2705. GLSfunc *const __glsDispTab = (
  2706. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2707. );
  2708. ((__GLSdispatch)__glsDispTab[405])(target, reset, format, type, values);
  2709. #endif /* __GL_EXT_histogram */
  2710. }
  2711. void glGetHistogramParameterfvEXT(GLenum target, GLenum pname, GLfloat *params) {
  2712. #if __GL_EXT_histogram
  2713. typedef void (*__GLSdispatch)(GLenum, GLenum, GLfloat *);
  2714. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2715. GLSfunc *const __glsDispTab = (
  2716. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2717. );
  2718. ((__GLSdispatch)__glsDispTab[406])(target, pname, params);
  2719. #endif /* __GL_EXT_histogram */
  2720. }
  2721. void glGetHistogramParameterivEXT(GLenum target, GLenum pname, GLint *params) {
  2722. #if __GL_EXT_histogram
  2723. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint *);
  2724. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2725. GLSfunc *const __glsDispTab = (
  2726. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2727. );
  2728. ((__GLSdispatch)__glsDispTab[407])(target, pname, params);
  2729. #endif /* __GL_EXT_histogram */
  2730. }
  2731. void glGetMinmaxEXT(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) {
  2732. #if __GL_EXT_histogram
  2733. typedef void (*__GLSdispatch)(GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  2734. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2735. GLSfunc *const __glsDispTab = (
  2736. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2737. );
  2738. ((__GLSdispatch)__glsDispTab[408])(target, reset, format, type, values);
  2739. #endif /* __GL_EXT_histogram */
  2740. }
  2741. void glGetMinmaxParameterfvEXT(GLenum target, GLenum pname, GLfloat *params) {
  2742. #if __GL_EXT_histogram
  2743. typedef void (*__GLSdispatch)(GLenum, GLenum, GLfloat *);
  2744. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2745. GLSfunc *const __glsDispTab = (
  2746. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2747. );
  2748. ((__GLSdispatch)__glsDispTab[409])(target, pname, params);
  2749. #endif /* __GL_EXT_histogram */
  2750. }
  2751. void glGetMinmaxParameterivEXT(GLenum target, GLenum pname, GLint *params) {
  2752. #if __GL_EXT_histogram
  2753. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint *);
  2754. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2755. GLSfunc *const __glsDispTab = (
  2756. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2757. );
  2758. ((__GLSdispatch)__glsDispTab[410])(target, pname, params);
  2759. #endif /* __GL_EXT_histogram */
  2760. }
  2761. void glHistogramEXT(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) {
  2762. #if __GL_EXT_histogram
  2763. typedef void (*__GLSdispatch)(GLenum, GLsizei, GLenum, GLboolean);
  2764. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2765. GLSfunc *const __glsDispTab = (
  2766. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2767. );
  2768. ((__GLSdispatch)__glsDispTab[411])(target, width, internalformat, sink);
  2769. #endif /* __GL_EXT_histogram */
  2770. }
  2771. void glMinmaxEXT(GLenum target, GLenum internalformat, GLboolean sink) {
  2772. #if __GL_EXT_histogram
  2773. typedef void (*__GLSdispatch)(GLenum, GLenum, GLboolean);
  2774. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2775. GLSfunc *const __glsDispTab = (
  2776. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2777. );
  2778. ((__GLSdispatch)__glsDispTab[412])(target, internalformat, sink);
  2779. #endif /* __GL_EXT_histogram */
  2780. }
  2781. void glResetHistogramEXT(GLenum target) {
  2782. #if __GL_EXT_histogram
  2783. typedef void (*__GLSdispatch)(GLenum);
  2784. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2785. GLSfunc *const __glsDispTab = (
  2786. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2787. );
  2788. ((__GLSdispatch)__glsDispTab[413])(target);
  2789. #endif /* __GL_EXT_histogram */
  2790. }
  2791. void glResetMinmaxEXT(GLenum target) {
  2792. #if __GL_EXT_histogram
  2793. typedef void (*__GLSdispatch)(GLenum);
  2794. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2795. GLSfunc *const __glsDispTab = (
  2796. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2797. );
  2798. ((__GLSdispatch)__glsDispTab[414])(target);
  2799. #endif /* __GL_EXT_histogram */
  2800. }
  2801. void glTexImage3DEXT(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) {
  2802. #if __GL_EXT_texture3D
  2803. typedef void (*__GLSdispatch)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  2804. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2805. GLSfunc *const __glsDispTab = (
  2806. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2807. );
  2808. ((__GLSdispatch)__glsDispTab[415])(target, level, internalformat, width, height, depth, border, format, type, pixels);
  2809. #endif /* __GL_EXT_texture3D */
  2810. }
  2811. void glTexSubImage3DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) {
  2812. #if __GL_EXT_subtexture
  2813. typedef void (*__GLSdispatch)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  2814. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2815. GLSfunc *const __glsDispTab = (
  2816. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2817. );
  2818. ((__GLSdispatch)__glsDispTab[416])(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
  2819. #endif /* __GL_EXT_subtexture */
  2820. }
  2821. void glDetailTexFuncSGIS(GLenum target, GLsizei n, const GLfloat *points) {
  2822. #if __GL_SGIS_detail_texture
  2823. typedef void (*__GLSdispatch)(GLenum, GLsizei, const GLfloat *);
  2824. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2825. GLSfunc *const __glsDispTab = (
  2826. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2827. );
  2828. ((__GLSdispatch)__glsDispTab[417])(target, n, points);
  2829. #endif /* __GL_SGIS_detail_texture */
  2830. }
  2831. void glGetDetailTexFuncSGIS(GLenum target, GLfloat *points) {
  2832. #if __GL_SGIS_detail_texture
  2833. typedef void (*__GLSdispatch)(GLenum, GLfloat *);
  2834. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2835. GLSfunc *const __glsDispTab = (
  2836. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2837. );
  2838. ((__GLSdispatch)__glsDispTab[418])(target, points);
  2839. #endif /* __GL_SGIS_detail_texture */
  2840. }
  2841. void glSharpenTexFuncSGIS(GLenum target, GLsizei n, const GLfloat *points) {
  2842. #if __GL_SGIS_sharpen_texture
  2843. typedef void (*__GLSdispatch)(GLenum, GLsizei, const GLfloat *);
  2844. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2845. GLSfunc *const __glsDispTab = (
  2846. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2847. );
  2848. ((__GLSdispatch)__glsDispTab[419])(target, n, points);
  2849. #endif /* __GL_SGIS_sharpen_texture */
  2850. }
  2851. void glGetSharpenTexFuncSGIS(GLenum target, GLfloat *points) {
  2852. #if __GL_SGIS_sharpen_texture
  2853. typedef void (*__GLSdispatch)(GLenum, GLfloat *);
  2854. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2855. GLSfunc *const __glsDispTab = (
  2856. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2857. );
  2858. ((__GLSdispatch)__glsDispTab[420])(target, points);
  2859. #endif /* __GL_SGIS_sharpen_texture */
  2860. }
  2861. void glArrayElementEXT(GLint i) {
  2862. #if __GL_EXT_vertex_array
  2863. typedef void (*__GLSdispatch)(GLint);
  2864. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2865. GLSfunc *const __glsDispTab = (
  2866. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2867. );
  2868. ((__GLSdispatch)__glsDispTab[437])(i);
  2869. #endif /* __GL_EXT_vertex_array */
  2870. }
  2871. void glArrayElement(GLint i) {
  2872. typedef void (*__GLSdispatch)(GLint);
  2873. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2874. GLSfunc *const __glsDispTab = (
  2875. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2876. );
  2877. ((__GLSdispatch)__glsDispTab[370])(i);
  2878. }
  2879. void glColorPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer) {
  2880. #if __GL_EXT_vertex_array
  2881. typedef void (*__GLSdispatch)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  2882. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2883. GLSfunc *const __glsDispTab = (
  2884. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2885. );
  2886. ((__GLSdispatch)__glsDispTab[438])(size, type, stride, count, pointer);
  2887. #endif /* __GL_EXT_vertex_array */
  2888. }
  2889. void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) {
  2890. typedef void (*__GLSdispatch)(GLint, GLenum, GLsizei, const GLvoid *);
  2891. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2892. GLSfunc *const __glsDispTab = (
  2893. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2894. );
  2895. ((__GLSdispatch)__glsDispTab[372])(size, type, stride, pointer);
  2896. }
  2897. void glDrawArraysEXT(GLenum mode, GLint first, GLsizei count) {
  2898. #if __GL_EXT_vertex_array
  2899. typedef void (*__GLSdispatch)(GLenum, GLint, GLsizei);
  2900. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2901. GLSfunc *const __glsDispTab = (
  2902. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2903. );
  2904. ((__GLSdispatch)__glsDispTab[439])(mode, first, count);
  2905. #endif /* __GL_EXT_vertex_array */
  2906. }
  2907. void glDrawArrays(GLenum mode, GLint first, GLsizei count) {
  2908. typedef void (*__GLSdispatch)(GLenum, GLint, GLsizei);
  2909. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2910. GLSfunc *const __glsDispTab = (
  2911. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2912. );
  2913. ((__GLSdispatch)__glsDispTab[374])(mode, first, count);
  2914. }
  2915. void glEdgeFlagPointerEXT(GLsizei stride, GLsizei count, const GLboolean *pointer) {
  2916. #if __GL_EXT_vertex_array
  2917. typedef void (*__GLSdispatch)(GLsizei, GLsizei, const GLboolean *);
  2918. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2919. GLSfunc *const __glsDispTab = (
  2920. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2921. );
  2922. ((__GLSdispatch)__glsDispTab[440])(stride, count, pointer);
  2923. #endif /* __GL_EXT_vertex_array */
  2924. }
  2925. void glEdgeFlagPointer(GLsizei stride, const GLboolean *pointer) {
  2926. typedef void (*__GLSdispatch)(GLsizei, const GLboolean *);
  2927. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2928. GLSfunc *const __glsDispTab = (
  2929. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2930. );
  2931. ((__GLSdispatch)__glsDispTab[376])(stride, pointer);
  2932. }
  2933. void glGetPointervEXT(GLenum pname, GLvoid* *params) {
  2934. #if __GL_EXT_vertex_array
  2935. typedef void (*__GLSdispatch)(GLenum, GLvoid* *);
  2936. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2937. GLSfunc *const __glsDispTab = (
  2938. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2939. );
  2940. ((__GLSdispatch)__glsDispTab[441])(pname, params);
  2941. #endif /* __GL_EXT_vertex_array */
  2942. }
  2943. void glGetPointerv(GLenum pname, GLvoid* *params) {
  2944. typedef void (*__GLSdispatch)(GLenum, GLvoid* *);
  2945. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2946. GLSfunc *const __glsDispTab = (
  2947. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2948. );
  2949. ((__GLSdispatch)__glsDispTab[393])(pname, params);
  2950. }
  2951. void glIndexPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer) {
  2952. #if __GL_EXT_vertex_array
  2953. typedef void (*__GLSdispatch)(GLenum, GLsizei, GLsizei, const GLvoid *);
  2954. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2955. GLSfunc *const __glsDispTab = (
  2956. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2957. );
  2958. ((__GLSdispatch)__glsDispTab[442])(type, stride, count, pointer);
  2959. #endif /* __GL_EXT_vertex_array */
  2960. }
  2961. void glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer) {
  2962. typedef void (*__GLSdispatch)(GLenum, GLsizei, const GLvoid *);
  2963. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2964. GLSfunc *const __glsDispTab = (
  2965. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2966. );
  2967. ((__GLSdispatch)__glsDispTab[378])(type, stride, pointer);
  2968. }
  2969. void glNormalPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer) {
  2970. #if __GL_EXT_vertex_array
  2971. typedef void (*__GLSdispatch)(GLenum, GLsizei, GLsizei, const GLvoid *);
  2972. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2973. GLSfunc *const __glsDispTab = (
  2974. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2975. );
  2976. ((__GLSdispatch)__glsDispTab[443])(type, stride, count, pointer);
  2977. #endif /* __GL_EXT_vertex_array */
  2978. }
  2979. void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer) {
  2980. typedef void (*__GLSdispatch)(GLenum, GLsizei, const GLvoid *);
  2981. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2982. GLSfunc *const __glsDispTab = (
  2983. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2984. );
  2985. ((__GLSdispatch)__glsDispTab[382])(type, stride, pointer);
  2986. }
  2987. void glTexCoordPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer) {
  2988. #if __GL_EXT_vertex_array
  2989. typedef void (*__GLSdispatch)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  2990. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  2991. GLSfunc *const __glsDispTab = (
  2992. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  2993. );
  2994. ((__GLSdispatch)__glsDispTab[444])(size, type, stride, count, pointer);
  2995. #endif /* __GL_EXT_vertex_array */
  2996. }
  2997. void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) {
  2998. typedef void (*__GLSdispatch)(GLint, GLenum, GLsizei, const GLvoid *);
  2999. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3000. GLSfunc *const __glsDispTab = (
  3001. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3002. );
  3003. ((__GLSdispatch)__glsDispTab[384])(size, type, stride, pointer);
  3004. }
  3005. void glVertexPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer) {
  3006. #if __GL_EXT_vertex_array
  3007. typedef void (*__GLSdispatch)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  3008. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3009. GLSfunc *const __glsDispTab = (
  3010. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3011. );
  3012. ((__GLSdispatch)__glsDispTab[445])(size, type, stride, count, pointer);
  3013. #endif /* __GL_EXT_vertex_array */
  3014. }
  3015. void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) {
  3016. typedef void (*__GLSdispatch)(GLint, GLenum, GLsizei, const GLvoid *);
  3017. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3018. GLSfunc *const __glsDispTab = (
  3019. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3020. );
  3021. ((__GLSdispatch)__glsDispTab[385])(size, type, stride, pointer);
  3022. }
  3023. GLboolean glAreTexturesResidentEXT(GLsizei n, const GLuint *textures, GLboolean *residences) {
  3024. #if __GL_EXT_texture_object
  3025. typedef GLboolean (*__GLSdispatch)(GLsizei, const GLuint *, GLboolean *);
  3026. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3027. GLSfunc *const __glsDispTab = (
  3028. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3029. );
  3030. return ((__GLSdispatch)__glsDispTab[430])(n, textures, residences);
  3031. #else /* __GL_EXT_texture_object */
  3032. return 0;
  3033. #endif /* __GL_EXT_texture_object */
  3034. }
  3035. GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences) {
  3036. typedef GLboolean (*__GLSdispatch)(GLsizei, const GLuint *, GLboolean *);
  3037. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3038. GLSfunc *const __glsDispTab = (
  3039. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3040. );
  3041. return ((__GLSdispatch)__glsDispTab[386])(n, textures, residences);
  3042. }
  3043. void glBindTextureEXT(GLenum target, GLuint texture) {
  3044. #if __GL_EXT_texture_object
  3045. typedef void (*__GLSdispatch)(GLenum, GLuint);
  3046. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3047. GLSfunc *const __glsDispTab = (
  3048. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3049. );
  3050. ((__GLSdispatch)__glsDispTab[431])(target, texture);
  3051. #endif /* __GL_EXT_texture_object */
  3052. }
  3053. void glBindTexture(GLenum target, GLuint texture) {
  3054. typedef void (*__GLSdispatch)(GLenum, GLuint);
  3055. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3056. GLSfunc *const __glsDispTab = (
  3057. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3058. );
  3059. ((__GLSdispatch)__glsDispTab[371])(target, texture);
  3060. }
  3061. void glDeleteTexturesEXT(GLsizei n, const GLuint *textures) {
  3062. #if __GL_EXT_texture_object
  3063. typedef void (*__GLSdispatch)(GLsizei, const GLuint *);
  3064. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3065. GLSfunc *const __glsDispTab = (
  3066. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3067. );
  3068. ((__GLSdispatch)__glsDispTab[432])(n, textures);
  3069. #endif /* __GL_EXT_texture_object */
  3070. }
  3071. void glDeleteTextures(GLsizei n, const GLuint *textures) {
  3072. typedef void (*__GLSdispatch)(GLsizei, const GLuint *);
  3073. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3074. GLSfunc *const __glsDispTab = (
  3075. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3076. );
  3077. ((__GLSdispatch)__glsDispTab[391])(n, textures);
  3078. }
  3079. void glGenTexturesEXT(GLsizei n, GLuint *textures) {
  3080. #if __GL_EXT_texture_object
  3081. typedef void (*__GLSdispatch)(GLsizei, GLuint *);
  3082. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3083. GLSfunc *const __glsDispTab = (
  3084. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3085. );
  3086. ((__GLSdispatch)__glsDispTab[433])(n, textures);
  3087. #endif /* __GL_EXT_texture_object */
  3088. }
  3089. void glGenTextures(GLsizei n, GLuint *textures) {
  3090. typedef void (*__GLSdispatch)(GLsizei, GLuint *);
  3091. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3092. GLSfunc *const __glsDispTab = (
  3093. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3094. );
  3095. ((__GLSdispatch)__glsDispTab[392])(n, textures);
  3096. }
  3097. GLboolean glIsTextureEXT(GLuint texture) {
  3098. #if __GL_EXT_texture_object
  3099. typedef GLboolean (*__GLSdispatch)(GLuint);
  3100. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3101. GLSfunc *const __glsDispTab = (
  3102. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3103. );
  3104. return ((__GLSdispatch)__glsDispTab[434])(texture);
  3105. #else /* __GL_EXT_texture_object */
  3106. return 0;
  3107. #endif /* __GL_EXT_texture_object */
  3108. }
  3109. GLboolean glIsTexture(GLuint texture) {
  3110. typedef GLboolean (*__GLSdispatch)(GLuint);
  3111. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3112. GLSfunc *const __glsDispTab = (
  3113. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3114. );
  3115. return ((__GLSdispatch)__glsDispTab[394])(texture);
  3116. }
  3117. void glPrioritizeTexturesEXT(GLsizei n, const GLuint *textures, const GLclampf *priorities) {
  3118. #if __GL_EXT_texture_object
  3119. typedef void (*__GLSdispatch)(GLsizei, const GLuint *, const GLclampf *);
  3120. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3121. GLSfunc *const __glsDispTab = (
  3122. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3123. );
  3124. ((__GLSdispatch)__glsDispTab[435])(n, textures, priorities);
  3125. #endif /* __GL_EXT_texture_object */
  3126. }
  3127. void glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLclampf *priorities) {
  3128. typedef void (*__GLSdispatch)(GLsizei, const GLuint *, const GLclampf *);
  3129. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3130. GLSfunc *const __glsDispTab = (
  3131. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3132. );
  3133. ((__GLSdispatch)__glsDispTab[395])(n, textures, priorities);
  3134. }
  3135. void glColorTableEXT(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) {
  3136. #if __GL_EXT_paletted_texture
  3137. typedef void (*__GLSdispatch)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  3138. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3139. GLSfunc *const __glsDispTab = (
  3140. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3141. );
  3142. ((__GLSdispatch)__glsDispTab[452])(target, internalformat, width, format, type, table);
  3143. #endif /* __GL_EXT_paletted_texture */
  3144. }
  3145. void glColorTableParameterfvSGI(GLenum target, GLenum pname, const GLfloat *params) {
  3146. #if __GL_SGI_color_table
  3147. typedef void (*__GLSdispatch)(GLenum, GLenum, const GLfloat *);
  3148. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3149. GLSfunc *const __glsDispTab = (
  3150. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3151. );
  3152. ((__GLSdispatch)__glsDispTab[437])(target, pname, params);
  3153. #endif /* __GL_SGI_color_table */
  3154. }
  3155. void glColorTableParameterivSGI(GLenum target, GLenum pname, const GLint *params) {
  3156. #if __GL_SGI_color_table
  3157. typedef void (*__GLSdispatch)(GLenum, GLenum, const GLint *);
  3158. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3159. GLSfunc *const __glsDispTab = (
  3160. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3161. );
  3162. ((__GLSdispatch)__glsDispTab[438])(target, pname, params);
  3163. #endif /* __GL_SGI_color_table */
  3164. }
  3165. void glCopyColorTableSGI(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) {
  3166. #if __GL_SGI_color_table
  3167. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint, GLint, GLsizei);
  3168. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3169. GLSfunc *const __glsDispTab = (
  3170. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3171. );
  3172. ((__GLSdispatch)__glsDispTab[439])(target, internalformat, x, y, width);
  3173. #endif /* __GL_SGI_color_table */
  3174. }
  3175. void glGetColorTableEXT(GLenum target, GLenum format, GLenum type, GLvoid *table) {
  3176. #if __GL_EXT_paletted_texture
  3177. typedef void (*__GLSdispatch)(GLenum, GLenum, GLenum, GLvoid *);
  3178. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3179. GLSfunc *const __glsDispTab = (
  3180. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3181. );
  3182. ((__GLSdispatch)__glsDispTab[456])(target, format, type, table);
  3183. #endif /* __GL_EXT_paletted_texture */
  3184. }
  3185. void glGetColorTableParameterfvEXT(GLenum target, GLenum pname, GLfloat *params) {
  3186. #if __GL_EXT_paletted_texture
  3187. typedef void (*__GLSdispatch)(GLenum, GLenum, GLfloat *);
  3188. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3189. GLSfunc *const __glsDispTab = (
  3190. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3191. );
  3192. ((__GLSdispatch)__glsDispTab[457])(target, pname, params);
  3193. #endif /* __GL_EXT_paletted_texture */
  3194. }
  3195. void glGetColorTableParameterivEXT(GLenum target, GLenum pname, GLint *params) {
  3196. #if __GL_EXT_paletted_texture
  3197. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint *);
  3198. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3199. GLSfunc *const __glsDispTab = (
  3200. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3201. );
  3202. ((__GLSdispatch)__glsDispTab[458])(target, pname, params);
  3203. #endif /* __GL_EXT_paletted_texture */
  3204. }
  3205. void glGetTexColorTableParameterfvSGI(GLenum target, GLenum pname, GLfloat *params) {
  3206. #if __GL_SGI_texture_color_table
  3207. typedef void (*__GLSdispatch)(GLenum, GLenum, GLfloat *);
  3208. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3209. GLSfunc *const __glsDispTab = (
  3210. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3211. );
  3212. ((__GLSdispatch)__glsDispTab[443])(target, pname, params);
  3213. #endif /* __GL_SGI_texture_color_table */
  3214. }
  3215. void glGetTexColorTableParameterivSGI(GLenum target, GLenum pname, GLint *params) {
  3216. #if __GL_SGI_texture_color_table
  3217. typedef void (*__GLSdispatch)(GLenum, GLenum, GLint *);
  3218. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3219. GLSfunc *const __glsDispTab = (
  3220. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3221. );
  3222. ((__GLSdispatch)__glsDispTab[444])(target, pname, params);
  3223. #endif /* __GL_SGI_texture_color_table */
  3224. }
  3225. void glTexColorTableParameterfvSGI(GLenum target, GLenum pname, const GLfloat *params) {
  3226. #if __GL_SGI_texture_color_table
  3227. typedef void (*__GLSdispatch)(GLenum, GLenum, const GLfloat *);
  3228. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3229. GLSfunc *const __glsDispTab = (
  3230. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3231. );
  3232. ((__GLSdispatch)__glsDispTab[445])(target, pname, params);
  3233. #endif /* __GL_SGI_texture_color_table */
  3234. }
  3235. void glTexColorTableParameterivSGI(GLenum target, GLenum pname, const GLint *params) {
  3236. #if __GL_SGI_texture_color_table
  3237. typedef void (*__GLSdispatch)(GLenum, GLenum, const GLint *);
  3238. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3239. GLSfunc *const __glsDispTab = (
  3240. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3241. );
  3242. ((__GLSdispatch)__glsDispTab[446])(target, pname, params);
  3243. #endif /* __GL_SGI_texture_color_table */
  3244. }
  3245. void glCopyTexImage1DEXT(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) {
  3246. #if __GL_EXT_copy_texture
  3247. typedef void (*__GLSdispatch)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
  3248. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3249. GLSfunc *const __glsDispTab = (
  3250. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3251. );
  3252. ((__GLSdispatch)__glsDispTab[447])(target, level, internalformat, x, y, width, border);
  3253. #endif /* __GL_EXT_copy_texture */
  3254. }
  3255. void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) {
  3256. typedef void (*__GLSdispatch)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
  3257. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3258. GLSfunc *const __glsDispTab = (
  3259. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3260. );
  3261. ((__GLSdispatch)__glsDispTab[387])(target, level, internalformat, x, y, width, border);
  3262. }
  3263. void glCopyTexImage2DEXT(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) {
  3264. #if __GL_EXT_copy_texture
  3265. typedef void (*__GLSdispatch)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
  3266. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3267. GLSfunc *const __glsDispTab = (
  3268. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3269. );
  3270. ((__GLSdispatch)__glsDispTab[448])(target, level, internalformat, x, y, width, height, border);
  3271. #endif /* __GL_EXT_copy_texture */
  3272. }
  3273. void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) {
  3274. typedef void (*__GLSdispatch)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
  3275. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3276. GLSfunc *const __glsDispTab = (
  3277. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3278. );
  3279. ((__GLSdispatch)__glsDispTab[388])(target, level, internalformat, x, y, width, height, border);
  3280. }
  3281. void glCopyTexSubImage1DEXT(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) {
  3282. #if __GL_EXT_copy_texture
  3283. typedef void (*__GLSdispatch)(GLenum, GLint, GLint, GLint, GLint, GLsizei);
  3284. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3285. GLSfunc *const __glsDispTab = (
  3286. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3287. );
  3288. ((__GLSdispatch)__glsDispTab[449])(target, level, xoffset, x, y, width);
  3289. #endif /* __GL_EXT_copy_texture */
  3290. }
  3291. void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) {
  3292. typedef void (*__GLSdispatch)(GLenum, GLint, GLint, GLint, GLint, GLsizei);
  3293. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3294. GLSfunc *const __glsDispTab = (
  3295. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3296. );
  3297. ((__GLSdispatch)__glsDispTab[389])(target, level, xoffset, x, y, width);
  3298. }
  3299. void glCopyTexSubImage2DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) {
  3300. #if __GL_EXT_copy_texture
  3301. typedef void (*__GLSdispatch)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  3302. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3303. GLSfunc *const __glsDispTab = (
  3304. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3305. );
  3306. ((__GLSdispatch)__glsDispTab[450])(target, level, xoffset, yoffset, x, y, width, height);
  3307. #endif /* __GL_EXT_copy_texture */
  3308. }
  3309. void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) {
  3310. typedef void (*__GLSdispatch)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  3311. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3312. GLSfunc *const __glsDispTab = (
  3313. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3314. );
  3315. ((__GLSdispatch)__glsDispTab[390])(target, level, xoffset, yoffset, x, y, width, height);
  3316. }
  3317. void glCopyTexSubImage3DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) {
  3318. #if __GL_EXT_copy_texture
  3319. typedef void (*__GLSdispatch)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  3320. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3321. GLSfunc *const __glsDispTab = (
  3322. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3323. );
  3324. ((__GLSdispatch)__glsDispTab[451])(target, level, xoffset, yoffset, zoffset, x, y, width, height);
  3325. #endif /* __GL_EXT_copy_texture */
  3326. }
  3327. void glTexImage4DSGIS(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels) {
  3328. #if __GL_SGIS_texture4D
  3329. typedef void (*__GLSdispatch)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  3330. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3331. GLSfunc *const __glsDispTab = (
  3332. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3333. );
  3334. ((__GLSdispatch)__glsDispTab[452])(target, level, internalformat, width, height, depth, size4d, border, format, type, pixels);
  3335. #endif /* __GL_SGIS_texture4D */
  3336. }
  3337. void glTexSubImage4DSGIS(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels) {
  3338. #if __GL_SGIS_texture4D
  3339. typedef void (*__GLSdispatch)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  3340. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3341. GLSfunc *const __glsDispTab = (
  3342. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3343. );
  3344. ((__GLSdispatch)__glsDispTab[453])(target, level, xoffset, yoffset, zoffset, woffset, width, height, depth, size4d, format, type, pixels);
  3345. #endif /* __GL_SGIS_texture4D */
  3346. }
  3347. void glPixelTexGenSGIX(GLenum mode) {
  3348. #if __GL_SGIX_pixel_texture
  3349. typedef void (*__GLSdispatch)(GLenum);
  3350. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3351. GLSfunc *const __glsDispTab = (
  3352. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3353. );
  3354. ((__GLSdispatch)__glsDispTab[454])(mode);
  3355. #endif /* __GL_SGIX_pixel_texture */
  3356. }
  3357. void glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
  3358. {
  3359. typedef void (*__GLSdispatch)(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
  3360. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3361. GLSfunc *const __glsDispTab = (
  3362. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3363. );
  3364. ((__GLSdispatch)__glsDispTab[375])(mode, count, type, indices);
  3365. }
  3366. void
  3367. glDrawRangeElementsWIN(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)
  3368. {
  3369. #if __GL_WIN_draw_range_elements
  3370. glDrawElements( mode, count, type, indices );
  3371. #endif // __GL_EXT_draw_range_elements
  3372. }
  3373. void glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer)
  3374. {
  3375. typedef void (*__GLSdispatch)(GLenum format, GLsizei stride, const GLvoid *pointer);
  3376. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3377. GLSfunc *const __glsDispTab = (
  3378. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3379. );
  3380. ((__GLSdispatch)__glsDispTab[381])(format, stride, pointer);
  3381. }
  3382. void glIndexub (GLubyte c)
  3383. {
  3384. typedef void (*__GLSdispatch)(GLubyte c);
  3385. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3386. GLSfunc *const __glsDispTab = (
  3387. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3388. );
  3389. ((__GLSdispatch)__glsDispTab[379])(c);
  3390. }
  3391. void glIndexubv (const GLubyte *c)
  3392. {
  3393. typedef void (*__GLSdispatch)(const GLubyte *c);
  3394. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3395. GLSfunc *const __glsDispTab = (
  3396. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3397. );
  3398. ((__GLSdispatch)__glsDispTab[380])(c);
  3399. }
  3400. void glEnableClientState (GLenum array)
  3401. {
  3402. typedef void (*__GLSdispatch)(GLenum array);
  3403. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3404. GLSfunc *const __glsDispTab = (
  3405. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3406. );
  3407. ((__GLSdispatch)__glsDispTab[377])(array);
  3408. }
  3409. void glDisableClientState (GLenum array)
  3410. {
  3411. typedef void (*__GLSdispatch)(GLenum array);
  3412. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3413. GLSfunc *const __glsDispTab = (
  3414. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3415. );
  3416. ((__GLSdispatch)__glsDispTab[373])(array);
  3417. }
  3418. void glColorSubTableEXT(GLenum target, GLuint start, GLsizei count,
  3419. GLenum format, GLenum type,
  3420. const GLvoid *data)
  3421. {
  3422. #if __GL_EXT_paletted_texture
  3423. typedef void (*__GLSdispatch)(GLenum target, GLuint start, GLsizei count,
  3424. GLenum format, GLenum type, const GLvoid *data);
  3425. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3426. GLSfunc *const __glsDispTab = (
  3427. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3428. );
  3429. ((__GLSdispatch)__glsDispTab[496])(target, start, count, format, type, data);
  3430. #endif // __GL_EXT_paletted_texture
  3431. }
  3432. void glPushClientAttrib(GLbitfield mask) {
  3433. typedef void (*__GLSdispatch)(GLbitfield);
  3434. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3435. GLSfunc *const __glsDispTab = (
  3436. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3437. );
  3438. ((__GLSdispatch)__glsDispTab[398])(mask);
  3439. }
  3440. void glPopClientAttrib(void) {
  3441. typedef void (*__GLSdispatch)(void);
  3442. __GLScontext *const __glsCtx = __GLS_CONTEXT;
  3443. GLSfunc *const __glsDispTab = (
  3444. __glsCtx ? __glsCtx->dispatchAPI : __glsDispatchExec
  3445. );
  3446. ((__GLSdispatch)__glsDispTab[399])();
  3447. }