blob: 35fb27a0e271b9986759b2ad0299464f60cd3502 [file] [log] [blame]
keunyoungb85b2752013-03-08 12:28:03 -08001// Generated Code - DO NOT EDIT !!
2// generated by 'emugen'
3#ifndef __gl_client_context_t_h
4#define __gl_client_context_t_h
5
6#include "gl_client_proc.h"
7
8
9struct gl_client_context_t {
10
11 glAlphaFunc_client_proc_t glAlphaFunc;
12 glClearColor_client_proc_t glClearColor;
13 glClearDepthf_client_proc_t glClearDepthf;
14 glClipPlanef_client_proc_t glClipPlanef;
15 glColor4f_client_proc_t glColor4f;
16 glDepthRangef_client_proc_t glDepthRangef;
17 glFogf_client_proc_t glFogf;
18 glFogfv_client_proc_t glFogfv;
19 glFrustumf_client_proc_t glFrustumf;
20 glGetClipPlanef_client_proc_t glGetClipPlanef;
21 glGetFloatv_client_proc_t glGetFloatv;
22 glGetLightfv_client_proc_t glGetLightfv;
23 glGetMaterialfv_client_proc_t glGetMaterialfv;
24 glGetTexEnvfv_client_proc_t glGetTexEnvfv;
25 glGetTexParameterfv_client_proc_t glGetTexParameterfv;
26 glLightModelf_client_proc_t glLightModelf;
27 glLightModelfv_client_proc_t glLightModelfv;
28 glLightf_client_proc_t glLightf;
29 glLightfv_client_proc_t glLightfv;
30 glLineWidth_client_proc_t glLineWidth;
31 glLoadMatrixf_client_proc_t glLoadMatrixf;
32 glMaterialf_client_proc_t glMaterialf;
33 glMaterialfv_client_proc_t glMaterialfv;
34 glMultMatrixf_client_proc_t glMultMatrixf;
35 glMultiTexCoord4f_client_proc_t glMultiTexCoord4f;
36 glNormal3f_client_proc_t glNormal3f;
37 glOrthof_client_proc_t glOrthof;
38 glPointParameterf_client_proc_t glPointParameterf;
39 glPointParameterfv_client_proc_t glPointParameterfv;
40 glPointSize_client_proc_t glPointSize;
41 glPolygonOffset_client_proc_t glPolygonOffset;
42 glRotatef_client_proc_t glRotatef;
43 glScalef_client_proc_t glScalef;
44 glTexEnvf_client_proc_t glTexEnvf;
45 glTexEnvfv_client_proc_t glTexEnvfv;
46 glTexParameterf_client_proc_t glTexParameterf;
47 glTexParameterfv_client_proc_t glTexParameterfv;
48 glTranslatef_client_proc_t glTranslatef;
49 glActiveTexture_client_proc_t glActiveTexture;
50 glAlphaFuncx_client_proc_t glAlphaFuncx;
51 glBindBuffer_client_proc_t glBindBuffer;
52 glBindTexture_client_proc_t glBindTexture;
53 glBlendFunc_client_proc_t glBlendFunc;
54 glBufferData_client_proc_t glBufferData;
55 glBufferSubData_client_proc_t glBufferSubData;
56 glClear_client_proc_t glClear;
57 glClearColorx_client_proc_t glClearColorx;
58 glClearDepthx_client_proc_t glClearDepthx;
59 glClearStencil_client_proc_t glClearStencil;
60 glClientActiveTexture_client_proc_t glClientActiveTexture;
61 glColor4ub_client_proc_t glColor4ub;
62 glColor4x_client_proc_t glColor4x;
63 glColorMask_client_proc_t glColorMask;
64 glColorPointer_client_proc_t glColorPointer;
65 glCompressedTexImage2D_client_proc_t glCompressedTexImage2D;
66 glCompressedTexSubImage2D_client_proc_t glCompressedTexSubImage2D;
67 glCopyTexImage2D_client_proc_t glCopyTexImage2D;
68 glCopyTexSubImage2D_client_proc_t glCopyTexSubImage2D;
69 glCullFace_client_proc_t glCullFace;
70 glDeleteBuffers_client_proc_t glDeleteBuffers;
71 glDeleteTextures_client_proc_t glDeleteTextures;
72 glDepthFunc_client_proc_t glDepthFunc;
73 glDepthMask_client_proc_t glDepthMask;
74 glDepthRangex_client_proc_t glDepthRangex;
75 glDisable_client_proc_t glDisable;
76 glDisableClientState_client_proc_t glDisableClientState;
77 glDrawArrays_client_proc_t glDrawArrays;
78 glDrawElements_client_proc_t glDrawElements;
79 glEnable_client_proc_t glEnable;
80 glEnableClientState_client_proc_t glEnableClientState;
81 glFinish_client_proc_t glFinish;
82 glFlush_client_proc_t glFlush;
83 glFogx_client_proc_t glFogx;
84 glFogxv_client_proc_t glFogxv;
85 glFrontFace_client_proc_t glFrontFace;
86 glFrustumx_client_proc_t glFrustumx;
87 glGetBooleanv_client_proc_t glGetBooleanv;
88 glGetBufferParameteriv_client_proc_t glGetBufferParameteriv;
89 glClipPlanex_client_proc_t glClipPlanex;
90 glGenBuffers_client_proc_t glGenBuffers;
91 glGenTextures_client_proc_t glGenTextures;
92 glGetError_client_proc_t glGetError;
93 glGetFixedv_client_proc_t glGetFixedv;
94 glGetIntegerv_client_proc_t glGetIntegerv;
95 glGetLightxv_client_proc_t glGetLightxv;
96 glGetMaterialxv_client_proc_t glGetMaterialxv;
97 glGetPointerv_client_proc_t glGetPointerv;
98 glGetString_client_proc_t glGetString;
99 glGetTexEnviv_client_proc_t glGetTexEnviv;
100 glGetTexEnvxv_client_proc_t glGetTexEnvxv;
101 glGetTexParameteriv_client_proc_t glGetTexParameteriv;
102 glGetTexParameterxv_client_proc_t glGetTexParameterxv;
103 glHint_client_proc_t glHint;
104 glIsBuffer_client_proc_t glIsBuffer;
105 glIsEnabled_client_proc_t glIsEnabled;
106 glIsTexture_client_proc_t glIsTexture;
107 glLightModelx_client_proc_t glLightModelx;
108 glLightModelxv_client_proc_t glLightModelxv;
109 glLightx_client_proc_t glLightx;
110 glLightxv_client_proc_t glLightxv;
111 glLineWidthx_client_proc_t glLineWidthx;
112 glLoadIdentity_client_proc_t glLoadIdentity;
113 glLoadMatrixx_client_proc_t glLoadMatrixx;
114 glLogicOp_client_proc_t glLogicOp;
115 glMaterialx_client_proc_t glMaterialx;
116 glMaterialxv_client_proc_t glMaterialxv;
117 glMatrixMode_client_proc_t glMatrixMode;
118 glMultMatrixx_client_proc_t glMultMatrixx;
119 glMultiTexCoord4x_client_proc_t glMultiTexCoord4x;
120 glNormal3x_client_proc_t glNormal3x;
121 glNormalPointer_client_proc_t glNormalPointer;
122 glOrthox_client_proc_t glOrthox;
123 glPixelStorei_client_proc_t glPixelStorei;
124 glPointParameterx_client_proc_t glPointParameterx;
125 glPointParameterxv_client_proc_t glPointParameterxv;
126 glPointSizex_client_proc_t glPointSizex;
127 glPolygonOffsetx_client_proc_t glPolygonOffsetx;
128 glPopMatrix_client_proc_t glPopMatrix;
129 glPushMatrix_client_proc_t glPushMatrix;
130 glReadPixels_client_proc_t glReadPixels;
131 glRotatex_client_proc_t glRotatex;
132 glSampleCoverage_client_proc_t glSampleCoverage;
133 glSampleCoveragex_client_proc_t glSampleCoveragex;
134 glScalex_client_proc_t glScalex;
135 glScissor_client_proc_t glScissor;
136 glShadeModel_client_proc_t glShadeModel;
137 glStencilFunc_client_proc_t glStencilFunc;
138 glStencilMask_client_proc_t glStencilMask;
139 glStencilOp_client_proc_t glStencilOp;
140 glTexCoordPointer_client_proc_t glTexCoordPointer;
141 glTexEnvi_client_proc_t glTexEnvi;
142 glTexEnvx_client_proc_t glTexEnvx;
143 glTexEnviv_client_proc_t glTexEnviv;
144 glTexEnvxv_client_proc_t glTexEnvxv;
145 glTexImage2D_client_proc_t glTexImage2D;
146 glTexParameteri_client_proc_t glTexParameteri;
147 glTexParameterx_client_proc_t glTexParameterx;
148 glTexParameteriv_client_proc_t glTexParameteriv;
149 glTexParameterxv_client_proc_t glTexParameterxv;
150 glTexSubImage2D_client_proc_t glTexSubImage2D;
151 glTranslatex_client_proc_t glTranslatex;
152 glVertexPointer_client_proc_t glVertexPointer;
153 glViewport_client_proc_t glViewport;
154 glPointSizePointerOES_client_proc_t glPointSizePointerOES;
155 glVertexPointerOffset_client_proc_t glVertexPointerOffset;
156 glColorPointerOffset_client_proc_t glColorPointerOffset;
157 glNormalPointerOffset_client_proc_t glNormalPointerOffset;
158 glPointSizePointerOffset_client_proc_t glPointSizePointerOffset;
159 glTexCoordPointerOffset_client_proc_t glTexCoordPointerOffset;
160 glWeightPointerOffset_client_proc_t glWeightPointerOffset;
161 glMatrixIndexPointerOffset_client_proc_t glMatrixIndexPointerOffset;
162 glVertexPointerData_client_proc_t glVertexPointerData;
163 glColorPointerData_client_proc_t glColorPointerData;
164 glNormalPointerData_client_proc_t glNormalPointerData;
165 glTexCoordPointerData_client_proc_t glTexCoordPointerData;
166 glPointSizePointerData_client_proc_t glPointSizePointerData;
167 glWeightPointerData_client_proc_t glWeightPointerData;
168 glMatrixIndexPointerData_client_proc_t glMatrixIndexPointerData;
169 glDrawElementsOffset_client_proc_t glDrawElementsOffset;
170 glDrawElementsData_client_proc_t glDrawElementsData;
171 glGetCompressedTextureFormats_client_proc_t glGetCompressedTextureFormats;
172 glFinishRoundTrip_client_proc_t glFinishRoundTrip;
173 glBlendEquationSeparateOES_client_proc_t glBlendEquationSeparateOES;
174 glBlendFuncSeparateOES_client_proc_t glBlendFuncSeparateOES;
175 glBlendEquationOES_client_proc_t glBlendEquationOES;
176 glDrawTexsOES_client_proc_t glDrawTexsOES;
177 glDrawTexiOES_client_proc_t glDrawTexiOES;
178 glDrawTexxOES_client_proc_t glDrawTexxOES;
179 glDrawTexsvOES_client_proc_t glDrawTexsvOES;
180 glDrawTexivOES_client_proc_t glDrawTexivOES;
181 glDrawTexxvOES_client_proc_t glDrawTexxvOES;
182 glDrawTexfOES_client_proc_t glDrawTexfOES;
183 glDrawTexfvOES_client_proc_t glDrawTexfvOES;
184 glEGLImageTargetTexture2DOES_client_proc_t glEGLImageTargetTexture2DOES;
185 glEGLImageTargetRenderbufferStorageOES_client_proc_t glEGLImageTargetRenderbufferStorageOES;
186 glAlphaFuncxOES_client_proc_t glAlphaFuncxOES;
187 glClearColorxOES_client_proc_t glClearColorxOES;
188 glClearDepthxOES_client_proc_t glClearDepthxOES;
189 glClipPlanexOES_client_proc_t glClipPlanexOES;
190 glClipPlanexIMG_client_proc_t glClipPlanexIMG;
191 glColor4xOES_client_proc_t glColor4xOES;
192 glDepthRangexOES_client_proc_t glDepthRangexOES;
193 glFogxOES_client_proc_t glFogxOES;
194 glFogxvOES_client_proc_t glFogxvOES;
195 glFrustumxOES_client_proc_t glFrustumxOES;
196 glGetClipPlanexOES_client_proc_t glGetClipPlanexOES;
197 glGetClipPlanex_client_proc_t glGetClipPlanex;
198 glGetFixedvOES_client_proc_t glGetFixedvOES;
199 glGetLightxvOES_client_proc_t glGetLightxvOES;
200 glGetMaterialxvOES_client_proc_t glGetMaterialxvOES;
201 glGetTexEnvxvOES_client_proc_t glGetTexEnvxvOES;
202 glGetTexParameterxvOES_client_proc_t glGetTexParameterxvOES;
203 glLightModelxOES_client_proc_t glLightModelxOES;
204 glLightModelxvOES_client_proc_t glLightModelxvOES;
205 glLightxOES_client_proc_t glLightxOES;
206 glLightxvOES_client_proc_t glLightxvOES;
207 glLineWidthxOES_client_proc_t glLineWidthxOES;
208 glLoadMatrixxOES_client_proc_t glLoadMatrixxOES;
209 glMaterialxOES_client_proc_t glMaterialxOES;
210 glMaterialxvOES_client_proc_t glMaterialxvOES;
211 glMultMatrixxOES_client_proc_t glMultMatrixxOES;
212 glMultiTexCoord4xOES_client_proc_t glMultiTexCoord4xOES;
213 glNormal3xOES_client_proc_t glNormal3xOES;
214 glOrthoxOES_client_proc_t glOrthoxOES;
215 glPointParameterxOES_client_proc_t glPointParameterxOES;
216 glPointParameterxvOES_client_proc_t glPointParameterxvOES;
217 glPointSizexOES_client_proc_t glPointSizexOES;
218 glPolygonOffsetxOES_client_proc_t glPolygonOffsetxOES;
219 glRotatexOES_client_proc_t glRotatexOES;
220 glSampleCoveragexOES_client_proc_t glSampleCoveragexOES;
221 glScalexOES_client_proc_t glScalexOES;
222 glTexEnvxOES_client_proc_t glTexEnvxOES;
223 glTexEnvxvOES_client_proc_t glTexEnvxvOES;
224 glTexParameterxOES_client_proc_t glTexParameterxOES;
225 glTexParameterxvOES_client_proc_t glTexParameterxvOES;
226 glTranslatexOES_client_proc_t glTranslatexOES;
227 glIsRenderbufferOES_client_proc_t glIsRenderbufferOES;
228 glBindRenderbufferOES_client_proc_t glBindRenderbufferOES;
229 glDeleteRenderbuffersOES_client_proc_t glDeleteRenderbuffersOES;
230 glGenRenderbuffersOES_client_proc_t glGenRenderbuffersOES;
231 glRenderbufferStorageOES_client_proc_t glRenderbufferStorageOES;
232 glGetRenderbufferParameterivOES_client_proc_t glGetRenderbufferParameterivOES;
233 glIsFramebufferOES_client_proc_t glIsFramebufferOES;
234 glBindFramebufferOES_client_proc_t glBindFramebufferOES;
235 glDeleteFramebuffersOES_client_proc_t glDeleteFramebuffersOES;
236 glGenFramebuffersOES_client_proc_t glGenFramebuffersOES;
237 glCheckFramebufferStatusOES_client_proc_t glCheckFramebufferStatusOES;
238 glFramebufferRenderbufferOES_client_proc_t glFramebufferRenderbufferOES;
239 glFramebufferTexture2DOES_client_proc_t glFramebufferTexture2DOES;
240 glGetFramebufferAttachmentParameterivOES_client_proc_t glGetFramebufferAttachmentParameterivOES;
241 glGenerateMipmapOES_client_proc_t glGenerateMipmapOES;
242 glMapBufferOES_client_proc_t glMapBufferOES;
243 glUnmapBufferOES_client_proc_t glUnmapBufferOES;
244 glGetBufferPointervOES_client_proc_t glGetBufferPointervOES;
245 glCurrentPaletteMatrixOES_client_proc_t glCurrentPaletteMatrixOES;
246 glLoadPaletteFromModelViewMatrixOES_client_proc_t glLoadPaletteFromModelViewMatrixOES;
247 glMatrixIndexPointerOES_client_proc_t glMatrixIndexPointerOES;
248 glWeightPointerOES_client_proc_t glWeightPointerOES;
249 glQueryMatrixxOES_client_proc_t glQueryMatrixxOES;
250 glDepthRangefOES_client_proc_t glDepthRangefOES;
251 glFrustumfOES_client_proc_t glFrustumfOES;
252 glOrthofOES_client_proc_t glOrthofOES;
253 glClipPlanefOES_client_proc_t glClipPlanefOES;
254 glClipPlanefIMG_client_proc_t glClipPlanefIMG;
255 glGetClipPlanefOES_client_proc_t glGetClipPlanefOES;
256 glClearDepthfOES_client_proc_t glClearDepthfOES;
257 glTexGenfOES_client_proc_t glTexGenfOES;
258 glTexGenfvOES_client_proc_t glTexGenfvOES;
259 glTexGeniOES_client_proc_t glTexGeniOES;
260 glTexGenivOES_client_proc_t glTexGenivOES;
261 glTexGenxOES_client_proc_t glTexGenxOES;
262 glTexGenxvOES_client_proc_t glTexGenxvOES;
263 glGetTexGenfvOES_client_proc_t glGetTexGenfvOES;
264 glGetTexGenivOES_client_proc_t glGetTexGenivOES;
265 glGetTexGenxvOES_client_proc_t glGetTexGenxvOES;
266 glBindVertexArrayOES_client_proc_t glBindVertexArrayOES;
267 glDeleteVertexArraysOES_client_proc_t glDeleteVertexArraysOES;
268 glGenVertexArraysOES_client_proc_t glGenVertexArraysOES;
269 glIsVertexArrayOES_client_proc_t glIsVertexArrayOES;
270 glDiscardFramebufferEXT_client_proc_t glDiscardFramebufferEXT;
271 glMultiDrawArraysEXT_client_proc_t glMultiDrawArraysEXT;
272 glMultiDrawElementsEXT_client_proc_t glMultiDrawElementsEXT;
273 glMultiDrawArraysSUN_client_proc_t glMultiDrawArraysSUN;
274 glMultiDrawElementsSUN_client_proc_t glMultiDrawElementsSUN;
275 glRenderbufferStorageMultisampleIMG_client_proc_t glRenderbufferStorageMultisampleIMG;
276 glFramebufferTexture2DMultisampleIMG_client_proc_t glFramebufferTexture2DMultisampleIMG;
277 glDeleteFencesNV_client_proc_t glDeleteFencesNV;
278 glGenFencesNV_client_proc_t glGenFencesNV;
279 glIsFenceNV_client_proc_t glIsFenceNV;
280 glTestFenceNV_client_proc_t glTestFenceNV;
281 glGetFenceivNV_client_proc_t glGetFenceivNV;
282 glFinishFenceNV_client_proc_t glFinishFenceNV;
283 glSetFenceNV_client_proc_t glSetFenceNV;
284 glGetDriverControlsQCOM_client_proc_t glGetDriverControlsQCOM;
285 glGetDriverControlStringQCOM_client_proc_t glGetDriverControlStringQCOM;
286 glEnableDriverControlQCOM_client_proc_t glEnableDriverControlQCOM;
287 glDisableDriverControlQCOM_client_proc_t glDisableDriverControlQCOM;
288 glExtGetTexturesQCOM_client_proc_t glExtGetTexturesQCOM;
289 glExtGetBuffersQCOM_client_proc_t glExtGetBuffersQCOM;
290 glExtGetRenderbuffersQCOM_client_proc_t glExtGetRenderbuffersQCOM;
291 glExtGetFramebuffersQCOM_client_proc_t glExtGetFramebuffersQCOM;
292 glExtGetTexLevelParameterivQCOM_client_proc_t glExtGetTexLevelParameterivQCOM;
293 glExtTexObjectStateOverrideiQCOM_client_proc_t glExtTexObjectStateOverrideiQCOM;
294 glExtGetTexSubImageQCOM_client_proc_t glExtGetTexSubImageQCOM;
295 glExtGetBufferPointervQCOM_client_proc_t glExtGetBufferPointervQCOM;
296 glExtGetShadersQCOM_client_proc_t glExtGetShadersQCOM;
297 glExtGetProgramsQCOM_client_proc_t glExtGetProgramsQCOM;
298 glExtIsProgramBinaryQCOM_client_proc_t glExtIsProgramBinaryQCOM;
299 glExtGetProgramBinarySourceQCOM_client_proc_t glExtGetProgramBinarySourceQCOM;
300 glStartTilingQCOM_client_proc_t glStartTilingQCOM;
301 glEndTilingQCOM_client_proc_t glEndTilingQCOM;
keunyoungb85b2752013-03-08 12:28:03 -0800302 virtual ~gl_client_context_t() {}
303
304 typedef gl_client_context_t *CONTEXT_ACCESSOR_TYPE(void);
305 static void setContextAccessor(CONTEXT_ACCESSOR_TYPE *f);
306 int initDispatchByName( void *(*getProc)(const char *name, void *userData), void *userData);
David 'Digit' Turnere01d5f42014-10-30 21:32:28 +0100307 virtual void setError(unsigned int error){ (void)error; };
keunyoungb85b2752013-03-08 12:28:03 -0800308 virtual unsigned int getError(){ return 0; };
309};
310
311#endif