1 // Generated Code - DO NOT EDIT !!
2 // generated by 'emugen'
3 #ifndef __gl2_client_context_t_h
4 #define __gl2_client_context_t_h
5 
6 #include "gl2_client_proc.h"
7 
8 #include "gl2_types.h"
9 
10 
11 struct gl2_client_context_t {
12 
13 	glActiveTexture_client_proc_t glActiveTexture;
14 	glAttachShader_client_proc_t glAttachShader;
15 	glBindAttribLocation_client_proc_t glBindAttribLocation;
16 	glBindBuffer_client_proc_t glBindBuffer;
17 	glBindFramebuffer_client_proc_t glBindFramebuffer;
18 	glBindRenderbuffer_client_proc_t glBindRenderbuffer;
19 	glBindTexture_client_proc_t glBindTexture;
20 	glBlendColor_client_proc_t glBlendColor;
21 	glBlendEquation_client_proc_t glBlendEquation;
22 	glBlendEquationSeparate_client_proc_t glBlendEquationSeparate;
23 	glBlendFunc_client_proc_t glBlendFunc;
24 	glBlendFuncSeparate_client_proc_t glBlendFuncSeparate;
25 	glBufferData_client_proc_t glBufferData;
26 	glBufferSubData_client_proc_t glBufferSubData;
27 	glCheckFramebufferStatus_client_proc_t glCheckFramebufferStatus;
28 	glClear_client_proc_t glClear;
29 	glClearColor_client_proc_t glClearColor;
30 	glClearDepthf_client_proc_t glClearDepthf;
31 	glClearStencil_client_proc_t glClearStencil;
32 	glColorMask_client_proc_t glColorMask;
33 	glCompileShader_client_proc_t glCompileShader;
34 	glCompressedTexImage2D_client_proc_t glCompressedTexImage2D;
35 	glCompressedTexSubImage2D_client_proc_t glCompressedTexSubImage2D;
36 	glCopyTexImage2D_client_proc_t glCopyTexImage2D;
37 	glCopyTexSubImage2D_client_proc_t glCopyTexSubImage2D;
38 	glCreateProgram_client_proc_t glCreateProgram;
39 	glCreateShader_client_proc_t glCreateShader;
40 	glCullFace_client_proc_t glCullFace;
41 	glDeleteBuffers_client_proc_t glDeleteBuffers;
42 	glDeleteFramebuffers_client_proc_t glDeleteFramebuffers;
43 	glDeleteProgram_client_proc_t glDeleteProgram;
44 	glDeleteRenderbuffers_client_proc_t glDeleteRenderbuffers;
45 	glDeleteShader_client_proc_t glDeleteShader;
46 	glDeleteTextures_client_proc_t glDeleteTextures;
47 	glDepthFunc_client_proc_t glDepthFunc;
48 	glDepthMask_client_proc_t glDepthMask;
49 	glDepthRangef_client_proc_t glDepthRangef;
50 	glDetachShader_client_proc_t glDetachShader;
51 	glDisable_client_proc_t glDisable;
52 	glDisableVertexAttribArray_client_proc_t glDisableVertexAttribArray;
53 	glDrawArrays_client_proc_t glDrawArrays;
54 	glDrawElements_client_proc_t glDrawElements;
55 	glEnable_client_proc_t glEnable;
56 	glEnableVertexAttribArray_client_proc_t glEnableVertexAttribArray;
57 	glFinish_client_proc_t glFinish;
58 	glFlush_client_proc_t glFlush;
59 	glFramebufferRenderbuffer_client_proc_t glFramebufferRenderbuffer;
60 	glFramebufferTexture2D_client_proc_t glFramebufferTexture2D;
61 	glFrontFace_client_proc_t glFrontFace;
62 	glGenBuffers_client_proc_t glGenBuffers;
63 	glGenerateMipmap_client_proc_t glGenerateMipmap;
64 	glGenFramebuffers_client_proc_t glGenFramebuffers;
65 	glGenRenderbuffers_client_proc_t glGenRenderbuffers;
66 	glGenTextures_client_proc_t glGenTextures;
67 	glGetActiveAttrib_client_proc_t glGetActiveAttrib;
68 	glGetActiveUniform_client_proc_t glGetActiveUniform;
69 	glGetAttachedShaders_client_proc_t glGetAttachedShaders;
70 	glGetAttribLocation_client_proc_t glGetAttribLocation;
71 	glGetBooleanv_client_proc_t glGetBooleanv;
72 	glGetBufferParameteriv_client_proc_t glGetBufferParameteriv;
73 	glGetError_client_proc_t glGetError;
74 	glGetFloatv_client_proc_t glGetFloatv;
75 	glGetFramebufferAttachmentParameteriv_client_proc_t glGetFramebufferAttachmentParameteriv;
76 	glGetIntegerv_client_proc_t glGetIntegerv;
77 	glGetProgramiv_client_proc_t glGetProgramiv;
78 	glGetProgramInfoLog_client_proc_t glGetProgramInfoLog;
79 	glGetRenderbufferParameteriv_client_proc_t glGetRenderbufferParameteriv;
80 	glGetShaderiv_client_proc_t glGetShaderiv;
81 	glGetShaderInfoLog_client_proc_t glGetShaderInfoLog;
82 	glGetShaderPrecisionFormat_client_proc_t glGetShaderPrecisionFormat;
83 	glGetShaderSource_client_proc_t glGetShaderSource;
84 	glGetString_client_proc_t glGetString;
85 	glGetTexParameterfv_client_proc_t glGetTexParameterfv;
86 	glGetTexParameteriv_client_proc_t glGetTexParameteriv;
87 	glGetUniformfv_client_proc_t glGetUniformfv;
88 	glGetUniformiv_client_proc_t glGetUniformiv;
89 	glGetUniformLocation_client_proc_t glGetUniformLocation;
90 	glGetVertexAttribfv_client_proc_t glGetVertexAttribfv;
91 	glGetVertexAttribiv_client_proc_t glGetVertexAttribiv;
92 	glGetVertexAttribPointerv_client_proc_t glGetVertexAttribPointerv;
93 	glHint_client_proc_t glHint;
94 	glIsBuffer_client_proc_t glIsBuffer;
95 	glIsEnabled_client_proc_t glIsEnabled;
96 	glIsFramebuffer_client_proc_t glIsFramebuffer;
97 	glIsProgram_client_proc_t glIsProgram;
98 	glIsRenderbuffer_client_proc_t glIsRenderbuffer;
99 	glIsShader_client_proc_t glIsShader;
100 	glIsTexture_client_proc_t glIsTexture;
101 	glLineWidth_client_proc_t glLineWidth;
102 	glLinkProgram_client_proc_t glLinkProgram;
103 	glPixelStorei_client_proc_t glPixelStorei;
104 	glPolygonOffset_client_proc_t glPolygonOffset;
105 	glReadPixels_client_proc_t glReadPixels;
106 	glReleaseShaderCompiler_client_proc_t glReleaseShaderCompiler;
107 	glRenderbufferStorage_client_proc_t glRenderbufferStorage;
108 	glSampleCoverage_client_proc_t glSampleCoverage;
109 	glScissor_client_proc_t glScissor;
110 	glShaderBinary_client_proc_t glShaderBinary;
111 	glShaderSource_client_proc_t glShaderSource;
112 	glStencilFunc_client_proc_t glStencilFunc;
113 	glStencilFuncSeparate_client_proc_t glStencilFuncSeparate;
114 	glStencilMask_client_proc_t glStencilMask;
115 	glStencilMaskSeparate_client_proc_t glStencilMaskSeparate;
116 	glStencilOp_client_proc_t glStencilOp;
117 	glStencilOpSeparate_client_proc_t glStencilOpSeparate;
118 	glTexImage2D_client_proc_t glTexImage2D;
119 	glTexParameterf_client_proc_t glTexParameterf;
120 	glTexParameterfv_client_proc_t glTexParameterfv;
121 	glTexParameteri_client_proc_t glTexParameteri;
122 	glTexParameteriv_client_proc_t glTexParameteriv;
123 	glTexSubImage2D_client_proc_t glTexSubImage2D;
124 	glUniform1f_client_proc_t glUniform1f;
125 	glUniform1fv_client_proc_t glUniform1fv;
126 	glUniform1i_client_proc_t glUniform1i;
127 	glUniform1iv_client_proc_t glUniform1iv;
128 	glUniform2f_client_proc_t glUniform2f;
129 	glUniform2fv_client_proc_t glUniform2fv;
130 	glUniform2i_client_proc_t glUniform2i;
131 	glUniform2iv_client_proc_t glUniform2iv;
132 	glUniform3f_client_proc_t glUniform3f;
133 	glUniform3fv_client_proc_t glUniform3fv;
134 	glUniform3i_client_proc_t glUniform3i;
135 	glUniform3iv_client_proc_t glUniform3iv;
136 	glUniform4f_client_proc_t glUniform4f;
137 	glUniform4fv_client_proc_t glUniform4fv;
138 	glUniform4i_client_proc_t glUniform4i;
139 	glUniform4iv_client_proc_t glUniform4iv;
140 	glUniformMatrix2fv_client_proc_t glUniformMatrix2fv;
141 	glUniformMatrix3fv_client_proc_t glUniformMatrix3fv;
142 	glUniformMatrix4fv_client_proc_t glUniformMatrix4fv;
143 	glUseProgram_client_proc_t glUseProgram;
144 	glValidateProgram_client_proc_t glValidateProgram;
145 	glVertexAttrib1f_client_proc_t glVertexAttrib1f;
146 	glVertexAttrib1fv_client_proc_t glVertexAttrib1fv;
147 	glVertexAttrib2f_client_proc_t glVertexAttrib2f;
148 	glVertexAttrib2fv_client_proc_t glVertexAttrib2fv;
149 	glVertexAttrib3f_client_proc_t glVertexAttrib3f;
150 	glVertexAttrib3fv_client_proc_t glVertexAttrib3fv;
151 	glVertexAttrib4f_client_proc_t glVertexAttrib4f;
152 	glVertexAttrib4fv_client_proc_t glVertexAttrib4fv;
153 	glVertexAttribPointer_client_proc_t glVertexAttribPointer;
154 	glViewport_client_proc_t glViewport;
155 	glEGLImageTargetTexture2DOES_client_proc_t glEGLImageTargetTexture2DOES;
156 	glEGLImageTargetRenderbufferStorageOES_client_proc_t glEGLImageTargetRenderbufferStorageOES;
157 	glGetProgramBinaryOES_client_proc_t glGetProgramBinaryOES;
158 	glProgramBinaryOES_client_proc_t glProgramBinaryOES;
159 	glMapBufferOES_client_proc_t glMapBufferOES;
160 	glUnmapBufferOES_client_proc_t glUnmapBufferOES;
161 	glTexImage3DOES_client_proc_t glTexImage3DOES;
162 	glTexSubImage3DOES_client_proc_t glTexSubImage3DOES;
163 	glCopyTexSubImage3DOES_client_proc_t glCopyTexSubImage3DOES;
164 	glCompressedTexImage3DOES_client_proc_t glCompressedTexImage3DOES;
165 	glCompressedTexSubImage3DOES_client_proc_t glCompressedTexSubImage3DOES;
166 	glFramebufferTexture3DOES_client_proc_t glFramebufferTexture3DOES;
167 	glBindVertexArrayOES_client_proc_t glBindVertexArrayOES;
168 	glDeleteVertexArraysOES_client_proc_t glDeleteVertexArraysOES;
169 	glGenVertexArraysOES_client_proc_t glGenVertexArraysOES;
170 	glIsVertexArrayOES_client_proc_t glIsVertexArrayOES;
171 	glDiscardFramebufferEXT_client_proc_t glDiscardFramebufferEXT;
172 	glMultiDrawArraysEXT_client_proc_t glMultiDrawArraysEXT;
173 	glMultiDrawElementsEXT_client_proc_t glMultiDrawElementsEXT;
174 	glGetPerfMonitorGroupsAMD_client_proc_t glGetPerfMonitorGroupsAMD;
175 	glGetPerfMonitorCountersAMD_client_proc_t glGetPerfMonitorCountersAMD;
176 	glGetPerfMonitorGroupStringAMD_client_proc_t glGetPerfMonitorGroupStringAMD;
177 	glGetPerfMonitorCounterStringAMD_client_proc_t glGetPerfMonitorCounterStringAMD;
178 	glGetPerfMonitorCounterInfoAMD_client_proc_t glGetPerfMonitorCounterInfoAMD;
179 	glGenPerfMonitorsAMD_client_proc_t glGenPerfMonitorsAMD;
180 	glDeletePerfMonitorsAMD_client_proc_t glDeletePerfMonitorsAMD;
181 	glSelectPerfMonitorCountersAMD_client_proc_t glSelectPerfMonitorCountersAMD;
182 	glBeginPerfMonitorAMD_client_proc_t glBeginPerfMonitorAMD;
183 	glEndPerfMonitorAMD_client_proc_t glEndPerfMonitorAMD;
184 	glGetPerfMonitorCounterDataAMD_client_proc_t glGetPerfMonitorCounterDataAMD;
185 	glRenderbufferStorageMultisampleIMG_client_proc_t glRenderbufferStorageMultisampleIMG;
186 	glFramebufferTexture2DMultisampleIMG_client_proc_t glFramebufferTexture2DMultisampleIMG;
187 	glDeleteFencesNV_client_proc_t glDeleteFencesNV;
188 	glGenFencesNV_client_proc_t glGenFencesNV;
189 	glIsFenceNV_client_proc_t glIsFenceNV;
190 	glTestFenceNV_client_proc_t glTestFenceNV;
191 	glGetFenceivNV_client_proc_t glGetFenceivNV;
192 	glFinishFenceNV_client_proc_t glFinishFenceNV;
193 	glSetFenceNV_client_proc_t glSetFenceNV;
194 	glCoverageMaskNV_client_proc_t glCoverageMaskNV;
195 	glCoverageOperationNV_client_proc_t glCoverageOperationNV;
196 	glGetDriverControlsQCOM_client_proc_t glGetDriverControlsQCOM;
197 	glGetDriverControlStringQCOM_client_proc_t glGetDriverControlStringQCOM;
198 	glEnableDriverControlQCOM_client_proc_t glEnableDriverControlQCOM;
199 	glDisableDriverControlQCOM_client_proc_t glDisableDriverControlQCOM;
200 	glExtGetTexturesQCOM_client_proc_t glExtGetTexturesQCOM;
201 	glExtGetBuffersQCOM_client_proc_t glExtGetBuffersQCOM;
202 	glExtGetRenderbuffersQCOM_client_proc_t glExtGetRenderbuffersQCOM;
203 	glExtGetFramebuffersQCOM_client_proc_t glExtGetFramebuffersQCOM;
204 	glExtGetTexLevelParameterivQCOM_client_proc_t glExtGetTexLevelParameterivQCOM;
205 	glExtTexObjectStateOverrideiQCOM_client_proc_t glExtTexObjectStateOverrideiQCOM;
206 	glExtGetTexSubImageQCOM_client_proc_t glExtGetTexSubImageQCOM;
207 	glExtGetBufferPointervQCOM_client_proc_t glExtGetBufferPointervQCOM;
208 	glExtGetShadersQCOM_client_proc_t glExtGetShadersQCOM;
209 	glExtGetProgramsQCOM_client_proc_t glExtGetProgramsQCOM;
210 	glExtIsProgramBinaryQCOM_client_proc_t glExtIsProgramBinaryQCOM;
211 	glExtGetProgramBinarySourceQCOM_client_proc_t glExtGetProgramBinarySourceQCOM;
212 	glStartTilingQCOM_client_proc_t glStartTilingQCOM;
213 	glEndTilingQCOM_client_proc_t glEndTilingQCOM;
214 	glVertexAttribPointerData_client_proc_t glVertexAttribPointerData;
215 	glVertexAttribPointerOffset_client_proc_t glVertexAttribPointerOffset;
216 	glDrawElementsOffset_client_proc_t glDrawElementsOffset;
217 	glDrawElementsData_client_proc_t glDrawElementsData;
218 	glGetCompressedTextureFormats_client_proc_t glGetCompressedTextureFormats;
219 	glShaderString_client_proc_t glShaderString;
220 	glFinishRoundTrip_client_proc_t glFinishRoundTrip;
221 	glGenVertexArrays_client_proc_t glGenVertexArrays;
222 	glBindVertexArray_client_proc_t glBindVertexArray;
223 	glDeleteVertexArrays_client_proc_t glDeleteVertexArrays;
224 	glIsVertexArray_client_proc_t glIsVertexArray;
225 	glMapBufferRange_client_proc_t glMapBufferRange;
226 	glUnmapBuffer_client_proc_t glUnmapBuffer;
227 	glFlushMappedBufferRange_client_proc_t glFlushMappedBufferRange;
228 	glMapBufferRangeAEMU_client_proc_t glMapBufferRangeAEMU;
229 	glUnmapBufferAEMU_client_proc_t glUnmapBufferAEMU;
230 	glFlushMappedBufferRangeAEMU_client_proc_t glFlushMappedBufferRangeAEMU;
231 	glReadPixelsOffsetAEMU_client_proc_t glReadPixelsOffsetAEMU;
232 	glCompressedTexImage2DOffsetAEMU_client_proc_t glCompressedTexImage2DOffsetAEMU;
233 	glCompressedTexSubImage2DOffsetAEMU_client_proc_t glCompressedTexSubImage2DOffsetAEMU;
234 	glTexImage2DOffsetAEMU_client_proc_t glTexImage2DOffsetAEMU;
235 	glTexSubImage2DOffsetAEMU_client_proc_t glTexSubImage2DOffsetAEMU;
236 	glBindBufferRange_client_proc_t glBindBufferRange;
237 	glBindBufferBase_client_proc_t glBindBufferBase;
238 	glCopyBufferSubData_client_proc_t glCopyBufferSubData;
239 	glClearBufferiv_client_proc_t glClearBufferiv;
240 	glClearBufferuiv_client_proc_t glClearBufferuiv;
241 	glClearBufferfv_client_proc_t glClearBufferfv;
242 	glClearBufferfi_client_proc_t glClearBufferfi;
243 	glGetBufferParameteri64v_client_proc_t glGetBufferParameteri64v;
244 	glGetBufferPointerv_client_proc_t glGetBufferPointerv;
245 	glUniformBlockBinding_client_proc_t glUniformBlockBinding;
246 	glGetUniformBlockIndex_client_proc_t glGetUniformBlockIndex;
247 	glGetUniformIndices_client_proc_t glGetUniformIndices;
248 	glGetUniformIndicesAEMU_client_proc_t glGetUniformIndicesAEMU;
249 	glGetActiveUniformBlockiv_client_proc_t glGetActiveUniformBlockiv;
250 	glGetActiveUniformBlockName_client_proc_t glGetActiveUniformBlockName;
251 	glUniform1ui_client_proc_t glUniform1ui;
252 	glUniform2ui_client_proc_t glUniform2ui;
253 	glUniform3ui_client_proc_t glUniform3ui;
254 	glUniform4ui_client_proc_t glUniform4ui;
255 	glUniform1uiv_client_proc_t glUniform1uiv;
256 	glUniform2uiv_client_proc_t glUniform2uiv;
257 	glUniform3uiv_client_proc_t glUniform3uiv;
258 	glUniform4uiv_client_proc_t glUniform4uiv;
259 	glUniformMatrix2x3fv_client_proc_t glUniformMatrix2x3fv;
260 	glUniformMatrix3x2fv_client_proc_t glUniformMatrix3x2fv;
261 	glUniformMatrix2x4fv_client_proc_t glUniformMatrix2x4fv;
262 	glUniformMatrix4x2fv_client_proc_t glUniformMatrix4x2fv;
263 	glUniformMatrix3x4fv_client_proc_t glUniformMatrix3x4fv;
264 	glUniformMatrix4x3fv_client_proc_t glUniformMatrix4x3fv;
265 	glGetUniformuiv_client_proc_t glGetUniformuiv;
266 	glGetActiveUniformsiv_client_proc_t glGetActiveUniformsiv;
267 	glVertexAttribI4i_client_proc_t glVertexAttribI4i;
268 	glVertexAttribI4ui_client_proc_t glVertexAttribI4ui;
269 	glVertexAttribI4iv_client_proc_t glVertexAttribI4iv;
270 	glVertexAttribI4uiv_client_proc_t glVertexAttribI4uiv;
271 	glVertexAttribIPointer_client_proc_t glVertexAttribIPointer;
272 	glVertexAttribIPointerOffsetAEMU_client_proc_t glVertexAttribIPointerOffsetAEMU;
273 	glVertexAttribIPointerDataAEMU_client_proc_t glVertexAttribIPointerDataAEMU;
274 	glGetVertexAttribIiv_client_proc_t glGetVertexAttribIiv;
275 	glGetVertexAttribIuiv_client_proc_t glGetVertexAttribIuiv;
276 	glVertexAttribDivisor_client_proc_t glVertexAttribDivisor;
277 	glDrawArraysInstanced_client_proc_t glDrawArraysInstanced;
278 	glDrawElementsInstanced_client_proc_t glDrawElementsInstanced;
279 	glDrawElementsInstancedDataAEMU_client_proc_t glDrawElementsInstancedDataAEMU;
280 	glDrawElementsInstancedOffsetAEMU_client_proc_t glDrawElementsInstancedOffsetAEMU;
281 	glDrawRangeElements_client_proc_t glDrawRangeElements;
282 	glDrawRangeElementsDataAEMU_client_proc_t glDrawRangeElementsDataAEMU;
283 	glDrawRangeElementsOffsetAEMU_client_proc_t glDrawRangeElementsOffsetAEMU;
284 	glFenceSync_client_proc_t glFenceSync;
285 	glClientWaitSync_client_proc_t glClientWaitSync;
286 	glWaitSync_client_proc_t glWaitSync;
287 	glDeleteSync_client_proc_t glDeleteSync;
288 	glIsSync_client_proc_t glIsSync;
289 	glGetSynciv_client_proc_t glGetSynciv;
290 	glFenceSyncAEMU_client_proc_t glFenceSyncAEMU;
291 	glClientWaitSyncAEMU_client_proc_t glClientWaitSyncAEMU;
292 	glWaitSyncAEMU_client_proc_t glWaitSyncAEMU;
293 	glDeleteSyncAEMU_client_proc_t glDeleteSyncAEMU;
294 	glIsSyncAEMU_client_proc_t glIsSyncAEMU;
295 	glGetSyncivAEMU_client_proc_t glGetSyncivAEMU;
296 	glDrawBuffers_client_proc_t glDrawBuffers;
297 	glReadBuffer_client_proc_t glReadBuffer;
298 	glBlitFramebuffer_client_proc_t glBlitFramebuffer;
299 	glInvalidateFramebuffer_client_proc_t glInvalidateFramebuffer;
300 	glInvalidateSubFramebuffer_client_proc_t glInvalidateSubFramebuffer;
301 	glFramebufferTextureLayer_client_proc_t glFramebufferTextureLayer;
302 	glRenderbufferStorageMultisample_client_proc_t glRenderbufferStorageMultisample;
303 	glTexStorage2D_client_proc_t glTexStorage2D;
304 	glGetInternalformativ_client_proc_t glGetInternalformativ;
305 	glBeginTransformFeedback_client_proc_t glBeginTransformFeedback;
306 	glEndTransformFeedback_client_proc_t glEndTransformFeedback;
307 	glGenTransformFeedbacks_client_proc_t glGenTransformFeedbacks;
308 	glDeleteTransformFeedbacks_client_proc_t glDeleteTransformFeedbacks;
309 	glBindTransformFeedback_client_proc_t glBindTransformFeedback;
310 	glPauseTransformFeedback_client_proc_t glPauseTransformFeedback;
311 	glResumeTransformFeedback_client_proc_t glResumeTransformFeedback;
312 	glIsTransformFeedback_client_proc_t glIsTransformFeedback;
313 	glTransformFeedbackVaryings_client_proc_t glTransformFeedbackVaryings;
314 	glTransformFeedbackVaryingsAEMU_client_proc_t glTransformFeedbackVaryingsAEMU;
315 	glGetTransformFeedbackVarying_client_proc_t glGetTransformFeedbackVarying;
316 	glGenSamplers_client_proc_t glGenSamplers;
317 	glDeleteSamplers_client_proc_t glDeleteSamplers;
318 	glBindSampler_client_proc_t glBindSampler;
319 	glSamplerParameterf_client_proc_t glSamplerParameterf;
320 	glSamplerParameteri_client_proc_t glSamplerParameteri;
321 	glSamplerParameterfv_client_proc_t glSamplerParameterfv;
322 	glSamplerParameteriv_client_proc_t glSamplerParameteriv;
323 	glGetSamplerParameterfv_client_proc_t glGetSamplerParameterfv;
324 	glGetSamplerParameteriv_client_proc_t glGetSamplerParameteriv;
325 	glIsSampler_client_proc_t glIsSampler;
326 	glGenQueries_client_proc_t glGenQueries;
327 	glDeleteQueries_client_proc_t glDeleteQueries;
328 	glBeginQuery_client_proc_t glBeginQuery;
329 	glEndQuery_client_proc_t glEndQuery;
330 	glGetQueryiv_client_proc_t glGetQueryiv;
331 	glGetQueryObjectuiv_client_proc_t glGetQueryObjectuiv;
332 	glIsQuery_client_proc_t glIsQuery;
333 	glProgramParameteri_client_proc_t glProgramParameteri;
334 	glProgramBinary_client_proc_t glProgramBinary;
335 	glGetProgramBinary_client_proc_t glGetProgramBinary;
336 	glGetFragDataLocation_client_proc_t glGetFragDataLocation;
337 	glGetInteger64v_client_proc_t glGetInteger64v;
338 	glGetIntegeri_v_client_proc_t glGetIntegeri_v;
339 	glGetInteger64i_v_client_proc_t glGetInteger64i_v;
340 	glTexImage3D_client_proc_t glTexImage3D;
341 	glTexImage3DOffsetAEMU_client_proc_t glTexImage3DOffsetAEMU;
342 	glTexStorage3D_client_proc_t glTexStorage3D;
343 	glTexSubImage3D_client_proc_t glTexSubImage3D;
344 	glTexSubImage3DOffsetAEMU_client_proc_t glTexSubImage3DOffsetAEMU;
345 	glCompressedTexImage3D_client_proc_t glCompressedTexImage3D;
346 	glCompressedTexImage3DOffsetAEMU_client_proc_t glCompressedTexImage3DOffsetAEMU;
347 	glCompressedTexSubImage3D_client_proc_t glCompressedTexSubImage3D;
348 	glCompressedTexSubImage3DOffsetAEMU_client_proc_t glCompressedTexSubImage3DOffsetAEMU;
349 	glCopyTexSubImage3D_client_proc_t glCopyTexSubImage3D;
350 	glGetStringi_client_proc_t glGetStringi;
351 	glGetBooleani_v_client_proc_t glGetBooleani_v;
352 	glMemoryBarrier_client_proc_t glMemoryBarrier;
353 	glMemoryBarrierByRegion_client_proc_t glMemoryBarrierByRegion;
354 	glGenProgramPipelines_client_proc_t glGenProgramPipelines;
355 	glDeleteProgramPipelines_client_proc_t glDeleteProgramPipelines;
356 	glBindProgramPipeline_client_proc_t glBindProgramPipeline;
357 	glGetProgramPipelineiv_client_proc_t glGetProgramPipelineiv;
358 	glGetProgramPipelineInfoLog_client_proc_t glGetProgramPipelineInfoLog;
359 	glValidateProgramPipeline_client_proc_t glValidateProgramPipeline;
360 	glIsProgramPipeline_client_proc_t glIsProgramPipeline;
361 	glUseProgramStages_client_proc_t glUseProgramStages;
362 	glActiveShaderProgram_client_proc_t glActiveShaderProgram;
363 	glCreateShaderProgramv_client_proc_t glCreateShaderProgramv;
364 	glCreateShaderProgramvAEMU_client_proc_t glCreateShaderProgramvAEMU;
365 	glProgramUniform1f_client_proc_t glProgramUniform1f;
366 	glProgramUniform2f_client_proc_t glProgramUniform2f;
367 	glProgramUniform3f_client_proc_t glProgramUniform3f;
368 	glProgramUniform4f_client_proc_t glProgramUniform4f;
369 	glProgramUniform1i_client_proc_t glProgramUniform1i;
370 	glProgramUniform2i_client_proc_t glProgramUniform2i;
371 	glProgramUniform3i_client_proc_t glProgramUniform3i;
372 	glProgramUniform4i_client_proc_t glProgramUniform4i;
373 	glProgramUniform1ui_client_proc_t glProgramUniform1ui;
374 	glProgramUniform2ui_client_proc_t glProgramUniform2ui;
375 	glProgramUniform3ui_client_proc_t glProgramUniform3ui;
376 	glProgramUniform4ui_client_proc_t glProgramUniform4ui;
377 	glProgramUniform1fv_client_proc_t glProgramUniform1fv;
378 	glProgramUniform2fv_client_proc_t glProgramUniform2fv;
379 	glProgramUniform3fv_client_proc_t glProgramUniform3fv;
380 	glProgramUniform4fv_client_proc_t glProgramUniform4fv;
381 	glProgramUniform1iv_client_proc_t glProgramUniform1iv;
382 	glProgramUniform2iv_client_proc_t glProgramUniform2iv;
383 	glProgramUniform3iv_client_proc_t glProgramUniform3iv;
384 	glProgramUniform4iv_client_proc_t glProgramUniform4iv;
385 	glProgramUniform1uiv_client_proc_t glProgramUniform1uiv;
386 	glProgramUniform2uiv_client_proc_t glProgramUniform2uiv;
387 	glProgramUniform3uiv_client_proc_t glProgramUniform3uiv;
388 	glProgramUniform4uiv_client_proc_t glProgramUniform4uiv;
389 	glProgramUniformMatrix2fv_client_proc_t glProgramUniformMatrix2fv;
390 	glProgramUniformMatrix3fv_client_proc_t glProgramUniformMatrix3fv;
391 	glProgramUniformMatrix4fv_client_proc_t glProgramUniformMatrix4fv;
392 	glProgramUniformMatrix2x3fv_client_proc_t glProgramUniformMatrix2x3fv;
393 	glProgramUniformMatrix3x2fv_client_proc_t glProgramUniformMatrix3x2fv;
394 	glProgramUniformMatrix2x4fv_client_proc_t glProgramUniformMatrix2x4fv;
395 	glProgramUniformMatrix4x2fv_client_proc_t glProgramUniformMatrix4x2fv;
396 	glProgramUniformMatrix3x4fv_client_proc_t glProgramUniformMatrix3x4fv;
397 	glProgramUniformMatrix4x3fv_client_proc_t glProgramUniformMatrix4x3fv;
398 	glGetProgramInterfaceiv_client_proc_t glGetProgramInterfaceiv;
399 	glGetProgramResourceiv_client_proc_t glGetProgramResourceiv;
400 	glGetProgramResourceIndex_client_proc_t glGetProgramResourceIndex;
401 	glGetProgramResourceLocation_client_proc_t glGetProgramResourceLocation;
402 	glGetProgramResourceName_client_proc_t glGetProgramResourceName;
403 	glBindImageTexture_client_proc_t glBindImageTexture;
404 	glDispatchCompute_client_proc_t glDispatchCompute;
405 	glDispatchComputeIndirect_client_proc_t glDispatchComputeIndirect;
406 	glBindVertexBuffer_client_proc_t glBindVertexBuffer;
407 	glVertexAttribBinding_client_proc_t glVertexAttribBinding;
408 	glVertexAttribFormat_client_proc_t glVertexAttribFormat;
409 	glVertexAttribIFormat_client_proc_t glVertexAttribIFormat;
410 	glVertexBindingDivisor_client_proc_t glVertexBindingDivisor;
411 	glDrawArraysIndirect_client_proc_t glDrawArraysIndirect;
412 	glDrawArraysIndirectDataAEMU_client_proc_t glDrawArraysIndirectDataAEMU;
413 	glDrawArraysIndirectOffsetAEMU_client_proc_t glDrawArraysIndirectOffsetAEMU;
414 	glDrawElementsIndirect_client_proc_t glDrawElementsIndirect;
415 	glDrawElementsIndirectDataAEMU_client_proc_t glDrawElementsIndirectDataAEMU;
416 	glDrawElementsIndirectOffsetAEMU_client_proc_t glDrawElementsIndirectOffsetAEMU;
417 	glTexStorage2DMultisample_client_proc_t glTexStorage2DMultisample;
418 	glSampleMaski_client_proc_t glSampleMaski;
419 	glGetMultisamplefv_client_proc_t glGetMultisamplefv;
420 	glFramebufferParameteri_client_proc_t glFramebufferParameteri;
421 	glGetFramebufferParameteriv_client_proc_t glGetFramebufferParameteriv;
422 	glGetTexLevelParameterfv_client_proc_t glGetTexLevelParameterfv;
423 	glGetTexLevelParameteriv_client_proc_t glGetTexLevelParameteriv;
424 	glMapBufferRangeDMA_client_proc_t glMapBufferRangeDMA;
425 	glUnmapBufferDMA_client_proc_t glUnmapBufferDMA;
426 	glMapBufferRangeDirect_client_proc_t glMapBufferRangeDirect;
427 	glUnmapBufferDirect_client_proc_t glUnmapBufferDirect;
428 	glFlushMappedBufferRangeDirect_client_proc_t glFlushMappedBufferRangeDirect;
429 	glGetGraphicsResetStatusEXT_client_proc_t glGetGraphicsResetStatusEXT;
430 	glReadnPixelsEXT_client_proc_t glReadnPixelsEXT;
431 	glGetnUniformfvEXT_client_proc_t glGetnUniformfvEXT;
432 	glGetnUniformivEXT_client_proc_t glGetnUniformivEXT;
433 	glDrawArraysNullAEMU_client_proc_t glDrawArraysNullAEMU;
434 	glDrawElementsNullAEMU_client_proc_t glDrawElementsNullAEMU;
435 	glDrawElementsOffsetNullAEMU_client_proc_t glDrawElementsOffsetNullAEMU;
436 	glDrawElementsDataNullAEMU_client_proc_t glDrawElementsDataNullAEMU;
437 	glUnmapBufferAsyncAEMU_client_proc_t glUnmapBufferAsyncAEMU;
438 	glFlushMappedBufferRangeAEMU2_client_proc_t glFlushMappedBufferRangeAEMU2;
~gl2_client_context_tgl2_client_context_t439 	virtual ~gl2_client_context_t() {}
440 
441 	typedef gl2_client_context_t *CONTEXT_ACCESSOR_TYPE(void);
442 	static void setContextAccessor(CONTEXT_ACCESSOR_TYPE *f);
443 	int initDispatchByName( void *(*getProc)(const char *name, void *userData), void *userData);
setErrorgl2_client_context_t444 	virtual void setError(unsigned int  error){ (void)error; };
getErrorgl2_client_context_t445 	virtual unsigned int getError(){ return 0; };
446 };
447 
448 #endif
449