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.

866 lines
43 KiB

  1. #if !defined(__gls_h_)
  2. #define __gls_h_
  3. /*
  4. ** Copyright 1995-2095, 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 GLS_LINKAGE APIENTRY
  20. #include <windef.h>
  21. #include <wingdi.h>
  22. #include <GL/gl.h>
  23. #include <stddef.h>
  24. #include <stdio.h>
  25. #if defined(__cplusplus)
  26. extern "C" {
  27. #endif /* defined(__cplusplus) */
  28. typedef __int64 GLlong;
  29. typedef unsigned __int64 GLulong;
  30. typedef GLuint GLSenum;
  31. typedef GLuint GLSopcode;
  32. typedef struct {
  33. GLuint mask;
  34. GLuint value;
  35. } GLScommandAlignment;
  36. typedef void (GLS_LINKAGE *GLScaptureFunc)(GLSopcode inOpcode);
  37. typedef size_t (GLS_LINKAGE *GLSreadFunc)(size_t inCount, GLubyte *outBuf);
  38. typedef size_t (GLS_LINKAGE *GLSwriteFunc)(size_t inCount, const GLubyte *inBuf);
  39. #if defined(__cplusplus)
  40. typedef void (GLS_LINKAGE *GLSfunc)(...);
  41. #else /* !defined(__cplusplus) */
  42. typedef void (GLS_LINKAGE *GLSfunc)();
  43. #endif /* defined(__cplusplus) */
  44. #define glsCSTR(p) ((const GLubyte*)(p))
  45. #define glsSTR(p) ((GLubyte*)(p))
  46. /*************************************************************/
  47. /* CaptureFlags */
  48. /* GLS_NONE */
  49. #define GLS_CAPTURE_EXECUTE_BIT 0x00000001
  50. #define GLS_CAPTURE_WRITE_BIT 0x00000002
  51. /* CommandAttrib */
  52. /* GLS_NONE */
  53. #define GLS_COMMAND_GEN_BIT 0x00000001
  54. #define GLS_COMMAND_GET_BIT 0x00000002
  55. #define GLS_COMMAND_REPLY_BIT 0x00000004
  56. /* ImageFlags */
  57. /* GLS_NONE */
  58. #define GLS_IMAGE_NULL_BIT 0x00000001
  59. /* StreamAttrib */
  60. /* GLS_NONE */
  61. #define GLS_STREAM_CONTEXT_BIT 0x00000001
  62. #define GLS_STREAM_NAMED_BIT 0x00000002
  63. #define GLS_STREAM_READABLE_BIT 0x00000004
  64. #define GLS_STREAM_SEEKABLE_BIT 0x00000008
  65. #define GLS_STREAM_WRITABLE_BIT 0x00000010
  66. /* WriteFlags */
  67. /* GLS_NONE */
  68. #define GLS_WRITE_APPEND_BIT 0x00000001
  69. /* Fundamental */
  70. #define GLS_NONE 0x0000
  71. /* AbortMode */
  72. /* GLS_NONE */
  73. #define GLS_ALL 0x0010
  74. #define GLS_LAST 0x0011
  75. /* API */
  76. #define GLS_API_GLS 0x0020
  77. #define GLS_API_GL 0x0021
  78. /* BlockType */
  79. #define GLS_FRAME 0x0030
  80. #define GLS_HEADER 0x0031
  81. #define GLS_INIT 0x0032
  82. #define GLS_STATIC 0x0033
  83. /* CaptureFuncTarget */
  84. #define GLS_CAPTURE_ENTRY_FUNC 0x0040
  85. #define GLS_CAPTURE_EXIT_FUNC 0x0041
  86. /* CaptureStreamType */
  87. #define GLS_CONTEXT 0x0050
  88. #define GLS_BINARY_LSB_FIRST 0x0051
  89. #define GLS_BINARY_MSB_FIRST 0x0052
  90. #define GLS_TEXT 0x0053
  91. /* ChannelTarget */
  92. #define GLS_DEFAULT_READ_CHANNEL 0x0060
  93. #define GLS_DEFAULT_WRITE_CHANNEL 0x0061
  94. /* Consti */
  95. #define GLS_API_COUNT 0x0070
  96. #define GLS_MAX_CALL_NESTING 0x0071
  97. #define GLS_MAX_CAPTURE_NESTING 0x0072
  98. #define GLS_VERSION_MAJOR 0x0073
  99. #define GLS_VERSION_MINOR 0x0074
  100. /* Constiv */
  101. #define GLS_ALL_APIS 0x0080
  102. /* Constubz */
  103. #define GLS_EXTENSIONS 0x0090
  104. #define GLS_PLATFORM 0x0091
  105. #define GLS_RELEASE 0x0092
  106. #define GLS_VENDOR 0x0093
  107. /* ContextFunc */
  108. /* GLS_CAPTURE_ENTRY_FUNC */
  109. /* GLS_CAPTURE_EXIT_FUNC */
  110. #define GLS_READ_FUNC 0x00A1
  111. #define GLS_UNREAD_FUNC 0x00A2
  112. #define GLS_WRITE_FUNC 0x00A3
  113. /* ContextListl */
  114. #define GLS_OUT_ARG_LIST 0x00B0
  115. /* ContextListubz */
  116. #define GLS_CONTEXT_STREAM_LIST 0x00C0
  117. #define GLS_READ_PREFIX_LIST 0x00C1
  118. /* ContextPointer */
  119. /* GLS_DEFAULT_READ_CHANNEL */
  120. /* GLS_DEFAULT_WRITE_CHANNEL */
  121. #define GLS_DATA_POINTER 0x00E0
  122. /* Contexti */
  123. #define GLS_ABORT_MODE 0x00E0
  124. #define GLS_BLOCK_TYPE 0x00E1
  125. #define GLS_CALL_NESTING 0x00E2
  126. #define GLS_CAPTURE_NESTING 0x00E3
  127. #define GLS_CONTEXT_STREAM_COUNT 0x00E4
  128. #define GLS_CURRENT_GLRC 0x00E5
  129. #define GLS_OUT_ARG_COUNT 0x00E6
  130. #define GLS_PIXEL_SETUP_GEN 0x00E7
  131. #define GLS_READ_PREFIX_COUNT 0x00E8
  132. #define GLS_STREAM_VERSION_MAJOR 0x00E9
  133. #define GLS_STREAM_VERSION_MINOR 0x00EA
  134. /* Contextubz */
  135. #define GLS_WRITE_PREFIX 0x0100
  136. /* CopyStreamType */
  137. /* GLS_NONE */
  138. /* GLS_CONTEXT */
  139. /* GLS_BINARY_LSB_FIRST */
  140. /* GLS_BINARY_MSB_FIRST */
  141. /* GLS_TEXT */
  142. /* DisplayFormat */
  143. #define GLS_IIII 0x0110
  144. #define GLS_RGBA 0x0111
  145. #define GLS_RRRA 0x0112
  146. /* DisplayMap */
  147. #define GLS_DISPLAY_MAP_I_TO_R 0x0120
  148. #define GLS_DISPLAY_MAP_I_TO_G 0x0121
  149. #define GLS_DISPLAY_MAP_I_TO_B 0x0122
  150. #define GLS_DISPLAY_MAP_I_TO_A 0x0123
  151. /* ErrorCode */
  152. /* GLS_NONE */
  153. #define GLS_CALL_OVERFLOW 0x0130
  154. #define GLS_DECODE_ERROR 0x0131
  155. #define GLS_ENCODE_ERROR 0x0132
  156. #define GLS_INVALID_ENUM 0x0133
  157. #define GLS_INVALID_OPERATION 0x0134
  158. #define GLS_INVALID_STREAM 0x0135
  159. #define GLS_INVALID_STRING 0x0136
  160. #define GLS_INVALID_VALUE 0x0137
  161. #define GLS_NOT_FOUND 0x0138
  162. #define GLS_OUT_OF_MEMORY 0x0139
  163. #define GLS_STREAM_CLOSE_ERROR 0x013A
  164. #define GLS_STREAM_DELETE_ERROR 0x013B
  165. #define GLS_STREAM_OPEN_ERROR 0x013C
  166. #define GLS_STREAM_READ_ERROR 0x013D
  167. #define GLS_STREAM_WRITE_ERROR 0x013E
  168. #define GLS_UNSUPPORTED_COMMAND 0x013F
  169. #define GLS_UNSUPPORTED_EXTENSION 0x0140
  170. /* ExternStreamType */
  171. /* GLS_BINARY_LSB_FIRST */
  172. /* GLS_BINARY_MSB_FIRST */
  173. /* GLS_TEXT */
  174. /* FlushType */
  175. /* GLS_ALL */
  176. /* GLS_LAST */
  177. /* GetStreamType */
  178. /* GLS_NONE */
  179. /* GLS_CONTEXT */
  180. /* GLS_BINARY_LSB_FIRST */
  181. /* GLS_BINARY_MSB_FIRST */
  182. /* GLS_TEXT */
  183. #define GLS_UNKNOWN 0x0150
  184. /* GLRCi */
  185. #define GLS_LAYER 0x0160
  186. #define GLS_READ_LAYER 0x0161
  187. #define GLS_SHARE_GLRC 0x0162
  188. /* Headerf */
  189. #define GLS_ASPECT 0x0170
  190. #define GLS_BORDER_WIDTH 0x0171
  191. #define GLS_CONTRAST_RATIO 0x0172
  192. #define GLS_HEIGHT_MM 0x0173
  193. /* Headerfv */
  194. #define GLS_BORDER_COLOR 0x0180
  195. #define GLS_GAMMA 0x0181
  196. #define GLS_ORIGIN 0x0182
  197. #define GLS_PAGE_COLOR 0x0183
  198. #define GLS_PAGE_SIZE 0x0184
  199. #define GLS_RED_POINT 0x0185
  200. #define GLS_GREEN_POINT 0x0186
  201. #define GLS_BLUE_POINT 0x0187
  202. #define GLS_WHITE_POINT 0x0188
  203. /* Headeri */
  204. #define GLS_FRAME_COUNT 0x01A0
  205. #define GLS_GLRC_COUNT 0x01A1
  206. #define GLS_HEIGHT_PIXELS 0x01A2
  207. #define GLS_LAYER_COUNT 0x01A3
  208. #define GLS_TILEABLE 0x01A4
  209. /* Headeriv */
  210. #define GLS_CREATE_TIME 0x01B0
  211. #define GLS_MODIFY_TIME 0x01B1
  212. /* Headerubz */
  213. /* GLS_EXTENSIONS */
  214. #define GLS_AUTHOR 0x01C0
  215. #define GLS_DESCRIPTION 0x01C1
  216. #define GLS_NOTES 0x01C2
  217. #define GLS_TITLE 0x01C3
  218. #define GLS_TOOLS 0x01C4
  219. #define GLS_VERSION 0x01C5
  220. /* Layerf */
  221. #define GLS_INVISIBLE_ASPECT 0x01D0
  222. /* Layeri */
  223. #define GLS_DISPLAY_FORMAT 0x01E0
  224. #define GLS_DOUBLEBUFFER 0x01E1
  225. #define GLS_INVISIBLE 0x01E2
  226. #define GLS_INVISIBLE_HEIGHT_PIXELS 0x01E3
  227. #define GLS_LEVEL 0x01E4
  228. #define GLS_STEREO 0x01E5
  229. #define GLS_TRANSPARENT 0x01E6
  230. #define GLS_INDEX_BITS 0x01E7
  231. #define GLS_RED_BITS 0x01E8
  232. #define GLS_GREEN_BITS 0x01E9
  233. #define GLS_BLUE_BITS 0x01EA
  234. #define GLS_ALPHA_BITS 0x01EB
  235. #define GLS_DEPTH_BITS 0x01EC
  236. #define GLS_STENCIL_BITS 0x01ED
  237. #define GLS_ACCUM_RED_BITS 0x01EE
  238. #define GLS_ACCUM_GREEN_BITS 0x01EF
  239. #define GLS_ACCUM_BLUE_BITS 0x01F0
  240. #define GLS_ACCUM_ALPHA_BITS 0x01F1
  241. #define GLS_AUX_BUFFERS 0x01F2
  242. /* GLS_SAMPLE_BUFFERS_SGIS */
  243. /* GLS_SAMPLES_SGIS */
  244. /* ListOp */
  245. #define GLS_APPEND 0x0200
  246. #define GLS_PREPEND 0x0201
  247. /* GL_SGIS_multisample */
  248. #define GLS_SAMPLE_BUFFERS_SGIS 0x0400
  249. #define GLS_SAMPLES_SGIS 0x0401
  250. /* GLS opcodes */
  251. #define GLS_OP_glsBeginGLS 16
  252. #define GLS_OP_glsBlock 17
  253. #define GLS_OP_glsCallStream 18
  254. #define GLS_OP_glsEndGLS 19
  255. #define GLS_OP_glsError 20
  256. #define GLS_OP_glsGLRC 21
  257. #define GLS_OP_glsGLRCLayer 22
  258. #define GLS_OP_glsHeaderGLRCi 23
  259. #define GLS_OP_glsHeaderLayerf 24
  260. #define GLS_OP_glsHeaderLayeri 25
  261. #define GLS_OP_glsHeaderf 26
  262. #define GLS_OP_glsHeaderfv 27
  263. #define GLS_OP_glsHeaderi 28
  264. #define GLS_OP_glsHeaderiv 29
  265. #define GLS_OP_glsHeaderubz 30
  266. #define GLS_OP_glsRequireExtension 31
  267. #define GLS_OP_glsUnsupportedCommand 32
  268. #define GLS_OP_glsAppRef 33
  269. #define GLS_OP_glsBeginObj 34
  270. #define GLS_OP_glsCharubz 35
  271. #define GLS_OP_glsComment 36
  272. #define GLS_OP_glsDisplayMapfv 37
  273. #define GLS_OP_glsEndObj 38
  274. #define GLS_OP_glsNumb 39
  275. #define GLS_OP_glsNumbv 40
  276. #define GLS_OP_glsNumd 41
  277. #define GLS_OP_glsNumdv 42
  278. #define GLS_OP_glsNumf 43
  279. #define GLS_OP_glsNumfv 44
  280. #define GLS_OP_glsNumi 45
  281. #define GLS_OP_glsNumiv 46
  282. #define GLS_OP_glsNuml 47
  283. #define GLS_OP_glsNumlv 48
  284. #define GLS_OP_glsNums 49
  285. #define GLS_OP_glsNumsv 50
  286. #define GLS_OP_glsNumub 51
  287. #define GLS_OP_glsNumubv 52
  288. #define GLS_OP_glsNumui 53
  289. #define GLS_OP_glsNumuiv 54
  290. #define GLS_OP_glsNumul 55
  291. #define GLS_OP_glsNumulv 56
  292. #define GLS_OP_glsNumus 57
  293. #define GLS_OP_glsNumusv 58
  294. #define GLS_OP_glsPad 59
  295. #define GLS_OP_glsSwapBuffers 60
  296. /* GL opcodes */
  297. #define GLS_OP_glAccum 277
  298. #define GLS_OP_glAlphaFunc 304
  299. #define GLS_OP_glAreTexturesResidentEXT 65502
  300. #define GLS_OP_glArrayElementEXT 65493
  301. #define GLS_OP_glBegin 71
  302. #define GLS_OP_glBindTextureEXT 65503
  303. #define GLS_OP_glBitmap 72
  304. #define GLS_OP_glBlendColorEXT 65520
  305. #define GLS_OP_glBlendEquationEXT 65521
  306. #define GLS_OP_glBlendFunc 305
  307. #define GLS_OP_glCallList 66
  308. #define GLS_OP_glCallLists 67
  309. #define GLS_OP_glClear 267
  310. #define GLS_OP_glClearAccum 268
  311. #define GLS_OP_glClearColor 270
  312. #define GLS_OP_glClearDepth 272
  313. #define GLS_OP_glClearIndex 269
  314. #define GLS_OP_glClearStencil 271
  315. #define GLS_OP_glClipPlane 214
  316. #define GLS_OP_glColor3b 73
  317. #define GLS_OP_glColor3bv 74
  318. #define GLS_OP_glColor3d 75
  319. #define GLS_OP_glColor3dv 76
  320. #define GLS_OP_glColor3f 77
  321. #define GLS_OP_glColor3fv 78
  322. #define GLS_OP_glColor3i 79
  323. #define GLS_OP_glColor3iv 80
  324. #define GLS_OP_glColor3s 81
  325. #define GLS_OP_glColor3sv 82
  326. #define GLS_OP_glColor3ub 83
  327. #define GLS_OP_glColor3ubv 84
  328. #define GLS_OP_glColor3ui 85
  329. #define GLS_OP_glColor3uiv 86
  330. #define GLS_OP_glColor3us 87
  331. #define GLS_OP_glColor3usv 88
  332. #define GLS_OP_glColor4b 89
  333. #define GLS_OP_glColor4bv 90
  334. #define GLS_OP_glColor4d 91
  335. #define GLS_OP_glColor4dv 92
  336. #define GLS_OP_glColor4f 93
  337. #define GLS_OP_glColor4fv 94
  338. #define GLS_OP_glColor4i 95
  339. #define GLS_OP_glColor4iv 96
  340. #define GLS_OP_glColor4s 97
  341. #define GLS_OP_glColor4sv 98
  342. #define GLS_OP_glColor4ub 99
  343. #define GLS_OP_glColor4ubv 100
  344. #define GLS_OP_glColor4ui 101
  345. #define GLS_OP_glColor4uiv 102
  346. #define GLS_OP_glColor4us 103
  347. #define GLS_OP_glColor4usv 104
  348. #define GLS_OP_glColorMask 274
  349. #define GLS_OP_glColorMaterial 215
  350. #define GLS_OP_glColorPointerEXT 65494
  351. #define GLS_OP_glColorTableParameterfvSGI 65477
  352. #define GLS_OP_glColorTableParameterivSGI 65478
  353. #define GLS_OP_glColorTableSGI 65476
  354. #define GLS_OP_glConvolutionFilter1DEXT 65528
  355. #define GLS_OP_glConvolutionFilter2DEXT 65529
  356. #define GLS_OP_glConvolutionParameterfEXT 65530
  357. #define GLS_OP_glConvolutionParameterfvEXT 65531
  358. #define GLS_OP_glConvolutionParameteriEXT 65532
  359. #define GLS_OP_glConvolutionParameterivEXT 65533
  360. #define GLS_OP_glCopyColorTableSGI 65479
  361. #define GLS_OP_glCopyConvolutionFilter1DEXT 65534
  362. #define GLS_OP_glCopyConvolutionFilter2DEXT 65535
  363. #define GLS_OP_glCopyPixels 319
  364. #define GLS_OP_glCopyTexImage1DEXT 65487
  365. #define GLS_OP_glCopyTexImage2DEXT 65456
  366. #define GLS_OP_glCopyTexSubImage1DEXT 65457
  367. #define GLS_OP_glCopyTexSubImage2DEXT 65458
  368. #define GLS_OP_glCopyTexSubImage3DEXT 65459
  369. #define GLS_OP_glCullFace 216
  370. #define GLS_OP_glDeleteLists 68
  371. #define GLS_OP_glDeleteTexturesEXT 65472
  372. #define GLS_OP_glDepthFunc 309
  373. #define GLS_OP_glDepthMask 275
  374. #define GLS_OP_glDepthRange 352
  375. #define GLS_OP_glDetailTexFuncSGIS 65489
  376. #define GLS_OP_glDisable 278
  377. #define GLS_OP_glDrawArraysEXT 65495
  378. #define GLS_OP_glDrawBuffer 266
  379. #define GLS_OP_glDrawPixels 321
  380. #define GLS_OP_glEdgeFlag 105
  381. #define GLS_OP_glEdgeFlagPointerEXT 65496
  382. #define GLS_OP_glEdgeFlagv 106
  383. #define GLS_OP_glEnable 279
  384. #define GLS_OP_glEnd 107
  385. #define GLS_OP_glEndList 65
  386. #define GLS_OP_glEvalCoord1d 292
  387. #define GLS_OP_glEvalCoord1dv 293
  388. #define GLS_OP_glEvalCoord1f 294
  389. #define GLS_OP_glEvalCoord1fv 295
  390. #define GLS_OP_glEvalCoord2d 296
  391. #define GLS_OP_glEvalCoord2dv 297
  392. #define GLS_OP_glEvalCoord2f 298
  393. #define GLS_OP_glEvalCoord2fv 299
  394. #define GLS_OP_glEvalMesh1 300
  395. #define GLS_OP_glEvalMesh2 302
  396. #define GLS_OP_glEvalPoint1 301
  397. #define GLS_OP_glEvalPoint2 303
  398. #define GLS_OP_glFeedbackBuffer 258
  399. #define GLS_OP_glFinish 280
  400. #define GLS_OP_glFlush 281
  401. #define GLS_OP_glFogf 217
  402. #define GLS_OP_glFogfv 218
  403. #define GLS_OP_glFogi 219
  404. #define GLS_OP_glFogiv 220
  405. #define GLS_OP_glFrontFace 221
  406. #define GLS_OP_glFrustum 353
  407. #define GLS_OP_glGenLists 69
  408. #define GLS_OP_glGenTexturesEXT 65473
  409. #define GLS_OP_glGetBooleanv 322
  410. #define GLS_OP_glGetClipPlane 323
  411. #define GLS_OP_glGetColorTableParameterfvSGI 65481
  412. #define GLS_OP_glGetColorTableParameterivSGI 65482
  413. #define GLS_OP_glGetColorTableSGI 65480
  414. #define GLS_OP_glGetConvolutionFilterEXT 65504
  415. #define GLS_OP_glGetConvolutionParameterfvEXT 65505
  416. #define GLS_OP_glGetConvolutionParameterivEXT 65506
  417. #define GLS_OP_glGetDetailTexFuncSGIS 65490
  418. #define GLS_OP_glGetDoublev 324
  419. #define GLS_OP_glGetError 325
  420. #define GLS_OP_glGetFloatv 326
  421. #define GLS_OP_glGetHistogramEXT 65509
  422. #define GLS_OP_glGetHistogramParameterfvEXT 65510
  423. #define GLS_OP_glGetHistogramParameterivEXT 65511
  424. #define GLS_OP_glGetIntegerv 327
  425. #define GLS_OP_glGetLightfv 328
  426. #define GLS_OP_glGetLightiv 329
  427. #define GLS_OP_glGetMapdv 330
  428. #define GLS_OP_glGetMapfv 331
  429. #define GLS_OP_glGetMapiv 332
  430. #define GLS_OP_glGetMaterialfv 333
  431. #define GLS_OP_glGetMaterialiv 334
  432. #define GLS_OP_glGetMinmaxEXT 65512
  433. #define GLS_OP_glGetMinmaxParameterfvEXT 65513
  434. #define GLS_OP_glGetMinmaxParameterivEXT 65514
  435. #define GLS_OP_glGetPixelMapfv 335
  436. #define GLS_OP_glGetPixelMapuiv 336
  437. #define GLS_OP_glGetPixelMapusv 337
  438. #define GLS_OP_glGetPointervEXT 65497
  439. #define GLS_OP_glGetPolygonStipple 338
  440. #define GLS_OP_glGetSeparableFilterEXT 65507
  441. #define GLS_OP_glGetSharpenTexFuncSGIS 65492
  442. #define GLS_OP_glGetString 339
  443. #define GLS_OP_glGetTexColorTableParameterfvSGI 65483
  444. #define GLS_OP_glGetTexColorTableParameterivSGI 65484
  445. #define GLS_OP_glGetTexEnvfv 340
  446. #define GLS_OP_glGetTexEnviv 341
  447. #define GLS_OP_glGetTexGendv 342
  448. #define GLS_OP_glGetTexGenfv 343
  449. #define GLS_OP_glGetTexGeniv 344
  450. #define GLS_OP_glGetTexImage 345
  451. #define GLS_OP_glGetTexLevelParameterfv 348
  452. #define GLS_OP_glGetTexLevelParameteriv 349
  453. #define GLS_OP_glGetTexParameterfv 346
  454. #define GLS_OP_glGetTexParameteriv 347
  455. #define GLS_OP_glHint 222
  456. #define GLS_OP_glHistogramEXT 65515
  457. #define GLS_OP_glIndexMask 276
  458. #define GLS_OP_glIndexPointerEXT 65498
  459. #define GLS_OP_glIndexd 108
  460. #define GLS_OP_glIndexdv 109
  461. #define GLS_OP_glIndexf 110
  462. #define GLS_OP_glIndexfv 111
  463. #define GLS_OP_glIndexi 112
  464. #define GLS_OP_glIndexiv 113
  465. #define GLS_OP_glIndexs 114
  466. #define GLS_OP_glIndexsv 115
  467. #define GLS_OP_glInitNames 261
  468. #define GLS_OP_glIsEnabled 350
  469. #define GLS_OP_glIsList 351
  470. #define GLS_OP_glIsTextureEXT 65474
  471. #define GLS_OP_glLightModelf 227
  472. #define GLS_OP_glLightModelfv 228
  473. #define GLS_OP_glLightModeli 229
  474. #define GLS_OP_glLightModeliv 230
  475. #define GLS_OP_glLightf 223
  476. #define GLS_OP_glLightfv 224
  477. #define GLS_OP_glLighti 225
  478. #define GLS_OP_glLightiv 226
  479. #define GLS_OP_glLineStipple 231
  480. #define GLS_OP_glLineWidth 232
  481. #define GLS_OP_glListBase 70
  482. #define GLS_OP_glLoadIdentity 354
  483. #define GLS_OP_glLoadMatrixd 356
  484. #define GLS_OP_glLoadMatrixf 355
  485. #define GLS_OP_glLoadName 262
  486. #define GLS_OP_glLogicOp 306
  487. #define GLS_OP_glMap1d 284
  488. #define GLS_OP_glMap1f 285
  489. #define GLS_OP_glMap2d 286
  490. #define GLS_OP_glMap2f 287
  491. #define GLS_OP_glMapGrid1d 288
  492. #define GLS_OP_glMapGrid1f 289
  493. #define GLS_OP_glMapGrid2d 290
  494. #define GLS_OP_glMapGrid2f 291
  495. #define GLS_OP_glMaterialf 233
  496. #define GLS_OP_glMaterialfv 234
  497. #define GLS_OP_glMateriali 235
  498. #define GLS_OP_glMaterialiv 236
  499. #define GLS_OP_glMatrixMode 357
  500. #define GLS_OP_glMinmaxEXT 65516
  501. #define GLS_OP_glMultMatrixd 359
  502. #define GLS_OP_glMultMatrixf 358
  503. #define GLS_OP_glNewList 64
  504. #define GLS_OP_glNormal3b 116
  505. #define GLS_OP_glNormal3bv 117
  506. #define GLS_OP_glNormal3d 118
  507. #define GLS_OP_glNormal3dv 119
  508. #define GLS_OP_glNormal3f 120
  509. #define GLS_OP_glNormal3fv 121
  510. #define GLS_OP_glNormal3i 122
  511. #define GLS_OP_glNormal3iv 123
  512. #define GLS_OP_glNormal3s 124
  513. #define GLS_OP_glNormal3sv 125
  514. #define GLS_OP_glNormalPointerEXT 65499
  515. #define GLS_OP_glOrtho 360
  516. #define GLS_OP_glPassThrough 263
  517. #define GLS_OP_glPixelMapfv 315
  518. #define GLS_OP_glPixelMapuiv 316
  519. #define GLS_OP_glPixelMapusv 317
  520. #define GLS_OP_glPixelStoref 313
  521. #define GLS_OP_glPixelStorei 314
  522. #define GLS_OP_glPixelTexGenSGIX 65462
  523. #define GLS_OP_glPixelTransferf 311
  524. #define GLS_OP_glPixelTransferi 312
  525. #define GLS_OP_glPixelZoom 310
  526. #define GLS_OP_glPointSize 237
  527. #define GLS_OP_glPolygonMode 238
  528. #define GLS_OP_glPolygonOffsetEXT 65522
  529. #define GLS_OP_glPolygonStipple 239
  530. #define GLS_OP_glPopAttrib 282
  531. #define GLS_OP_glPopMatrix 361
  532. #define GLS_OP_glPopName 264
  533. #define GLS_OP_glPrioritizeTexturesEXT 65475
  534. #define GLS_OP_glPushAttrib 283
  535. #define GLS_OP_glPushMatrix 362
  536. #define GLS_OP_glPushName 265
  537. #define GLS_OP_glRasterPos2d 126
  538. #define GLS_OP_glRasterPos2dv 127
  539. #define GLS_OP_glRasterPos2f 128
  540. #define GLS_OP_glRasterPos2fv 129
  541. #define GLS_OP_glRasterPos2i 130
  542. #define GLS_OP_glRasterPos2iv 131
  543. #define GLS_OP_glRasterPos2s 132
  544. #define GLS_OP_glRasterPos2sv 133
  545. #define GLS_OP_glRasterPos3d 134
  546. #define GLS_OP_glRasterPos3dv 135
  547. #define GLS_OP_glRasterPos3f 136
  548. #define GLS_OP_glRasterPos3fv 137
  549. #define GLS_OP_glRasterPos3i 138
  550. #define GLS_OP_glRasterPos3iv 139
  551. #define GLS_OP_glRasterPos3s 140
  552. #define GLS_OP_glRasterPos3sv 141
  553. #define GLS_OP_glRasterPos4d 142
  554. #define GLS_OP_glRasterPos4dv 143
  555. #define GLS_OP_glRasterPos4f 144
  556. #define GLS_OP_glRasterPos4fv 145
  557. #define GLS_OP_glRasterPos4i 146
  558. #define GLS_OP_glRasterPos4iv 147
  559. #define GLS_OP_glRasterPos4s 148
  560. #define GLS_OP_glRasterPos4sv 149
  561. #define GLS_OP_glReadBuffer 318
  562. #define GLS_OP_glReadPixels 320
  563. #define GLS_OP_glRectd 150
  564. #define GLS_OP_glRectdv 151
  565. #define GLS_OP_glRectf 152
  566. #define GLS_OP_glRectfv 153
  567. #define GLS_OP_glRecti 154
  568. #define GLS_OP_glRectiv 155
  569. #define GLS_OP_glRects 156
  570. #define GLS_OP_glRectsv 157
  571. #define GLS_OP_glRenderMode 260
  572. #define GLS_OP_glResetHistogramEXT 65517
  573. #define GLS_OP_glResetMinmaxEXT 65518
  574. #define GLS_OP_glRotated 363
  575. #define GLS_OP_glRotatef 364
  576. #define GLS_OP_glSampleMaskSGIS 65525
  577. #define GLS_OP_glSamplePatternSGIS 65526
  578. #define GLS_OP_glScaled 365
  579. #define GLS_OP_glScalef 366
  580. #define GLS_OP_glScissor 240
  581. #define GLS_OP_glSelectBuffer 259
  582. #define GLS_OP_glSeparableFilter2DEXT 65508
  583. #define GLS_OP_glShadeModel 241
  584. #define GLS_OP_glSharpenTexFuncSGIS 65491
  585. #define GLS_OP_glStencilFunc 307
  586. #define GLS_OP_glStencilMask 273
  587. #define GLS_OP_glStencilOp 308
  588. #define GLS_OP_glTagSampleBufferSGIX 65527
  589. #define GLS_OP_glTexColorTableParameterfvSGI 65485
  590. #define GLS_OP_glTexColorTableParameterivSGI 65486
  591. #define GLS_OP_glTexCoord1d 158
  592. #define GLS_OP_glTexCoord1dv 159
  593. #define GLS_OP_glTexCoord1f 160
  594. #define GLS_OP_glTexCoord1fv 161
  595. #define GLS_OP_glTexCoord1i 162
  596. #define GLS_OP_glTexCoord1iv 163
  597. #define GLS_OP_glTexCoord1s 164
  598. #define GLS_OP_glTexCoord1sv 165
  599. #define GLS_OP_glTexCoord2d 166
  600. #define GLS_OP_glTexCoord2dv 167
  601. #define GLS_OP_glTexCoord2f 168
  602. #define GLS_OP_glTexCoord2fv 169
  603. #define GLS_OP_glTexCoord2i 170
  604. #define GLS_OP_glTexCoord2iv 171
  605. #define GLS_OP_glTexCoord2s 172
  606. #define GLS_OP_glTexCoord2sv 173
  607. #define GLS_OP_glTexCoord3d 174
  608. #define GLS_OP_glTexCoord3dv 175
  609. #define GLS_OP_glTexCoord3f 176
  610. #define GLS_OP_glTexCoord3fv 177
  611. #define GLS_OP_glTexCoord3i 178
  612. #define GLS_OP_glTexCoord3iv 179
  613. #define GLS_OP_glTexCoord3s 180
  614. #define GLS_OP_glTexCoord3sv 181
  615. #define GLS_OP_glTexCoord4d 182
  616. #define GLS_OP_glTexCoord4dv 183
  617. #define GLS_OP_glTexCoord4f 184
  618. #define GLS_OP_glTexCoord4fv 185
  619. #define GLS_OP_glTexCoord4i 186
  620. #define GLS_OP_glTexCoord4iv 187
  621. #define GLS_OP_glTexCoord4s 188
  622. #define GLS_OP_glTexCoord4sv 189
  623. #define GLS_OP_glTexCoordPointerEXT 65500
  624. #define GLS_OP_glTexEnvf 248
  625. #define GLS_OP_glTexEnvfv 249
  626. #define GLS_OP_glTexEnvi 250
  627. #define GLS_OP_glTexEnviv 251
  628. #define GLS_OP_glTexGend 252
  629. #define GLS_OP_glTexGendv 253
  630. #define GLS_OP_glTexGenf 254
  631. #define GLS_OP_glTexGenfv 255
  632. #define GLS_OP_glTexGeni 256
  633. #define GLS_OP_glTexGeniv 257
  634. #define GLS_OP_glTexImage1D 246
  635. #define GLS_OP_glTexImage2D 247
  636. #define GLS_OP_glTexImage3DEXT 65519
  637. #define GLS_OP_glTexImage4DSGIS 65460
  638. #define GLS_OP_glTexParameterf 242
  639. #define GLS_OP_glTexParameterfv 243
  640. #define GLS_OP_glTexParameteri 244
  641. #define GLS_OP_glTexParameteriv 245
  642. #define GLS_OP_glTexSubImage1DEXT 65523
  643. #define GLS_OP_glTexSubImage2DEXT 65524
  644. #define GLS_OP_glTexSubImage3DEXT 65488
  645. #define GLS_OP_glTexSubImage4DSGIS 65461
  646. #define GLS_OP_glTranslated 367
  647. #define GLS_OP_glTranslatef 368
  648. #define GLS_OP_glVertex2d 190
  649. #define GLS_OP_glVertex2dv 191
  650. #define GLS_OP_glVertex2f 192
  651. #define GLS_OP_glVertex2fv 193
  652. #define GLS_OP_glVertex2i 194
  653. #define GLS_OP_glVertex2iv 195
  654. #define GLS_OP_glVertex2s 196
  655. #define GLS_OP_glVertex2sv 197
  656. #define GLS_OP_glVertex3d 198
  657. #define GLS_OP_glVertex3dv 199
  658. #define GLS_OP_glVertex3f 200
  659. #define GLS_OP_glVertex3fv 201
  660. #define GLS_OP_glVertex3i 202
  661. #define GLS_OP_glVertex3iv 203
  662. #define GLS_OP_glVertex3s 204
  663. #define GLS_OP_glVertex3sv 205
  664. #define GLS_OP_glVertex4d 206
  665. #define GLS_OP_glVertex4dv 207
  666. #define GLS_OP_glVertex4f 208
  667. #define GLS_OP_glVertex4fv 209
  668. #define GLS_OP_glVertex4i 210
  669. #define GLS_OP_glVertex4iv 211
  670. #define GLS_OP_glVertex4s 212
  671. #define GLS_OP_glVertex4sv 213
  672. #define GLS_OP_glVertexPointerEXT 65501
  673. #define GLS_OP_glViewport 369
  674. /*************************************************************/
  675. /* GLS global commands */
  676. extern GLSenum GLS_LINKAGE glsBinary (GLboolean inSwapped);
  677. extern GLSenum GLS_LINKAGE glsCommandAPI (GLSopcode inOpcode);
  678. extern const GLubyte* GLS_LINKAGE glsCommandString (GLSopcode inOpcode);
  679. extern void GLS_LINKAGE glsContext (GLuint inContext);
  680. extern void GLS_LINKAGE glsDeleteContext (GLuint inContext);
  681. extern const GLubyte* GLS_LINKAGE glsEnumString (GLSenum inAPI, GLSenum inEnum);
  682. extern GLuint GLS_LINKAGE glsGenContext (void);
  683. extern GLuint* GLS_LINKAGE glsGetAllContexts (void);
  684. extern GLScommandAlignment* GLS_LINKAGE glsGetCommandAlignment (GLSopcode inOpcode, GLSenum inExternStreamType, GLScommandAlignment *outAlignment);
  685. extern GLbitfield GLS_LINKAGE glsGetCommandAttrib (GLSopcode inOpcode);
  686. extern GLint GLS_LINKAGE glsGetConsti (GLSenum inAttrib);
  687. extern const GLint* GLS_LINKAGE glsGetConstiv (GLSenum inAttrib);
  688. extern const GLubyte* GLS_LINKAGE glsGetConstubz (GLSenum inAttrib);
  689. extern GLuint GLS_LINKAGE glsGetCurrentContext (void);
  690. extern GLint* GLS_LINKAGE glsGetCurrentTime (GLint *outTime);
  691. extern GLSenum GLS_LINKAGE glsGetError (GLboolean inClear);
  692. extern GLint GLS_LINKAGE glsGetOpcodeCount (GLSenum inAPI);
  693. extern const GLSopcode* GLS_LINKAGE glsGetOpcodes (GLSenum inAPI);
  694. extern GLboolean GLS_LINKAGE glsIsContext (GLuint inContext);
  695. extern GLboolean GLS_LINKAGE glsIsExtensionSupported (const GLubyte *inExtension);
  696. extern GLboolean GLS_LINKAGE glsIsUTF8String (const GLubyte *inString);
  697. extern GLlong GLS_LINKAGE glsLong (GLint inHigh, GLuint inLow);
  698. extern GLint GLS_LINKAGE glsLongHigh (GLlong inVal);
  699. extern GLuint GLS_LINKAGE glsLongLow (GLlong inVal);
  700. extern GLSfunc GLS_LINKAGE glsNullCommandFunc (GLSopcode inOpcode);
  701. extern void GLS_LINKAGE glsPixelSetup (void);
  702. extern GLulong GLS_LINKAGE glsULong (GLuint inHigh, GLuint inLow);
  703. extern GLuint GLS_LINKAGE glsULongHigh (GLulong inVal);
  704. extern GLuint GLS_LINKAGE glsULongLow (GLulong inVal);
  705. extern GLint GLS_LINKAGE glsUCS4toUTF8 (GLuint inUCS4, GLubyte *outUTF8);
  706. extern GLubyte* GLS_LINKAGE glsUCStoUTF8z (size_t inUCSbytes, const GLvoid *inUCSz, size_t inUTF8max, GLubyte *outUTF8z);
  707. extern GLubyte* GLS_LINKAGE glsUCS1toUTF8z (const GLubyte *inUCS1z, size_t inUTF8max, GLubyte *outUTF8z);
  708. extern GLubyte* GLS_LINKAGE glsUCS2toUTF8z (const GLushort *inUCS2z, size_t inUTF8max, GLubyte *outUTF8z);
  709. extern GLubyte* GLS_LINKAGE glsUCS4toUTF8z (const GLuint *inUCS4z, size_t inUTF8max, GLubyte *outUTF8z);
  710. extern GLint GLS_LINKAGE glsUTF8toUCS4 (const GLubyte *inUTF8, GLuint *outUCS4);
  711. extern GLboolean GLS_LINKAGE glsUTF8toUCSz (size_t inUCSbytes, const GLubyte *inUTF8z, size_t inUCSmax, GLvoid *outUCSz);
  712. extern GLboolean GLS_LINKAGE glsUTF8toUCS1z (const GLubyte *inUTF8z, size_t inUCS1max, GLubyte *outUCS1z);
  713. extern GLboolean GLS_LINKAGE glsUTF8toUCS2z (const GLubyte *inUTF8z, size_t inUCS2max, GLushort *outUCS2z);
  714. extern GLboolean GLS_LINKAGE glsUTF8toUCS4z (const GLubyte *inUTF8z, size_t inUCS4max, GLuint *outUCS4z);
  715. /* GLS immediate commands */
  716. extern void GLS_LINKAGE glsAbortCall (GLSenum inMode);
  717. extern GLboolean GLS_LINKAGE glsBeginCapture (const GLubyte *inStreamName, GLSenum inCaptureStreamType, GLbitfield inWriteFlags);
  718. extern void GLS_LINKAGE glsCallArray (GLSenum inExternStreamType, size_t inCount, const GLubyte *inArray);
  719. extern void GLS_LINKAGE glsCaptureFlags (GLSopcode inOpcode, GLbitfield inFlags);
  720. extern void GLS_LINKAGE glsCaptureFunc (GLSenum inTarget, GLScaptureFunc inFunc);
  721. extern void GLS_LINKAGE glsChannel (GLSenum inTarget, FILE *inChannel);
  722. extern void GLS_LINKAGE glsCommandFunc (GLSopcode inOpcode, GLSfunc inFunc);
  723. extern GLSenum GLS_LINKAGE glsCopyStream (const GLubyte *inSource, const GLubyte *inDest, GLSenum inDestType, GLbitfield inWriteFlags);
  724. extern void GLS_LINKAGE glsDataPointer (GLvoid *inPointer);
  725. extern void GLS_LINKAGE glsDeleteReadPrefix (GLuint inIndex);
  726. extern void GLS_LINKAGE glsDeleteStream (const GLubyte *inName);
  727. extern void GLS_LINKAGE glsEndCapture (void);
  728. extern void GLS_LINKAGE glsFlush (GLSenum inFlushType);
  729. extern GLSfunc *GLS_LINKAGE glsGetCaptureDispatchTable(void);
  730. extern GLbitfield GLS_LINKAGE glsGetCaptureFlags (GLSopcode inOpcode);
  731. extern GLSfunc GLS_LINKAGE glsGetCommandFunc (GLSopcode inOpcode);
  732. extern GLSfunc GLS_LINKAGE glsGetContextFunc (GLSenum inAttrib);
  733. extern GLlong GLS_LINKAGE glsGetContextListl (GLSenum inAttrib, GLuint inIndex);
  734. extern const GLubyte* GLS_LINKAGE glsGetContextListubz (GLSenum inAttrib, GLuint inIndex);
  735. extern GLvoid* GLS_LINKAGE glsGetContextPointer (GLSenum inAttrib);
  736. extern GLint GLS_LINKAGE glsGetContexti (GLSenum inAttrib);
  737. extern const GLubyte* GLS_LINKAGE glsGetContextubz (GLSenum inAttrib);
  738. extern GLint GLS_LINKAGE glsGetGLRCi (GLuint inGLRC, GLSenum inAttrib);
  739. extern GLfloat GLS_LINKAGE glsGetHeaderf (GLSenum inAttrib);
  740. extern GLfloat* GLS_LINKAGE glsGetHeaderfv (GLSenum inAttrib, GLfloat *outVec);
  741. extern GLint GLS_LINKAGE glsGetHeaderi (GLSenum inAttrib);
  742. extern GLint* GLS_LINKAGE glsGetHeaderiv (GLSenum inAttrib, GLint *outVec);
  743. extern const GLubyte* GLS_LINKAGE glsGetHeaderubz (GLSenum inAttrib);
  744. extern GLfloat GLS_LINKAGE glsGetLayerf (GLuint inLayer, GLSenum inAttrib);
  745. extern GLint GLS_LINKAGE glsGetLayeri (GLuint inLayer, GLSenum inAttrib);
  746. extern GLbitfield GLS_LINKAGE glsGetStreamAttrib (const GLubyte *inName);
  747. extern GLuint GLS_LINKAGE glsGetStreamCRC32 (const GLubyte *inName);
  748. extern const GLubyte* GLS_LINKAGE glsGetStreamReadName (const GLubyte *inName);
  749. extern size_t GLS_LINKAGE glsGetStreamSize (const GLubyte *inName);
  750. extern GLSenum GLS_LINKAGE glsGetStreamType (const GLubyte *inName);
  751. extern GLboolean GLS_LINKAGE glsIsContextStream (const GLubyte *inName);
  752. extern void GLS_LINKAGE glsPixelSetupGen (GLboolean inEnabled);
  753. extern void GLS_LINKAGE glsReadFunc (GLSreadFunc inFunc);
  754. extern void GLS_LINKAGE glsReadPrefix (GLSenum inListOp, const GLubyte *inPrefix);
  755. extern void GLS_LINKAGE glsUnreadFunc (GLSwriteFunc inFunc);
  756. extern void GLS_LINKAGE glsWriteFunc (GLSwriteFunc inFunc);
  757. extern void GLS_LINKAGE glsWritePrefix (const GLubyte *inPrefix);
  758. /* GLS encodable commands */
  759. extern void GLS_LINKAGE glsBeginGLS (GLint inVersionMajor, GLint inVersionMinor);
  760. extern void GLS_LINKAGE glsBlock (GLSenum inBlockType);
  761. extern GLSenum GLS_LINKAGE glsCallStream (const GLubyte *inName);
  762. extern void GLS_LINKAGE glsEndGLS (void);
  763. extern void GLS_LINKAGE glsError (GLSopcode inOpcode, GLSenum inError);
  764. extern void GLS_LINKAGE glsGLRC (GLuint inGLRC);
  765. extern void GLS_LINKAGE glsGLRCLayer (GLuint inGLRC, GLuint inLayer, GLuint inReadLayer);
  766. extern void GLS_LINKAGE glsHeaderGLRCi (GLuint inGLRC, GLSenum inAttrib, GLint inVal);
  767. extern void GLS_LINKAGE glsHeaderLayerf (GLuint inLayer, GLSenum inAttrib, GLfloat inVal);
  768. extern void GLS_LINKAGE glsHeaderLayeri (GLuint inLayer, GLSenum inAttrib, GLint inVal);
  769. extern void GLS_LINKAGE glsHeaderf (GLSenum inAttrib, GLfloat inVal);
  770. extern void GLS_LINKAGE glsHeaderfv (GLSenum inAttrib, const GLfloat *inVec);
  771. extern void GLS_LINKAGE glsHeaderi (GLSenum inAttrib, GLint inVal);
  772. extern void GLS_LINKAGE glsHeaderiv (GLSenum inAttrib, const GLint *inVec);
  773. extern void GLS_LINKAGE glsHeaderubz (GLSenum inAttrib, const GLubyte *inString);
  774. extern void GLS_LINKAGE glsRequireExtension (const GLubyte *inExtension);
  775. extern void GLS_LINKAGE glsUnsupportedCommand (void);
  776. /* GLS encodable-nop commands */
  777. extern void GLS_LINKAGE glsAppRef (GLulong inAddress, GLuint inCount);
  778. extern void GLS_LINKAGE glsBeginObj (const GLubyte *inTag);
  779. extern void GLS_LINKAGE glsCharubz (const GLubyte *inTag, const GLubyte *inString);
  780. extern void GLS_LINKAGE glsComment (const GLubyte *inComment);
  781. extern void GLS_LINKAGE glsDisplayMapfv (GLuint inLayer, GLSenum inMap, GLuint inCount, const GLfloat *inVec);
  782. extern void GLS_LINKAGE glsEndObj (void);
  783. extern void GLS_LINKAGE glsNumb (const GLubyte *inTag, GLbyte inVal);
  784. extern void GLS_LINKAGE glsNumbv (const GLubyte *inTag, GLuint inCount, const GLbyte *inVec);
  785. extern void GLS_LINKAGE glsNumd (const GLubyte *inTag, GLdouble inVal);
  786. extern void GLS_LINKAGE glsNumdv (const GLubyte *inTag, GLuint inCount, const GLdouble *inVec);
  787. extern void GLS_LINKAGE glsNumf (const GLubyte *inTag, GLfloat inVal);
  788. extern void GLS_LINKAGE glsNumfv (const GLubyte *inTag, GLuint inCount, const GLfloat *inVec);
  789. extern void GLS_LINKAGE glsNumi (const GLubyte *inTag, GLint inVal);
  790. extern void GLS_LINKAGE glsNumiv (const GLubyte *inTag, GLuint inCount, const GLint *inVec);
  791. extern void GLS_LINKAGE glsNuml (const GLubyte *inTag, GLlong inVal);
  792. extern void GLS_LINKAGE glsNumlv (const GLubyte *inTag, GLuint inCount, const GLlong *inVec);
  793. extern void GLS_LINKAGE glsNums (const GLubyte *inTag, GLshort inVal);
  794. extern void GLS_LINKAGE glsNumsv (const GLubyte *inTag, GLuint inCount, const GLshort *inVec);
  795. extern void GLS_LINKAGE glsNumub (const GLubyte *inTag, GLubyte inVal);
  796. extern void GLS_LINKAGE glsNumubv (const GLubyte *inTag, GLuint inCount, const GLubyte *inVec);
  797. extern void GLS_LINKAGE glsNumui (const GLubyte *inTag, GLuint inVal);
  798. extern void GLS_LINKAGE glsNumuiv (const GLubyte *inTag, GLuint inCount, const GLuint *inVec);
  799. extern void GLS_LINKAGE glsNumul (const GLubyte *inTag, GLulong inVal);
  800. extern void GLS_LINKAGE glsNumulv (const GLubyte *inTag, GLuint inCount, const GLulong *inVec);
  801. extern void GLS_LINKAGE glsNumus (const GLubyte *inTag, GLushort inVal);
  802. extern void GLS_LINKAGE glsNumusv (const GLubyte *inTag, GLuint inCount, const GLushort *inVec);
  803. extern void GLS_LINKAGE glsPad (void);
  804. extern void GLS_LINKAGE glsSwapBuffers (GLuint inLayer);
  805. #if defined(__cplusplus)
  806. }
  807. #endif /* defined(__cplusplus) */
  808. #endif /* defined(__gls_h_) */