qgl_linked.h 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. /*
  2. ===========================================================================
  3. Doom 3 GPL Source Code
  4. Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
  5. This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
  6. Doom 3 Source Code is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation, either version 3 of the License, or
  9. (at your option) any later version.
  10. Doom 3 Source Code is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
  16. In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below.
  17. If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
  18. ===========================================================================
  19. */
  20. #define qglAccum glAccum
  21. #define qglAlphaFunc glAlphaFunc
  22. #define qglAreTexturesResident glAreTexturesResident
  23. #define qglArrayElement glArrayElement
  24. #define qglBegin glBegin
  25. #define qglBindTexture glBindTexture
  26. #define qglBitmap glBitmap
  27. #define qglBlendFunc glBlendFunc
  28. #define qglCallList glCallList
  29. #define qglCallLists glCallLists
  30. #define qglClear glClear
  31. #define qglClearAccum glClearAccum
  32. #define qglClearColor glClearColor
  33. #define qglClearDepth glClearDepth
  34. #define qglClearIndex glClearIndex
  35. #define qglClearStencil glClearStencil
  36. #define qglClipPlane glClipPlane
  37. #define qglColor3b glColor3b
  38. #define qglColor3bv glColor3bv
  39. #define qglColor3d glColor3d
  40. #define qglColor3dv glColor3dv
  41. #define qglColor3f glColor3f
  42. #define qglColor3fv glColor3fv
  43. #define qglColor3i glColor3i
  44. #define qglColor3iv glColor3iv
  45. #define qglColor3s glColor3s
  46. #define qglColor3sv glColor3sv
  47. #define qglColor3ub glColor3ub
  48. #define qglColor3ubv glColor3ubv
  49. #define qglColor3ui glColor3ui
  50. #define qglColor3uiv glColor3uiv
  51. #define qglColor3us glColor3us
  52. #define qglColor3usv glColor3usv
  53. #define qglColor4b glColor4b
  54. #define qglColor4bv glColor4bv
  55. #define qglColor4d glColor4d
  56. #define qglColor4dv glColor4dv
  57. #define qglColor4f glColor4f
  58. #define qglColor4fv glColor4fv
  59. #define qglColor4i glColor4i
  60. #define qglColor4iv glColor4iv
  61. #define qglColor4s glColor4s
  62. #define qglColor4sv glColor4sv
  63. #define qglColor4ub glColor4ub
  64. #define qglColor4ubv glColor4ubv
  65. #define qglColor4ui glColor4ui
  66. #define qglColor4uiv glColor4uiv
  67. #define qglColor4us glColor4us
  68. #define qglColor4usv glColor4usv
  69. #define qglColorMask glColorMask
  70. #define qglColorMaterial glColorMaterial
  71. #define qglColorPointer glColorPointer
  72. #define qglCopyPixels glCopyPixels
  73. #define qglCopyTexImage1D glCopyTexImage1D
  74. #define qglCopyTexImage2D glCopyTexImage2D
  75. #define qglCopyTexSubImage1D glCopyTexSubImage1D
  76. #define qglCopyTexSubImage2D glCopyTexSubImage2D
  77. #define qglCullFace glCullFace
  78. #define qglDeleteLists glDeleteLists
  79. #define qglDeleteTextures glDeleteTextures
  80. #define qglDepthFunc glDepthFunc
  81. #define qglDepthMask glDepthMask
  82. #define qglDepthRange glDepthRange
  83. #define qglDisable glDisable
  84. #define qglDisableClientState glDisableClientState
  85. #define qglDrawArrays glDrawArrays
  86. #define qglDrawBuffer glDrawBuffer
  87. #define qglDrawElements glDrawElements
  88. #define qglDrawPixels glDrawPixels
  89. #define qglEdgeFlag glEdgeFlag
  90. #define qglEdgeFlagPointer glEdgeFlagPointer
  91. #define qglEdgeFlagv glEdgeFlagv
  92. #define qglEnable glEnable
  93. #define qglEnableClientState glEnableClientState
  94. #define qglEnd glEnd
  95. #define qglEndList glEndList
  96. #define qglEvalCoord1d glEvalCoord1d
  97. #define qglEvalCoord1dv glEvalCoord1dv
  98. #define qglEvalCoord1f glEvalCoord1f
  99. #define qglEvalCoord1fv glEvalCoord1fv
  100. #define qglEvalCoord2d glEvalCoord2d
  101. #define qglEvalCoord2dv glEvalCoord2dv
  102. #define qglEvalCoord2f glEvalCoord2f
  103. #define qglEvalCoord2fv glEvalCoord2fv
  104. #define qglEvalMesh1 glEvalMesh1
  105. #define qglEvalMesh2 glEvalMesh2
  106. #define qglEvalPoint1 glEvalPoint1
  107. #define qglEvalPoint2 glEvalPoint2
  108. #define qglFeedbackBuffer glFeedbackBuffer
  109. #define qglFinish glFinish
  110. #define qglFlush glFlush
  111. #define qglFogf glFogf
  112. #define qglFogfv glFogfv
  113. #define qglFogi glFogi
  114. #define qglFogiv glFogiv
  115. #define qglFrontFace glFrontFace
  116. #define qglFrustum glFrustum
  117. #define qglGenLists glGenLists
  118. #define qglGenTextures glGenTextures
  119. #define qglGetBooleanv glGetBooleanv
  120. #define qglGetClipPlane glGetClipPlane
  121. #define qglGetDoublev glGetDoublev
  122. #define qglGetError glGetError
  123. #define qglGetFloatv glGetFloatv
  124. #define qglGetIntegerv glGetIntegerv
  125. #define qglGetLightfv glGetLightfv
  126. #define qglGetLightiv glGetLightiv
  127. #define qglGetMapdv glGetMapdv
  128. #define qglGetMapfv glGetMapfv
  129. #define qglGetMapiv glGetMapiv
  130. #define qglGetMaterialfv glGetMaterialfv
  131. #define qglGetMaterialiv glGetMaterialiv
  132. #define qglGetPixelMapfv glGetPixelMapfv
  133. #define qglGetPixelMapuiv glGetPixelMapuiv
  134. #define qglGetPixelMapusv glGetPixelMapusv
  135. #define qglGetPointerv glGetPointerv
  136. #define qglGetPolygonStipple glGetPolygonStipple
  137. #define qglGetString glGetString
  138. #define qglGetTexEnviv glGetTexEnviv
  139. #define qglGetTexEnvfv glGetTexEnvfv
  140. #define qglGetTexGendv glGetTexGendv
  141. #define qglGetTexGenfv glGetTexGenfv
  142. #define qglGetTexGeniv glGetTexGeniv
  143. #define qglGetTexImage glGetTexImage
  144. #define qglGetTexLevelParameterfv glGetTexLevelParameterfv
  145. #define qglGetTexLevelParameteriv glGetTexLevelParameteriv
  146. #define qglGetTexParameterfv glGetTexParameterfv
  147. #define qglGetTexParameteriv glGetTexParameteriv
  148. #define qglHint glHint
  149. #define qglIndexMask glIndexMask
  150. #define qglIndexPointer glIndexPointer
  151. #define qglIndexd glIndexd
  152. #define qglIndexdv glIndexdv
  153. #define qglIndexf glIndexf
  154. #define qglIndexfv glIndexfv
  155. #define qglIndexi glIndexi
  156. #define qglIndexiv glIndexiv
  157. #define qglIndexs glIndexs
  158. #define qglIndexsv glIndexsv
  159. #define qglIndexub glIndexub
  160. #define qglIndexubv glIndexubv
  161. #define qglInitNames glInitNames
  162. #define qglInterleavedArrays glInterleavedArrays
  163. #define qglIsEnabled glIsEnabled
  164. #define qglIsList glIsList
  165. #define qglIsTexture glIsTexture
  166. #define qglLightModelf glLightModelf
  167. #define qglLightModelfv glLightModelfv
  168. #define qglLightModeli glLightModeli
  169. #define qglLightModeliv glLightModeliv
  170. #define qglLightf glLightf
  171. #define qglLightfv glLightfv
  172. #define qglLighti glLighti
  173. #define qglLightiv glLightiv
  174. #define qglLineStipple glLineStipple
  175. #define qglLineWidth glLineWidth
  176. #define qglListBase glListBase
  177. #define qglLoadIdentity glLoadIdentity
  178. #define qglLoadMatrixd glLoadMatrixd
  179. #define qglLoadMatrixf glLoadMatrixf
  180. #define qglLoadName glLoadName
  181. #define qglLogicOp glLogicOp
  182. #define qglMap1d glMap1d
  183. #define qglMap1f glMap1f
  184. #define qglMap2d glMap2d
  185. #define qglMap2f glMap2f
  186. #define qglMapGrid1d glMapGrid1d
  187. #define qglMapGrid1f glMapGrid1f
  188. #define qglMapGrid2d glMapGrid2d
  189. #define qglMapGrid2f glMapGrid2f
  190. #define qglMaterialf glMaterialf
  191. #define qglMaterialfv glMaterialfv
  192. #define qglMateriali glMateriali
  193. #define qglMaterialiv glMaterialiv
  194. #define qglMatrixMode glMatrixMode
  195. #define qglMultMatrixd glMultMatrixd
  196. #define qglMultMatrixf glMultMatrixf
  197. #define qglNewList glNewList
  198. #define qglNormal3b glNormal3b
  199. #define qglNormal3bv glNormal3bv
  200. #define qglNormal3d glNormal3d
  201. #define qglNormal3dv glNormal3dv
  202. #define qglNormal3f glNormal3f
  203. #define qglNormal3fv glNormal3fv
  204. #define qglNormal3i glNormal3i
  205. #define qglNormal3iv glNormal3iv
  206. #define qglNormal3s glNormal3s
  207. #define qglNormal3sv glNormal3sv
  208. #define qglNormalPointer glNormalPointer
  209. #define qglOrtho glOrtho
  210. #define qglPassThrough glPassThrough
  211. #define qglPixelMapfv glPixelMapfv
  212. #define qglPixelMapuiv glPixelMapuiv
  213. #define qglPixelMapusv glPixelMapusv
  214. #define qglPixelStoref glPixelStoref
  215. #define qglPixelStorei glPixelStorei
  216. #define qglPixelTransferf glPixelTransferf
  217. #define qglPixelTransferi glPixelTransferi
  218. #define qglPixelZoom glPixelZoom
  219. #define qglPointSize glPointSize
  220. #define qglPolygonMode glPolygonMode
  221. #define qglPolygonOffset glPolygonOffset
  222. #define qglPolygonStipple glPolygonStipple
  223. #define qglPopAttrib glPopAttrib
  224. #define qglPopClientAttrib glPopClientAttrib
  225. #define qglPopMatrix glPopMatrix
  226. #define qglPopName glPopName
  227. #define qglPrioritizeTextures glPrioritizeTextures
  228. #define qglPushAttrib glPushAttrib
  229. #define qglPushClientAttrib glPushClientAttrib
  230. #define qglPushMatrix glPushMatrix
  231. #define qglPushName glPushName
  232. #define qglRasterPos2d glRasterPos2d
  233. #define qglRasterPos2dv glRasterPos2dv
  234. #define qglRasterPos2f glRasterPos2f
  235. #define qglRasterPos2fv glRasterPos2fv
  236. #define qglRasterPos2i glRasterPos2i
  237. #define qglRasterPos2iv glRasterPos2iv
  238. #define qglRasterPos2s glRasterPos2s
  239. #define qglRasterPos2sv glRasterPos2sv
  240. #define qglRasterPos3d glRasterPos3d
  241. #define qglRasterPos3dv glRasterPos3dv
  242. #define qglRasterPos3f glRasterPos3f
  243. #define qglRasterPos3fv glRasterPos3fv
  244. #define qglRasterPos3i glRasterPos3i
  245. #define qglRasterPos3iv glRasterPos3iv
  246. #define qglRasterPos3s glRasterPos3s
  247. #define qglRasterPos3sv glRasterPos3sv
  248. #define qglRasterPos4d glRasterPos4d
  249. #define qglRasterPos4dv glRasterPos4dv
  250. #define qglRasterPos4f glRasterPos4f
  251. #define qglRasterPos4fv glRasterPos4fv
  252. #define qglRasterPos4i glRasterPos4i
  253. #define qglRasterPos4iv glRasterPos4iv
  254. #define qglRasterPos4s glRasterPos4s
  255. #define qglRasterPos4sv glRasterPos4sv
  256. #define qglReadBuffer glReadBuffer
  257. #define qglReadPixels glReadPixels
  258. #define qglRectd glRectd
  259. #define qglRectdv glRectdv
  260. #define qglRectf glRectf
  261. #define qglRectfv glRectfv
  262. #define qglRecti glRecti
  263. #define qglRectiv glRectiv
  264. #define qglRects glRects
  265. #define qglRectsv glRectsv
  266. #define qglRenderMode glRenderMode
  267. #define qglRotated glRotated
  268. #define qglRotatef glRotatef
  269. #define qglScaled glScaled
  270. #define qglScalef glScalef
  271. #define qglScissor glScissor
  272. #define qglSelectBuffer glSelectBuffer
  273. #define qglShadeModel glShadeModel
  274. #define qglStencilFunc glStencilFunc
  275. #define qglStencilMask glStencilMask
  276. #define qglStencilOp glStencilOp
  277. #define qglTexCoord1d glTexCoord1d
  278. #define qglTexCoord1dv glTexCoord1dv
  279. #define qglTexCoord1f glTexCoord1f
  280. #define qglTexCoord1fv glTexCoord1fv
  281. #define qglTexCoord1i glTexCoord1i
  282. #define qglTexCoord1iv glTexCoord1iv
  283. #define qglTexCoord1s glTexCoord1s
  284. #define qglTexCoord1sv glTexCoord1sv
  285. #define qglTexCoord2d glTexCoord2d
  286. #define qglTexCoord2dv glTexCoord2dv
  287. #define qglTexCoord2f glTexCoord2f
  288. #define qglTexCoord2fv glTexCoord2fv
  289. #define qglTexCoord2i glTexCoord2i
  290. #define qglTexCoord2iv glTexCoord2iv
  291. #define qglTexCoord2s glTexCoord2s
  292. #define qglTexCoord2sv glTexCoord2sv
  293. #define qglTexCoord3d glTexCoord3d
  294. #define qglTexCoord3dv glTexCoord3dv
  295. #define qglTexCoord3f glTexCoord3f
  296. #define qglTexCoord3fv glTexCoord3fv
  297. #define qglTexCoord3i glTexCoord3i
  298. #define qglTexCoord3iv glTexCoord3iv
  299. #define qglTexCoord3s glTexCoord3s
  300. #define qglTexCoord3sv glTexCoord3sv
  301. #define qglTexCoord4d glTexCoord4d
  302. #define qglTexCoord4dv glTexCoord4dv
  303. #define qglTexCoord4f glTexCoord4f
  304. #define qglTexCoord4fv glTexCoord4fv
  305. #define qglTexCoord4i glTexCoord4i
  306. #define qglTexCoord4iv glTexCoord4iv
  307. #define qglTexCoord4s glTexCoord4s
  308. #define qglTexCoord4sv glTexCoord4sv
  309. #define qglTexCoordPointer glTexCoordPointer
  310. #define qglTexEnvf glTexEnvf
  311. #define qglTexEnvfv glTexEnvfv
  312. #define qglTexEnvi glTexEnvi
  313. #define qglTexEnviv glTexEnviv
  314. #define qglTexGend glTexGend
  315. #define qglTexGendv glTexGendv
  316. #define qglTexGenf glTexGenf
  317. #define qglTexGenfv glTexGenfv
  318. #define qglTexGeni glTexGeni
  319. #define qglTexGeniv glTexGeniv
  320. #define qglTexImage1D glTexImage1D
  321. #define qglTexImage2D glTexImage2D
  322. #define qglTexParameterf glTexParameterf
  323. #define qglTexParameterfv glTexParameterfv
  324. #define qglTexParameteri glTexParameteri
  325. #define qglTexParameteriv glTexParameteriv
  326. #define qglTexSubImage1D glTexSubImage1D
  327. #define qglTexSubImage2D glTexSubImage2D
  328. #define qglTranslated glTranslated
  329. #define qglTranslatef glTranslatef
  330. #define qglVertex2d glVertex2d
  331. #define qglVertex2dv glVertex2dv
  332. #define qglVertex2f glVertex2f
  333. #define qglVertex2fv glVertex2fv
  334. #define qglVertex2i glVertex2i
  335. #define qglVertex2iv glVertex2iv
  336. #define qglVertex2s glVertex2s
  337. #define qglVertex2sv glVertex2sv
  338. #define qglVertex3d glVertex3d
  339. #define qglVertex3dv glVertex3dv
  340. #define qglVertex3f glVertex3f
  341. #define qglVertex3fv glVertex3fv
  342. #define qglVertex3i glVertex3i
  343. #define qglVertex3iv glVertex3iv
  344. #define qglVertex3s glVertex3s
  345. #define qglVertex3sv glVertex3sv
  346. #define qglVertex4d glVertex4d
  347. #define qglVertex4dv glVertex4dv
  348. #define qglVertex4f glVertex4f
  349. #define qglVertex4fv glVertex4fv
  350. #define qglVertex4i glVertex4i
  351. #define qglVertex4iv glVertex4iv
  352. #define qglVertex4s glVertex4s
  353. #define qglVertex4sv glVertex4sv
  354. #define qglVertexPointer glVertexPointer
  355. #define qglViewport glViewport
  356. #ifdef GLX_VERSION_1_1 // catch all for any GLX-aware situation
  357. #define qglXChooseVisual glXChooseVisual
  358. #define qglXCreateContext glXCreateContext
  359. #define qglXDestroyContext glXDestroyContext
  360. #define qglXMakeCurrent glXMakeCurrent
  361. #define qglXSwapBuffers glXSwapBuffers
  362. #define qglXGetProcAddressARB glXGetProcAddressARB
  363. #endif