stw_icd.h

Go to the documentation of this file.
00001 /**************************************************************************
00002  *
00003  * Copyright 2008 Tungsten Graphics, Inc., Cedar Park, Texas.
00004  * All Rights Reserved.
00005  *
00006  * Permission is hereby granted, free of charge, to any person obtaining a
00007  * copy of this software and associated documentation files (the
00008  * "Software"), to deal in the Software without restriction, including
00009  * without limitation the rights to use, copy, modify, merge, publish,
00010  * distribute, sub license, and/or sell copies of the Software, and to
00011  * permit persons to whom the Software is furnished to do so, subject to
00012  * the following conditions:
00013  *
00014  * The above copyright notice and this permission notice (including the
00015  * next paragraph) shall be included in all copies or substantial portions
00016  * of the Software.
00017  *
00018  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00019  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00020  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
00021  * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR
00022  * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
00023  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
00024  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00025  *
00026  **************************************************************************/
00027 
00028 #ifndef DRV_H
00029 #define DRV_H
00030 
00031 
00032 #include <windows.h>
00033 
00034 #include "GL/gl.h"
00035 
00036 
00037 typedef ULONG DHGLRC;
00038 
00039 #define OPENGL_VERSION_110_ENTRIES  336
00040 
00041 struct __GLdispatchTableRec
00042 {
00043    void (GLAPIENTRY * NewList)(GLuint, GLenum);
00044    void (GLAPIENTRY * EndList)(void);
00045    void (GLAPIENTRY * CallList)(GLuint);
00046    void (GLAPIENTRY * CallLists)(GLsizei, GLenum, const GLvoid *);
00047    void (GLAPIENTRY * DeleteLists)(GLuint, GLsizei);
00048    GLuint (GLAPIENTRY * GenLists)(GLsizei);
00049    void (GLAPIENTRY * ListBase)(GLuint);
00050    void (GLAPIENTRY * Begin)(GLenum);
00051    void (GLAPIENTRY * Bitmap)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *);
00052    void (GLAPIENTRY * Color3b)(GLbyte, GLbyte, GLbyte);
00053    void (GLAPIENTRY * Color3bv)(const GLbyte *);
00054    void (GLAPIENTRY * Color3d)(GLdouble, GLdouble, GLdouble);
00055    void (GLAPIENTRY * Color3dv)(const GLdouble *);
00056    void (GLAPIENTRY * Color3f)(GLfloat, GLfloat, GLfloat);
00057    void (GLAPIENTRY * Color3fv)(const GLfloat *);
00058    void (GLAPIENTRY * Color3i)(GLint, GLint, GLint);
00059    void (GLAPIENTRY * Color3iv)(const GLint *);
00060    void (GLAPIENTRY * Color3s)(GLshort, GLshort, GLshort);
00061    void (GLAPIENTRY * Color3sv)(const GLshort *);
00062    void (GLAPIENTRY * Color3ub)(GLubyte, GLubyte, GLubyte);
00063    void (GLAPIENTRY * Color3ubv)(const GLubyte *);
00064    void (GLAPIENTRY * Color3ui)(GLuint, GLuint, GLuint);
00065    void (GLAPIENTRY * Color3uiv)(const GLuint *);
00066    void (GLAPIENTRY * Color3us)(GLushort, GLushort, GLushort);
00067    void (GLAPIENTRY * Color3usv)(const GLushort *);
00068    void (GLAPIENTRY * Color4b)(GLbyte, GLbyte, GLbyte, GLbyte);
00069    void (GLAPIENTRY * Color4bv)(const GLbyte *);
00070    void (GLAPIENTRY * Color4d)(GLdouble, GLdouble, GLdouble, GLdouble);
00071    void (GLAPIENTRY * Color4dv)(const GLdouble *);
00072    void (GLAPIENTRY * Color4f)(GLfloat, GLfloat, GLfloat, GLfloat);
00073    void (GLAPIENTRY * Color4fv)(const GLfloat *);
00074    void (GLAPIENTRY * Color4i)(GLint, GLint, GLint, GLint);
00075    void (GLAPIENTRY * Color4iv)(const GLint *);
00076    void (GLAPIENTRY * Color4s)(GLshort, GLshort, GLshort, GLshort);
00077    void (GLAPIENTRY * Color4sv)(const GLshort *);
00078    void (GLAPIENTRY * Color4ub)(GLubyte, GLubyte, GLubyte, GLubyte);
00079    void (GLAPIENTRY * Color4ubv)(const GLubyte *);
00080    void (GLAPIENTRY * Color4ui)(GLuint, GLuint, GLuint, GLuint);
00081    void (GLAPIENTRY * Color4uiv)(const GLuint *);
00082    void (GLAPIENTRY * Color4us)(GLushort, GLushort, GLushort, GLushort);
00083    void (GLAPIENTRY * Color4usv)(const GLushort *);
00084    void (GLAPIENTRY * EdgeFlag)(GLboolean);
00085    void (GLAPIENTRY * EdgeFlagv)(const GLboolean *);
00086    void (GLAPIENTRY * End)(void);
00087    void (GLAPIENTRY * Indexd)(GLdouble);
00088    void (GLAPIENTRY * Indexdv)(const GLdouble *);
00089    void (GLAPIENTRY * Indexf)(GLfloat);
00090    void (GLAPIENTRY * Indexfv)(const GLfloat *);
00091    void (GLAPIENTRY * Indexi)(GLint);
00092    void (GLAPIENTRY * Indexiv)(const GLint *);
00093    void (GLAPIENTRY * Indexs)(GLshort);
00094    void (GLAPIENTRY * Indexsv)(const GLshort *);
00095    void (GLAPIENTRY * Normal3b)(GLbyte, GLbyte, GLbyte);
00096    void (GLAPIENTRY * Normal3bv)(const GLbyte *);
00097    void (GLAPIENTRY * Normal3d)(GLdouble, GLdouble, GLdouble);
00098    void (GLAPIENTRY * Normal3dv)(const GLdouble *);
00099    void (GLAPIENTRY * Normal3f)(GLfloat, GLfloat, GLfloat);
00100    void (GLAPIENTRY * Normal3fv)(const GLfloat *);
00101    void (GLAPIENTRY * Normal3i)(GLint, GLint, GLint);
00102    void (GLAPIENTRY * Normal3iv)(const GLint *);
00103    void (GLAPIENTRY * Normal3s)(GLshort, GLshort, GLshort);
00104    void (GLAPIENTRY * Normal3sv)(const GLshort *);
00105    void (GLAPIENTRY * RasterPos2d)(GLdouble, GLdouble);
00106    void (GLAPIENTRY * RasterPos2dv)(const GLdouble *);
00107    void (GLAPIENTRY * RasterPos2f)(GLfloat, GLfloat);
00108    void (GLAPIENTRY * RasterPos2fv)(const GLfloat *);
00109    void (GLAPIENTRY * RasterPos2i)(GLint, GLint);
00110    void (GLAPIENTRY * RasterPos2iv)(const GLint *);
00111    void (GLAPIENTRY * RasterPos2s)(GLshort, GLshort);
00112    void (GLAPIENTRY * RasterPos2sv)(const GLshort *);
00113    void (GLAPIENTRY * RasterPos3d)(GLdouble, GLdouble, GLdouble);
00114    void (GLAPIENTRY * RasterPos3dv)(const GLdouble *);
00115    void (GLAPIENTRY * RasterPos3f)(GLfloat, GLfloat, GLfloat);
00116    void (GLAPIENTRY * RasterPos3fv)(const GLfloat *);
00117    void (GLAPIENTRY * RasterPos3i)(GLint, GLint, GLint);
00118    void (GLAPIENTRY * RasterPos3iv)(const GLint *);
00119    void (GLAPIENTRY * RasterPos3s)(GLshort, GLshort, GLshort);
00120    void (GLAPIENTRY * RasterPos3sv)(const GLshort *);
00121    void (GLAPIENTRY * RasterPos4d)(GLdouble, GLdouble, GLdouble, GLdouble);
00122    void (GLAPIENTRY * RasterPos4dv)(const GLdouble *);
00123    void (GLAPIENTRY * RasterPos4f)(GLfloat, GLfloat, GLfloat, GLfloat);
00124    void (GLAPIENTRY * RasterPos4fv)(const GLfloat *);
00125    void (GLAPIENTRY * RasterPos4i)(GLint, GLint, GLint, GLint);
00126    void (GLAPIENTRY * RasterPos4iv)(const GLint *);
00127    void (GLAPIENTRY * RasterPos4s)(GLshort, GLshort, GLshort, GLshort);
00128    void (GLAPIENTRY * RasterPos4sv)(const GLshort *);
00129    void (GLAPIENTRY * Rectd)(GLdouble, GLdouble, GLdouble, GLdouble);
00130    void (GLAPIENTRY * Rectdv)(const GLdouble *, const GLdouble *);
00131    void (GLAPIENTRY * Rectf)(GLfloat, GLfloat, GLfloat, GLfloat);
00132    void (GLAPIENTRY * Rectfv)(const GLfloat *, const GLfloat *);
00133    void (GLAPIENTRY * Recti)(GLint, GLint, GLint, GLint);
00134    void (GLAPIENTRY * Rectiv)(const GLint *, const GLint *);
00135    void (GLAPIENTRY * Rects)(GLshort, GLshort, GLshort, GLshort);
00136    void (GLAPIENTRY * Rectsv)(const GLshort *, const GLshort *);
00137    void (GLAPIENTRY * TexCoord1d)(GLdouble);
00138    void (GLAPIENTRY * TexCoord1dv)(const GLdouble *);
00139    void (GLAPIENTRY * TexCoord1f)(GLfloat);
00140    void (GLAPIENTRY * TexCoord1fv)(const GLfloat *);
00141    void (GLAPIENTRY * TexCoord1i)(GLint);
00142    void (GLAPIENTRY * TexCoord1iv)(const GLint *);
00143    void (GLAPIENTRY * TexCoord1s)(GLshort);
00144    void (GLAPIENTRY * TexCoord1sv)(const GLshort *);
00145    void (GLAPIENTRY * TexCoord2d)(GLdouble, GLdouble);
00146    void (GLAPIENTRY * TexCoord2dv)(const GLdouble *);
00147    void (GLAPIENTRY * TexCoord2f)(GLfloat, GLfloat);
00148    void (GLAPIENTRY * TexCoord2fv)(const GLfloat *);
00149    void (GLAPIENTRY * TexCoord2i)(GLint, GLint);
00150    void (GLAPIENTRY * TexCoord2iv)(const GLint *);
00151    void (GLAPIENTRY * TexCoord2s)(GLshort, GLshort);
00152    void (GLAPIENTRY * TexCoord2sv)(const GLshort *);
00153    void (GLAPIENTRY * TexCoord3d)(GLdouble, GLdouble, GLdouble);
00154    void (GLAPIENTRY * TexCoord3dv)(const GLdouble *);
00155    void (GLAPIENTRY * TexCoord3f)(GLfloat, GLfloat, GLfloat);
00156    void (GLAPIENTRY * TexCoord3fv)(const GLfloat *);
00157    void (GLAPIENTRY * TexCoord3i)(GLint, GLint, GLint);
00158    void (GLAPIENTRY * TexCoord3iv)(const GLint *);
00159    void (GLAPIENTRY * TexCoord3s)(GLshort, GLshort, GLshort);
00160    void (GLAPIENTRY * TexCoord3sv)(const GLshort *);
00161    void (GLAPIENTRY * TexCoord4d)(GLdouble, GLdouble, GLdouble, GLdouble);
00162    void (GLAPIENTRY * TexCoord4dv)(const GLdouble *);
00163    void (GLAPIENTRY * TexCoord4f)(GLfloat, GLfloat, GLfloat, GLfloat);
00164    void (GLAPIENTRY * TexCoord4fv)(const GLfloat *);
00165    void (GLAPIENTRY * TexCoord4i)(GLint, GLint, GLint, GLint);
00166    void (GLAPIENTRY * TexCoord4iv)(const GLint *);
00167    void (GLAPIENTRY * TexCoord4s)(GLshort, GLshort, GLshort, GLshort);
00168    void (GLAPIENTRY * TexCoord4sv)(const GLshort *);
00169    void (GLAPIENTRY * Vertex2d)(GLdouble, GLdouble);
00170    void (GLAPIENTRY * Vertex2dv)(const GLdouble *);
00171    void (GLAPIENTRY * Vertex2f)(GLfloat, GLfloat);
00172    void (GLAPIENTRY * Vertex2fv)(const GLfloat *);
00173    void (GLAPIENTRY * Vertex2i)(GLint, GLint);
00174    void (GLAPIENTRY * Vertex2iv)(const GLint *);
00175    void (GLAPIENTRY * Vertex2s)(GLshort, GLshort);
00176    void (GLAPIENTRY * Vertex2sv)(const GLshort *);
00177    void (GLAPIENTRY * Vertex3d)(GLdouble, GLdouble, GLdouble);
00178    void (GLAPIENTRY * Vertex3dv)(const GLdouble *);
00179    void (GLAPIENTRY * Vertex3f)(GLfloat, GLfloat, GLfloat);
00180    void (GLAPIENTRY * Vertex3fv)(const GLfloat *);
00181    void (GLAPIENTRY * Vertex3i)(GLint, GLint, GLint);
00182    void (GLAPIENTRY * Vertex3iv)(const GLint *);
00183    void (GLAPIENTRY * Vertex3s)(GLshort, GLshort, GLshort);
00184    void (GLAPIENTRY * Vertex3sv)(const GLshort *);
00185    void (GLAPIENTRY * Vertex4d)(GLdouble, GLdouble, GLdouble, GLdouble);
00186    void (GLAPIENTRY * Vertex4dv)(const GLdouble *);
00187    void (GLAPIENTRY * Vertex4f)(GLfloat, GLfloat, GLfloat, GLfloat);
00188    void (GLAPIENTRY * Vertex4fv)(const GLfloat *);
00189    void (GLAPIENTRY * Vertex4i)(GLint, GLint, GLint, GLint);
00190    void (GLAPIENTRY * Vertex4iv)(const GLint *);
00191    void (GLAPIENTRY * Vertex4s)(GLshort, GLshort, GLshort, GLshort);
00192    void (GLAPIENTRY * Vertex4sv)(const GLshort *);
00193    void (GLAPIENTRY * ClipPlane)(GLenum, const GLdouble *);
00194    void (GLAPIENTRY * ColorMaterial)(GLenum, GLenum);
00195    void (GLAPIENTRY * CullFace)(GLenum);
00196    void (GLAPIENTRY * Fogf)(GLenum, GLfloat);
00197    void (GLAPIENTRY * Fogfv)(GLenum, const GLfloat *);
00198    void (GLAPIENTRY * Fogi)(GLenum, GLint);
00199    void (GLAPIENTRY * Fogiv)(GLenum, const GLint *);
00200    void (GLAPIENTRY * FrontFace)(GLenum);
00201    void (GLAPIENTRY * Hint)(GLenum, GLenum);
00202    void (GLAPIENTRY * Lightf)(GLenum, GLenum, GLfloat);
00203    void (GLAPIENTRY * Lightfv)(GLenum, GLenum, const GLfloat *);
00204    void (GLAPIENTRY * Lighti)(GLenum, GLenum, GLint);
00205    void (GLAPIENTRY * Lightiv)(GLenum, GLenum, const GLint *);
00206    void (GLAPIENTRY * LightModelf)(GLenum, GLfloat);
00207    void (GLAPIENTRY * LightModelfv)(GLenum, const GLfloat *);
00208    void (GLAPIENTRY * LightModeli)(GLenum, GLint);
00209    void (GLAPIENTRY * LightModeliv)(GLenum, const GLint *);
00210    void (GLAPIENTRY * LineStipple)(GLint, GLushort);
00211    void (GLAPIENTRY * LineWidth)(GLfloat);
00212    void (GLAPIENTRY * Materialf)(GLenum, GLenum, GLfloat);
00213    void (GLAPIENTRY * Materialfv)(GLenum, GLenum, const GLfloat *);
00214    void (GLAPIENTRY * Materiali)(GLenum, GLenum, GLint);
00215    void (GLAPIENTRY * Materialiv)(GLenum, GLenum, const GLint *);
00216    void (GLAPIENTRY * PointSize)(GLfloat);
00217    void (GLAPIENTRY * PolygonMode)(GLenum, GLenum);
00218    void (GLAPIENTRY * PolygonStipple)(const GLubyte *);
00219    void (GLAPIENTRY * Scissor)(GLint, GLint, GLsizei, GLsizei);
00220    void (GLAPIENTRY * ShadeModel)(GLenum);
00221    void (GLAPIENTRY * TexParameterf)(GLenum, GLenum, GLfloat);
00222    void (GLAPIENTRY * TexParameterfv)(GLenum, GLenum, const GLfloat *);
00223    void (GLAPIENTRY * TexParameteri)(GLenum, GLenum, GLint);
00224    void (GLAPIENTRY * TexParameteriv)(GLenum, GLenum, const GLint *);
00225    void (GLAPIENTRY * TexImage1D)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
00226    void (GLAPIENTRY * TexImage2D)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
00227    void (GLAPIENTRY * TexEnvf)(GLenum, GLenum, GLfloat);
00228    void (GLAPIENTRY * TexEnvfv)(GLenum, GLenum, const GLfloat *);
00229    void (GLAPIENTRY * TexEnvi)(GLenum, GLenum, GLint);
00230    void (GLAPIENTRY * TexEnviv)(GLenum, GLenum, const GLint *);
00231    void (GLAPIENTRY * TexGend)(GLenum, GLenum, GLdouble);
00232    void (GLAPIENTRY * TexGendv)(GLenum, GLenum, const GLdouble *);
00233    void (GLAPIENTRY * TexGenf)(GLenum, GLenum, GLfloat);
00234    void (GLAPIENTRY * TexGenfv)(GLenum, GLenum, const GLfloat *);
00235    void (GLAPIENTRY * TexGeni)(GLenum, GLenum, GLint);
00236    void (GLAPIENTRY * TexGeniv)(GLenum, GLenum, const GLint *);
00237    void (GLAPIENTRY * FeedbackBuffer)(GLsizei, GLenum, GLfloat *);
00238    void (GLAPIENTRY * SelectBuffer)(GLsizei, GLuint *);
00239    GLint (GLAPIENTRY * RenderMode)(GLenum);
00240    void (GLAPIENTRY * InitNames)(void);
00241    void (GLAPIENTRY * LoadName)(GLuint);
00242    void (GLAPIENTRY * PassThrough)(GLfloat);
00243    void (GLAPIENTRY * PopName)(void);
00244    void (GLAPIENTRY * PushName)(GLuint);
00245    void (GLAPIENTRY * DrawBuffer)(GLenum);
00246    void (GLAPIENTRY * Clear)(GLbitfield);
00247    void (GLAPIENTRY * ClearAccum)(GLfloat, GLfloat, GLfloat, GLfloat);
00248    void (GLAPIENTRY * ClearIndex)(GLfloat);
00249    void (GLAPIENTRY * ClearColor)(GLclampf, GLclampf, GLclampf, GLclampf);
00250    void (GLAPIENTRY * ClearStencil)(GLint);
00251    void (GLAPIENTRY * ClearDepth)(GLclampd);
00252    void (GLAPIENTRY * StencilMask)(GLuint);
00253    void (GLAPIENTRY * ColorMask)(GLboolean, GLboolean, GLboolean, GLboolean);
00254    void (GLAPIENTRY * DepthMask)(GLboolean);
00255    void (GLAPIENTRY * IndexMask)(GLuint);
00256    void (GLAPIENTRY * Accum)(GLenum, GLfloat);
00257    void (GLAPIENTRY * Disable)(GLenum);
00258    void (GLAPIENTRY * Enable)(GLenum);
00259    void (GLAPIENTRY * Finish)(void);
00260    void (GLAPIENTRY * Flush)(void);
00261    void (GLAPIENTRY * PopAttrib)(void);
00262    void (GLAPIENTRY * PushAttrib)(GLbitfield);
00263    void (GLAPIENTRY * Map1d)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
00264    void (GLAPIENTRY * Map1f)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
00265    void (GLAPIENTRY * Map2d)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
00266    void (GLAPIENTRY * Map2f)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
00267    void (GLAPIENTRY * MapGrid1d)(GLint, GLdouble, GLdouble);
00268    void (GLAPIENTRY * MapGrid1f)(GLint, GLfloat, GLfloat);
00269    void (GLAPIENTRY * MapGrid2d)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble);
00270    void (GLAPIENTRY * MapGrid2f)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat);
00271    void (GLAPIENTRY * EvalCoord1d)(GLdouble);
00272    void (GLAPIENTRY * EvalCoord1dv)(const GLdouble *);
00273    void (GLAPIENTRY * EvalCoord1f)(GLfloat);
00274    void (GLAPIENTRY * EvalCoord1fv)(const GLfloat *);
00275    void (GLAPIENTRY * EvalCoord2d)(GLdouble, GLdouble);
00276    void (GLAPIENTRY * EvalCoord2dv)(const GLdouble *);
00277    void (GLAPIENTRY * EvalCoord2f)(GLfloat, GLfloat);
00278    void (GLAPIENTRY * EvalCoord2fv)(const GLfloat *);
00279    void (GLAPIENTRY * EvalMesh1)(GLenum, GLint, GLint);
00280    void (GLAPIENTRY * EvalPoint1)(GLint);
00281    void (GLAPIENTRY * EvalMesh2)(GLenum, GLint, GLint, GLint, GLint);
00282    void (GLAPIENTRY * EvalPoint2)(GLint, GLint);
00283    void (GLAPIENTRY * AlphaFunc)(GLenum, GLclampf);
00284    void (GLAPIENTRY * BlendFunc)(GLenum, GLenum);
00285    void (GLAPIENTRY * LogicOp)(GLenum);
00286    void (GLAPIENTRY * StencilFunc)(GLenum, GLint, GLuint);
00287    void (GLAPIENTRY * StencilOp)(GLenum, GLenum, GLenum);
00288    void (GLAPIENTRY * DepthFunc)(GLenum);
00289    void (GLAPIENTRY * PixelZoom)(GLfloat, GLfloat);
00290    void (GLAPIENTRY * PixelTransferf)(GLenum, GLfloat);
00291    void (GLAPIENTRY * PixelTransferi)(GLenum, GLint);
00292    void (GLAPIENTRY * PixelStoref)(GLenum, GLfloat);
00293    void (GLAPIENTRY * PixelStorei)(GLenum, GLint);
00294    void (GLAPIENTRY * PixelMapfv)(GLenum, GLint, const GLfloat *);
00295    void (GLAPIENTRY * PixelMapuiv)(GLenum, GLint, const GLuint *);
00296    void (GLAPIENTRY * PixelMapusv)(GLenum, GLint, const GLushort *);
00297    void (GLAPIENTRY * ReadBuffer)(GLenum);
00298    void (GLAPIENTRY * CopyPixels)(GLint, GLint, GLsizei, GLsizei, GLenum);
00299    void (GLAPIENTRY * ReadPixels)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *);
00300    void (GLAPIENTRY * DrawPixels)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
00301    void (GLAPIENTRY * GetBooleanv)(GLenum, GLboolean *);
00302    void (GLAPIENTRY * GetClipPlane)(GLenum, GLdouble *);
00303    void (GLAPIENTRY * GetDoublev)(GLenum, GLdouble *);
00304    GLenum (GLAPIENTRY * GetError)(void);
00305    void (GLAPIENTRY * GetFloatv)(GLenum, GLfloat *);
00306    void (GLAPIENTRY * GetIntegerv)(GLenum, GLint *);
00307    void (GLAPIENTRY * GetLightfv)(GLenum, GLenum, GLfloat *);
00308    void (GLAPIENTRY * GetLightiv)(GLenum, GLenum, GLint *);
00309    void (GLAPIENTRY * GetMapdv)(GLenum, GLenum, GLdouble *);
00310    void (GLAPIENTRY * GetMapfv)(GLenum, GLenum, GLfloat *);
00311    void (GLAPIENTRY * GetMapiv)(GLenum, GLenum, GLint *);
00312    void (GLAPIENTRY * GetMaterialfv)(GLenum, GLenum, GLfloat *);
00313    void (GLAPIENTRY * GetMaterialiv)(GLenum, GLenum, GLint *);
00314    void (GLAPIENTRY * GetPixelMapfv)(GLenum, GLfloat *);
00315    void (GLAPIENTRY * GetPixelMapuiv)(GLenum, GLuint *);
00316    void (GLAPIENTRY * GetPixelMapusv)(GLenum, GLushort *);
00317    void (GLAPIENTRY * GetPolygonStipple)(GLubyte *);
00318    const GLubyte * (GLAPIENTRY * GetString)(GLenum);
00319    void (GLAPIENTRY * GetTexEnvfv)(GLenum, GLenum, GLfloat *);
00320    void (GLAPIENTRY * GetTexEnviv)(GLenum, GLenum, GLint *);
00321    void (GLAPIENTRY * GetTexGendv)(GLenum, GLenum, GLdouble *);
00322    void (GLAPIENTRY * GetTexGenfv)(GLenum, GLenum, GLfloat *);
00323    void (GLAPIENTRY * GetTexGeniv)(GLenum, GLenum, GLint *);
00324    void (GLAPIENTRY * GetTexImage)(GLenum, GLint, GLenum, GLenum, GLvoid *);
00325    void (GLAPIENTRY * GetTexParameterfv)(GLenum, GLenum, GLfloat *);
00326    void (GLAPIENTRY * GetTexParameteriv)(GLenum, GLenum, GLint *);
00327    void (GLAPIENTRY * GetTexLevelParameterfv)(GLenum, GLint, GLenum, GLfloat *);
00328    void (GLAPIENTRY * GetTexLevelParameteriv)(GLenum, GLint, GLenum, GLint *);
00329    GLboolean (GLAPIENTRY * IsEnabled)(GLenum);
00330    GLboolean (GLAPIENTRY * IsList)(GLuint);
00331    void (GLAPIENTRY * DepthRange)(GLclampd, GLclampd);
00332    void (GLAPIENTRY * Frustum)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
00333    void (GLAPIENTRY * LoadIdentity)(void);
00334    void (GLAPIENTRY * LoadMatrixf)(const GLfloat *);
00335    void (GLAPIENTRY * LoadMatrixd)(const GLdouble *);
00336    void (GLAPIENTRY * MatrixMode)(GLenum);
00337    void (GLAPIENTRY * MultMatrixf)(const GLfloat *);
00338    void (GLAPIENTRY * MultMatrixd)(const GLdouble *);
00339    void (GLAPIENTRY * Ortho)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
00340    void (GLAPIENTRY * PopMatrix)(void);
00341    void (GLAPIENTRY * PushMatrix)(void);
00342    void (GLAPIENTRY * Rotated)(GLdouble, GLdouble, GLdouble, GLdouble);
00343    void (GLAPIENTRY * Rotatef)(GLfloat, GLfloat, GLfloat, GLfloat);
00344    void (GLAPIENTRY * Scaled)(GLdouble, GLdouble, GLdouble);
00345    void (GLAPIENTRY * Scalef)(GLfloat, GLfloat, GLfloat);
00346    void (GLAPIENTRY * Translated)(GLdouble, GLdouble, GLdouble);
00347    void (GLAPIENTRY * Translatef)(GLfloat, GLfloat, GLfloat);
00348    void (GLAPIENTRY * Viewport)(GLint, GLint, GLsizei, GLsizei);
00349    void (GLAPIENTRY * ArrayElement)(GLint);
00350    void (GLAPIENTRY * BindTexture)(GLenum, GLuint);
00351    void (GLAPIENTRY * ColorPointer)(GLint, GLenum, GLsizei, const GLvoid *);
00352    void (GLAPIENTRY * DisableClientState)(GLenum);
00353    void (GLAPIENTRY * DrawArrays)(GLenum, GLint, GLsizei);
00354    void (GLAPIENTRY * DrawElements)(GLenum, GLsizei, GLenum, const GLvoid *);
00355    void (GLAPIENTRY * EdgeFlagPointer)(GLsizei, const GLvoid *);
00356    void (GLAPIENTRY * EnableClientState)(GLenum);
00357    void (GLAPIENTRY * IndexPointer)(GLenum, GLsizei, const GLvoid *);
00358    void (GLAPIENTRY * Indexub)(GLubyte);
00359    void (GLAPIENTRY * Indexubv)(const GLubyte *);
00360    void (GLAPIENTRY * InterleavedArrays)(GLenum, GLsizei, const GLvoid *);
00361    void (GLAPIENTRY * NormalPointer)(GLenum, GLsizei, const GLvoid *);
00362    void (GLAPIENTRY * PolygonOffset)(GLfloat, GLfloat);
00363    void (GLAPIENTRY * TexCoordPointer)(GLint, GLenum, GLsizei, const GLvoid *);
00364    void (GLAPIENTRY * VertexPointer)(GLint, GLenum, GLsizei, const GLvoid *);
00365    GLboolean (GLAPIENTRY * AreTexturesResident)(GLsizei, const GLuint *, GLboolean *);
00366    void (GLAPIENTRY * CopyTexImage1D)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
00367    void (GLAPIENTRY * CopyTexImage2D)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
00368    void (GLAPIENTRY * CopyTexSubImage1D)(GLenum, GLint, GLint, GLint, GLint, GLsizei);
00369    void (GLAPIENTRY * CopyTexSubImage2D)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
00370    void (GLAPIENTRY * DeleteTextures)(GLsizei, const GLuint *);
00371    void (GLAPIENTRY * GenTextures)(GLsizei, GLuint *);
00372    void (GLAPIENTRY * GetPointerv)(GLenum, GLvoid **);
00373    GLboolean (GLAPIENTRY * IsTexture)(GLuint);
00374    void (GLAPIENTRY * PrioritizeTextures)(GLsizei, const GLuint *, const GLclampf *);
00375    void (GLAPIENTRY * TexSubImage1D)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
00376    void (GLAPIENTRY * TexSubImage2D)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
00377    void (GLAPIENTRY * PopClientAttrib)(void);
00378    void (GLAPIENTRY * PushClientAttrib)(GLbitfield);
00379 };
00380 
00381 typedef struct __GLdispatchTableRec GLDISPATCHTABLE;
00382 
00383 typedef struct _GLCLTPROCTABLE
00384 {
00385    int cEntries;
00386    GLDISPATCHTABLE glDispatchTable;
00387 } GLCLTPROCTABLE, * PGLCLTPROCTABLE;
00388 
00389 typedef VOID (APIENTRY * PFN_SETPROCTABLE)(PGLCLTPROCTABLE);
00390 
00391 BOOL APIENTRY
00392 DrvCopyContext(
00393    DHGLRC dhrcSource,
00394    DHGLRC dhrcDest,
00395    UINT fuMask );
00396 
00397 DHGLRC APIENTRY
00398 DrvCreateLayerContext(
00399    HDC hdc,
00400    INT iLayerPlane );
00401 
00402 DHGLRC APIENTRY
00403 DrvCreateContext(
00404    HDC hdc );
00405 
00406 BOOL APIENTRY
00407 DrvDeleteContext(
00408    DHGLRC dhglrc );
00409 
00410 BOOL APIENTRY
00411 DrvDescribeLayerPlane(
00412    HDC hdc,
00413    INT iPixelFormat,
00414    INT iLayerPlane,
00415    UINT nBytes,
00416    LPLAYERPLANEDESCRIPTOR plpd );
00417 
00418 LONG APIENTRY
00419 DrvDescribePixelFormat(
00420    HDC hdc,
00421    INT iPixelFormat,
00422    ULONG cjpfd,
00423    PIXELFORMATDESCRIPTOR *ppfd );
00424 
00425 int APIENTRY
00426 DrvGetLayerPaletteEntries(
00427    HDC hdc,
00428    INT iLayerPlane,
00429    INT iStart,
00430    INT cEntries,
00431    COLORREF *pcr );
00432 
00433 PROC APIENTRY
00434 DrvGetProcAddress(
00435    LPCSTR lpszProc );
00436 
00437 BOOL APIENTRY
00438 DrvRealizeLayerPalette(
00439    HDC hdc,
00440    INT iLayerPlane,
00441    BOOL bRealize );
00442 
00443 BOOL APIENTRY
00444 DrvReleaseContext(
00445    DHGLRC dhglrc );
00446 
00447 void APIENTRY
00448 DrvSetCallbackProcs(
00449    INT nProcs,
00450    PROC *pProcs );
00451 
00452 PGLCLTPROCTABLE APIENTRY
00453 DrvSetContext(
00454    HDC hdc,
00455    DHGLRC dhglrc,
00456    PFN_SETPROCTABLE pfnSetProcTable );
00457 
00458 int APIENTRY
00459 DrvSetLayerPaletteEntries(
00460    HDC hdc,
00461    INT iLayerPlane,
00462    INT iStart,
00463    INT cEntries,
00464    CONST COLORREF *pcr );
00465 
00466 BOOL APIENTRY
00467 DrvSetPixelFormat(
00468    HDC hdc,
00469    LONG iPixelFormat );
00470 
00471 BOOL APIENTRY
00472 DrvShareLists(
00473    DHGLRC dhglrc1,
00474    DHGLRC dhglrc2 );
00475 
00476 BOOL APIENTRY
00477 DrvSwapBuffers(
00478    HDC hdc );
00479 
00480 BOOL APIENTRY
00481 DrvSwapLayerBuffers(
00482    HDC hdc,
00483    UINT fuPlanes );
00484 
00485 BOOL APIENTRY
00486 DrvValidateVersion(
00487    ULONG ulVersion );
00488 
00489 #endif /* DRV_H */

Generated on Tue Sep 29 06:25:18 2009 for Gallium3D by  doxygen 1.5.4