Source code of Windows XP (NT5)
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.

401 lines
24 KiB

  1. #ifndef __glimfuncs_h_
  2. #define __glimfuncs_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. #include "types.h"
  20. extern void APIPRIVATE __glim_NewList(GLuint, GLenum);
  21. extern void APIPRIVATE __glim_EndList(void);
  22. extern void APIPRIVATE __glim_CallList(GLuint);
  23. extern void APIPRIVATE __glim_CallLists(GLsizei, GLenum, const GLvoid *);
  24. extern void APIPRIVATE __glim_DeleteLists(GLuint, GLsizei);
  25. extern GLuint APIPRIVATE __glim_GenLists(GLsizei);
  26. extern void APIPRIVATE __glim_ListBase(GLuint);
  27. extern void APIPRIVATE __glim_DrawPolyArray(void *);
  28. #ifdef NT
  29. extern void APIPRIVATE __glim_Bitmap(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *, GLboolean);
  30. #else
  31. extern void APIPRIVATE __glim_Bitmap(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *);
  32. #endif
  33. extern void APIPRIVATE __glim_Color3b(GLbyte, GLbyte, GLbyte);
  34. extern void APIPRIVATE __glim_Color3bv(const GLbyte *);
  35. extern void APIPRIVATE __glim_Color3d(GLdouble, GLdouble, GLdouble);
  36. extern void APIPRIVATE __glim_Color3dv(const GLdouble *);
  37. extern void APIPRIVATE __glim_Color3f(GLfloat, GLfloat, GLfloat);
  38. extern void APIPRIVATE __glim_Color3fv(const GLfloat *);
  39. extern void APIPRIVATE __glim_Color3i(GLint, GLint, GLint);
  40. extern void APIPRIVATE __glim_Color3iv(const GLint *);
  41. extern void APIPRIVATE __glim_Color3s(GLshort, GLshort, GLshort);
  42. extern void APIPRIVATE __glim_Color3sv(const GLshort *);
  43. extern void APIPRIVATE __glim_Color3ub(GLubyte, GLubyte, GLubyte);
  44. extern void APIPRIVATE __glim_Color3ubv(const GLubyte *);
  45. extern void APIPRIVATE __glim_Color3ui(GLuint, GLuint, GLuint);
  46. extern void APIPRIVATE __glim_Color3uiv(const GLuint *);
  47. extern void APIPRIVATE __glim_Color3us(GLushort, GLushort, GLushort);
  48. extern void APIPRIVATE __glim_Color3usv(const GLushort *);
  49. extern void APIPRIVATE __glim_Color4b(GLbyte, GLbyte, GLbyte, GLbyte);
  50. extern void APIPRIVATE __glim_Color4bv(const GLbyte *);
  51. extern void APIPRIVATE __glim_Color4d(GLdouble, GLdouble, GLdouble, GLdouble);
  52. extern void APIPRIVATE __glim_Color4dv(const GLdouble *);
  53. extern void APIPRIVATE __glim_Color4f(GLfloat, GLfloat, GLfloat, GLfloat);
  54. extern void APIPRIVATE __glim_Color4fv(const GLfloat *);
  55. extern void APIPRIVATE __glim_Color4i(GLint, GLint, GLint, GLint);
  56. extern void APIPRIVATE __glim_Color4iv(const GLint *);
  57. extern void APIPRIVATE __glim_Color4s(GLshort, GLshort, GLshort, GLshort);
  58. extern void APIPRIVATE __glim_Color4sv(const GLshort *);
  59. extern void APIPRIVATE __glim_Color4ub(GLubyte, GLubyte, GLubyte, GLubyte);
  60. extern void APIPRIVATE __glim_Color4ubv(const GLubyte *);
  61. extern void APIPRIVATE __glim_Color4ui(GLuint, GLuint, GLuint, GLuint);
  62. extern void APIPRIVATE __glim_Color4uiv(const GLuint *);
  63. extern void APIPRIVATE __glim_Color4us(GLushort, GLushort, GLushort, GLushort);
  64. extern void APIPRIVATE __glim_Color4usv(const GLushort *);
  65. extern void APIPRIVATE __glim_EdgeFlag(GLboolean);
  66. extern void APIPRIVATE __glim_EdgeFlagv(const GLboolean *);
  67. extern void APIPRIVATE __glim_End(void);
  68. extern void APIPRIVATE __glim_Indexd(GLdouble);
  69. extern void APIPRIVATE __glim_Indexdv(const GLdouble *);
  70. extern void APIPRIVATE __glim_Indexf(GLfloat);
  71. extern void APIPRIVATE __glim_Indexfv(const GLfloat *);
  72. extern void APIPRIVATE __glim_Indexi(GLint);
  73. extern void APIPRIVATE __glim_Indexiv(const GLint *);
  74. extern void APIPRIVATE __glim_Indexs(GLshort);
  75. extern void APIPRIVATE __glim_Indexsv(const GLshort *);
  76. extern void APIPRIVATE __glim_Normal3b(GLbyte, GLbyte, GLbyte);
  77. extern void APIPRIVATE __glim_Normal3bv(const GLbyte *);
  78. extern void APIPRIVATE __glim_Normal3d(GLdouble, GLdouble, GLdouble);
  79. extern void APIPRIVATE __glim_Normal3dv(const GLdouble *);
  80. extern void APIPRIVATE __glim_Normal3f(GLfloat, GLfloat, GLfloat);
  81. extern void APIPRIVATE __glim_Normal3fv(const GLfloat *);
  82. extern void APIPRIVATE __glim_Normal3i(GLint, GLint, GLint);
  83. extern void APIPRIVATE __glim_Normal3iv(const GLint *);
  84. extern void APIPRIVATE __glim_Normal3s(GLshort, GLshort, GLshort);
  85. extern void APIPRIVATE __glim_Normal3sv(const GLshort *);
  86. extern void APIPRIVATE __glim_RasterPos2d(GLdouble, GLdouble);
  87. extern void APIPRIVATE __glim_RasterPos2dv(const GLdouble *);
  88. extern void APIPRIVATE __glim_RasterPos2f(GLfloat, GLfloat);
  89. extern void APIPRIVATE __glim_RasterPos2fv(const GLfloat *);
  90. extern void APIPRIVATE __glim_RasterPos2i(GLint, GLint);
  91. extern void APIPRIVATE __glim_RasterPos2iv(const GLint *);
  92. extern void APIPRIVATE __glim_RasterPos2s(GLshort, GLshort);
  93. extern void APIPRIVATE __glim_RasterPos2sv(const GLshort *);
  94. extern void APIPRIVATE __glim_RasterPos3d(GLdouble, GLdouble, GLdouble);
  95. extern void APIPRIVATE __glim_RasterPos3dv(const GLdouble *);
  96. extern void APIPRIVATE __glim_RasterPos3f(GLfloat, GLfloat, GLfloat);
  97. extern void APIPRIVATE __glim_RasterPos3fv(const GLfloat *);
  98. extern void APIPRIVATE __glim_RasterPos3i(GLint, GLint, GLint);
  99. extern void APIPRIVATE __glim_RasterPos3iv(const GLint *);
  100. extern void APIPRIVATE __glim_RasterPos3s(GLshort, GLshort, GLshort);
  101. extern void APIPRIVATE __glim_RasterPos3sv(const GLshort *);
  102. extern void APIPRIVATE __glim_RasterPos4d(GLdouble, GLdouble, GLdouble, GLdouble);
  103. extern void APIPRIVATE __glim_RasterPos4dv(const GLdouble *);
  104. extern void APIPRIVATE __glim_RasterPos4f(GLfloat, GLfloat, GLfloat, GLfloat);
  105. extern void APIPRIVATE __glim_RasterPos4fv(const GLfloat *);
  106. extern void APIPRIVATE __glim_RasterPos4i(GLint, GLint, GLint, GLint);
  107. extern void APIPRIVATE __glim_RasterPos4iv(const GLint *);
  108. extern void APIPRIVATE __glim_RasterPos4s(GLshort, GLshort, GLshort, GLshort);
  109. extern void APIPRIVATE __glim_RasterPos4sv(const GLshort *);
  110. extern void APIPRIVATE __glim_Rectd(GLdouble, GLdouble, GLdouble, GLdouble);
  111. extern void APIPRIVATE __glim_Rectdv(const GLdouble *, const GLdouble *);
  112. extern void APIPRIVATE __glim_Rectf(GLfloat, GLfloat, GLfloat, GLfloat);
  113. extern void APIPRIVATE __glim_Rectfv(const GLfloat *, const GLfloat *);
  114. extern void APIPRIVATE __glim_Recti(GLint, GLint, GLint, GLint);
  115. extern void APIPRIVATE __glim_Rectiv(const GLint *, const GLint *);
  116. extern void APIPRIVATE __glim_Rects(GLshort, GLshort, GLshort, GLshort);
  117. extern void APIPRIVATE __glim_Rectsv(const GLshort *, const GLshort *);
  118. extern void APIPRIVATE __glim_TexCoord1d(GLdouble);
  119. extern void APIPRIVATE __glim_TexCoord1dv(const GLdouble *);
  120. extern void APIPRIVATE __glim_TexCoord1f(GLfloat);
  121. extern void APIPRIVATE __glim_TexCoord1fv(const GLfloat *);
  122. extern void APIPRIVATE __glim_TexCoord1i(GLint);
  123. extern void APIPRIVATE __glim_TexCoord1iv(const GLint *);
  124. extern void APIPRIVATE __glim_TexCoord1s(GLshort);
  125. extern void APIPRIVATE __glim_TexCoord1sv(const GLshort *);
  126. extern void APIPRIVATE __glim_TexCoord2d(GLdouble, GLdouble);
  127. extern void APIPRIVATE __glim_TexCoord2dv(const GLdouble *);
  128. extern void APIPRIVATE __glim_TexCoord2f(GLfloat, GLfloat);
  129. extern void APIPRIVATE __glim_TexCoord2fv(const GLfloat *);
  130. extern void APIPRIVATE __glim_TexCoord2i(GLint, GLint);
  131. extern void APIPRIVATE __glim_TexCoord2iv(const GLint *);
  132. extern void APIPRIVATE __glim_TexCoord2s(GLshort, GLshort);
  133. extern void APIPRIVATE __glim_TexCoord2sv(const GLshort *);
  134. extern void APIPRIVATE __glim_TexCoord3d(GLdouble, GLdouble, GLdouble);
  135. extern void APIPRIVATE __glim_TexCoord3dv(const GLdouble *);
  136. extern void APIPRIVATE __glim_TexCoord3f(GLfloat, GLfloat, GLfloat);
  137. extern void APIPRIVATE __glim_TexCoord3fv(const GLfloat *);
  138. extern void APIPRIVATE __glim_TexCoord3i(GLint, GLint, GLint);
  139. extern void APIPRIVATE __glim_TexCoord3iv(const GLint *);
  140. extern void APIPRIVATE __glim_TexCoord3s(GLshort, GLshort, GLshort);
  141. extern void APIPRIVATE __glim_TexCoord3sv(const GLshort *);
  142. extern void APIPRIVATE __glim_TexCoord4d(GLdouble, GLdouble, GLdouble, GLdouble);
  143. extern void APIPRIVATE __glim_TexCoord4dv(const GLdouble *);
  144. extern void APIPRIVATE __glim_TexCoord4f(GLfloat, GLfloat, GLfloat, GLfloat);
  145. extern void APIPRIVATE __glim_TexCoord4fv(const GLfloat *);
  146. extern void APIPRIVATE __glim_TexCoord4i(GLint, GLint, GLint, GLint);
  147. extern void APIPRIVATE __glim_TexCoord4iv(const GLint *);
  148. extern void APIPRIVATE __glim_TexCoord4s(GLshort, GLshort, GLshort, GLshort);
  149. extern void APIPRIVATE __glim_TexCoord4sv(const GLshort *);
  150. extern void APIPRIVATE __glim_Vertex2d(GLdouble, GLdouble);
  151. extern void APIPRIVATE __glim_Vertex2dv(const GLdouble *);
  152. extern void APIPRIVATE __glim_Vertex2f(GLfloat, GLfloat);
  153. extern void APIPRIVATE __glim_Vertex2fv(const GLfloat *);
  154. extern void APIPRIVATE __glim_Vertex2i(GLint, GLint);
  155. extern void APIPRIVATE __glim_Vertex2iv(const GLint *);
  156. extern void APIPRIVATE __glim_Vertex2s(GLshort, GLshort);
  157. extern void APIPRIVATE __glim_Vertex2sv(const GLshort *);
  158. extern void APIPRIVATE __glim_Vertex3d(GLdouble, GLdouble, GLdouble);
  159. extern void APIPRIVATE __glim_Vertex3dv(const GLdouble *);
  160. extern void APIPRIVATE __glim_Vertex3f(GLfloat, GLfloat, GLfloat);
  161. extern void APIPRIVATE __glim_Vertex3fv(const GLfloat *);
  162. extern void APIPRIVATE __glim_Vertex3i(GLint, GLint, GLint);
  163. extern void APIPRIVATE __glim_Vertex3iv(const GLint *);
  164. extern void APIPRIVATE __glim_Vertex3s(GLshort, GLshort, GLshort);
  165. extern void APIPRIVATE __glim_Vertex3sv(const GLshort *);
  166. extern void APIPRIVATE __glim_Vertex4d(GLdouble, GLdouble, GLdouble, GLdouble);
  167. extern void APIPRIVATE __glim_Vertex4dv(const GLdouble *);
  168. extern void APIPRIVATE __glim_Vertex4f(GLfloat, GLfloat, GLfloat, GLfloat);
  169. extern void APIPRIVATE __glim_Vertex4fv(const GLfloat *);
  170. extern void APIPRIVATE __glim_Vertex4i(GLint, GLint, GLint, GLint);
  171. extern void APIPRIVATE __glim_Vertex4iv(const GLint *);
  172. extern void APIPRIVATE __glim_Vertex4s(GLshort, GLshort, GLshort, GLshort);
  173. extern void APIPRIVATE __glim_Vertex4sv(const GLshort *);
  174. extern void APIPRIVATE __glim_ClipPlane(GLenum, const GLdouble *);
  175. extern void APIPRIVATE __glim_ColorMaterial(GLenum, GLenum);
  176. extern void APIPRIVATE __glim_CullFace(GLenum);
  177. extern void APIPRIVATE __glim_Fogf(GLenum, GLfloat);
  178. extern void APIPRIVATE __glim_Fogfv(GLenum, const GLfloat *);
  179. extern void APIPRIVATE __glim_Fogi(GLenum, GLint);
  180. extern void APIPRIVATE __glim_Fogiv(GLenum, const GLint *);
  181. extern void APIPRIVATE __glim_FrontFace(GLenum);
  182. extern void APIPRIVATE __glim_Hint(GLenum, GLenum);
  183. extern void APIPRIVATE __glim_Lightf(GLenum, GLenum, GLfloat);
  184. extern void APIPRIVATE __glim_Lightfv(GLenum, GLenum, const GLfloat *);
  185. extern void APIPRIVATE __glim_Lighti(GLenum, GLenum, GLint);
  186. extern void APIPRIVATE __glim_Lightiv(GLenum, GLenum, const GLint *);
  187. extern void APIPRIVATE __glim_LightModelf(GLenum, GLfloat);
  188. extern void APIPRIVATE __glim_LightModelfv(GLenum, const GLfloat *);
  189. extern void APIPRIVATE __glim_LightModeli(GLenum, GLint);
  190. extern void APIPRIVATE __glim_LightModeliv(GLenum, const GLint *);
  191. extern void APIPRIVATE __glim_LineStipple(GLint, GLushort);
  192. extern void APIPRIVATE __glim_LineWidth(GLfloat);
  193. extern void APIPRIVATE __glim_Materialf(GLenum, GLenum, GLfloat);
  194. extern void APIPRIVATE __glim_Materialfv(GLenum, GLenum, const GLfloat *);
  195. extern void APIPRIVATE __glim_Materiali(GLenum, GLenum, GLint);
  196. extern void APIPRIVATE __glim_Materialiv(GLenum, GLenum, const GLint *);
  197. extern void APIPRIVATE __glim_PointSize(GLfloat);
  198. extern void APIPRIVATE __glim_PolygonMode(GLenum, GLenum);
  199. #ifdef NT
  200. extern void APIPRIVATE __glim_PolygonStipple(const GLubyte *, GLboolean);
  201. #else
  202. extern void APIPRIVATE __glim_PolygonStipple(const GLubyte *);
  203. #endif
  204. extern void APIPRIVATE __glim_Scissor(GLint, GLint, GLsizei, GLsizei);
  205. extern void APIPRIVATE __glim_ShadeModel(GLenum);
  206. extern void APIPRIVATE __glim_TexParameterf(GLenum, GLenum, GLfloat);
  207. extern void APIPRIVATE __glim_TexParameterfv(GLenum, GLenum, const GLfloat *);
  208. extern void APIPRIVATE __glim_TexParameteri(GLenum, GLenum, GLint);
  209. extern void APIPRIVATE __glim_TexParameteriv(GLenum, GLenum, const GLint *);
  210. #ifdef NT
  211. extern void APIPRIVATE __glim_TexImage1D(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *, GLboolean);
  212. extern void APIPRIVATE __glim_TexImage2D(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *, GLboolean);
  213. #else
  214. extern void APIPRIVATE __glim_TexImage1D(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  215. extern void APIPRIVATE __glim_TexImage2D(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  216. #endif
  217. extern void APIPRIVATE __glim_TexEnvf(GLenum, GLenum, GLfloat);
  218. extern void APIPRIVATE __glim_TexEnvfv(GLenum, GLenum, const GLfloat *);
  219. extern void APIPRIVATE __glim_TexEnvi(GLenum, GLenum, GLint);
  220. extern void APIPRIVATE __glim_TexEnviv(GLenum, GLenum, const GLint *);
  221. extern void APIPRIVATE __glim_TexGend(GLenum, GLenum, GLdouble);
  222. extern void APIPRIVATE __glim_TexGendv(GLenum, GLenum, const GLdouble *);
  223. extern void APIPRIVATE __glim_TexGenf(GLenum, GLenum, GLfloat);
  224. extern void APIPRIVATE __glim_TexGenfv(GLenum, GLenum, const GLfloat *);
  225. extern void APIPRIVATE __glim_TexGeni(GLenum, GLenum, GLint);
  226. extern void APIPRIVATE __glim_TexGeniv(GLenum, GLenum, const GLint *);
  227. extern void APIPRIVATE __glim_FeedbackBuffer(GLsizei, GLenum, GLfloat *);
  228. extern void APIPRIVATE __glim_SelectBuffer(GLsizei, GLuint *);
  229. extern GLint APIPRIVATE __glim_RenderMode(GLenum);
  230. extern void APIPRIVATE __glim_InitNames(void);
  231. extern void APIPRIVATE __glim_LoadName(GLuint);
  232. extern void APIPRIVATE __glim_PassThrough(GLfloat);
  233. extern void APIPRIVATE __glim_PopName(void);
  234. extern void APIPRIVATE __glim_PushName(GLuint);
  235. extern void APIPRIVATE __glim_DrawBuffer(GLenum);
  236. extern void APIPRIVATE __glim_Clear(GLbitfield);
  237. extern void APIPRIVATE __glim_ClearAccum(GLfloat, GLfloat, GLfloat, GLfloat);
  238. extern void APIPRIVATE __glim_ClearIndex(GLfloat);
  239. extern void APIPRIVATE __glim_ClearColor(GLclampf, GLclampf, GLclampf, GLclampf);
  240. extern void APIPRIVATE __glim_ClearStencil(GLint);
  241. extern void APIPRIVATE __glim_ClearDepth(GLclampd);
  242. extern void APIPRIVATE __glim_StencilMask(GLuint);
  243. extern void APIPRIVATE __glim_ColorMask(GLboolean, GLboolean, GLboolean, GLboolean);
  244. extern void APIPRIVATE __glim_DepthMask(GLboolean);
  245. extern void APIPRIVATE __glim_IndexMask(GLuint);
  246. extern void APIPRIVATE __glim_Accum(GLenum, GLfloat);
  247. extern void APIPRIVATE __glim_Disable(GLenum);
  248. extern void APIPRIVATE __glim_Enable(GLenum);
  249. extern void APIPRIVATE __glim_Finish(void);
  250. extern void APIPRIVATE __glim_Flush(void);
  251. extern void APIPRIVATE __glim_PopAttrib(void);
  252. extern void APIPRIVATE __glim_PushAttrib(GLbitfield);
  253. extern void APIPRIVATE __glim_AlphaFunc(GLenum, GLclampf);
  254. extern void APIPRIVATE __glim_BlendFunc(GLenum, GLenum);
  255. extern void APIPRIVATE __glim_LogicOp(GLenum);
  256. extern void APIPRIVATE __glim_StencilFunc(GLenum, GLint, GLuint);
  257. extern void APIPRIVATE __glim_StencilOp(GLenum, GLenum, GLenum);
  258. extern void APIPRIVATE __glim_DepthFunc(GLenum);
  259. extern void APIPRIVATE __glim_PixelZoom(GLfloat, GLfloat);
  260. extern void APIPRIVATE __glim_PixelTransferf(GLenum, GLfloat);
  261. extern void APIPRIVATE __glim_PixelTransferi(GLenum, GLint);
  262. extern void APIPRIVATE __glim_PixelStoref(GLenum, GLfloat);
  263. extern void APIPRIVATE __glim_PixelStorei(GLenum, GLint);
  264. extern void APIPRIVATE __glim_PixelMapfv(GLenum, GLint, const GLfloat *);
  265. extern void APIPRIVATE __glim_PixelMapuiv(GLenum, GLint, const GLuint *);
  266. extern void APIPRIVATE __glim_PixelMapusv(GLenum, GLint, const GLushort *);
  267. extern void APIPRIVATE __glim_ReadBuffer(GLenum);
  268. extern void APIPRIVATE __glim_CopyPixels(GLint, GLint, GLsizei, GLsizei, GLenum);
  269. extern void APIPRIVATE __glim_ReadPixels(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *);
  270. #ifdef NT
  271. extern void APIPRIVATE __glim_DrawPixels(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, GLboolean);
  272. #else
  273. extern void APIPRIVATE __glim_DrawPixels(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  274. #endif
  275. extern void APIPRIVATE __glim_GetBooleanv(GLenum, GLboolean *);
  276. extern void APIPRIVATE __glim_GetClipPlane(GLenum, GLdouble *);
  277. extern void APIPRIVATE __glim_GetDoublev(GLenum, GLdouble *);
  278. extern GLenum APIPRIVATE __glim_GetError(void);
  279. extern void APIPRIVATE __glim_GetFloatv(GLenum, GLfloat *);
  280. extern void APIPRIVATE __glim_GetIntegerv(GLenum, GLint *);
  281. extern void APIPRIVATE __glim_GetLightfv(GLenum, GLenum, GLfloat *);
  282. extern void APIPRIVATE __glim_GetLightiv(GLenum, GLenum, GLint *);
  283. extern void APIPRIVATE __glim_GetMapdv(GLenum, GLenum, GLdouble *);
  284. extern void APIPRIVATE __glim_GetMapfv(GLenum, GLenum, GLfloat *);
  285. extern void APIPRIVATE __glim_GetMapiv(GLenum, GLenum, GLint *);
  286. extern void APIPRIVATE __glim_GetMaterialfv(GLenum, GLenum, GLfloat *);
  287. extern void APIPRIVATE __glim_GetMaterialiv(GLenum, GLenum, GLint *);
  288. extern void APIPRIVATE __glim_GetPixelMapfv(GLenum, GLfloat *);
  289. extern void APIPRIVATE __glim_GetPixelMapuiv(GLenum, GLuint *);
  290. extern void APIPRIVATE __glim_GetPixelMapusv(GLenum, GLushort *);
  291. extern void APIPRIVATE __glim_GetPolygonStipple(GLubyte *);
  292. extern const GLubyte * APIPRIVATE __glim_GetString(GLenum);
  293. extern void APIPRIVATE __glim_GetTexEnvfv(GLenum, GLenum, GLfloat *);
  294. extern void APIPRIVATE __glim_GetTexEnviv(GLenum, GLenum, GLint *);
  295. extern void APIPRIVATE __glim_GetTexGendv(GLenum, GLenum, GLdouble *);
  296. extern void APIPRIVATE __glim_GetTexGenfv(GLenum, GLenum, GLfloat *);
  297. extern void APIPRIVATE __glim_GetTexGeniv(GLenum, GLenum, GLint *);
  298. extern void APIPRIVATE __glim_GetTexImage(GLenum, GLint, GLenum, GLenum, GLvoid *);
  299. extern void APIPRIVATE __glim_GetTexParameterfv(GLenum, GLenum, GLfloat *);
  300. extern void APIPRIVATE __glim_GetTexParameteriv(GLenum, GLenum, GLint *);
  301. extern void APIPRIVATE __glim_GetTexLevelParameterfv(GLenum, GLint, GLenum, GLfloat *);
  302. extern void APIPRIVATE __glim_GetTexLevelParameteriv(GLenum, GLint, GLenum, GLint *);
  303. extern GLboolean APIPRIVATE __glim_IsEnabled(GLenum);
  304. extern GLboolean APIPRIVATE __glim_IsList(GLuint);
  305. extern void APIPRIVATE __glim_DepthRange(GLclampd, GLclampd);
  306. extern void APIPRIVATE __glim_Frustum(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
  307. extern void APIPRIVATE __glim_LoadIdentity(void);
  308. extern void APIPRIVATE __glim_LoadMatrixf(const GLfloat *);
  309. extern void APIPRIVATE __glim_LoadMatrixd(const GLdouble *);
  310. extern void APIPRIVATE __glim_MatrixMode(GLenum);
  311. extern void APIPRIVATE __glim_MultMatrixf(const GLfloat *);
  312. extern void APIPRIVATE __glim_MultMatrixd(const GLdouble *);
  313. extern void APIPRIVATE __glim_Ortho(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
  314. extern void APIPRIVATE __glim_PopMatrix(void);
  315. extern void APIPRIVATE __glim_PushMatrix(void);
  316. extern void APIPRIVATE __glim_Rotated(GLdouble, GLdouble, GLdouble, GLdouble);
  317. extern void APIPRIVATE __glim_Rotatef(GLfloat, GLfloat, GLfloat, GLfloat);
  318. extern void APIPRIVATE __glim_Scaled(GLdouble, GLdouble, GLdouble);
  319. extern void APIPRIVATE __glim_Scalef(GLfloat, GLfloat, GLfloat);
  320. extern void APIPRIVATE __glim_Translated(GLdouble, GLdouble, GLdouble);
  321. extern void APIPRIVATE __glim_Translatef(GLfloat, GLfloat, GLfloat);
  322. extern void APIPRIVATE __glim_Viewport(GLint, GLint, GLsizei, GLsizei);
  323. extern void APIPRIVATE __glim_AddSwapHintRectWIN(GLint, GLint, GLint, GLint);
  324. extern GLboolean APIPRIVATE __glim_AreTexturesResident(GLsizei n, const GLuint *textures,
  325. GLboolean *residences);
  326. extern void APIPRIVATE __glim_BindTexture(GLenum target, GLuint texture);
  327. extern void APIPRIVATE __glim_CopyTexImage1D(GLenum target, GLint level,
  328. GLenum internalformat, GLint x, GLint y,
  329. GLsizei width, GLint border);
  330. extern void APIPRIVATE __glim_CopyTexImage2D(GLenum target, GLint level,
  331. GLenum internalformat, GLint x, GLint y,
  332. GLsizei width, GLsizei height, GLint border);
  333. extern void APIPRIVATE __glim_CopyTexSubImage1D(GLenum target, GLint level, GLint xoffset,
  334. GLint x, GLint y, GLsizei width);
  335. extern void APIPRIVATE __glim_CopyTexSubImage2D(GLenum target, GLint level, GLint xoffset,
  336. GLint yoffset, GLint x, GLint y,
  337. GLsizei width, GLsizei height);
  338. extern void APIPRIVATE __glim_DeleteTextures(GLsizei n, const GLuint *textures);
  339. extern void APIPRIVATE __glim_GenTextures(GLsizei n, GLuint *textures);
  340. extern GLboolean APIPRIVATE __glim_IsTexture(GLuint texture);
  341. extern void APIPRIVATE __glim_PrioritizeTextures(GLsizei n, const GLuint *textures,
  342. const GLclampf *priorities);
  343. #ifdef NT
  344. extern void APIPRIVATE __glim_TexSubImage1D(GLenum target, GLint level, GLint xoffset,
  345. GLsizei width, GLenum format, GLenum type,
  346. const GLvoid *pixels, GLboolean _IsDlist);
  347. extern void APIPRIVATE __glim_TexSubImage2D(GLenum target, GLint level, GLint xoffset,
  348. GLint yoffset, GLsizei width, GLsizei height,
  349. GLenum format, GLenum type,
  350. const GLvoid *pixels, GLboolean _IsDlist);
  351. #else
  352. extern void APIPRIVATE __glim_TexSubImage1D(GLenum target, GLint level, GLint xoffset,
  353. GLsizei width, GLenum format, GLenum type,
  354. const GLvoid *pixels);
  355. extern void APIPRIVATE __glim_TexSubImage2D(GLenum target, GLint level, GLint xoffset,
  356. GLint yoffset, GLsizei width, GLsizei height,
  357. GLenum format, GLenum type,
  358. const GLvoid *pixels);
  359. #endif
  360. extern void APIPRIVATE __glim_PolygonOffset(GLfloat factor, GLfloat units);
  361. #ifdef NT
  362. extern void APIPRIVATE __glim_ColorTableEXT( GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *data, GLboolean _IsDlist);
  363. extern void APIPRIVATE __glim_ColorSubTableEXT( GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data, GLboolean _IsDlist);
  364. extern void APIPRIVATE __glim_GetColorTableEXT( GLenum target, GLenum format, GLenum type, GLvoid *data);
  365. extern void APIPRIVATE __glim_GetColorTableParameterivEXT( GLenum target, GLenum pname, GLint *params);
  366. extern void APIPRIVATE __glim_GetColorTableParameterfvEXT( GLenum target, GLenum pname, GLfloat *params);
  367. #endif
  368. #ifdef GL_WIN_multiple_textures
  369. extern void APIPRIVATE __glim_CurrentTextureIndexWIN(GLuint index);
  370. extern void APIPRIVATE __glim_BindNthTextureWIN(GLuint index, GLenum target, GLuint texture);
  371. extern void APIPRIVATE __glim_NthTexCombineFuncWIN(GLuint index,
  372. GLenum leftColorFactor, GLenum colorOp, GLenum rightColorFactor,
  373. GLenum leftAlphaFactor, GLenum alphaOp, GLenum rightAlphaFactor);
  374. #endif // GL_WIN_multiple_textures
  375. extern void APIPRIVATE __glim_MipsVertex2fv(const GLfloat *);
  376. extern void APIPRIVATE __glim_MipsVertex3fv(const GLfloat *);
  377. extern void APIPRIVATE __glim_MipsVertex4fv(const GLfloat *);
  378. extern void APIPRIVATE __glim_MipsVertex2fvFast(const GLfloat *);
  379. extern void APIPRIVATE __glim_MipsVertex3fvFast(const GLfloat *);
  380. extern void APIPRIVATE __glim_MipsVertex4fvFast(const GLfloat *);
  381. extern void APIPRIVATE __glim_MipsVertex2fvFastest(const GLfloat *);
  382. extern void APIPRIVATE __glim_MipsVertex3fvFastest(const GLfloat *);
  383. extern void APIPRIVATE __glim_MipsVertex4fvFastest(const GLfloat *);
  384. extern void APIPRIVATE __glim_MipsNoXFVertex2fv(const GLfloat *);
  385. extern void APIPRIVATE __glim_MipsNoXFVertex3fv(const GLfloat *);
  386. extern void APIPRIVATE __glim_MipsNoXFVertex4fv(const GLfloat *);
  387. extern void APIPRIVATE __glim_MipsNoXFVertex2fvFast(const GLfloat *);
  388. extern void APIPRIVATE __glim_MipsNoXFVertex3fvFast(const GLfloat *);
  389. extern void APIPRIVATE __glim_MipsNoXFVertex4fvFast(const GLfloat *);
  390. extern void APIPRIVATE __glim_MipsNoXFVertex2fvFast2D(const GLfloat *);
  391. extern void APIPRIVATE __glim_FastColor3ub(GLubyte, GLubyte, GLubyte);
  392. extern void APIPRIVATE __glim_FastColor3ubv(const GLubyte *);
  393. #endif /* __glimfuncs_h_ */