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.

2051 lines
41 KiB

  1. #ifndef __gl_g_lcomp_h
  2. #define __gl_g_lcomp_h
  3. /*
  4. ** Copyright 1992, Silicon Graphics, Inc.
  5. ** All Rights Reserved.
  6. **
  7. ** This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  8. ** the contents of this file may not be disclosed to third parties, copied or
  9. ** duplicated in any form, in whole or in part, without the prior written
  10. ** permission of Silicon Graphics, Inc.
  11. **
  12. ** RESTRICTED RIGHTS LEGEND:
  13. ** Use, duplication or disclosure by the Government is subject to restrictions
  14. ** as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  15. ** and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  16. ** successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  17. ** rights reserved under the Copyright Laws of the United States.
  18. */
  19. #define __GL_PAD(x) ((((x) + 3) >> 2) << 2)
  20. struct __gllc_CallList_Rec {
  21. GLuint list;
  22. };
  23. extern const GLubyte * FASTCALL __glle_CallList(__GLcontext *, const GLubyte *);
  24. struct __gllc_CallLists_Rec {
  25. GLsizei n;
  26. GLenum type;
  27. /* lists */
  28. };
  29. extern const GLubyte * FASTCALL __glle_CallLists(__GLcontext *, const GLubyte *);
  30. extern GLint FASTCALL __glCallLists_size(GLsizei n, GLenum type);
  31. struct __gllc_ListBase_Rec {
  32. GLuint base;
  33. };
  34. extern const GLubyte * FASTCALL __glle_ListBase(__GLcontext *, const GLubyte *);
  35. struct __gllc_Begin_Rec {
  36. GLenum mode;
  37. #ifdef NT
  38. GLuint flags;
  39. GLint nVertices;
  40. __GLcolor otherColor;
  41. #endif
  42. };
  43. extern const GLubyte * FASTCALL __glle_Begin(__GLcontext *, const GLubyte *);
  44. extern const GLubyte * FASTCALL __glle_Bitmap(__GLcontext *, const GLubyte *);
  45. struct __gllc_Color3b_Rec {
  46. GLbyte red;
  47. GLbyte green;
  48. GLbyte blue;
  49. GLubyte pad1;
  50. };
  51. struct __gllc_Color3bv_Rec {
  52. GLbyte v[3];
  53. GLubyte pad1;
  54. };
  55. extern const GLubyte * FASTCALL __glle_Color3bv(__GLcontext *, const GLubyte *);
  56. struct __gllc_Color3d_Rec {
  57. GLdouble red;
  58. GLdouble green;
  59. GLdouble blue;
  60. };
  61. struct __gllc_Color3dv_Rec {
  62. GLdouble v[3];
  63. };
  64. extern const GLubyte * FASTCALL __glle_Color3dv(__GLcontext *, const GLubyte *);
  65. struct __gllc_Color3f_Rec {
  66. GLfloat red;
  67. GLfloat green;
  68. GLfloat blue;
  69. };
  70. struct __gllc_Color3fv_Rec {
  71. GLfloat v[3];
  72. };
  73. extern const GLubyte * FASTCALL __glle_Color3fv(__GLcontext *, const GLubyte *);
  74. struct __gllc_Color3i_Rec {
  75. GLint red;
  76. GLint green;
  77. GLint blue;
  78. };
  79. struct __gllc_Color3iv_Rec {
  80. GLint v[3];
  81. };
  82. extern const GLubyte * FASTCALL __glle_Color3iv(__GLcontext *, const GLubyte *);
  83. struct __gllc_Color3s_Rec {
  84. GLshort red;
  85. GLshort green;
  86. GLshort blue;
  87. GLushort pad1;
  88. };
  89. struct __gllc_Color3sv_Rec {
  90. GLshort v[3];
  91. GLushort pad1;
  92. };
  93. extern const GLubyte * FASTCALL __glle_Color3sv(__GLcontext *, const GLubyte *);
  94. struct __gllc_Color3ub_Rec {
  95. GLubyte red;
  96. GLubyte green;
  97. GLubyte blue;
  98. GLubyte pad1;
  99. };
  100. struct __gllc_Color3ubv_Rec {
  101. GLubyte v[3];
  102. GLubyte pad1;
  103. };
  104. extern const GLubyte * FASTCALL __glle_Color3ubv(__GLcontext *, const GLubyte *);
  105. struct __gllc_Color3ui_Rec {
  106. GLuint red;
  107. GLuint green;
  108. GLuint blue;
  109. };
  110. struct __gllc_Color3uiv_Rec {
  111. GLuint v[3];
  112. };
  113. extern const GLubyte * FASTCALL __glle_Color3uiv(__GLcontext *, const GLubyte *);
  114. struct __gllc_Color3us_Rec {
  115. GLushort red;
  116. GLushort green;
  117. GLushort blue;
  118. GLushort pad1;
  119. };
  120. struct __gllc_Color3usv_Rec {
  121. GLushort v[3];
  122. GLushort pad1;
  123. };
  124. extern const GLubyte * FASTCALL __glle_Color3usv(__GLcontext *, const GLubyte *);
  125. struct __gllc_Color4b_Rec {
  126. GLbyte red;
  127. GLbyte green;
  128. GLbyte blue;
  129. GLbyte alpha;
  130. };
  131. struct __gllc_Color4bv_Rec {
  132. GLbyte v[4];
  133. };
  134. extern const GLubyte * FASTCALL __glle_Color4bv(__GLcontext *, const GLubyte *);
  135. struct __gllc_Color4d_Rec {
  136. GLdouble red;
  137. GLdouble green;
  138. GLdouble blue;
  139. GLdouble alpha;
  140. };
  141. struct __gllc_Color4dv_Rec {
  142. GLdouble v[4];
  143. };
  144. extern const GLubyte * FASTCALL __glle_Color4dv(__GLcontext *, const GLubyte *);
  145. struct __gllc_Color4f_Rec {
  146. GLfloat red;
  147. GLfloat green;
  148. GLfloat blue;
  149. GLfloat alpha;
  150. };
  151. struct __gllc_Color4fv_Rec {
  152. GLfloat v[4];
  153. };
  154. extern const GLubyte * FASTCALL __glle_Color4fv(__GLcontext *, const GLubyte *);
  155. struct __gllc_Color4i_Rec {
  156. GLint red;
  157. GLint green;
  158. GLint blue;
  159. GLint alpha;
  160. };
  161. struct __gllc_Color4iv_Rec {
  162. GLint v[4];
  163. };
  164. extern const GLubyte * FASTCALL __glle_Color4iv(__GLcontext *, const GLubyte *);
  165. struct __gllc_Color4s_Rec {
  166. GLshort red;
  167. GLshort green;
  168. GLshort blue;
  169. GLshort alpha;
  170. };
  171. struct __gllc_Color4sv_Rec {
  172. GLshort v[4];
  173. };
  174. extern const GLubyte * FASTCALL __glle_Color4sv(__GLcontext *, const GLubyte *);
  175. struct __gllc_Color4ub_Rec {
  176. GLubyte red;
  177. GLubyte green;
  178. GLubyte blue;
  179. GLubyte alpha;
  180. };
  181. struct __gllc_Color4ubv_Rec {
  182. GLubyte v[4];
  183. };
  184. extern const GLubyte * FASTCALL __glle_Color4ubv(__GLcontext *, const GLubyte *);
  185. struct __gllc_Color4ui_Rec {
  186. GLuint red;
  187. GLuint green;
  188. GLuint blue;
  189. GLuint alpha;
  190. };
  191. struct __gllc_Color4uiv_Rec {
  192. GLuint v[4];
  193. };
  194. extern const GLubyte * FASTCALL __glle_Color4uiv(__GLcontext *, const GLubyte *);
  195. struct __gllc_Color4us_Rec {
  196. GLushort red;
  197. GLushort green;
  198. GLushort blue;
  199. GLushort alpha;
  200. };
  201. struct __gllc_Color4usv_Rec {
  202. GLushort v[4];
  203. };
  204. extern const GLubyte * FASTCALL __glle_Color4usv(__GLcontext *, const GLubyte *);
  205. struct __gllc_EdgeFlag_Rec {
  206. GLboolean flag;
  207. GLubyte pad1;
  208. GLubyte pad2;
  209. GLubyte pad3;
  210. };
  211. struct __gllc_EdgeFlagv_Rec {
  212. GLboolean flag[1];
  213. GLubyte pad1;
  214. GLubyte pad2;
  215. GLubyte pad3;
  216. };
  217. extern const GLubyte * FASTCALL __glle_EdgeFlag(__GLcontext *, const GLubyte *);
  218. extern const GLubyte * FASTCALL __glle_End(__GLcontext *, const GLubyte *);
  219. struct __gllc_Indexd_Rec {
  220. GLdouble c;
  221. };
  222. struct __gllc_Indexdv_Rec {
  223. GLdouble c[1];
  224. };
  225. extern const GLubyte * FASTCALL __glle_Indexdv(__GLcontext *, const GLubyte *);
  226. struct __gllc_Indexf_Rec {
  227. GLfloat c;
  228. };
  229. struct __gllc_Indexfv_Rec {
  230. GLfloat c[1];
  231. };
  232. extern const GLubyte * FASTCALL __glle_Indexf(__GLcontext *, const GLubyte *);
  233. struct __gllc_Indexi_Rec {
  234. GLint c;
  235. };
  236. struct __gllc_Indexiv_Rec {
  237. GLint c[1];
  238. };
  239. extern const GLubyte * FASTCALL __glle_Indexiv(__GLcontext *, const GLubyte *);
  240. struct __gllc_Indexs_Rec {
  241. GLshort c;
  242. GLushort pad1;
  243. };
  244. struct __gllc_Indexsv_Rec {
  245. GLshort c[1];
  246. GLushort pad1;
  247. };
  248. extern const GLubyte * FASTCALL __glle_Indexsv(__GLcontext *, const GLubyte *);
  249. struct __gllc_Normal3b_Rec {
  250. GLbyte nx;
  251. GLbyte ny;
  252. GLbyte nz;
  253. GLubyte pad1;
  254. };
  255. struct __gllc_Normal3bv_Rec {
  256. GLbyte v[3];
  257. GLubyte pad1;
  258. };
  259. extern const GLubyte * FASTCALL __glle_Normal3bv(__GLcontext *, const GLubyte *);
  260. struct __gllc_Normal3d_Rec {
  261. GLdouble nx;
  262. GLdouble ny;
  263. GLdouble nz;
  264. };
  265. struct __gllc_Normal3dv_Rec {
  266. GLdouble v[3];
  267. };
  268. extern const GLubyte * FASTCALL __glle_Normal3dv(__GLcontext *, const GLubyte *);
  269. struct __gllc_Normal3f_Rec {
  270. GLfloat nx;
  271. GLfloat ny;
  272. GLfloat nz;
  273. };
  274. struct __gllc_Normal3fv_Rec {
  275. GLfloat v[3];
  276. };
  277. extern const GLubyte * FASTCALL __glle_Normal3fv(__GLcontext *, const GLubyte *);
  278. struct __gllc_Normal3i_Rec {
  279. GLint nx;
  280. GLint ny;
  281. GLint nz;
  282. };
  283. struct __gllc_Normal3iv_Rec {
  284. GLint v[3];
  285. };
  286. extern const GLubyte * FASTCALL __glle_Normal3iv(__GLcontext *, const GLubyte *);
  287. struct __gllc_Normal3s_Rec {
  288. GLshort nx;
  289. GLshort ny;
  290. GLshort nz;
  291. GLushort pad1;
  292. };
  293. struct __gllc_Normal3sv_Rec {
  294. GLshort v[3];
  295. GLushort pad1;
  296. };
  297. extern const GLubyte * FASTCALL __glle_Normal3sv(__GLcontext *, const GLubyte *);
  298. struct __gllc_RasterPos2d_Rec {
  299. GLdouble x;
  300. GLdouble y;
  301. };
  302. struct __gllc_RasterPos2dv_Rec {
  303. GLdouble v[2];
  304. };
  305. extern const GLubyte * FASTCALL __glle_RasterPos2dv(__GLcontext *, const GLubyte *);
  306. struct __gllc_RasterPos2f_Rec {
  307. GLfloat x;
  308. GLfloat y;
  309. };
  310. struct __gllc_RasterPos2fv_Rec {
  311. GLfloat v[2];
  312. };
  313. extern const GLubyte * FASTCALL __glle_RasterPos2f(__GLcontext *, const GLubyte *);
  314. struct __gllc_RasterPos2i_Rec {
  315. GLint x;
  316. GLint y;
  317. };
  318. struct __gllc_RasterPos2iv_Rec {
  319. GLint v[2];
  320. };
  321. extern const GLubyte * FASTCALL __glle_RasterPos2iv(__GLcontext *, const GLubyte *);
  322. struct __gllc_RasterPos2s_Rec {
  323. GLshort x;
  324. GLshort y;
  325. };
  326. struct __gllc_RasterPos2sv_Rec {
  327. GLshort v[2];
  328. };
  329. extern const GLubyte * FASTCALL __glle_RasterPos2sv(__GLcontext *, const GLubyte *);
  330. struct __gllc_RasterPos3d_Rec {
  331. GLdouble x;
  332. GLdouble y;
  333. GLdouble z;
  334. };
  335. struct __gllc_RasterPos3dv_Rec {
  336. GLdouble v[3];
  337. };
  338. extern const GLubyte * FASTCALL __glle_RasterPos3dv(__GLcontext *, const GLubyte *);
  339. struct __gllc_RasterPos3f_Rec {
  340. GLfloat x;
  341. GLfloat y;
  342. GLfloat z;
  343. };
  344. struct __gllc_RasterPos3fv_Rec {
  345. GLfloat v[3];
  346. };
  347. extern const GLubyte * FASTCALL __glle_RasterPos3fv(__GLcontext *, const GLubyte *);
  348. struct __gllc_RasterPos3i_Rec {
  349. GLint x;
  350. GLint y;
  351. GLint z;
  352. };
  353. struct __gllc_RasterPos3iv_Rec {
  354. GLint v[3];
  355. };
  356. extern const GLubyte * FASTCALL __glle_RasterPos3iv(__GLcontext *, const GLubyte *);
  357. struct __gllc_RasterPos3s_Rec {
  358. GLshort x;
  359. GLshort y;
  360. GLshort z;
  361. GLushort pad1;
  362. };
  363. struct __gllc_RasterPos3sv_Rec {
  364. GLshort v[3];
  365. GLushort pad1;
  366. };
  367. extern const GLubyte * FASTCALL __glle_RasterPos3sv(__GLcontext *, const GLubyte *);
  368. struct __gllc_RasterPos4d_Rec {
  369. GLdouble x;
  370. GLdouble y;
  371. GLdouble z;
  372. GLdouble w;
  373. };
  374. struct __gllc_RasterPos4dv_Rec {
  375. GLdouble v[4];
  376. };
  377. extern const GLubyte * FASTCALL __glle_RasterPos4dv(__GLcontext *, const GLubyte *);
  378. struct __gllc_RasterPos4f_Rec {
  379. GLfloat x;
  380. GLfloat y;
  381. GLfloat z;
  382. GLfloat w;
  383. };
  384. struct __gllc_RasterPos4fv_Rec {
  385. GLfloat v[4];
  386. };
  387. extern const GLubyte * FASTCALL __glle_RasterPos4fv(__GLcontext *, const GLubyte *);
  388. struct __gllc_RasterPos4i_Rec {
  389. GLint x;
  390. GLint y;
  391. GLint z;
  392. GLint w;
  393. };
  394. struct __gllc_RasterPos4iv_Rec {
  395. GLint v[4];
  396. };
  397. extern const GLubyte * FASTCALL __glle_RasterPos4iv(__GLcontext *, const GLubyte *);
  398. struct __gllc_RasterPos4s_Rec {
  399. GLshort x;
  400. GLshort y;
  401. GLshort z;
  402. GLshort w;
  403. };
  404. struct __gllc_RasterPos4sv_Rec {
  405. GLshort v[4];
  406. };
  407. extern const GLubyte * FASTCALL __glle_RasterPos4sv(__GLcontext *, const GLubyte *);
  408. struct __gllc_Rectd_Rec {
  409. GLdouble x1;
  410. GLdouble y1;
  411. GLdouble x2;
  412. GLdouble y2;
  413. };
  414. struct __gllc_Rectdv_Rec {
  415. GLdouble v1[2];
  416. GLdouble v2[2];
  417. };
  418. extern const GLubyte * FASTCALL __glle_Rectdv(__GLcontext *, const GLubyte *);
  419. struct __gllc_Rectf_Rec {
  420. GLfloat x1;
  421. GLfloat y1;
  422. GLfloat x2;
  423. GLfloat y2;
  424. };
  425. struct __gllc_Rectfv_Rec {
  426. GLfloat v1[2];
  427. GLfloat v2[2];
  428. };
  429. extern const GLubyte * FASTCALL __glle_Rectf(__GLcontext *, const GLubyte *);
  430. struct __gllc_Recti_Rec {
  431. GLint x1;
  432. GLint y1;
  433. GLint x2;
  434. GLint y2;
  435. };
  436. struct __gllc_Rectiv_Rec {
  437. GLint v1[2];
  438. GLint v2[2];
  439. };
  440. extern const GLubyte * FASTCALL __glle_Rectiv(__GLcontext *, const GLubyte *);
  441. struct __gllc_Rects_Rec {
  442. GLshort x1;
  443. GLshort y1;
  444. GLshort x2;
  445. GLshort y2;
  446. };
  447. struct __gllc_Rectsv_Rec {
  448. GLshort v1[2];
  449. GLshort v2[2];
  450. };
  451. extern const GLubyte * FASTCALL __glle_Rectsv(__GLcontext *, const GLubyte *);
  452. struct __gllc_TexCoord1d_Rec {
  453. GLdouble s;
  454. };
  455. struct __gllc_TexCoord1dv_Rec {
  456. GLdouble v[1];
  457. };
  458. extern const GLubyte * FASTCALL __glle_TexCoord1dv(__GLcontext *, const GLubyte *);
  459. struct __gllc_TexCoord1f_Rec {
  460. GLfloat s;
  461. };
  462. struct __gllc_TexCoord1fv_Rec {
  463. GLfloat v[1];
  464. };
  465. extern const GLubyte * FASTCALL __glle_TexCoord1f(__GLcontext *, const GLubyte *);
  466. struct __gllc_TexCoord1i_Rec {
  467. GLint s;
  468. };
  469. struct __gllc_TexCoord1iv_Rec {
  470. GLint v[1];
  471. };
  472. extern const GLubyte * FASTCALL __glle_TexCoord1iv(__GLcontext *, const GLubyte *);
  473. struct __gllc_TexCoord1s_Rec {
  474. GLshort s;
  475. GLushort pad1;
  476. };
  477. struct __gllc_TexCoord1sv_Rec {
  478. GLshort v[1];
  479. GLushort pad1;
  480. };
  481. extern const GLubyte * FASTCALL __glle_TexCoord1sv(__GLcontext *, const GLubyte *);
  482. struct __gllc_TexCoord2d_Rec {
  483. GLdouble s;
  484. GLdouble t;
  485. };
  486. struct __gllc_TexCoord2dv_Rec {
  487. GLdouble v[2];
  488. };
  489. extern const GLubyte * FASTCALL __glle_TexCoord2dv(__GLcontext *, const GLubyte *);
  490. struct __gllc_TexCoord2f_Rec {
  491. GLfloat s;
  492. GLfloat t;
  493. };
  494. struct __gllc_TexCoord2fv_Rec {
  495. GLfloat v[2];
  496. };
  497. extern const GLubyte * FASTCALL __glle_TexCoord2f(__GLcontext *, const GLubyte *);
  498. struct __gllc_TexCoord2i_Rec {
  499. GLint s;
  500. GLint t;
  501. };
  502. struct __gllc_TexCoord2iv_Rec {
  503. GLint v[2];
  504. };
  505. extern const GLubyte * FASTCALL __glle_TexCoord2iv(__GLcontext *, const GLubyte *);
  506. struct __gllc_TexCoord2s_Rec {
  507. GLshort s;
  508. GLshort t;
  509. };
  510. struct __gllc_TexCoord2sv_Rec {
  511. GLshort v[2];
  512. };
  513. extern const GLubyte * FASTCALL __glle_TexCoord2sv(__GLcontext *, const GLubyte *);
  514. struct __gllc_TexCoord3d_Rec {
  515. GLdouble s;
  516. GLdouble t;
  517. GLdouble r;
  518. };
  519. struct __gllc_TexCoord3dv_Rec {
  520. GLdouble v[3];
  521. };
  522. extern const GLubyte * FASTCALL __glle_TexCoord3dv(__GLcontext *, const GLubyte *);
  523. struct __gllc_TexCoord3f_Rec {
  524. GLfloat s;
  525. GLfloat t;
  526. GLfloat r;
  527. };
  528. struct __gllc_TexCoord3fv_Rec {
  529. GLfloat v[3];
  530. };
  531. extern const GLubyte * FASTCALL __glle_TexCoord3fv(__GLcontext *, const GLubyte *);
  532. struct __gllc_TexCoord3i_Rec {
  533. GLint s;
  534. GLint t;
  535. GLint r;
  536. };
  537. struct __gllc_TexCoord3iv_Rec {
  538. GLint v[3];
  539. };
  540. extern const GLubyte * FASTCALL __glle_TexCoord3iv(__GLcontext *, const GLubyte *);
  541. struct __gllc_TexCoord3s_Rec {
  542. GLshort s;
  543. GLshort t;
  544. GLshort r;
  545. GLushort pad1;
  546. };
  547. struct __gllc_TexCoord3sv_Rec {
  548. GLshort v[3];
  549. GLushort pad1;
  550. };
  551. extern const GLubyte * FASTCALL __glle_TexCoord3sv(__GLcontext *, const GLubyte *);
  552. struct __gllc_TexCoord4d_Rec {
  553. GLdouble s;
  554. GLdouble t;
  555. GLdouble r;
  556. GLdouble q;
  557. };
  558. struct __gllc_TexCoord4dv_Rec {
  559. GLdouble v[4];
  560. };
  561. extern const GLubyte * FASTCALL __glle_TexCoord4dv(__GLcontext *, const GLubyte *);
  562. struct __gllc_TexCoord4f_Rec {
  563. GLfloat s;
  564. GLfloat t;
  565. GLfloat r;
  566. GLfloat q;
  567. };
  568. struct __gllc_TexCoord4fv_Rec {
  569. GLfloat v[4];
  570. };
  571. extern const GLubyte * FASTCALL __glle_TexCoord4fv(__GLcontext *, const GLubyte *);
  572. struct __gllc_TexCoord4i_Rec {
  573. GLint s;
  574. GLint t;
  575. GLint r;
  576. GLint q;
  577. };
  578. struct __gllc_TexCoord4iv_Rec {
  579. GLint v[4];
  580. };
  581. extern const GLubyte * FASTCALL __glle_TexCoord4iv(__GLcontext *, const GLubyte *);
  582. struct __gllc_TexCoord4s_Rec {
  583. GLshort s;
  584. GLshort t;
  585. GLshort r;
  586. GLshort q;
  587. };
  588. struct __gllc_TexCoord4sv_Rec {
  589. GLshort v[4];
  590. };
  591. extern const GLubyte * FASTCALL __glle_TexCoord4sv(__GLcontext *, const GLubyte *);
  592. struct __gllc_Vertex2d_Rec {
  593. GLdouble x;
  594. GLdouble y;
  595. };
  596. struct __gllc_Vertex2dv_Rec {
  597. GLdouble v[2];
  598. };
  599. extern const GLubyte * FASTCALL __glle_Vertex2dv(__GLcontext *, const GLubyte *);
  600. struct __gllc_Vertex2f_Rec {
  601. GLfloat x;
  602. GLfloat y;
  603. };
  604. struct __gllc_Vertex2fv_Rec {
  605. GLfloat v[2];
  606. };
  607. extern const GLubyte * FASTCALL __glle_Vertex2f(__GLcontext *, const GLubyte *);
  608. struct __gllc_Vertex2i_Rec {
  609. GLint x;
  610. GLint y;
  611. };
  612. struct __gllc_Vertex2iv_Rec {
  613. GLint v[2];
  614. };
  615. extern const GLubyte * FASTCALL __glle_Vertex2iv(__GLcontext *, const GLubyte *);
  616. struct __gllc_Vertex2s_Rec {
  617. GLshort x;
  618. GLshort y;
  619. };
  620. struct __gllc_Vertex2sv_Rec {
  621. GLshort v[2];
  622. };
  623. extern const GLubyte * FASTCALL __glle_Vertex2sv(__GLcontext *, const GLubyte *);
  624. struct __gllc_Vertex3d_Rec {
  625. GLdouble x;
  626. GLdouble y;
  627. GLdouble z;
  628. };
  629. struct __gllc_Vertex3dv_Rec {
  630. GLdouble v[3];
  631. };
  632. extern const GLubyte * FASTCALL __glle_Vertex3dv(__GLcontext *, const GLubyte *);
  633. struct __gllc_Vertex3f_Rec {
  634. GLfloat x;
  635. GLfloat y;
  636. GLfloat z;
  637. };
  638. struct __gllc_Vertex3fv_Rec {
  639. GLfloat v[3];
  640. };
  641. extern const GLubyte * FASTCALL __glle_Vertex3fv(__GLcontext *, const GLubyte *);
  642. struct __gllc_Vertex3i_Rec {
  643. GLint x;
  644. GLint y;
  645. GLint z;
  646. };
  647. struct __gllc_Vertex3iv_Rec {
  648. GLint v[3];
  649. };
  650. extern const GLubyte * FASTCALL __glle_Vertex3iv(__GLcontext *, const GLubyte *);
  651. struct __gllc_Vertex3s_Rec {
  652. GLshort x;
  653. GLshort y;
  654. GLshort z;
  655. GLushort pad1;
  656. };
  657. struct __gllc_Vertex3sv_Rec {
  658. GLshort v[3];
  659. GLushort pad1;
  660. };
  661. extern const GLubyte * FASTCALL __glle_Vertex3sv(__GLcontext *, const GLubyte *);
  662. struct __gllc_Vertex4d_Rec {
  663. GLdouble x;
  664. GLdouble y;
  665. GLdouble z;
  666. GLdouble w;
  667. };
  668. struct __gllc_Vertex4dv_Rec {
  669. GLdouble v[4];
  670. };
  671. extern const GLubyte * FASTCALL __glle_Vertex4dv(__GLcontext *, const GLubyte *);
  672. struct __gllc_Vertex4f_Rec {
  673. GLfloat x;
  674. GLfloat y;
  675. GLfloat z;
  676. GLfloat w;
  677. };
  678. struct __gllc_Vertex4fv_Rec {
  679. GLfloat v[4];
  680. };
  681. extern const GLubyte * FASTCALL __glle_Vertex4fv(__GLcontext *, const GLubyte *);
  682. struct __gllc_Vertex4i_Rec {
  683. GLint x;
  684. GLint y;
  685. GLint z;
  686. GLint w;
  687. };
  688. struct __gllc_Vertex4iv_Rec {
  689. GLint v[4];
  690. };
  691. extern const GLubyte * FASTCALL __glle_Vertex4iv(__GLcontext *, const GLubyte *);
  692. struct __gllc_Vertex4s_Rec {
  693. GLshort x;
  694. GLshort y;
  695. GLshort z;
  696. GLshort w;
  697. };
  698. struct __gllc_Vertex4sv_Rec {
  699. GLshort v[4];
  700. };
  701. extern const GLubyte * FASTCALL __glle_Vertex4sv(__GLcontext *, const GLubyte *);
  702. struct __gllc_ClipPlane_Rec {
  703. GLdouble equation[4];
  704. GLenum plane;
  705. };
  706. extern const GLubyte * FASTCALL __glle_ClipPlane(__GLcontext *, const GLubyte *);
  707. struct __gllc_ColorMaterial_Rec {
  708. GLenum face;
  709. GLenum mode;
  710. };
  711. extern const GLubyte * FASTCALL __glle_ColorMaterial(__GLcontext *, const GLubyte *);
  712. struct __gllc_CullFace_Rec {
  713. GLenum mode;
  714. };
  715. extern const GLubyte * FASTCALL __glle_CullFace(__GLcontext *, const GLubyte *);
  716. struct __gllc_Fogf_Rec {
  717. GLenum pname;
  718. GLfloat param;
  719. };
  720. extern const GLubyte * FASTCALL __glle_Fogf(__GLcontext *, const GLubyte *);
  721. struct __gllc_Fogfv_Rec {
  722. GLenum pname;
  723. /* params */
  724. };
  725. extern const GLubyte * FASTCALL __glle_Fogfv(__GLcontext *, const GLubyte *);
  726. #ifdef NT
  727. // FOG_ASSERT
  728. #define __glFogfv_size(pname) \
  729. ((pname) == GL_FOG_COLOR \
  730. ? 4 \
  731. : (RANGE((pname),GL_FOG_INDEX,GL_FOG_MODE) \
  732. ? 1 \
  733. : -1))
  734. #else
  735. extern GLint FASTCALL __glFogfv_size(GLenum pname);
  736. #endif
  737. struct __gllc_Fogi_Rec {
  738. GLenum pname;
  739. GLint param;
  740. };
  741. extern const GLubyte * FASTCALL __glle_Fogi(__GLcontext *, const GLubyte *);
  742. struct __gllc_Fogiv_Rec {
  743. GLenum pname;
  744. /* params */
  745. };
  746. extern const GLubyte * FASTCALL __glle_Fogiv(__GLcontext *, const GLubyte *);
  747. extern GLint FASTCALL __glFogiv_size(GLenum pname);
  748. struct __gllc_FrontFace_Rec {
  749. GLenum mode;
  750. };
  751. extern const GLubyte * FASTCALL __glle_FrontFace(__GLcontext *, const GLubyte *);
  752. struct __gllc_Hint_Rec {
  753. GLenum target;
  754. GLenum mode;
  755. };
  756. extern const GLubyte * FASTCALL __glle_Hint(__GLcontext *, const GLubyte *);
  757. struct __gllc_Lightfv_Rec {
  758. GLenum light;
  759. GLenum pname;
  760. /* params */
  761. };
  762. extern const GLubyte * FASTCALL __glle_Lightfv(__GLcontext *, const GLubyte *);
  763. #ifdef NT
  764. // LIGHT_SOURCE_ASSERT
  765. #define __glLightfv_size(pname) \
  766. ((pname) == GL_SPOT_DIRECTION \
  767. ? 3 \
  768. : (RANGE((pname),GL_AMBIENT,GL_POSITION) \
  769. ? 4 \
  770. : (RANGE((pname),GL_SPOT_EXPONENT,GL_QUADRATIC_ATTENUATION) \
  771. ? 1 \
  772. : -1)))
  773. #else
  774. extern GLint FASTCALL __glLightfv_size(GLenum pname);
  775. #endif
  776. struct __gllc_Lightiv_Rec {
  777. GLenum light;
  778. GLenum pname;
  779. /* params */
  780. };
  781. extern const GLubyte * FASTCALL __glle_Lightiv(__GLcontext *, const GLubyte *);
  782. extern GLint FASTCALL __glLightiv_size(GLenum pname);
  783. struct __gllc_LightModelfv_Rec {
  784. GLenum pname;
  785. /* params */
  786. };
  787. extern const GLubyte * FASTCALL __glle_LightModelfv(__GLcontext *, const GLubyte *);
  788. #ifdef NT
  789. #define __glLightModelfv_size(pname) \
  790. (((pname) == GL_LIGHT_MODEL_LOCAL_VIEWER || \
  791. (pname) == GL_LIGHT_MODEL_TWO_SIDE) \
  792. ? 1 \
  793. : ((pname) == GL_LIGHT_MODEL_AMBIENT \
  794. ? 4 \
  795. : -1))
  796. #else
  797. extern GLint FASTCALL __glLightModelfv_size(GLenum pname);
  798. #endif
  799. struct __gllc_LightModeliv_Rec {
  800. GLenum pname;
  801. /* params */
  802. };
  803. extern const GLubyte * FASTCALL __glle_LightModeliv(__GLcontext *, const GLubyte *);
  804. extern GLint FASTCALL __glLightModeliv_size(GLenum pname);
  805. struct __gllc_LineStipple_Rec {
  806. GLint factor;
  807. GLushort pattern;
  808. GLushort pad1;
  809. };
  810. extern const GLubyte * FASTCALL __glle_LineStipple(__GLcontext *, const GLubyte *);
  811. struct __gllc_LineWidth_Rec {
  812. GLfloat width;
  813. };
  814. extern const GLubyte * FASTCALL __glle_LineWidth(__GLcontext *, const GLubyte *);
  815. struct __gllc_Materialfv_Rec {
  816. GLenum face;
  817. GLenum pname;
  818. /* params */
  819. };
  820. extern const GLubyte * FASTCALL __glle_Materialfv(__GLcontext *, const GLubyte *);
  821. #ifdef NT
  822. #define __glMaterialfv_size(pname) \
  823. ((pname) == GL_SHININESS \
  824. ? 1 \
  825. : ((pname) == GL_COLOR_INDEXES \
  826. ? 3 \
  827. : (((pname) == GL_AMBIENT || \
  828. (pname) == GL_DIFFUSE || \
  829. (pname) == GL_SPECULAR || \
  830. (pname) == GL_EMISSION || \
  831. (pname) == GL_AMBIENT_AND_DIFFUSE) \
  832. ? 4 \
  833. : -1)))
  834. #else
  835. extern GLint FASTCALL __glMaterialfv_size(GLenum pname);
  836. #endif
  837. struct __gllc_Materialiv_Rec {
  838. GLenum face;
  839. GLenum pname;
  840. /* params */
  841. };
  842. extern const GLubyte * FASTCALL __glle_Materialiv(__GLcontext *, const GLubyte *);
  843. extern GLint FASTCALL __glMaterialiv_size(GLenum pname);
  844. struct __gllc_PointSize_Rec {
  845. GLfloat size;
  846. };
  847. extern const GLubyte * FASTCALL __glle_PointSize(__GLcontext *, const GLubyte *);
  848. struct __gllc_PolygonMode_Rec {
  849. GLenum face;
  850. GLenum mode;
  851. };
  852. extern const GLubyte * FASTCALL __glle_PolygonMode(__GLcontext *, const GLubyte *);
  853. struct __gllc_PolygonStipple_Rec {
  854. GLubyte mask[128];
  855. };
  856. extern const GLubyte * FASTCALL __glle_PolygonStipple(__GLcontext *, const GLubyte *);
  857. struct __gllc_Scissor_Rec {
  858. GLint x;
  859. GLint y;
  860. GLsizei width;
  861. GLsizei height;
  862. };
  863. extern const GLubyte * FASTCALL __glle_Scissor(__GLcontext *, const GLubyte *);
  864. struct __gllc_ShadeModel_Rec {
  865. GLenum mode;
  866. };
  867. extern const GLubyte * FASTCALL __glle_ShadeModel(__GLcontext *, const GLubyte *);
  868. struct __gllc_TexParameterfv_Rec {
  869. GLenum target;
  870. GLenum pname;
  871. /* params */
  872. };
  873. extern const GLubyte * FASTCALL __glle_TexParameterfv(__GLcontext *, const GLubyte *);
  874. #ifdef NT
  875. // TEX_PARAMETER_ASSERT
  876. #define __glTexParameterfv_size(pname) \
  877. ((RANGE((pname),GL_TEXTURE_MAG_FILTER,GL_TEXTURE_WRAP_T) || \
  878. (pname) == GL_TEXTURE_PRIORITY) \
  879. ? 1 \
  880. : ((pname) == GL_TEXTURE_BORDER_COLOR \
  881. ? 4 \
  882. : -1))
  883. #else
  884. extern GLint FASTCALL __glTexParameterfv_size(GLenum pname);
  885. #endif
  886. struct __gllc_TexParameteriv_Rec {
  887. GLenum target;
  888. GLenum pname;
  889. /* params */
  890. };
  891. extern const GLubyte * FASTCALL __glle_TexParameteriv(__GLcontext *, const GLubyte *);
  892. #ifdef NT
  893. #define __glTexParameteriv_size(pname) __glTexParameterfv_size(pname)
  894. #else
  895. extern GLint FASTCALL __glTexParameteriv_size(GLenum pname);
  896. #endif
  897. typedef struct __GLtexImage1D_Rec {
  898. GLenum target;
  899. GLint level;
  900. GLint components;
  901. GLsizei width;
  902. GLint border;
  903. GLenum format;
  904. GLenum type;
  905. GLint imageSize;
  906. /* pixels */
  907. } __GLtexImage1D;
  908. extern const GLubyte * FASTCALL __glle_TexImage1D(__GLcontext *, const GLubyte *);
  909. typedef struct __GLtexImage2D_Rec {
  910. GLenum target;
  911. GLint level;
  912. GLint components;
  913. GLsizei width;
  914. GLsizei height;
  915. GLint border;
  916. GLenum format;
  917. GLenum type;
  918. GLint imageSize;
  919. /* pixels */
  920. } __GLtexImage2D;
  921. extern const GLubyte * FASTCALL __glle_TexImage2D(__GLcontext *, const GLubyte *);
  922. struct __gllc_TexEnvfv_Rec {
  923. GLenum target;
  924. GLenum pname;
  925. /* params */
  926. };
  927. extern const GLubyte * FASTCALL __glle_TexEnvfv(__GLcontext *, const GLubyte *);
  928. #ifdef NT
  929. #define __glTexEnvfv_size(pname) \
  930. ((pname) == GL_TEXTURE_ENV_MODE \
  931. ? 1 \
  932. : ((pname) == GL_TEXTURE_ENV_COLOR \
  933. ? 4 \
  934. : -1))
  935. #else
  936. extern GLint FASTCALL __glTexEnvfv_size(GLenum pname);
  937. #endif
  938. struct __gllc_TexEnviv_Rec {
  939. GLenum target;
  940. GLenum pname;
  941. /* params */
  942. };
  943. extern const GLubyte * FASTCALL __glle_TexEnviv(__GLcontext *, const GLubyte *);
  944. #ifdef NT
  945. #define __glTexEnviv_size(pname) __glTexEnvfv_size(pname)
  946. #else
  947. extern GLint FASTCALL __glTexEnviv_size(GLenum pname);
  948. #endif
  949. struct __gllc_TexGendv_Rec {
  950. GLenum coord;
  951. GLenum pname;
  952. /* params */
  953. };
  954. extern const GLubyte * FASTCALL __glle_TexGendv(__GLcontext *, const GLubyte *);
  955. #ifdef NT
  956. #define __glTexGendv_size(pname) \
  957. (((pname) == GL_OBJECT_PLANE || (pname) == GL_EYE_PLANE) \
  958. ? 4 \
  959. : ((pname) == GL_TEXTURE_GEN_MODE \
  960. ? 1 \
  961. : -1))
  962. #else
  963. extern GLint FASTCALL __glTexGendv_size(GLenum pname);
  964. #endif
  965. struct __gllc_TexGenfv_Rec {
  966. GLenum coord;
  967. GLenum pname;
  968. /* params */
  969. };
  970. extern const GLubyte * FASTCALL __glle_TexGenfv(__GLcontext *, const GLubyte *);
  971. #ifdef NT
  972. #define __glTexGenfv_size(pname) __glTexGendv_size(pname)
  973. #else
  974. extern GLint FASTCALL __glTexGenfv_size(GLenum pname);
  975. #endif
  976. struct __gllc_TexGeniv_Rec {
  977. GLenum coord;
  978. GLenum pname;
  979. /* params */
  980. };
  981. extern const GLubyte * FASTCALL __glle_TexGeniv(__GLcontext *, const GLubyte *);
  982. #ifdef NT
  983. #define __glTexGeniv_size(pname) __glTexGendv_size(pname)
  984. #else
  985. extern GLint FASTCALL __glTexGeniv_size(GLenum pname);
  986. #endif
  987. extern const GLubyte * FASTCALL __glle_InitNames(__GLcontext *, const GLubyte *);
  988. struct __gllc_LoadName_Rec {
  989. GLuint name;
  990. };
  991. extern const GLubyte * FASTCALL __glle_LoadName(__GLcontext *, const GLubyte *);
  992. struct __gllc_PassThrough_Rec {
  993. GLfloat token;
  994. };
  995. extern const GLubyte * FASTCALL __glle_PassThrough(__GLcontext *, const GLubyte *);
  996. extern const GLubyte * FASTCALL __glle_PopName(__GLcontext *, const GLubyte *);
  997. struct __gllc_PushName_Rec {
  998. GLuint name;
  999. };
  1000. extern const GLubyte * FASTCALL __glle_PushName(__GLcontext *, const GLubyte *);
  1001. struct __gllc_DrawBuffer_Rec {
  1002. GLenum mode;
  1003. };
  1004. extern const GLubyte * FASTCALL __glle_DrawBuffer(__GLcontext *, const GLubyte *);
  1005. struct __gllc_Clear_Rec {
  1006. GLbitfield mask;
  1007. };
  1008. extern const GLubyte * FASTCALL __glle_Clear(__GLcontext *, const GLubyte *);
  1009. struct __gllc_ClearAccum_Rec {
  1010. GLfloat red;
  1011. GLfloat green;
  1012. GLfloat blue;
  1013. GLfloat alpha;
  1014. };
  1015. extern const GLubyte * FASTCALL __glle_ClearAccum(__GLcontext *, const GLubyte *);
  1016. struct __gllc_ClearIndex_Rec {
  1017. GLfloat c;
  1018. };
  1019. extern const GLubyte * FASTCALL __glle_ClearIndex(__GLcontext *, const GLubyte *);
  1020. struct __gllc_ClearColor_Rec {
  1021. GLclampf red;
  1022. GLclampf green;
  1023. GLclampf blue;
  1024. GLclampf alpha;
  1025. };
  1026. extern const GLubyte * FASTCALL __glle_ClearColor(__GLcontext *, const GLubyte *);
  1027. struct __gllc_ClearStencil_Rec {
  1028. GLint s;
  1029. };
  1030. extern const GLubyte * FASTCALL __glle_ClearStencil(__GLcontext *, const GLubyte *);
  1031. struct __gllc_ClearDepth_Rec {
  1032. GLclampd depth;
  1033. };
  1034. extern const GLubyte * FASTCALL __glle_ClearDepth(__GLcontext *, const GLubyte *);
  1035. struct __gllc_StencilMask_Rec {
  1036. GLuint mask;
  1037. };
  1038. extern const GLubyte * FASTCALL __glle_StencilMask(__GLcontext *, const GLubyte *);
  1039. struct __gllc_ColorMask_Rec {
  1040. GLboolean red;
  1041. GLboolean green;
  1042. GLboolean blue;
  1043. GLboolean alpha;
  1044. };
  1045. extern const GLubyte * FASTCALL __glle_ColorMask(__GLcontext *, const GLubyte *);
  1046. struct __gllc_DepthMask_Rec {
  1047. GLboolean flag;
  1048. GLubyte pad1;
  1049. GLubyte pad2;
  1050. GLubyte pad3;
  1051. };
  1052. extern const GLubyte * FASTCALL __glle_DepthMask(__GLcontext *, const GLubyte *);
  1053. struct __gllc_IndexMask_Rec {
  1054. GLuint mask;
  1055. };
  1056. extern const GLubyte * FASTCALL __glle_IndexMask(__GLcontext *, const GLubyte *);
  1057. struct __gllc_Accum_Rec {
  1058. GLenum op;
  1059. GLfloat value;
  1060. };
  1061. extern const GLubyte * FASTCALL __glle_Accum(__GLcontext *, const GLubyte *);
  1062. struct __gllc_Disable_Rec {
  1063. GLenum cap;
  1064. };
  1065. extern const GLubyte * FASTCALL __glle_Disable(__GLcontext *, const GLubyte *);
  1066. struct __gllc_Enable_Rec {
  1067. GLenum cap;
  1068. };
  1069. extern const GLubyte * FASTCALL __glle_Enable(__GLcontext *, const GLubyte *);
  1070. extern const GLubyte * FASTCALL __glle_PopAttrib(__GLcontext *, const GLubyte *);
  1071. struct __gllc_PushAttrib_Rec {
  1072. GLbitfield mask;
  1073. };
  1074. extern const GLubyte * FASTCALL __glle_PushAttrib(__GLcontext *, const GLubyte *);
  1075. typedef struct __GLmap1_Rec {
  1076. GLenum target;
  1077. __GLfloat u1;
  1078. __GLfloat u2;
  1079. GLint order;
  1080. /* points */
  1081. } __GLmap1;
  1082. extern const GLubyte * FASTCALL __glle_Map1(__GLcontext *, const GLubyte *);
  1083. typedef struct __GLmap2_Rec {
  1084. GLenum target;
  1085. __GLfloat u1;
  1086. __GLfloat u2;
  1087. GLint uorder;
  1088. __GLfloat v1;
  1089. __GLfloat v2;
  1090. GLint vorder;
  1091. /* points */
  1092. } __GLmap2;
  1093. extern const GLubyte * FASTCALL __glle_Map2(__GLcontext *, const GLubyte *);
  1094. struct __gllc_MapGrid1d_Rec {
  1095. GLdouble u1;
  1096. GLdouble u2;
  1097. GLint un;
  1098. };
  1099. extern const GLubyte * FASTCALL __glle_MapGrid1d(__GLcontext *, const GLubyte *);
  1100. struct __gllc_MapGrid1f_Rec {
  1101. GLint un;
  1102. GLfloat u1;
  1103. GLfloat u2;
  1104. };
  1105. extern const GLubyte * FASTCALL __glle_MapGrid1f(__GLcontext *, const GLubyte *);
  1106. struct __gllc_MapGrid2d_Rec {
  1107. GLdouble u1;
  1108. GLdouble u2;
  1109. GLdouble v1;
  1110. GLdouble v2;
  1111. GLint un;
  1112. GLint vn;
  1113. };
  1114. extern const GLubyte * FASTCALL __glle_MapGrid2d(__GLcontext *, const GLubyte *);
  1115. struct __gllc_MapGrid2f_Rec {
  1116. GLint un;
  1117. GLfloat u1;
  1118. GLfloat u2;
  1119. GLint vn;
  1120. GLfloat v1;
  1121. GLfloat v2;
  1122. };
  1123. extern const GLubyte * FASTCALL __glle_MapGrid2f(__GLcontext *, const GLubyte *);
  1124. struct __gllc_EvalCoord1d_Rec {
  1125. GLdouble u;
  1126. };
  1127. struct __gllc_EvalCoord1dv_Rec {
  1128. GLdouble u[1];
  1129. };
  1130. extern const GLubyte * FASTCALL __glle_EvalCoord1dv(__GLcontext *, const GLubyte *);
  1131. struct __gllc_EvalCoord1f_Rec {
  1132. GLfloat u;
  1133. };
  1134. struct __gllc_EvalCoord1fv_Rec {
  1135. GLfloat u[1];
  1136. };
  1137. extern const GLubyte * FASTCALL __glle_EvalCoord1f(__GLcontext *, const GLubyte *);
  1138. struct __gllc_EvalCoord2d_Rec {
  1139. GLdouble u;
  1140. GLdouble v;
  1141. };
  1142. struct __gllc_EvalCoord2dv_Rec {
  1143. GLdouble u[2];
  1144. };
  1145. extern const GLubyte * FASTCALL __glle_EvalCoord2dv(__GLcontext *, const GLubyte *);
  1146. struct __gllc_EvalCoord2f_Rec {
  1147. GLfloat u;
  1148. GLfloat v;
  1149. };
  1150. struct __gllc_EvalCoord2fv_Rec {
  1151. GLfloat u[2];
  1152. };
  1153. extern const GLubyte * FASTCALL __glle_EvalCoord2f(__GLcontext *, const GLubyte *);
  1154. struct __gllc_EvalMesh1_Rec {
  1155. GLenum mode;
  1156. GLint i1;
  1157. GLint i2;
  1158. };
  1159. extern const GLubyte * FASTCALL __glle_EvalMesh1(__GLcontext *, const GLubyte *);
  1160. struct __gllc_EvalPoint1_Rec {
  1161. GLint i;
  1162. };
  1163. extern const GLubyte * FASTCALL __glle_EvalPoint1(__GLcontext *, const GLubyte *);
  1164. struct __gllc_EvalMesh2_Rec {
  1165. GLenum mode;
  1166. GLint i1;
  1167. GLint i2;
  1168. GLint j1;
  1169. GLint j2;
  1170. };
  1171. extern const GLubyte * FASTCALL __glle_EvalMesh2(__GLcontext *, const GLubyte *);
  1172. struct __gllc_EvalPoint2_Rec {
  1173. GLint i;
  1174. GLint j;
  1175. };
  1176. extern const GLubyte * FASTCALL __glle_EvalPoint2(__GLcontext *, const GLubyte *);
  1177. struct __gllc_AlphaFunc_Rec {
  1178. GLenum func;
  1179. GLclampf ref;
  1180. };
  1181. extern const GLubyte * FASTCALL __glle_AlphaFunc(__GLcontext *, const GLubyte *);
  1182. struct __gllc_BlendFunc_Rec {
  1183. GLenum sfactor;
  1184. GLenum dfactor;
  1185. };
  1186. extern const GLubyte * FASTCALL __glle_BlendFunc(__GLcontext *, const GLubyte *);
  1187. struct __gllc_LogicOp_Rec {
  1188. GLenum opcode;
  1189. };
  1190. extern const GLubyte * FASTCALL __glle_LogicOp(__GLcontext *, const GLubyte *);
  1191. struct __gllc_StencilFunc_Rec {
  1192. GLenum func;
  1193. GLint ref;
  1194. GLuint mask;
  1195. };
  1196. extern const GLubyte * FASTCALL __glle_StencilFunc(__GLcontext *, const GLubyte *);
  1197. struct __gllc_StencilOp_Rec {
  1198. GLenum fail;
  1199. GLenum zfail;
  1200. GLenum zpass;
  1201. };
  1202. extern const GLubyte * FASTCALL __glle_StencilOp(__GLcontext *, const GLubyte *);
  1203. struct __gllc_DepthFunc_Rec {
  1204. GLenum func;
  1205. };
  1206. extern const GLubyte * FASTCALL __glle_DepthFunc(__GLcontext *, const GLubyte *);
  1207. struct __gllc_PixelZoom_Rec {
  1208. GLfloat xfactor;
  1209. GLfloat yfactor;
  1210. };
  1211. extern const GLubyte * FASTCALL __glle_PixelZoom(__GLcontext *, const GLubyte *);
  1212. struct __gllc_PixelTransferf_Rec {
  1213. GLenum pname;
  1214. GLfloat param;
  1215. };
  1216. extern const GLubyte * FASTCALL __glle_PixelTransferf(__GLcontext *, const GLubyte *);
  1217. struct __gllc_PixelTransferi_Rec {
  1218. GLenum pname;
  1219. GLint param;
  1220. };
  1221. extern const GLubyte * FASTCALL __glle_PixelTransferi(__GLcontext *, const GLubyte *);
  1222. struct __gllc_PixelMapfv_Rec {
  1223. GLenum map;
  1224. GLint mapsize;
  1225. /* values */
  1226. };
  1227. extern const GLubyte * FASTCALL __glle_PixelMapfv(__GLcontext *, const GLubyte *);
  1228. struct __gllc_PixelMapuiv_Rec {
  1229. GLenum map;
  1230. GLint mapsize;
  1231. /* values */
  1232. };
  1233. extern const GLubyte * FASTCALL __glle_PixelMapuiv(__GLcontext *, const GLubyte *);
  1234. struct __gllc_PixelMapusv_Rec {
  1235. GLenum map;
  1236. GLint mapsize;
  1237. /* values */
  1238. };
  1239. extern const GLubyte * FASTCALL __glle_PixelMapusv(__GLcontext *, const GLubyte *);
  1240. struct __gllc_ReadBuffer_Rec {
  1241. GLenum mode;
  1242. };
  1243. extern const GLubyte * FASTCALL __glle_ReadBuffer(__GLcontext *, const GLubyte *);
  1244. struct __gllc_CopyPixels_Rec {
  1245. GLint x;
  1246. GLint y;
  1247. GLsizei width;
  1248. GLsizei height;
  1249. GLenum type;
  1250. };
  1251. extern const GLubyte * FASTCALL __glle_CopyPixels(__GLcontext *, const GLubyte *);
  1252. typedef struct __GLdrawPixels_Rec {
  1253. GLsizei width;
  1254. GLsizei height;
  1255. GLenum format;
  1256. GLenum type;
  1257. /* pixels */
  1258. } __GLdrawPixels;
  1259. extern const GLubyte * FASTCALL __glle_DrawPixels(__GLcontext *, const GLubyte *);
  1260. struct __gllc_DepthRange_Rec {
  1261. GLclampd zNear;
  1262. GLclampd zFar;
  1263. };
  1264. extern const GLubyte * FASTCALL __glle_DepthRange(__GLcontext *, const GLubyte *);
  1265. struct __gllc_Frustum_Rec {
  1266. GLdouble left;
  1267. GLdouble right;
  1268. GLdouble bottom;
  1269. GLdouble top;
  1270. GLdouble zNear;
  1271. GLdouble zFar;
  1272. };
  1273. extern const GLubyte * FASTCALL __glle_Frustum(__GLcontext *, const GLubyte *);
  1274. extern const GLubyte * FASTCALL __glle_LoadIdentity(__GLcontext *, const GLubyte *);
  1275. struct __gllc_LoadMatrixf_Rec {
  1276. GLfloat m[16];
  1277. };
  1278. extern const GLubyte * FASTCALL __glle_LoadMatrixf(__GLcontext *, const GLubyte *);
  1279. struct __gllc_LoadMatrixd_Rec {
  1280. GLdouble m[16];
  1281. };
  1282. extern const GLubyte * FASTCALL __glle_LoadMatrixd(__GLcontext *, const GLubyte *);
  1283. struct __gllc_MatrixMode_Rec {
  1284. GLenum mode;
  1285. };
  1286. extern const GLubyte * FASTCALL __glle_MatrixMode(__GLcontext *, const GLubyte *);
  1287. struct __gllc_MultMatrixf_Rec {
  1288. GLfloat m[16];
  1289. };
  1290. extern const GLubyte * FASTCALL __glle_MultMatrixf(__GLcontext *, const GLubyte *);
  1291. struct __gllc_MultMatrixd_Rec {
  1292. GLdouble m[16];
  1293. };
  1294. extern const GLubyte * FASTCALL __glle_MultMatrixd(__GLcontext *, const GLubyte *);
  1295. struct __gllc_Ortho_Rec {
  1296. GLdouble left;
  1297. GLdouble right;
  1298. GLdouble bottom;
  1299. GLdouble top;
  1300. GLdouble zNear;
  1301. GLdouble zFar;
  1302. };
  1303. extern const GLubyte * FASTCALL __glle_Ortho(__GLcontext *, const GLubyte *);
  1304. extern const GLubyte * FASTCALL __glle_PopMatrix(__GLcontext *, const GLubyte *);
  1305. extern const GLubyte * FASTCALL __glle_PushMatrix(__GLcontext *, const GLubyte *);
  1306. struct __gllc_Rotated_Rec {
  1307. GLdouble angle;
  1308. GLdouble x;
  1309. GLdouble y;
  1310. GLdouble z;
  1311. };
  1312. extern const GLubyte * FASTCALL __glle_Rotated(__GLcontext *, const GLubyte *);
  1313. struct __gllc_Rotatef_Rec {
  1314. GLfloat angle;
  1315. GLfloat x;
  1316. GLfloat y;
  1317. GLfloat z;
  1318. };
  1319. extern const GLubyte * FASTCALL __glle_Rotatef(__GLcontext *, const GLubyte *);
  1320. struct __gllc_Scaled_Rec {
  1321. GLdouble x;
  1322. GLdouble y;
  1323. GLdouble z;
  1324. };
  1325. extern const GLubyte * FASTCALL __glle_Scaled(__GLcontext *, const GLubyte *);
  1326. struct __gllc_Scalef_Rec {
  1327. GLfloat x;
  1328. GLfloat y;
  1329. GLfloat z;
  1330. };
  1331. extern const GLubyte * FASTCALL __glle_Scalef(__GLcontext *, const GLubyte *);
  1332. struct __gllc_Translated_Rec {
  1333. GLdouble x;
  1334. GLdouble y;
  1335. GLdouble z;
  1336. };
  1337. extern const GLubyte * FASTCALL __glle_Translated(__GLcontext *, const GLubyte *);
  1338. struct __gllc_Translatef_Rec {
  1339. GLfloat x;
  1340. GLfloat y;
  1341. GLfloat z;
  1342. };
  1343. extern const GLubyte * FASTCALL __glle_Translatef(__GLcontext *, const GLubyte *);
  1344. struct __gllc_Viewport_Rec {
  1345. GLint x;
  1346. GLint y;
  1347. GLsizei width;
  1348. GLsizei height;
  1349. };
  1350. extern const GLubyte * FASTCALL __glle_Viewport(__GLcontext *, const GLubyte *);
  1351. typedef struct __GLtexSubImage1D_Rec {
  1352. GLenum target;
  1353. GLint level;
  1354. GLint xoffset;
  1355. GLsizei width;
  1356. GLenum format;
  1357. GLenum type;
  1358. GLint imageSize;
  1359. /* pixels */
  1360. } __GLtexSubImage1D;
  1361. extern const GLubyte * FASTCALL __glle_TexSubImage1D(__GLcontext *, const GLubyte *);
  1362. typedef struct __GLtexSubImage2D_Rec {
  1363. GLenum target;
  1364. GLint level;
  1365. GLint xoffset;
  1366. GLint yoffset;
  1367. GLsizei width;
  1368. GLsizei height;
  1369. GLenum format;
  1370. GLenum type;
  1371. GLint imageSize;
  1372. /* pixels */
  1373. } __GLtexSubImage2D;
  1374. extern const GLubyte * FASTCALL __glle_TexSubImage2D(__GLcontext *, const GLubyte *);
  1375. struct __gllc_BindTexture_Rec {
  1376. GLenum target;
  1377. GLuint texture;
  1378. };
  1379. extern const GLubyte * FASTCALL __glle_BindTexture(__GLcontext *, const GLubyte *);
  1380. struct __gllc_PrioritizeTextures_Rec {
  1381. GLsizei n;
  1382. /* textures */
  1383. /* priorities */
  1384. };
  1385. extern const GLubyte * FASTCALL __glle_PrioritizeTextures(__GLcontext *, const GLubyte *);
  1386. struct __gllc_CopyTexImage1D_Rec {
  1387. GLenum target;
  1388. GLint level;
  1389. GLenum internalformat;
  1390. GLint x;
  1391. GLint y;
  1392. GLsizei width;
  1393. GLint border;
  1394. };
  1395. extern const GLubyte * FASTCALL __glle_CopyTexImage1D(__GLcontext *, const GLubyte *);
  1396. struct __gllc_CopyTexImage2D_Rec {
  1397. GLenum target;
  1398. GLint level;
  1399. GLenum internalformat;
  1400. GLint x;
  1401. GLint y;
  1402. GLsizei width;
  1403. GLsizei height;
  1404. GLint border;
  1405. };
  1406. extern const GLubyte * FASTCALL __glle_CopyTexImage2D(__GLcontext *, const GLubyte *);
  1407. struct __gllc_CopyTexSubImage1D_Rec {
  1408. GLenum target;
  1409. GLint level;
  1410. GLint xoffset;
  1411. GLint x;
  1412. GLint y;
  1413. GLsizei width;
  1414. };
  1415. extern const GLubyte * FASTCALL __glle_CopyTexSubImage1D(__GLcontext *, const GLubyte *);
  1416. struct __gllc_CopyTexSubImage2D_Rec {
  1417. GLenum target;
  1418. GLint level;
  1419. GLint xoffset;
  1420. GLint yoffset;
  1421. GLint x;
  1422. GLint y;
  1423. GLsizei width;
  1424. GLsizei height;
  1425. };
  1426. extern const GLubyte * FASTCALL __glle_CopyTexSubImage2D(__GLcontext *, const GLubyte *);
  1427. typedef struct __gllc_ColorTableEXT_Rec
  1428. {
  1429. GLenum target;
  1430. GLenum internalFormat;
  1431. GLsizei width;
  1432. GLenum format;
  1433. GLenum type;
  1434. GLint imageSize;
  1435. /* Data */
  1436. } __GLcolorTableEXT;
  1437. extern const GLubyte * FASTCALL __glle_ColorTableEXT(__GLcontext *, const GLubyte *);
  1438. typedef struct __gllc_ColorSubTableEXT_Rec
  1439. {
  1440. GLenum target;
  1441. GLuint start;
  1442. GLsizei count;
  1443. GLenum format;
  1444. GLenum type;
  1445. GLint imageSize;
  1446. /* Data */
  1447. } __GLcolorSubTableEXT;
  1448. extern const GLubyte * FASTCALL __glle_ColorSubTableEXT(__GLcontext *, const GLubyte *);
  1449. struct __gllc_PolygonOffset_Rec
  1450. {
  1451. GLfloat factor;
  1452. GLfloat units;
  1453. };
  1454. extern const GLubyte * FASTCALL __glle_PolygonOffset(__GLcontext *, const GLubyte *);
  1455. struct __gllc_DrawElementsBegin_Rec
  1456. {
  1457. GLenum mode;
  1458. GLsizei count;
  1459. GLuint vaMask;
  1460. };
  1461. extern const GLubyte * FASTCALL __glle_DrawElementsBegin(__GLcontext *, const GLubyte *);
  1462. struct __gllc_DrawElements_Rec
  1463. {
  1464. GLenum mode;
  1465. GLsizei iElementCount;
  1466. GLsizei iVertexCount;
  1467. GLuint vaMask;
  1468. GLboolean partial;
  1469. GLuint recSize;
  1470. GLuint edgeFlagOff;
  1471. GLuint texCoordOff;
  1472. GLint texCoordSize;
  1473. GLenum texCoordType;
  1474. GLuint indexOff;
  1475. GLenum indexType;
  1476. GLuint colorOff;
  1477. GLint colorSize;
  1478. GLenum colorType;
  1479. GLuint normalOff;
  1480. GLenum normalType;
  1481. GLuint vertexOff;
  1482. GLint vertexSize;
  1483. GLenum vertexType;
  1484. GLuint mapOff;
  1485. };
  1486. extern const GLubyte * FASTCALL __glle_DrawElements(__GLcontext *, const GLubyte *);
  1487. #ifdef GL_WIN_multiple_textures
  1488. struct __gllc_CurrentTextureIndexWIN_Rec
  1489. {
  1490. GLuint index;
  1491. };
  1492. extern const GLubyte * FASTCALL __glle_CurrentTextureIndexWIN(__GLcontext *, const GLubyte *);
  1493. struct __gllc_BindNthTextureWIN_Rec
  1494. {
  1495. GLuint index;
  1496. GLenum target;
  1497. GLuint texture;
  1498. };
  1499. extern const GLubyte * FASTCALL __glle_BindNthTextureWIN(__GLcontext *, const GLubyte *);
  1500. struct __gllc_NthTexCombineFuncWIN_Rec
  1501. {
  1502. GLuint index;
  1503. GLenum leftColorFactor;
  1504. GLenum colorOp;
  1505. GLenum rightColorFactor;
  1506. GLenum leftAlphaFactor;
  1507. GLenum alphaOp;
  1508. GLenum rightAlphaFactor;
  1509. };
  1510. extern const GLubyte * FASTCALL __glle_NthTexCombineFuncWIN(__GLcontext *, const GLubyte *);
  1511. #endif // GL_WIN_multiple_textures
  1512. #endif /* __gl_g_lcomp_h */