Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / gpu / command_buffer / client / gles2_c_lib_autogen.h
blob870a4f9a4cb7e68a3e1e00b6da23261c97a33027
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT!
11 // These functions emulate GLES2 over command buffers.
12 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
13 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
15 void GL_APIENTRY GLES2ActiveTexture(GLenum texture) {
16 gles2::GetGLContext()->ActiveTexture(texture);
18 void GL_APIENTRY GLES2AttachShader(GLuint program, GLuint shader) {
19 gles2::GetGLContext()->AttachShader(program, shader);
21 void GL_APIENTRY GLES2BindAttribLocation(GLuint program,
22 GLuint index,
23 const char* name) {
24 gles2::GetGLContext()->BindAttribLocation(program, index, name);
26 void GL_APIENTRY GLES2BindBuffer(GLenum target, GLuint buffer) {
27 gles2::GetGLContext()->BindBuffer(target, buffer);
29 void GL_APIENTRY GLES2BindBufferBase(GLenum target,
30 GLuint index,
31 GLuint buffer) {
32 gles2::GetGLContext()->BindBufferBase(target, index, buffer);
34 void GL_APIENTRY GLES2BindBufferRange(GLenum target,
35 GLuint index,
36 GLuint buffer,
37 GLintptr offset,
38 GLsizeiptr size) {
39 gles2::GetGLContext()->BindBufferRange(target, index, buffer, offset, size);
41 void GL_APIENTRY GLES2BindFramebuffer(GLenum target, GLuint framebuffer) {
42 gles2::GetGLContext()->BindFramebuffer(target, framebuffer);
44 void GL_APIENTRY GLES2BindRenderbuffer(GLenum target, GLuint renderbuffer) {
45 gles2::GetGLContext()->BindRenderbuffer(target, renderbuffer);
47 void GL_APIENTRY GLES2BindSampler(GLuint unit, GLuint sampler) {
48 gles2::GetGLContext()->BindSampler(unit, sampler);
50 void GL_APIENTRY GLES2BindTexture(GLenum target, GLuint texture) {
51 gles2::GetGLContext()->BindTexture(target, texture);
53 void GL_APIENTRY GLES2BindTransformFeedback(GLenum target,
54 GLuint transformfeedback) {
55 gles2::GetGLContext()->BindTransformFeedback(target, transformfeedback);
57 void GL_APIENTRY GLES2BlendColor(GLclampf red,
58 GLclampf green,
59 GLclampf blue,
60 GLclampf alpha) {
61 gles2::GetGLContext()->BlendColor(red, green, blue, alpha);
63 void GL_APIENTRY GLES2BlendEquation(GLenum mode) {
64 gles2::GetGLContext()->BlendEquation(mode);
66 void GL_APIENTRY GLES2BlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) {
67 gles2::GetGLContext()->BlendEquationSeparate(modeRGB, modeAlpha);
69 void GL_APIENTRY GLES2BlendFunc(GLenum sfactor, GLenum dfactor) {
70 gles2::GetGLContext()->BlendFunc(sfactor, dfactor);
72 void GL_APIENTRY GLES2BlendFuncSeparate(GLenum srcRGB,
73 GLenum dstRGB,
74 GLenum srcAlpha,
75 GLenum dstAlpha) {
76 gles2::GetGLContext()->BlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha);
78 void GL_APIENTRY GLES2BufferData(GLenum target,
79 GLsizeiptr size,
80 const void* data,
81 GLenum usage) {
82 gles2::GetGLContext()->BufferData(target, size, data, usage);
84 void GL_APIENTRY GLES2BufferSubData(GLenum target,
85 GLintptr offset,
86 GLsizeiptr size,
87 const void* data) {
88 gles2::GetGLContext()->BufferSubData(target, offset, size, data);
90 GLenum GL_APIENTRY GLES2CheckFramebufferStatus(GLenum target) {
91 return gles2::GetGLContext()->CheckFramebufferStatus(target);
93 void GL_APIENTRY GLES2Clear(GLbitfield mask) {
94 gles2::GetGLContext()->Clear(mask);
96 void GL_APIENTRY GLES2ClearBufferfi(GLenum buffer,
97 GLint drawbuffers,
98 GLfloat depth,
99 GLint stencil) {
100 gles2::GetGLContext()->ClearBufferfi(buffer, drawbuffers, depth, stencil);
102 void GL_APIENTRY GLES2ClearBufferfv(GLenum buffer,
103 GLint drawbuffers,
104 const GLfloat* value) {
105 gles2::GetGLContext()->ClearBufferfv(buffer, drawbuffers, value);
107 void GL_APIENTRY GLES2ClearBufferiv(GLenum buffer,
108 GLint drawbuffers,
109 const GLint* value) {
110 gles2::GetGLContext()->ClearBufferiv(buffer, drawbuffers, value);
112 void GL_APIENTRY GLES2ClearBufferuiv(GLenum buffer,
113 GLint drawbuffers,
114 const GLuint* value) {
115 gles2::GetGLContext()->ClearBufferuiv(buffer, drawbuffers, value);
117 void GL_APIENTRY GLES2ClearColor(GLclampf red,
118 GLclampf green,
119 GLclampf blue,
120 GLclampf alpha) {
121 gles2::GetGLContext()->ClearColor(red, green, blue, alpha);
123 void GL_APIENTRY GLES2ClearDepthf(GLclampf depth) {
124 gles2::GetGLContext()->ClearDepthf(depth);
126 void GL_APIENTRY GLES2ClearStencil(GLint s) {
127 gles2::GetGLContext()->ClearStencil(s);
129 GLenum GL_APIENTRY GLES2ClientWaitSync(GLsync sync,
130 GLbitfield flags,
131 GLuint64 timeout) {
132 return gles2::GetGLContext()->ClientWaitSync(sync, flags, timeout);
134 void GL_APIENTRY GLES2ColorMask(GLboolean red,
135 GLboolean green,
136 GLboolean blue,
137 GLboolean alpha) {
138 gles2::GetGLContext()->ColorMask(red, green, blue, alpha);
140 void GL_APIENTRY GLES2CompileShader(GLuint shader) {
141 gles2::GetGLContext()->CompileShader(shader);
143 void GL_APIENTRY GLES2CompressedTexImage2D(GLenum target,
144 GLint level,
145 GLenum internalformat,
146 GLsizei width,
147 GLsizei height,
148 GLint border,
149 GLsizei imageSize,
150 const void* data) {
151 gles2::GetGLContext()->CompressedTexImage2D(
152 target, level, internalformat, width, height, border, imageSize, data);
154 void GL_APIENTRY GLES2CompressedTexSubImage2D(GLenum target,
155 GLint level,
156 GLint xoffset,
157 GLint yoffset,
158 GLsizei width,
159 GLsizei height,
160 GLenum format,
161 GLsizei imageSize,
162 const void* data) {
163 gles2::GetGLContext()->CompressedTexSubImage2D(
164 target, level, xoffset, yoffset, width, height, format, imageSize, data);
166 void GL_APIENTRY GLES2CompressedTexImage3D(GLenum target,
167 GLint level,
168 GLenum internalformat,
169 GLsizei width,
170 GLsizei height,
171 GLsizei depth,
172 GLint border,
173 GLsizei imageSize,
174 const void* data) {
175 gles2::GetGLContext()->CompressedTexImage3D(target, level, internalformat,
176 width, height, depth, border,
177 imageSize, data);
179 void GL_APIENTRY GLES2CompressedTexSubImage3D(GLenum target,
180 GLint level,
181 GLint xoffset,
182 GLint yoffset,
183 GLint zoffset,
184 GLsizei width,
185 GLsizei height,
186 GLsizei depth,
187 GLenum format,
188 GLsizei imageSize,
189 const void* data) {
190 gles2::GetGLContext()->CompressedTexSubImage3D(
191 target, level, xoffset, yoffset, zoffset, width, height, depth, format,
192 imageSize, data);
194 void GL_APIENTRY GLES2CopyBufferSubData(GLenum readtarget,
195 GLenum writetarget,
196 GLintptr readoffset,
197 GLintptr writeoffset,
198 GLsizeiptr size) {
199 gles2::GetGLContext()->CopyBufferSubData(readtarget, writetarget, readoffset,
200 writeoffset, size);
202 void GL_APIENTRY GLES2CopyTexImage2D(GLenum target,
203 GLint level,
204 GLenum internalformat,
205 GLint x,
206 GLint y,
207 GLsizei width,
208 GLsizei height,
209 GLint border) {
210 gles2::GetGLContext()->CopyTexImage2D(target, level, internalformat, x, y,
211 width, height, border);
213 void GL_APIENTRY GLES2CopyTexSubImage2D(GLenum target,
214 GLint level,
215 GLint xoffset,
216 GLint yoffset,
217 GLint x,
218 GLint y,
219 GLsizei width,
220 GLsizei height) {
221 gles2::GetGLContext()->CopyTexSubImage2D(target, level, xoffset, yoffset, x,
222 y, width, height);
224 void GL_APIENTRY GLES2CopyTexSubImage3D(GLenum target,
225 GLint level,
226 GLint xoffset,
227 GLint yoffset,
228 GLint zoffset,
229 GLint x,
230 GLint y,
231 GLsizei width,
232 GLsizei height) {
233 gles2::GetGLContext()->CopyTexSubImage3D(target, level, xoffset, yoffset,
234 zoffset, x, y, width, height);
236 GLuint GL_APIENTRY GLES2CreateProgram() {
237 return gles2::GetGLContext()->CreateProgram();
239 GLuint GL_APIENTRY GLES2CreateShader(GLenum type) {
240 return gles2::GetGLContext()->CreateShader(type);
242 void GL_APIENTRY GLES2CullFace(GLenum mode) {
243 gles2::GetGLContext()->CullFace(mode);
245 void GL_APIENTRY GLES2DeleteBuffers(GLsizei n, const GLuint* buffers) {
246 gles2::GetGLContext()->DeleteBuffers(n, buffers);
248 void GL_APIENTRY GLES2DeleteFramebuffers(GLsizei n,
249 const GLuint* framebuffers) {
250 gles2::GetGLContext()->DeleteFramebuffers(n, framebuffers);
252 void GL_APIENTRY GLES2DeleteProgram(GLuint program) {
253 gles2::GetGLContext()->DeleteProgram(program);
255 void GL_APIENTRY GLES2DeleteRenderbuffers(GLsizei n,
256 const GLuint* renderbuffers) {
257 gles2::GetGLContext()->DeleteRenderbuffers(n, renderbuffers);
259 void GL_APIENTRY GLES2DeleteSamplers(GLsizei n, const GLuint* samplers) {
260 gles2::GetGLContext()->DeleteSamplers(n, samplers);
262 void GL_APIENTRY GLES2DeleteSync(GLsync sync) {
263 gles2::GetGLContext()->DeleteSync(sync);
265 void GL_APIENTRY GLES2DeleteShader(GLuint shader) {
266 gles2::GetGLContext()->DeleteShader(shader);
268 void GL_APIENTRY GLES2DeleteTextures(GLsizei n, const GLuint* textures) {
269 gles2::GetGLContext()->DeleteTextures(n, textures);
271 void GL_APIENTRY GLES2DeleteTransformFeedbacks(GLsizei n, const GLuint* ids) {
272 gles2::GetGLContext()->DeleteTransformFeedbacks(n, ids);
274 void GL_APIENTRY GLES2DepthFunc(GLenum func) {
275 gles2::GetGLContext()->DepthFunc(func);
277 void GL_APIENTRY GLES2DepthMask(GLboolean flag) {
278 gles2::GetGLContext()->DepthMask(flag);
280 void GL_APIENTRY GLES2DepthRangef(GLclampf zNear, GLclampf zFar) {
281 gles2::GetGLContext()->DepthRangef(zNear, zFar);
283 void GL_APIENTRY GLES2DetachShader(GLuint program, GLuint shader) {
284 gles2::GetGLContext()->DetachShader(program, shader);
286 void GL_APIENTRY GLES2Disable(GLenum cap) {
287 gles2::GetGLContext()->Disable(cap);
289 void GL_APIENTRY GLES2DisableVertexAttribArray(GLuint index) {
290 gles2::GetGLContext()->DisableVertexAttribArray(index);
292 void GL_APIENTRY GLES2DrawArrays(GLenum mode, GLint first, GLsizei count) {
293 gles2::GetGLContext()->DrawArrays(mode, first, count);
295 void GL_APIENTRY GLES2DrawElements(GLenum mode,
296 GLsizei count,
297 GLenum type,
298 const void* indices) {
299 gles2::GetGLContext()->DrawElements(mode, count, type, indices);
301 void GL_APIENTRY GLES2DrawRangeElements(GLenum mode,
302 GLuint start,
303 GLuint end,
304 GLsizei count,
305 GLenum type,
306 const void* indices) {
307 gles2::GetGLContext()->DrawRangeElements(mode, start, end, count, type,
308 indices);
310 void GL_APIENTRY GLES2Enable(GLenum cap) {
311 gles2::GetGLContext()->Enable(cap);
313 void GL_APIENTRY GLES2EnableVertexAttribArray(GLuint index) {
314 gles2::GetGLContext()->EnableVertexAttribArray(index);
316 GLsync GL_APIENTRY GLES2FenceSync(GLenum condition, GLbitfield flags) {
317 return gles2::GetGLContext()->FenceSync(condition, flags);
319 void GL_APIENTRY GLES2Finish() {
320 gles2::GetGLContext()->Finish();
322 void GL_APIENTRY GLES2Flush() {
323 gles2::GetGLContext()->Flush();
325 void GL_APIENTRY GLES2FramebufferRenderbuffer(GLenum target,
326 GLenum attachment,
327 GLenum renderbuffertarget,
328 GLuint renderbuffer) {
329 gles2::GetGLContext()->FramebufferRenderbuffer(
330 target, attachment, renderbuffertarget, renderbuffer);
332 void GL_APIENTRY GLES2FramebufferTexture2D(GLenum target,
333 GLenum attachment,
334 GLenum textarget,
335 GLuint texture,
336 GLint level) {
337 gles2::GetGLContext()->FramebufferTexture2D(target, attachment, textarget,
338 texture, level);
340 void GL_APIENTRY GLES2FramebufferTextureLayer(GLenum target,
341 GLenum attachment,
342 GLuint texture,
343 GLint level,
344 GLint layer) {
345 gles2::GetGLContext()->FramebufferTextureLayer(target, attachment, texture,
346 level, layer);
348 void GL_APIENTRY GLES2FrontFace(GLenum mode) {
349 gles2::GetGLContext()->FrontFace(mode);
351 void GL_APIENTRY GLES2GenBuffers(GLsizei n, GLuint* buffers) {
352 gles2::GetGLContext()->GenBuffers(n, buffers);
354 void GL_APIENTRY GLES2GenerateMipmap(GLenum target) {
355 gles2::GetGLContext()->GenerateMipmap(target);
357 void GL_APIENTRY GLES2GenFramebuffers(GLsizei n, GLuint* framebuffers) {
358 gles2::GetGLContext()->GenFramebuffers(n, framebuffers);
360 void GL_APIENTRY GLES2GenRenderbuffers(GLsizei n, GLuint* renderbuffers) {
361 gles2::GetGLContext()->GenRenderbuffers(n, renderbuffers);
363 void GL_APIENTRY GLES2GenSamplers(GLsizei n, GLuint* samplers) {
364 gles2::GetGLContext()->GenSamplers(n, samplers);
366 void GL_APIENTRY GLES2GenTextures(GLsizei n, GLuint* textures) {
367 gles2::GetGLContext()->GenTextures(n, textures);
369 void GL_APIENTRY GLES2GenTransformFeedbacks(GLsizei n, GLuint* ids) {
370 gles2::GetGLContext()->GenTransformFeedbacks(n, ids);
372 void GL_APIENTRY GLES2GetActiveAttrib(GLuint program,
373 GLuint index,
374 GLsizei bufsize,
375 GLsizei* length,
376 GLint* size,
377 GLenum* type,
378 char* name) {
379 gles2::GetGLContext()->GetActiveAttrib(program, index, bufsize, length, size,
380 type, name);
382 void GL_APIENTRY GLES2GetActiveUniform(GLuint program,
383 GLuint index,
384 GLsizei bufsize,
385 GLsizei* length,
386 GLint* size,
387 GLenum* type,
388 char* name) {
389 gles2::GetGLContext()->GetActiveUniform(program, index, bufsize, length, size,
390 type, name);
392 void GL_APIENTRY GLES2GetActiveUniformBlockiv(GLuint program,
393 GLuint index,
394 GLenum pname,
395 GLint* params) {
396 gles2::GetGLContext()->GetActiveUniformBlockiv(program, index, pname, params);
398 void GL_APIENTRY GLES2GetActiveUniformBlockName(GLuint program,
399 GLuint index,
400 GLsizei bufsize,
401 GLsizei* length,
402 char* name) {
403 gles2::GetGLContext()->GetActiveUniformBlockName(program, index, bufsize,
404 length, name);
406 void GL_APIENTRY GLES2GetActiveUniformsiv(GLuint program,
407 GLsizei count,
408 const GLuint* indices,
409 GLenum pname,
410 GLint* params) {
411 gles2::GetGLContext()->GetActiveUniformsiv(program, count, indices, pname,
412 params);
414 void GL_APIENTRY GLES2GetAttachedShaders(GLuint program,
415 GLsizei maxcount,
416 GLsizei* count,
417 GLuint* shaders) {
418 gles2::GetGLContext()->GetAttachedShaders(program, maxcount, count, shaders);
420 GLint GL_APIENTRY GLES2GetAttribLocation(GLuint program, const char* name) {
421 return gles2::GetGLContext()->GetAttribLocation(program, name);
423 void GL_APIENTRY GLES2GetBooleanv(GLenum pname, GLboolean* params) {
424 gles2::GetGLContext()->GetBooleanv(pname, params);
426 void GL_APIENTRY GLES2GetBufferParameteri64v(GLenum target,
427 GLenum pname,
428 GLint64* params) {
429 gles2::GetGLContext()->GetBufferParameteri64v(target, pname, params);
431 void GL_APIENTRY GLES2GetBufferParameteriv(GLenum target,
432 GLenum pname,
433 GLint* params) {
434 gles2::GetGLContext()->GetBufferParameteriv(target, pname, params);
436 GLenum GL_APIENTRY GLES2GetError() {
437 return gles2::GetGLContext()->GetError();
439 void GL_APIENTRY GLES2GetFloatv(GLenum pname, GLfloat* params) {
440 gles2::GetGLContext()->GetFloatv(pname, params);
442 GLint GL_APIENTRY GLES2GetFragDataLocation(GLuint program, const char* name) {
443 return gles2::GetGLContext()->GetFragDataLocation(program, name);
445 void GL_APIENTRY GLES2GetFramebufferAttachmentParameteriv(GLenum target,
446 GLenum attachment,
447 GLenum pname,
448 GLint* params) {
449 gles2::GetGLContext()->GetFramebufferAttachmentParameteriv(target, attachment,
450 pname, params);
452 void GL_APIENTRY GLES2GetInteger64v(GLenum pname, GLint64* params) {
453 gles2::GetGLContext()->GetInteger64v(pname, params);
455 void GL_APIENTRY GLES2GetIntegeri_v(GLenum pname, GLuint index, GLint* data) {
456 gles2::GetGLContext()->GetIntegeri_v(pname, index, data);
458 void GL_APIENTRY GLES2GetInteger64i_v(GLenum pname,
459 GLuint index,
460 GLint64* data) {
461 gles2::GetGLContext()->GetInteger64i_v(pname, index, data);
463 void GL_APIENTRY GLES2GetIntegerv(GLenum pname, GLint* params) {
464 gles2::GetGLContext()->GetIntegerv(pname, params);
466 void GL_APIENTRY GLES2GetInternalformativ(GLenum target,
467 GLenum format,
468 GLenum pname,
469 GLsizei bufSize,
470 GLint* params) {
471 gles2::GetGLContext()->GetInternalformativ(target, format, pname, bufSize,
472 params);
474 void GL_APIENTRY GLES2GetProgramiv(GLuint program,
475 GLenum pname,
476 GLint* params) {
477 gles2::GetGLContext()->GetProgramiv(program, pname, params);
479 void GL_APIENTRY GLES2GetProgramInfoLog(GLuint program,
480 GLsizei bufsize,
481 GLsizei* length,
482 char* infolog) {
483 gles2::GetGLContext()->GetProgramInfoLog(program, bufsize, length, infolog);
485 void GL_APIENTRY GLES2GetRenderbufferParameteriv(GLenum target,
486 GLenum pname,
487 GLint* params) {
488 gles2::GetGLContext()->GetRenderbufferParameteriv(target, pname, params);
490 void GL_APIENTRY GLES2GetSamplerParameterfv(GLuint sampler,
491 GLenum pname,
492 GLfloat* params) {
493 gles2::GetGLContext()->GetSamplerParameterfv(sampler, pname, params);
495 void GL_APIENTRY GLES2GetSamplerParameteriv(GLuint sampler,
496 GLenum pname,
497 GLint* params) {
498 gles2::GetGLContext()->GetSamplerParameteriv(sampler, pname, params);
500 void GL_APIENTRY GLES2GetShaderiv(GLuint shader, GLenum pname, GLint* params) {
501 gles2::GetGLContext()->GetShaderiv(shader, pname, params);
503 void GL_APIENTRY GLES2GetShaderInfoLog(GLuint shader,
504 GLsizei bufsize,
505 GLsizei* length,
506 char* infolog) {
507 gles2::GetGLContext()->GetShaderInfoLog(shader, bufsize, length, infolog);
509 void GL_APIENTRY GLES2GetShaderPrecisionFormat(GLenum shadertype,
510 GLenum precisiontype,
511 GLint* range,
512 GLint* precision) {
513 gles2::GetGLContext()->GetShaderPrecisionFormat(shadertype, precisiontype,
514 range, precision);
516 void GL_APIENTRY GLES2GetShaderSource(GLuint shader,
517 GLsizei bufsize,
518 GLsizei* length,
519 char* source) {
520 gles2::GetGLContext()->GetShaderSource(shader, bufsize, length, source);
522 const GLubyte* GL_APIENTRY GLES2GetString(GLenum name) {
523 return gles2::GetGLContext()->GetString(name);
525 void GL_APIENTRY GLES2GetSynciv(GLsync sync,
526 GLenum pname,
527 GLsizei bufsize,
528 GLsizei* length,
529 GLint* values) {
530 gles2::GetGLContext()->GetSynciv(sync, pname, bufsize, length, values);
532 void GL_APIENTRY GLES2GetTexParameterfv(GLenum target,
533 GLenum pname,
534 GLfloat* params) {
535 gles2::GetGLContext()->GetTexParameterfv(target, pname, params);
537 void GL_APIENTRY GLES2GetTexParameteriv(GLenum target,
538 GLenum pname,
539 GLint* params) {
540 gles2::GetGLContext()->GetTexParameteriv(target, pname, params);
542 void GL_APIENTRY GLES2GetTransformFeedbackVarying(GLuint program,
543 GLuint index,
544 GLsizei bufsize,
545 GLsizei* length,
546 GLsizei* size,
547 GLenum* type,
548 char* name) {
549 gles2::GetGLContext()->GetTransformFeedbackVarying(program, index, bufsize,
550 length, size, type, name);
552 GLuint GL_APIENTRY GLES2GetUniformBlockIndex(GLuint program, const char* name) {
553 return gles2::GetGLContext()->GetUniformBlockIndex(program, name);
555 void GL_APIENTRY GLES2GetUniformfv(GLuint program,
556 GLint location,
557 GLfloat* params) {
558 gles2::GetGLContext()->GetUniformfv(program, location, params);
560 void GL_APIENTRY GLES2GetUniformiv(GLuint program,
561 GLint location,
562 GLint* params) {
563 gles2::GetGLContext()->GetUniformiv(program, location, params);
565 void GL_APIENTRY GLES2GetUniformuiv(GLuint program,
566 GLint location,
567 GLuint* params) {
568 gles2::GetGLContext()->GetUniformuiv(program, location, params);
570 void GL_APIENTRY GLES2GetUniformIndices(GLuint program,
571 GLsizei count,
572 const char* const* names,
573 GLuint* indices) {
574 gles2::GetGLContext()->GetUniformIndices(program, count, names, indices);
576 GLint GL_APIENTRY GLES2GetUniformLocation(GLuint program, const char* name) {
577 return gles2::GetGLContext()->GetUniformLocation(program, name);
579 void GL_APIENTRY GLES2GetVertexAttribfv(GLuint index,
580 GLenum pname,
581 GLfloat* params) {
582 gles2::GetGLContext()->GetVertexAttribfv(index, pname, params);
584 void GL_APIENTRY GLES2GetVertexAttribiv(GLuint index,
585 GLenum pname,
586 GLint* params) {
587 gles2::GetGLContext()->GetVertexAttribiv(index, pname, params);
589 void GL_APIENTRY GLES2GetVertexAttribIiv(GLuint index,
590 GLenum pname,
591 GLint* params) {
592 gles2::GetGLContext()->GetVertexAttribIiv(index, pname, params);
594 void GL_APIENTRY GLES2GetVertexAttribIuiv(GLuint index,
595 GLenum pname,
596 GLuint* params) {
597 gles2::GetGLContext()->GetVertexAttribIuiv(index, pname, params);
599 void GL_APIENTRY GLES2GetVertexAttribPointerv(GLuint index,
600 GLenum pname,
601 void** pointer) {
602 gles2::GetGLContext()->GetVertexAttribPointerv(index, pname, pointer);
604 void GL_APIENTRY GLES2Hint(GLenum target, GLenum mode) {
605 gles2::GetGLContext()->Hint(target, mode);
607 void GL_APIENTRY GLES2InvalidateFramebuffer(GLenum target,
608 GLsizei count,
609 const GLenum* attachments) {
610 gles2::GetGLContext()->InvalidateFramebuffer(target, count, attachments);
612 void GL_APIENTRY GLES2InvalidateSubFramebuffer(GLenum target,
613 GLsizei count,
614 const GLenum* attachments,
615 GLint x,
616 GLint y,
617 GLsizei width,
618 GLsizei height) {
619 gles2::GetGLContext()->InvalidateSubFramebuffer(target, count, attachments, x,
620 y, width, height);
622 GLboolean GL_APIENTRY GLES2IsBuffer(GLuint buffer) {
623 return gles2::GetGLContext()->IsBuffer(buffer);
625 GLboolean GL_APIENTRY GLES2IsEnabled(GLenum cap) {
626 return gles2::GetGLContext()->IsEnabled(cap);
628 GLboolean GL_APIENTRY GLES2IsFramebuffer(GLuint framebuffer) {
629 return gles2::GetGLContext()->IsFramebuffer(framebuffer);
631 GLboolean GL_APIENTRY GLES2IsProgram(GLuint program) {
632 return gles2::GetGLContext()->IsProgram(program);
634 GLboolean GL_APIENTRY GLES2IsRenderbuffer(GLuint renderbuffer) {
635 return gles2::GetGLContext()->IsRenderbuffer(renderbuffer);
637 GLboolean GL_APIENTRY GLES2IsSampler(GLuint sampler) {
638 return gles2::GetGLContext()->IsSampler(sampler);
640 GLboolean GL_APIENTRY GLES2IsShader(GLuint shader) {
641 return gles2::GetGLContext()->IsShader(shader);
643 GLboolean GL_APIENTRY GLES2IsSync(GLsync sync) {
644 return gles2::GetGLContext()->IsSync(sync);
646 GLboolean GL_APIENTRY GLES2IsTexture(GLuint texture) {
647 return gles2::GetGLContext()->IsTexture(texture);
649 GLboolean GL_APIENTRY GLES2IsTransformFeedback(GLuint transformfeedback) {
650 return gles2::GetGLContext()->IsTransformFeedback(transformfeedback);
652 void GL_APIENTRY GLES2LineWidth(GLfloat width) {
653 gles2::GetGLContext()->LineWidth(width);
655 void GL_APIENTRY GLES2LinkProgram(GLuint program) {
656 gles2::GetGLContext()->LinkProgram(program);
658 void GL_APIENTRY GLES2PauseTransformFeedback() {
659 gles2::GetGLContext()->PauseTransformFeedback();
661 void GL_APIENTRY GLES2PixelStorei(GLenum pname, GLint param) {
662 gles2::GetGLContext()->PixelStorei(pname, param);
664 void GL_APIENTRY GLES2PolygonOffset(GLfloat factor, GLfloat units) {
665 gles2::GetGLContext()->PolygonOffset(factor, units);
667 void GL_APIENTRY GLES2ReadBuffer(GLenum src) {
668 gles2::GetGLContext()->ReadBuffer(src);
670 void GL_APIENTRY GLES2ReadPixels(GLint x,
671 GLint y,
672 GLsizei width,
673 GLsizei height,
674 GLenum format,
675 GLenum type,
676 void* pixels) {
677 gles2::GetGLContext()->ReadPixels(x, y, width, height, format, type, pixels);
679 void GL_APIENTRY GLES2ReleaseShaderCompiler() {
680 gles2::GetGLContext()->ReleaseShaderCompiler();
682 void GL_APIENTRY GLES2RenderbufferStorage(GLenum target,
683 GLenum internalformat,
684 GLsizei width,
685 GLsizei height) {
686 gles2::GetGLContext()->RenderbufferStorage(target, internalformat, width,
687 height);
689 void GL_APIENTRY GLES2ResumeTransformFeedback() {
690 gles2::GetGLContext()->ResumeTransformFeedback();
692 void GL_APIENTRY GLES2SampleCoverage(GLclampf value, GLboolean invert) {
693 gles2::GetGLContext()->SampleCoverage(value, invert);
695 void GL_APIENTRY GLES2SamplerParameterf(GLuint sampler,
696 GLenum pname,
697 GLfloat param) {
698 gles2::GetGLContext()->SamplerParameterf(sampler, pname, param);
700 void GL_APIENTRY GLES2SamplerParameterfv(GLuint sampler,
701 GLenum pname,
702 const GLfloat* params) {
703 gles2::GetGLContext()->SamplerParameterfv(sampler, pname, params);
705 void GL_APIENTRY GLES2SamplerParameteri(GLuint sampler,
706 GLenum pname,
707 GLint param) {
708 gles2::GetGLContext()->SamplerParameteri(sampler, pname, param);
710 void GL_APIENTRY GLES2SamplerParameteriv(GLuint sampler,
711 GLenum pname,
712 const GLint* params) {
713 gles2::GetGLContext()->SamplerParameteriv(sampler, pname, params);
715 void GL_APIENTRY GLES2Scissor(GLint x, GLint y, GLsizei width, GLsizei height) {
716 gles2::GetGLContext()->Scissor(x, y, width, height);
718 void GL_APIENTRY GLES2ShaderBinary(GLsizei n,
719 const GLuint* shaders,
720 GLenum binaryformat,
721 const void* binary,
722 GLsizei length) {
723 gles2::GetGLContext()->ShaderBinary(n, shaders, binaryformat, binary, length);
725 void GL_APIENTRY GLES2ShaderSource(GLuint shader,
726 GLsizei count,
727 const GLchar* const* str,
728 const GLint* length) {
729 gles2::GetGLContext()->ShaderSource(shader, count, str, length);
731 void GL_APIENTRY GLES2ShallowFinishCHROMIUM() {
732 gles2::GetGLContext()->ShallowFinishCHROMIUM();
734 void GL_APIENTRY GLES2ShallowFlushCHROMIUM() {
735 gles2::GetGLContext()->ShallowFlushCHROMIUM();
737 void GL_APIENTRY GLES2OrderingBarrierCHROMIUM() {
738 gles2::GetGLContext()->OrderingBarrierCHROMIUM();
740 void GL_APIENTRY GLES2StencilFunc(GLenum func, GLint ref, GLuint mask) {
741 gles2::GetGLContext()->StencilFunc(func, ref, mask);
743 void GL_APIENTRY GLES2StencilFuncSeparate(GLenum face,
744 GLenum func,
745 GLint ref,
746 GLuint mask) {
747 gles2::GetGLContext()->StencilFuncSeparate(face, func, ref, mask);
749 void GL_APIENTRY GLES2StencilMask(GLuint mask) {
750 gles2::GetGLContext()->StencilMask(mask);
752 void GL_APIENTRY GLES2StencilMaskSeparate(GLenum face, GLuint mask) {
753 gles2::GetGLContext()->StencilMaskSeparate(face, mask);
755 void GL_APIENTRY GLES2StencilOp(GLenum fail, GLenum zfail, GLenum zpass) {
756 gles2::GetGLContext()->StencilOp(fail, zfail, zpass);
758 void GL_APIENTRY GLES2StencilOpSeparate(GLenum face,
759 GLenum fail,
760 GLenum zfail,
761 GLenum zpass) {
762 gles2::GetGLContext()->StencilOpSeparate(face, fail, zfail, zpass);
764 void GL_APIENTRY GLES2TexImage2D(GLenum target,
765 GLint level,
766 GLint internalformat,
767 GLsizei width,
768 GLsizei height,
769 GLint border,
770 GLenum format,
771 GLenum type,
772 const void* pixels) {
773 gles2::GetGLContext()->TexImage2D(target, level, internalformat, width,
774 height, border, format, type, pixels);
776 void GL_APIENTRY GLES2TexImage3D(GLenum target,
777 GLint level,
778 GLint internalformat,
779 GLsizei width,
780 GLsizei height,
781 GLsizei depth,
782 GLint border,
783 GLenum format,
784 GLenum type,
785 const void* pixels) {
786 gles2::GetGLContext()->TexImage3D(target, level, internalformat, width,
787 height, depth, border, format, type,
788 pixels);
790 void GL_APIENTRY GLES2TexParameterf(GLenum target,
791 GLenum pname,
792 GLfloat param) {
793 gles2::GetGLContext()->TexParameterf(target, pname, param);
795 void GL_APIENTRY GLES2TexParameterfv(GLenum target,
796 GLenum pname,
797 const GLfloat* params) {
798 gles2::GetGLContext()->TexParameterfv(target, pname, params);
800 void GL_APIENTRY GLES2TexParameteri(GLenum target, GLenum pname, GLint param) {
801 gles2::GetGLContext()->TexParameteri(target, pname, param);
803 void GL_APIENTRY GLES2TexParameteriv(GLenum target,
804 GLenum pname,
805 const GLint* params) {
806 gles2::GetGLContext()->TexParameteriv(target, pname, params);
808 void GL_APIENTRY GLES2TexStorage3D(GLenum target,
809 GLsizei levels,
810 GLenum internalFormat,
811 GLsizei width,
812 GLsizei height,
813 GLsizei depth) {
814 gles2::GetGLContext()->TexStorage3D(target, levels, internalFormat, width,
815 height, depth);
817 void GL_APIENTRY GLES2TexSubImage2D(GLenum target,
818 GLint level,
819 GLint xoffset,
820 GLint yoffset,
821 GLsizei width,
822 GLsizei height,
823 GLenum format,
824 GLenum type,
825 const void* pixels) {
826 gles2::GetGLContext()->TexSubImage2D(target, level, xoffset, yoffset, width,
827 height, format, type, pixels);
829 void GL_APIENTRY GLES2TexSubImage3D(GLenum target,
830 GLint level,
831 GLint xoffset,
832 GLint yoffset,
833 GLint zoffset,
834 GLsizei width,
835 GLsizei height,
836 GLsizei depth,
837 GLenum format,
838 GLenum type,
839 const void* pixels) {
840 gles2::GetGLContext()->TexSubImage3D(target, level, xoffset, yoffset, zoffset,
841 width, height, depth, format, type,
842 pixels);
844 void GL_APIENTRY GLES2TransformFeedbackVaryings(GLuint program,
845 GLsizei count,
846 const char* const* varyings,
847 GLenum buffermode) {
848 gles2::GetGLContext()->TransformFeedbackVaryings(program, count, varyings,
849 buffermode);
851 void GL_APIENTRY GLES2Uniform1f(GLint location, GLfloat x) {
852 gles2::GetGLContext()->Uniform1f(location, x);
854 void GL_APIENTRY GLES2Uniform1fv(GLint location,
855 GLsizei count,
856 const GLfloat* v) {
857 gles2::GetGLContext()->Uniform1fv(location, count, v);
859 void GL_APIENTRY GLES2Uniform1i(GLint location, GLint x) {
860 gles2::GetGLContext()->Uniform1i(location, x);
862 void GL_APIENTRY GLES2Uniform1iv(GLint location,
863 GLsizei count,
864 const GLint* v) {
865 gles2::GetGLContext()->Uniform1iv(location, count, v);
867 void GL_APIENTRY GLES2Uniform1ui(GLint location, GLuint x) {
868 gles2::GetGLContext()->Uniform1ui(location, x);
870 void GL_APIENTRY GLES2Uniform1uiv(GLint location,
871 GLsizei count,
872 const GLuint* v) {
873 gles2::GetGLContext()->Uniform1uiv(location, count, v);
875 void GL_APIENTRY GLES2Uniform2f(GLint location, GLfloat x, GLfloat y) {
876 gles2::GetGLContext()->Uniform2f(location, x, y);
878 void GL_APIENTRY GLES2Uniform2fv(GLint location,
879 GLsizei count,
880 const GLfloat* v) {
881 gles2::GetGLContext()->Uniform2fv(location, count, v);
883 void GL_APIENTRY GLES2Uniform2i(GLint location, GLint x, GLint y) {
884 gles2::GetGLContext()->Uniform2i(location, x, y);
886 void GL_APIENTRY GLES2Uniform2iv(GLint location,
887 GLsizei count,
888 const GLint* v) {
889 gles2::GetGLContext()->Uniform2iv(location, count, v);
891 void GL_APIENTRY GLES2Uniform2ui(GLint location, GLuint x, GLuint y) {
892 gles2::GetGLContext()->Uniform2ui(location, x, y);
894 void GL_APIENTRY GLES2Uniform2uiv(GLint location,
895 GLsizei count,
896 const GLuint* v) {
897 gles2::GetGLContext()->Uniform2uiv(location, count, v);
899 void GL_APIENTRY GLES2Uniform3f(GLint location,
900 GLfloat x,
901 GLfloat y,
902 GLfloat z) {
903 gles2::GetGLContext()->Uniform3f(location, x, y, z);
905 void GL_APIENTRY GLES2Uniform3fv(GLint location,
906 GLsizei count,
907 const GLfloat* v) {
908 gles2::GetGLContext()->Uniform3fv(location, count, v);
910 void GL_APIENTRY GLES2Uniform3i(GLint location, GLint x, GLint y, GLint z) {
911 gles2::GetGLContext()->Uniform3i(location, x, y, z);
913 void GL_APIENTRY GLES2Uniform3iv(GLint location,
914 GLsizei count,
915 const GLint* v) {
916 gles2::GetGLContext()->Uniform3iv(location, count, v);
918 void GL_APIENTRY GLES2Uniform3ui(GLint location, GLuint x, GLuint y, GLuint z) {
919 gles2::GetGLContext()->Uniform3ui(location, x, y, z);
921 void GL_APIENTRY GLES2Uniform3uiv(GLint location,
922 GLsizei count,
923 const GLuint* v) {
924 gles2::GetGLContext()->Uniform3uiv(location, count, v);
926 void GL_APIENTRY
927 GLES2Uniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) {
928 gles2::GetGLContext()->Uniform4f(location, x, y, z, w);
930 void GL_APIENTRY GLES2Uniform4fv(GLint location,
931 GLsizei count,
932 const GLfloat* v) {
933 gles2::GetGLContext()->Uniform4fv(location, count, v);
935 void GL_APIENTRY
936 GLES2Uniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) {
937 gles2::GetGLContext()->Uniform4i(location, x, y, z, w);
939 void GL_APIENTRY GLES2Uniform4iv(GLint location,
940 GLsizei count,
941 const GLint* v) {
942 gles2::GetGLContext()->Uniform4iv(location, count, v);
944 void GL_APIENTRY
945 GLES2Uniform4ui(GLint location, GLuint x, GLuint y, GLuint z, GLuint w) {
946 gles2::GetGLContext()->Uniform4ui(location, x, y, z, w);
948 void GL_APIENTRY GLES2Uniform4uiv(GLint location,
949 GLsizei count,
950 const GLuint* v) {
951 gles2::GetGLContext()->Uniform4uiv(location, count, v);
953 void GL_APIENTRY GLES2UniformBlockBinding(GLuint program,
954 GLuint index,
955 GLuint binding) {
956 gles2::GetGLContext()->UniformBlockBinding(program, index, binding);
958 void GL_APIENTRY GLES2UniformMatrix2fv(GLint location,
959 GLsizei count,
960 GLboolean transpose,
961 const GLfloat* value) {
962 gles2::GetGLContext()->UniformMatrix2fv(location, count, transpose, value);
964 void GL_APIENTRY GLES2UniformMatrix2x3fv(GLint location,
965 GLsizei count,
966 GLboolean transpose,
967 const GLfloat* value) {
968 gles2::GetGLContext()->UniformMatrix2x3fv(location, count, transpose, value);
970 void GL_APIENTRY GLES2UniformMatrix2x4fv(GLint location,
971 GLsizei count,
972 GLboolean transpose,
973 const GLfloat* value) {
974 gles2::GetGLContext()->UniformMatrix2x4fv(location, count, transpose, value);
976 void GL_APIENTRY GLES2UniformMatrix3fv(GLint location,
977 GLsizei count,
978 GLboolean transpose,
979 const GLfloat* value) {
980 gles2::GetGLContext()->UniformMatrix3fv(location, count, transpose, value);
982 void GL_APIENTRY GLES2UniformMatrix3x2fv(GLint location,
983 GLsizei count,
984 GLboolean transpose,
985 const GLfloat* value) {
986 gles2::GetGLContext()->UniformMatrix3x2fv(location, count, transpose, value);
988 void GL_APIENTRY GLES2UniformMatrix3x4fv(GLint location,
989 GLsizei count,
990 GLboolean transpose,
991 const GLfloat* value) {
992 gles2::GetGLContext()->UniformMatrix3x4fv(location, count, transpose, value);
994 void GL_APIENTRY GLES2UniformMatrix4fv(GLint location,
995 GLsizei count,
996 GLboolean transpose,
997 const GLfloat* value) {
998 gles2::GetGLContext()->UniformMatrix4fv(location, count, transpose, value);
1000 void GL_APIENTRY GLES2UniformMatrix4x2fv(GLint location,
1001 GLsizei count,
1002 GLboolean transpose,
1003 const GLfloat* value) {
1004 gles2::GetGLContext()->UniformMatrix4x2fv(location, count, transpose, value);
1006 void GL_APIENTRY GLES2UniformMatrix4x3fv(GLint location,
1007 GLsizei count,
1008 GLboolean transpose,
1009 const GLfloat* value) {
1010 gles2::GetGLContext()->UniformMatrix4x3fv(location, count, transpose, value);
1012 void GL_APIENTRY GLES2UseProgram(GLuint program) {
1013 gles2::GetGLContext()->UseProgram(program);
1015 void GL_APIENTRY GLES2ValidateProgram(GLuint program) {
1016 gles2::GetGLContext()->ValidateProgram(program);
1018 void GL_APIENTRY GLES2VertexAttrib1f(GLuint indx, GLfloat x) {
1019 gles2::GetGLContext()->VertexAttrib1f(indx, x);
1021 void GL_APIENTRY GLES2VertexAttrib1fv(GLuint indx, const GLfloat* values) {
1022 gles2::GetGLContext()->VertexAttrib1fv(indx, values);
1024 void GL_APIENTRY GLES2VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) {
1025 gles2::GetGLContext()->VertexAttrib2f(indx, x, y);
1027 void GL_APIENTRY GLES2VertexAttrib2fv(GLuint indx, const GLfloat* values) {
1028 gles2::GetGLContext()->VertexAttrib2fv(indx, values);
1030 void GL_APIENTRY GLES2VertexAttrib3f(GLuint indx,
1031 GLfloat x,
1032 GLfloat y,
1033 GLfloat z) {
1034 gles2::GetGLContext()->VertexAttrib3f(indx, x, y, z);
1036 void GL_APIENTRY GLES2VertexAttrib3fv(GLuint indx, const GLfloat* values) {
1037 gles2::GetGLContext()->VertexAttrib3fv(indx, values);
1039 void GL_APIENTRY
1040 GLES2VertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) {
1041 gles2::GetGLContext()->VertexAttrib4f(indx, x, y, z, w);
1043 void GL_APIENTRY GLES2VertexAttrib4fv(GLuint indx, const GLfloat* values) {
1044 gles2::GetGLContext()->VertexAttrib4fv(indx, values);
1046 void GL_APIENTRY
1047 GLES2VertexAttribI4i(GLuint indx, GLint x, GLint y, GLint z, GLint w) {
1048 gles2::GetGLContext()->VertexAttribI4i(indx, x, y, z, w);
1050 void GL_APIENTRY GLES2VertexAttribI4iv(GLuint indx, const GLint* values) {
1051 gles2::GetGLContext()->VertexAttribI4iv(indx, values);
1053 void GL_APIENTRY
1054 GLES2VertexAttribI4ui(GLuint indx, GLuint x, GLuint y, GLuint z, GLuint w) {
1055 gles2::GetGLContext()->VertexAttribI4ui(indx, x, y, z, w);
1057 void GL_APIENTRY GLES2VertexAttribI4uiv(GLuint indx, const GLuint* values) {
1058 gles2::GetGLContext()->VertexAttribI4uiv(indx, values);
1060 void GL_APIENTRY GLES2VertexAttribIPointer(GLuint indx,
1061 GLint size,
1062 GLenum type,
1063 GLsizei stride,
1064 const void* ptr) {
1065 gles2::GetGLContext()->VertexAttribIPointer(indx, size, type, stride, ptr);
1067 void GL_APIENTRY GLES2VertexAttribPointer(GLuint indx,
1068 GLint size,
1069 GLenum type,
1070 GLboolean normalized,
1071 GLsizei stride,
1072 const void* ptr) {
1073 gles2::GetGLContext()->VertexAttribPointer(indx, size, type, normalized,
1074 stride, ptr);
1076 void GL_APIENTRY GLES2Viewport(GLint x,
1077 GLint y,
1078 GLsizei width,
1079 GLsizei height) {
1080 gles2::GetGLContext()->Viewport(x, y, width, height);
1082 void GL_APIENTRY GLES2WaitSync(GLsync sync,
1083 GLbitfield flags,
1084 GLuint64 timeout) {
1085 gles2::GetGLContext()->WaitSync(sync, flags, timeout);
1087 void GL_APIENTRY GLES2BlitFramebufferCHROMIUM(GLint srcX0,
1088 GLint srcY0,
1089 GLint srcX1,
1090 GLint srcY1,
1091 GLint dstX0,
1092 GLint dstY0,
1093 GLint dstX1,
1094 GLint dstY1,
1095 GLbitfield mask,
1096 GLenum filter) {
1097 gles2::GetGLContext()->BlitFramebufferCHROMIUM(
1098 srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
1100 void GL_APIENTRY
1101 GLES2RenderbufferStorageMultisampleCHROMIUM(GLenum target,
1102 GLsizei samples,
1103 GLenum internalformat,
1104 GLsizei width,
1105 GLsizei height) {
1106 gles2::GetGLContext()->RenderbufferStorageMultisampleCHROMIUM(
1107 target, samples, internalformat, width, height);
1109 void GL_APIENTRY GLES2RenderbufferStorageMultisampleEXT(GLenum target,
1110 GLsizei samples,
1111 GLenum internalformat,
1112 GLsizei width,
1113 GLsizei height) {
1114 gles2::GetGLContext()->RenderbufferStorageMultisampleEXT(
1115 target, samples, internalformat, width, height);
1117 void GL_APIENTRY GLES2FramebufferTexture2DMultisampleEXT(GLenum target,
1118 GLenum attachment,
1119 GLenum textarget,
1120 GLuint texture,
1121 GLint level,
1122 GLsizei samples) {
1123 gles2::GetGLContext()->FramebufferTexture2DMultisampleEXT(
1124 target, attachment, textarget, texture, level, samples);
1126 void GL_APIENTRY GLES2TexStorage2DEXT(GLenum target,
1127 GLsizei levels,
1128 GLenum internalFormat,
1129 GLsizei width,
1130 GLsizei height) {
1131 gles2::GetGLContext()->TexStorage2DEXT(target, levels, internalFormat, width,
1132 height);
1134 void GL_APIENTRY GLES2GenQueriesEXT(GLsizei n, GLuint* queries) {
1135 gles2::GetGLContext()->GenQueriesEXT(n, queries);
1137 void GL_APIENTRY GLES2DeleteQueriesEXT(GLsizei n, const GLuint* queries) {
1138 gles2::GetGLContext()->DeleteQueriesEXT(n, queries);
1140 void GL_APIENTRY GLES2QueryCounterEXT(GLuint id, GLenum target) {
1141 gles2::GetGLContext()->QueryCounterEXT(id, target);
1143 GLboolean GL_APIENTRY GLES2IsQueryEXT(GLuint id) {
1144 return gles2::GetGLContext()->IsQueryEXT(id);
1146 void GL_APIENTRY GLES2BeginQueryEXT(GLenum target, GLuint id) {
1147 gles2::GetGLContext()->BeginQueryEXT(target, id);
1149 void GL_APIENTRY GLES2BeginTransformFeedback(GLenum primitivemode) {
1150 gles2::GetGLContext()->BeginTransformFeedback(primitivemode);
1152 void GL_APIENTRY GLES2EndQueryEXT(GLenum target) {
1153 gles2::GetGLContext()->EndQueryEXT(target);
1155 void GL_APIENTRY GLES2EndTransformFeedback() {
1156 gles2::GetGLContext()->EndTransformFeedback();
1158 void GL_APIENTRY GLES2GetQueryivEXT(GLenum target,
1159 GLenum pname,
1160 GLint* params) {
1161 gles2::GetGLContext()->GetQueryivEXT(target, pname, params);
1163 void GL_APIENTRY GLES2GetQueryObjectivEXT(GLuint id,
1164 GLenum pname,
1165 GLint* params) {
1166 gles2::GetGLContext()->GetQueryObjectivEXT(id, pname, params);
1168 void GL_APIENTRY GLES2GetQueryObjectuivEXT(GLuint id,
1169 GLenum pname,
1170 GLuint* params) {
1171 gles2::GetGLContext()->GetQueryObjectuivEXT(id, pname, params);
1173 void GL_APIENTRY GLES2GetQueryObjecti64vEXT(GLuint id,
1174 GLenum pname,
1175 GLint64* params) {
1176 gles2::GetGLContext()->GetQueryObjecti64vEXT(id, pname, params);
1178 void GL_APIENTRY GLES2GetQueryObjectui64vEXT(GLuint id,
1179 GLenum pname,
1180 GLuint64* params) {
1181 gles2::GetGLContext()->GetQueryObjectui64vEXT(id, pname, params);
1183 void GL_APIENTRY GLES2SetDisjointValueSyncCHROMIUM() {
1184 gles2::GetGLContext()->SetDisjointValueSyncCHROMIUM();
1186 void GL_APIENTRY GLES2InsertEventMarkerEXT(GLsizei length,
1187 const GLchar* marker) {
1188 gles2::GetGLContext()->InsertEventMarkerEXT(length, marker);
1190 void GL_APIENTRY GLES2PushGroupMarkerEXT(GLsizei length, const GLchar* marker) {
1191 gles2::GetGLContext()->PushGroupMarkerEXT(length, marker);
1193 void GL_APIENTRY GLES2PopGroupMarkerEXT() {
1194 gles2::GetGLContext()->PopGroupMarkerEXT();
1196 void GL_APIENTRY GLES2GenVertexArraysOES(GLsizei n, GLuint* arrays) {
1197 gles2::GetGLContext()->GenVertexArraysOES(n, arrays);
1199 void GL_APIENTRY GLES2DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) {
1200 gles2::GetGLContext()->DeleteVertexArraysOES(n, arrays);
1202 GLboolean GL_APIENTRY GLES2IsVertexArrayOES(GLuint array) {
1203 return gles2::GetGLContext()->IsVertexArrayOES(array);
1205 void GL_APIENTRY GLES2BindVertexArrayOES(GLuint array) {
1206 gles2::GetGLContext()->BindVertexArrayOES(array);
1208 void GL_APIENTRY GLES2SwapBuffers() {
1209 gles2::GetGLContext()->SwapBuffers();
1211 GLuint GL_APIENTRY GLES2GetMaxValueInBufferCHROMIUM(GLuint buffer_id,
1212 GLsizei count,
1213 GLenum type,
1214 GLuint offset) {
1215 return gles2::GetGLContext()->GetMaxValueInBufferCHROMIUM(buffer_id, count,
1216 type, offset);
1218 GLboolean GL_APIENTRY GLES2EnableFeatureCHROMIUM(const char* feature) {
1219 return gles2::GetGLContext()->EnableFeatureCHROMIUM(feature);
1221 void* GL_APIENTRY GLES2MapBufferCHROMIUM(GLuint target, GLenum access) {
1222 return gles2::GetGLContext()->MapBufferCHROMIUM(target, access);
1224 GLboolean GL_APIENTRY GLES2UnmapBufferCHROMIUM(GLuint target) {
1225 return gles2::GetGLContext()->UnmapBufferCHROMIUM(target);
1227 void* GL_APIENTRY GLES2MapBufferSubDataCHROMIUM(GLuint target,
1228 GLintptr offset,
1229 GLsizeiptr size,
1230 GLenum access) {
1231 return gles2::GetGLContext()->MapBufferSubDataCHROMIUM(target, offset, size,
1232 access);
1234 void GL_APIENTRY GLES2UnmapBufferSubDataCHROMIUM(const void* mem) {
1235 gles2::GetGLContext()->UnmapBufferSubDataCHROMIUM(mem);
1237 void* GL_APIENTRY GLES2MapBufferRange(GLenum target,
1238 GLintptr offset,
1239 GLsizeiptr size,
1240 GLbitfield access) {
1241 return gles2::GetGLContext()->MapBufferRange(target, offset, size, access);
1243 GLboolean GL_APIENTRY GLES2UnmapBuffer(GLenum target) {
1244 return gles2::GetGLContext()->UnmapBuffer(target);
1246 void* GL_APIENTRY GLES2MapTexSubImage2DCHROMIUM(GLenum target,
1247 GLint level,
1248 GLint xoffset,
1249 GLint yoffset,
1250 GLsizei width,
1251 GLsizei height,
1252 GLenum format,
1253 GLenum type,
1254 GLenum access) {
1255 return gles2::GetGLContext()->MapTexSubImage2DCHROMIUM(
1256 target, level, xoffset, yoffset, width, height, format, type, access);
1258 void GL_APIENTRY GLES2UnmapTexSubImage2DCHROMIUM(const void* mem) {
1259 gles2::GetGLContext()->UnmapTexSubImage2DCHROMIUM(mem);
1261 void GL_APIENTRY GLES2ResizeCHROMIUM(GLuint width,
1262 GLuint height,
1263 GLfloat scale_factor) {
1264 gles2::GetGLContext()->ResizeCHROMIUM(width, height, scale_factor);
1266 const GLchar* GL_APIENTRY GLES2GetRequestableExtensionsCHROMIUM() {
1267 return gles2::GetGLContext()->GetRequestableExtensionsCHROMIUM();
1269 void GL_APIENTRY GLES2RequestExtensionCHROMIUM(const char* extension) {
1270 gles2::GetGLContext()->RequestExtensionCHROMIUM(extension);
1272 void GL_APIENTRY GLES2RateLimitOffscreenContextCHROMIUM() {
1273 gles2::GetGLContext()->RateLimitOffscreenContextCHROMIUM();
1275 void GL_APIENTRY GLES2GetProgramInfoCHROMIUM(GLuint program,
1276 GLsizei bufsize,
1277 GLsizei* size,
1278 void* info) {
1279 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info);
1281 void GL_APIENTRY GLES2GetUniformBlocksCHROMIUM(GLuint program,
1282 GLsizei bufsize,
1283 GLsizei* size,
1284 void* info) {
1285 gles2::GetGLContext()->GetUniformBlocksCHROMIUM(program, bufsize, size, info);
1287 void GL_APIENTRY GLES2GetTransformFeedbackVaryingsCHROMIUM(GLuint program,
1288 GLsizei bufsize,
1289 GLsizei* size,
1290 void* info) {
1291 gles2::GetGLContext()->GetTransformFeedbackVaryingsCHROMIUM(program, bufsize,
1292 size, info);
1294 void GL_APIENTRY GLES2GetUniformsES3CHROMIUM(GLuint program,
1295 GLsizei bufsize,
1296 GLsizei* size,
1297 void* info) {
1298 gles2::GetGLContext()->GetUniformsES3CHROMIUM(program, bufsize, size, info);
1300 GLuint GL_APIENTRY GLES2CreateStreamTextureCHROMIUM(GLuint texture) {
1301 return gles2::GetGLContext()->CreateStreamTextureCHROMIUM(texture);
1303 GLuint GL_APIENTRY GLES2CreateImageCHROMIUM(ClientBuffer buffer,
1304 GLsizei width,
1305 GLsizei height,
1306 GLenum internalformat) {
1307 return gles2::GetGLContext()->CreateImageCHROMIUM(buffer, width, height,
1308 internalformat);
1310 void GL_APIENTRY GLES2DestroyImageCHROMIUM(GLuint image_id) {
1311 gles2::GetGLContext()->DestroyImageCHROMIUM(image_id);
1313 GLuint GL_APIENTRY
1314 GLES2CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
1315 GLsizei height,
1316 GLenum internalformat,
1317 GLenum usage) {
1318 return gles2::GetGLContext()->CreateGpuMemoryBufferImageCHROMIUM(
1319 width, height, internalformat, usage);
1321 void GL_APIENTRY GLES2GetTranslatedShaderSourceANGLE(GLuint shader,
1322 GLsizei bufsize,
1323 GLsizei* length,
1324 char* source) {
1325 gles2::GetGLContext()->GetTranslatedShaderSourceANGLE(shader, bufsize, length,
1326 source);
1328 void GL_APIENTRY GLES2PostSubBufferCHROMIUM(GLint x,
1329 GLint y,
1330 GLint width,
1331 GLint height) {
1332 gles2::GetGLContext()->PostSubBufferCHROMIUM(x, y, width, height);
1334 void GL_APIENTRY GLES2TexImageIOSurface2DCHROMIUM(GLenum target,
1335 GLsizei width,
1336 GLsizei height,
1337 GLuint ioSurfaceId,
1338 GLuint plane) {
1339 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM(target, width, height,
1340 ioSurfaceId, plane);
1342 void GL_APIENTRY GLES2CopyTextureCHROMIUM(GLenum target,
1343 GLenum source_id,
1344 GLenum dest_id,
1345 GLint internalformat,
1346 GLenum dest_type,
1347 GLboolean unpack_flip_y,
1348 GLboolean unpack_premultiply_alpha,
1349 GLboolean unpack_unmultiply_alpha) {
1350 gles2::GetGLContext()->CopyTextureCHROMIUM(
1351 target, source_id, dest_id, internalformat, dest_type, unpack_flip_y,
1352 unpack_premultiply_alpha, unpack_unmultiply_alpha);
1354 void GL_APIENTRY
1355 GLES2CopySubTextureCHROMIUM(GLenum target,
1356 GLenum source_id,
1357 GLenum dest_id,
1358 GLint xoffset,
1359 GLint yoffset,
1360 GLint x,
1361 GLint y,
1362 GLsizei width,
1363 GLsizei height,
1364 GLboolean unpack_flip_y,
1365 GLboolean unpack_premultiply_alpha,
1366 GLboolean unpack_unmultiply_alpha) {
1367 gles2::GetGLContext()->CopySubTextureCHROMIUM(
1368 target, source_id, dest_id, xoffset, yoffset, x, y, width, height,
1369 unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha);
1371 void GL_APIENTRY GLES2CompressedCopyTextureCHROMIUM(GLenum target,
1372 GLenum source_id,
1373 GLenum dest_id) {
1374 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(target, source_id,
1375 dest_id);
1377 void GL_APIENTRY GLES2CompressedCopySubTextureCHROMIUM(GLenum target,
1378 GLenum source_id,
1379 GLenum dest_id,
1380 GLint xoffset,
1381 GLint yoffset,
1382 GLint x,
1383 GLint y,
1384 GLsizei width,
1385 GLsizei height) {
1386 gles2::GetGLContext()->CompressedCopySubTextureCHROMIUM(
1387 target, source_id, dest_id, xoffset, yoffset, x, y, width, height);
1389 void GL_APIENTRY GLES2DrawArraysInstancedANGLE(GLenum mode,
1390 GLint first,
1391 GLsizei count,
1392 GLsizei primcount) {
1393 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count,
1394 primcount);
1396 void GL_APIENTRY GLES2DrawElementsInstancedANGLE(GLenum mode,
1397 GLsizei count,
1398 GLenum type,
1399 const void* indices,
1400 GLsizei primcount) {
1401 gles2::GetGLContext()->DrawElementsInstancedANGLE(mode, count, type, indices,
1402 primcount);
1404 void GL_APIENTRY GLES2VertexAttribDivisorANGLE(GLuint index, GLuint divisor) {
1405 gles2::GetGLContext()->VertexAttribDivisorANGLE(index, divisor);
1407 void GL_APIENTRY GLES2GenMailboxCHROMIUM(GLbyte* mailbox) {
1408 gles2::GetGLContext()->GenMailboxCHROMIUM(mailbox);
1410 void GL_APIENTRY GLES2ProduceTextureCHROMIUM(GLenum target,
1411 const GLbyte* mailbox) {
1412 gles2::GetGLContext()->ProduceTextureCHROMIUM(target, mailbox);
1414 void GL_APIENTRY GLES2ProduceTextureDirectCHROMIUM(GLuint texture,
1415 GLenum target,
1416 const GLbyte* mailbox) {
1417 gles2::GetGLContext()->ProduceTextureDirectCHROMIUM(texture, target, mailbox);
1419 void GL_APIENTRY GLES2ConsumeTextureCHROMIUM(GLenum target,
1420 const GLbyte* mailbox) {
1421 gles2::GetGLContext()->ConsumeTextureCHROMIUM(target, mailbox);
1423 GLuint GL_APIENTRY GLES2CreateAndConsumeTextureCHROMIUM(GLenum target,
1424 const GLbyte* mailbox) {
1425 return gles2::GetGLContext()->CreateAndConsumeTextureCHROMIUM(target,
1426 mailbox);
1428 void GL_APIENTRY GLES2BindUniformLocationCHROMIUM(GLuint program,
1429 GLint location,
1430 const char* name) {
1431 gles2::GetGLContext()->BindUniformLocationCHROMIUM(program, location, name);
1433 void GL_APIENTRY GLES2GenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers) {
1434 gles2::GetGLContext()->GenValuebuffersCHROMIUM(n, buffers);
1436 void GL_APIENTRY GLES2DeleteValuebuffersCHROMIUM(GLsizei n,
1437 const GLuint* valuebuffers) {
1438 gles2::GetGLContext()->DeleteValuebuffersCHROMIUM(n, valuebuffers);
1440 GLboolean GL_APIENTRY GLES2IsValuebufferCHROMIUM(GLuint valuebuffer) {
1441 return gles2::GetGLContext()->IsValuebufferCHROMIUM(valuebuffer);
1443 void GL_APIENTRY GLES2BindValuebufferCHROMIUM(GLenum target,
1444 GLuint valuebuffer) {
1445 gles2::GetGLContext()->BindValuebufferCHROMIUM(target, valuebuffer);
1447 void GL_APIENTRY GLES2SubscribeValueCHROMIUM(GLenum target,
1448 GLenum subscription) {
1449 gles2::GetGLContext()->SubscribeValueCHROMIUM(target, subscription);
1451 void GL_APIENTRY GLES2PopulateSubscribedValuesCHROMIUM(GLenum target) {
1452 gles2::GetGLContext()->PopulateSubscribedValuesCHROMIUM(target);
1454 void GL_APIENTRY GLES2UniformValuebufferCHROMIUM(GLint location,
1455 GLenum target,
1456 GLenum subscription) {
1457 gles2::GetGLContext()->UniformValuebufferCHROMIUM(location, target,
1458 subscription);
1460 void GL_APIENTRY GLES2BindTexImage2DCHROMIUM(GLenum target, GLint imageId) {
1461 gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId);
1463 void GL_APIENTRY GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) {
1464 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId);
1466 void GL_APIENTRY GLES2TraceBeginCHROMIUM(const char* category_name,
1467 const char* trace_name) {
1468 gles2::GetGLContext()->TraceBeginCHROMIUM(category_name, trace_name);
1470 void GL_APIENTRY GLES2TraceEndCHROMIUM() {
1471 gles2::GetGLContext()->TraceEndCHROMIUM();
1473 void GL_APIENTRY GLES2DiscardFramebufferEXT(GLenum target,
1474 GLsizei count,
1475 const GLenum* attachments) {
1476 gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments);
1478 void GL_APIENTRY GLES2LoseContextCHROMIUM(GLenum current, GLenum other) {
1479 gles2::GetGLContext()->LoseContextCHROMIUM(current, other);
1481 GLuint GL_APIENTRY GLES2InsertSyncPointCHROMIUM() {
1482 return gles2::GetGLContext()->InsertSyncPointCHROMIUM();
1484 void GL_APIENTRY GLES2WaitSyncPointCHROMIUM(GLuint sync_point) {
1485 gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point);
1487 void GL_APIENTRY GLES2DrawBuffersEXT(GLsizei count, const GLenum* bufs) {
1488 gles2::GetGLContext()->DrawBuffersEXT(count, bufs);
1490 void GL_APIENTRY GLES2DiscardBackbufferCHROMIUM() {
1491 gles2::GetGLContext()->DiscardBackbufferCHROMIUM();
1493 void GL_APIENTRY GLES2ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
1494 GLenum plane_transform,
1495 GLuint overlay_texture_id,
1496 GLint bounds_x,
1497 GLint bounds_y,
1498 GLint bounds_width,
1499 GLint bounds_height,
1500 GLfloat uv_x,
1501 GLfloat uv_y,
1502 GLfloat uv_width,
1503 GLfloat uv_height) {
1504 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM(
1505 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y,
1506 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height);
1508 void GL_APIENTRY GLES2SwapInterval(GLint interval) {
1509 gles2::GetGLContext()->SwapInterval(interval);
1511 void GL_APIENTRY GLES2FlushDriverCachesCHROMIUM() {
1512 gles2::GetGLContext()->FlushDriverCachesCHROMIUM();
1514 void GL_APIENTRY GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) {
1515 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m);
1517 void GL_APIENTRY GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) {
1518 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode);
1520 GLuint GL_APIENTRY GLES2GenPathsCHROMIUM(GLsizei range) {
1521 return gles2::GetGLContext()->GenPathsCHROMIUM(range);
1523 void GL_APIENTRY GLES2DeletePathsCHROMIUM(GLuint path, GLsizei range) {
1524 gles2::GetGLContext()->DeletePathsCHROMIUM(path, range);
1526 GLboolean GL_APIENTRY GLES2IsPathCHROMIUM(GLuint path) {
1527 return gles2::GetGLContext()->IsPathCHROMIUM(path);
1529 void GL_APIENTRY GLES2PathCommandsCHROMIUM(GLuint path,
1530 GLsizei numCommands,
1531 const GLubyte* commands,
1532 GLsizei numCoords,
1533 GLenum coordType,
1534 const GLvoid* coords) {
1535 gles2::GetGLContext()->PathCommandsCHROMIUM(path, numCommands, commands,
1536 numCoords, coordType, coords);
1538 void GL_APIENTRY GLES2PathParameterfCHROMIUM(GLuint path,
1539 GLenum pname,
1540 GLfloat value) {
1541 gles2::GetGLContext()->PathParameterfCHROMIUM(path, pname, value);
1543 void GL_APIENTRY GLES2PathParameteriCHROMIUM(GLuint path,
1544 GLenum pname,
1545 GLint value) {
1546 gles2::GetGLContext()->PathParameteriCHROMIUM(path, pname, value);
1548 void GL_APIENTRY GLES2PathStencilFuncCHROMIUM(GLenum func,
1549 GLint ref,
1550 GLuint mask) {
1551 gles2::GetGLContext()->PathStencilFuncCHROMIUM(func, ref, mask);
1553 void GL_APIENTRY GLES2StencilFillPathCHROMIUM(GLuint path,
1554 GLenum fillMode,
1555 GLuint mask) {
1556 gles2::GetGLContext()->StencilFillPathCHROMIUM(path, fillMode, mask);
1558 void GL_APIENTRY GLES2StencilStrokePathCHROMIUM(GLuint path,
1559 GLint reference,
1560 GLuint mask) {
1561 gles2::GetGLContext()->StencilStrokePathCHROMIUM(path, reference, mask);
1563 void GL_APIENTRY GLES2CoverFillPathCHROMIUM(GLuint path, GLenum coverMode) {
1564 gles2::GetGLContext()->CoverFillPathCHROMIUM(path, coverMode);
1566 void GL_APIENTRY GLES2CoverStrokePathCHROMIUM(GLuint path, GLenum coverMode) {
1567 gles2::GetGLContext()->CoverStrokePathCHROMIUM(path, coverMode);
1569 void GL_APIENTRY GLES2StencilThenCoverFillPathCHROMIUM(GLuint path,
1570 GLenum fillMode,
1571 GLuint mask,
1572 GLenum coverMode) {
1573 gles2::GetGLContext()->StencilThenCoverFillPathCHROMIUM(path, fillMode, mask,
1574 coverMode);
1576 void GL_APIENTRY GLES2StencilThenCoverStrokePathCHROMIUM(GLuint path,
1577 GLint reference,
1578 GLuint mask,
1579 GLenum coverMode) {
1580 gles2::GetGLContext()->StencilThenCoverStrokePathCHROMIUM(path, reference,
1581 mask, coverMode);
1583 GLenum GL_APIENTRY GLES2GetGraphicsResetStatusKHR() {
1584 return gles2::GetGLContext()->GetGraphicsResetStatusKHR();
1586 void GL_APIENTRY GLES2BlendBarrierKHR() {
1587 gles2::GetGLContext()->BlendBarrierKHR();
1589 void GL_APIENTRY GLES2ApplyScreenSpaceAntialiasingCHROMIUM() {
1590 gles2::GetGLContext()->ApplyScreenSpaceAntialiasingCHROMIUM();
1593 namespace gles2 {
1595 extern const NameToFunc g_gles2_function_table[] = {
1597 "glActiveTexture",
1598 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture),
1601 "glAttachShader",
1602 reinterpret_cast<GLES2FunctionPointer>(glAttachShader),
1605 "glBindAttribLocation",
1606 reinterpret_cast<GLES2FunctionPointer>(glBindAttribLocation),
1609 "glBindBuffer", reinterpret_cast<GLES2FunctionPointer>(glBindBuffer),
1612 "glBindBufferBase",
1613 reinterpret_cast<GLES2FunctionPointer>(glBindBufferBase),
1616 "glBindBufferRange",
1617 reinterpret_cast<GLES2FunctionPointer>(glBindBufferRange),
1620 "glBindFramebuffer",
1621 reinterpret_cast<GLES2FunctionPointer>(glBindFramebuffer),
1624 "glBindRenderbuffer",
1625 reinterpret_cast<GLES2FunctionPointer>(glBindRenderbuffer),
1628 "glBindSampler", reinterpret_cast<GLES2FunctionPointer>(glBindSampler),
1631 "glBindTexture", reinterpret_cast<GLES2FunctionPointer>(glBindTexture),
1634 "glBindTransformFeedback",
1635 reinterpret_cast<GLES2FunctionPointer>(glBindTransformFeedback),
1638 "glBlendColor", reinterpret_cast<GLES2FunctionPointer>(glBlendColor),
1641 "glBlendEquation",
1642 reinterpret_cast<GLES2FunctionPointer>(glBlendEquation),
1645 "glBlendEquationSeparate",
1646 reinterpret_cast<GLES2FunctionPointer>(glBlendEquationSeparate),
1649 "glBlendFunc", reinterpret_cast<GLES2FunctionPointer>(glBlendFunc),
1652 "glBlendFuncSeparate",
1653 reinterpret_cast<GLES2FunctionPointer>(glBlendFuncSeparate),
1656 "glBufferData", reinterpret_cast<GLES2FunctionPointer>(glBufferData),
1659 "glBufferSubData",
1660 reinterpret_cast<GLES2FunctionPointer>(glBufferSubData),
1663 "glCheckFramebufferStatus",
1664 reinterpret_cast<GLES2FunctionPointer>(glCheckFramebufferStatus),
1667 "glClear", reinterpret_cast<GLES2FunctionPointer>(glClear),
1670 "glClearBufferfi",
1671 reinterpret_cast<GLES2FunctionPointer>(glClearBufferfi),
1674 "glClearBufferfv",
1675 reinterpret_cast<GLES2FunctionPointer>(glClearBufferfv),
1678 "glClearBufferiv",
1679 reinterpret_cast<GLES2FunctionPointer>(glClearBufferiv),
1682 "glClearBufferuiv",
1683 reinterpret_cast<GLES2FunctionPointer>(glClearBufferuiv),
1686 "glClearColor", reinterpret_cast<GLES2FunctionPointer>(glClearColor),
1689 "glClearDepthf", reinterpret_cast<GLES2FunctionPointer>(glClearDepthf),
1692 "glClearStencil",
1693 reinterpret_cast<GLES2FunctionPointer>(glClearStencil),
1696 "glClientWaitSync",
1697 reinterpret_cast<GLES2FunctionPointer>(glClientWaitSync),
1700 "glColorMask", reinterpret_cast<GLES2FunctionPointer>(glColorMask),
1703 "glCompileShader",
1704 reinterpret_cast<GLES2FunctionPointer>(glCompileShader),
1707 "glCompressedTexImage2D",
1708 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage2D),
1711 "glCompressedTexSubImage2D",
1712 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage2D),
1715 "glCompressedTexImage3D",
1716 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage3D),
1719 "glCompressedTexSubImage3D",
1720 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage3D),
1723 "glCopyBufferSubData",
1724 reinterpret_cast<GLES2FunctionPointer>(glCopyBufferSubData),
1727 "glCopyTexImage2D",
1728 reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D),
1731 "glCopyTexSubImage2D",
1732 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D),
1735 "glCopyTexSubImage3D",
1736 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage3D),
1739 "glCreateProgram",
1740 reinterpret_cast<GLES2FunctionPointer>(glCreateProgram),
1743 "glCreateShader",
1744 reinterpret_cast<GLES2FunctionPointer>(glCreateShader),
1747 "glCullFace", reinterpret_cast<GLES2FunctionPointer>(glCullFace),
1750 "glDeleteBuffers",
1751 reinterpret_cast<GLES2FunctionPointer>(glDeleteBuffers),
1754 "glDeleteFramebuffers",
1755 reinterpret_cast<GLES2FunctionPointer>(glDeleteFramebuffers),
1758 "glDeleteProgram",
1759 reinterpret_cast<GLES2FunctionPointer>(glDeleteProgram),
1762 "glDeleteRenderbuffers",
1763 reinterpret_cast<GLES2FunctionPointer>(glDeleteRenderbuffers),
1766 "glDeleteSamplers",
1767 reinterpret_cast<GLES2FunctionPointer>(glDeleteSamplers),
1770 "glDeleteSync", reinterpret_cast<GLES2FunctionPointer>(glDeleteSync),
1773 "glDeleteShader",
1774 reinterpret_cast<GLES2FunctionPointer>(glDeleteShader),
1777 "glDeleteTextures",
1778 reinterpret_cast<GLES2FunctionPointer>(glDeleteTextures),
1781 "glDeleteTransformFeedbacks",
1782 reinterpret_cast<GLES2FunctionPointer>(glDeleteTransformFeedbacks),
1785 "glDepthFunc", reinterpret_cast<GLES2FunctionPointer>(glDepthFunc),
1788 "glDepthMask", reinterpret_cast<GLES2FunctionPointer>(glDepthMask),
1791 "glDepthRangef", reinterpret_cast<GLES2FunctionPointer>(glDepthRangef),
1794 "glDetachShader",
1795 reinterpret_cast<GLES2FunctionPointer>(glDetachShader),
1798 "glDisable", reinterpret_cast<GLES2FunctionPointer>(glDisable),
1801 "glDisableVertexAttribArray",
1802 reinterpret_cast<GLES2FunctionPointer>(glDisableVertexAttribArray),
1805 "glDrawArrays", reinterpret_cast<GLES2FunctionPointer>(glDrawArrays),
1808 "glDrawElements",
1809 reinterpret_cast<GLES2FunctionPointer>(glDrawElements),
1812 "glDrawRangeElements",
1813 reinterpret_cast<GLES2FunctionPointer>(glDrawRangeElements),
1816 "glEnable", reinterpret_cast<GLES2FunctionPointer>(glEnable),
1819 "glEnableVertexAttribArray",
1820 reinterpret_cast<GLES2FunctionPointer>(glEnableVertexAttribArray),
1823 "glFenceSync", reinterpret_cast<GLES2FunctionPointer>(glFenceSync),
1826 "glFinish", reinterpret_cast<GLES2FunctionPointer>(glFinish),
1829 "glFlush", reinterpret_cast<GLES2FunctionPointer>(glFlush),
1832 "glFramebufferRenderbuffer",
1833 reinterpret_cast<GLES2FunctionPointer>(glFramebufferRenderbuffer),
1836 "glFramebufferTexture2D",
1837 reinterpret_cast<GLES2FunctionPointer>(glFramebufferTexture2D),
1840 "glFramebufferTextureLayer",
1841 reinterpret_cast<GLES2FunctionPointer>(glFramebufferTextureLayer),
1844 "glFrontFace", reinterpret_cast<GLES2FunctionPointer>(glFrontFace),
1847 "glGenBuffers", reinterpret_cast<GLES2FunctionPointer>(glGenBuffers),
1850 "glGenerateMipmap",
1851 reinterpret_cast<GLES2FunctionPointer>(glGenerateMipmap),
1854 "glGenFramebuffers",
1855 reinterpret_cast<GLES2FunctionPointer>(glGenFramebuffers),
1858 "glGenRenderbuffers",
1859 reinterpret_cast<GLES2FunctionPointer>(glGenRenderbuffers),
1862 "glGenSamplers", reinterpret_cast<GLES2FunctionPointer>(glGenSamplers),
1865 "glGenTextures", reinterpret_cast<GLES2FunctionPointer>(glGenTextures),
1868 "glGenTransformFeedbacks",
1869 reinterpret_cast<GLES2FunctionPointer>(glGenTransformFeedbacks),
1872 "glGetActiveAttrib",
1873 reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib),
1876 "glGetActiveUniform",
1877 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform),
1880 "glGetActiveUniformBlockiv",
1881 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformBlockiv),
1884 "glGetActiveUniformBlockName",
1885 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformBlockName),
1888 "glGetActiveUniformsiv",
1889 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformsiv),
1892 "glGetAttachedShaders",
1893 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders),
1896 "glGetAttribLocation",
1897 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation),
1900 "glGetBooleanv", reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv),
1903 "glGetBufferParameteri64v",
1904 reinterpret_cast<GLES2FunctionPointer>(glGetBufferParameteri64v),
1907 "glGetBufferParameteriv",
1908 reinterpret_cast<GLES2FunctionPointer>(glGetBufferParameteriv),
1911 "glGetError", reinterpret_cast<GLES2FunctionPointer>(glGetError),
1914 "glGetFloatv", reinterpret_cast<GLES2FunctionPointer>(glGetFloatv),
1917 "glGetFragDataLocation",
1918 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataLocation),
1921 "glGetFramebufferAttachmentParameteriv",
1922 reinterpret_cast<GLES2FunctionPointer>(
1923 glGetFramebufferAttachmentParameteriv),
1926 "glGetInteger64v",
1927 reinterpret_cast<GLES2FunctionPointer>(glGetInteger64v),
1930 "glGetIntegeri_v",
1931 reinterpret_cast<GLES2FunctionPointer>(glGetIntegeri_v),
1934 "glGetInteger64i_v",
1935 reinterpret_cast<GLES2FunctionPointer>(glGetInteger64i_v),
1938 "glGetIntegerv", reinterpret_cast<GLES2FunctionPointer>(glGetIntegerv),
1941 "glGetInternalformativ",
1942 reinterpret_cast<GLES2FunctionPointer>(glGetInternalformativ),
1945 "glGetProgramiv",
1946 reinterpret_cast<GLES2FunctionPointer>(glGetProgramiv),
1949 "glGetProgramInfoLog",
1950 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoLog),
1953 "glGetRenderbufferParameteriv",
1954 reinterpret_cast<GLES2FunctionPointer>(glGetRenderbufferParameteriv),
1957 "glGetSamplerParameterfv",
1958 reinterpret_cast<GLES2FunctionPointer>(glGetSamplerParameterfv),
1961 "glGetSamplerParameteriv",
1962 reinterpret_cast<GLES2FunctionPointer>(glGetSamplerParameteriv),
1965 "glGetShaderiv", reinterpret_cast<GLES2FunctionPointer>(glGetShaderiv),
1968 "glGetShaderInfoLog",
1969 reinterpret_cast<GLES2FunctionPointer>(glGetShaderInfoLog),
1972 "glGetShaderPrecisionFormat",
1973 reinterpret_cast<GLES2FunctionPointer>(glGetShaderPrecisionFormat),
1976 "glGetShaderSource",
1977 reinterpret_cast<GLES2FunctionPointer>(glGetShaderSource),
1980 "glGetString", reinterpret_cast<GLES2FunctionPointer>(glGetString),
1983 "glGetSynciv", reinterpret_cast<GLES2FunctionPointer>(glGetSynciv),
1986 "glGetTexParameterfv",
1987 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv),
1990 "glGetTexParameteriv",
1991 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv),
1994 "glGetTransformFeedbackVarying",
1995 reinterpret_cast<GLES2FunctionPointer>(glGetTransformFeedbackVarying),
1998 "glGetUniformBlockIndex",
1999 reinterpret_cast<GLES2FunctionPointer>(glGetUniformBlockIndex),
2002 "glGetUniformfv",
2003 reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv),
2006 "glGetUniformiv",
2007 reinterpret_cast<GLES2FunctionPointer>(glGetUniformiv),
2010 "glGetUniformuiv",
2011 reinterpret_cast<GLES2FunctionPointer>(glGetUniformuiv),
2014 "glGetUniformIndices",
2015 reinterpret_cast<GLES2FunctionPointer>(glGetUniformIndices),
2018 "glGetUniformLocation",
2019 reinterpret_cast<GLES2FunctionPointer>(glGetUniformLocation),
2022 "glGetVertexAttribfv",
2023 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribfv),
2026 "glGetVertexAttribiv",
2027 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribiv),
2030 "glGetVertexAttribIiv",
2031 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribIiv),
2034 "glGetVertexAttribIuiv",
2035 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribIuiv),
2038 "glGetVertexAttribPointerv",
2039 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribPointerv),
2042 "glHint", reinterpret_cast<GLES2FunctionPointer>(glHint),
2045 "glInvalidateFramebuffer",
2046 reinterpret_cast<GLES2FunctionPointer>(glInvalidateFramebuffer),
2049 "glInvalidateSubFramebuffer",
2050 reinterpret_cast<GLES2FunctionPointer>(glInvalidateSubFramebuffer),
2053 "glIsBuffer", reinterpret_cast<GLES2FunctionPointer>(glIsBuffer),
2056 "glIsEnabled", reinterpret_cast<GLES2FunctionPointer>(glIsEnabled),
2059 "glIsFramebuffer",
2060 reinterpret_cast<GLES2FunctionPointer>(glIsFramebuffer),
2063 "glIsProgram", reinterpret_cast<GLES2FunctionPointer>(glIsProgram),
2066 "glIsRenderbuffer",
2067 reinterpret_cast<GLES2FunctionPointer>(glIsRenderbuffer),
2070 "glIsSampler", reinterpret_cast<GLES2FunctionPointer>(glIsSampler),
2073 "glIsShader", reinterpret_cast<GLES2FunctionPointer>(glIsShader),
2076 "glIsSync", reinterpret_cast<GLES2FunctionPointer>(glIsSync),
2079 "glIsTexture", reinterpret_cast<GLES2FunctionPointer>(glIsTexture),
2082 "glIsTransformFeedback",
2083 reinterpret_cast<GLES2FunctionPointer>(glIsTransformFeedback),
2086 "glLineWidth", reinterpret_cast<GLES2FunctionPointer>(glLineWidth),
2089 "glLinkProgram", reinterpret_cast<GLES2FunctionPointer>(glLinkProgram),
2092 "glPauseTransformFeedback",
2093 reinterpret_cast<GLES2FunctionPointer>(glPauseTransformFeedback),
2096 "glPixelStorei", reinterpret_cast<GLES2FunctionPointer>(glPixelStorei),
2099 "glPolygonOffset",
2100 reinterpret_cast<GLES2FunctionPointer>(glPolygonOffset),
2103 "glReadBuffer", reinterpret_cast<GLES2FunctionPointer>(glReadBuffer),
2106 "glReadPixels", reinterpret_cast<GLES2FunctionPointer>(glReadPixels),
2109 "glReleaseShaderCompiler",
2110 reinterpret_cast<GLES2FunctionPointer>(glReleaseShaderCompiler),
2113 "glRenderbufferStorage",
2114 reinterpret_cast<GLES2FunctionPointer>(glRenderbufferStorage),
2117 "glResumeTransformFeedback",
2118 reinterpret_cast<GLES2FunctionPointer>(glResumeTransformFeedback),
2121 "glSampleCoverage",
2122 reinterpret_cast<GLES2FunctionPointer>(glSampleCoverage),
2125 "glSamplerParameterf",
2126 reinterpret_cast<GLES2FunctionPointer>(glSamplerParameterf),
2129 "glSamplerParameterfv",
2130 reinterpret_cast<GLES2FunctionPointer>(glSamplerParameterfv),
2133 "glSamplerParameteri",
2134 reinterpret_cast<GLES2FunctionPointer>(glSamplerParameteri),
2137 "glSamplerParameteriv",
2138 reinterpret_cast<GLES2FunctionPointer>(glSamplerParameteriv),
2141 "glScissor", reinterpret_cast<GLES2FunctionPointer>(glScissor),
2144 "glShaderBinary",
2145 reinterpret_cast<GLES2FunctionPointer>(glShaderBinary),
2148 "glShaderSource",
2149 reinterpret_cast<GLES2FunctionPointer>(glShaderSource),
2152 "glShallowFinishCHROMIUM",
2153 reinterpret_cast<GLES2FunctionPointer>(glShallowFinishCHROMIUM),
2156 "glShallowFlushCHROMIUM",
2157 reinterpret_cast<GLES2FunctionPointer>(glShallowFlushCHROMIUM),
2160 "glOrderingBarrierCHROMIUM",
2161 reinterpret_cast<GLES2FunctionPointer>(glOrderingBarrierCHROMIUM),
2164 "glStencilFunc", reinterpret_cast<GLES2FunctionPointer>(glStencilFunc),
2167 "glStencilFuncSeparate",
2168 reinterpret_cast<GLES2FunctionPointer>(glStencilFuncSeparate),
2171 "glStencilMask", reinterpret_cast<GLES2FunctionPointer>(glStencilMask),
2174 "glStencilMaskSeparate",
2175 reinterpret_cast<GLES2FunctionPointer>(glStencilMaskSeparate),
2178 "glStencilOp", reinterpret_cast<GLES2FunctionPointer>(glStencilOp),
2181 "glStencilOpSeparate",
2182 reinterpret_cast<GLES2FunctionPointer>(glStencilOpSeparate),
2185 "glTexImage2D", reinterpret_cast<GLES2FunctionPointer>(glTexImage2D),
2188 "glTexImage3D", reinterpret_cast<GLES2FunctionPointer>(glTexImage3D),
2191 "glTexParameterf",
2192 reinterpret_cast<GLES2FunctionPointer>(glTexParameterf),
2195 "glTexParameterfv",
2196 reinterpret_cast<GLES2FunctionPointer>(glTexParameterfv),
2199 "glTexParameteri",
2200 reinterpret_cast<GLES2FunctionPointer>(glTexParameteri),
2203 "glTexParameteriv",
2204 reinterpret_cast<GLES2FunctionPointer>(glTexParameteriv),
2207 "glTexStorage3D",
2208 reinterpret_cast<GLES2FunctionPointer>(glTexStorage3D),
2211 "glTexSubImage2D",
2212 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D),
2215 "glTexSubImage3D",
2216 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage3D),
2219 "glTransformFeedbackVaryings",
2220 reinterpret_cast<GLES2FunctionPointer>(glTransformFeedbackVaryings),
2223 "glUniform1f", reinterpret_cast<GLES2FunctionPointer>(glUniform1f),
2226 "glUniform1fv", reinterpret_cast<GLES2FunctionPointer>(glUniform1fv),
2229 "glUniform1i", reinterpret_cast<GLES2FunctionPointer>(glUniform1i),
2232 "glUniform1iv", reinterpret_cast<GLES2FunctionPointer>(glUniform1iv),
2235 "glUniform1ui", reinterpret_cast<GLES2FunctionPointer>(glUniform1ui),
2238 "glUniform1uiv", reinterpret_cast<GLES2FunctionPointer>(glUniform1uiv),
2241 "glUniform2f", reinterpret_cast<GLES2FunctionPointer>(glUniform2f),
2244 "glUniform2fv", reinterpret_cast<GLES2FunctionPointer>(glUniform2fv),
2247 "glUniform2i", reinterpret_cast<GLES2FunctionPointer>(glUniform2i),
2250 "glUniform2iv", reinterpret_cast<GLES2FunctionPointer>(glUniform2iv),
2253 "glUniform2ui", reinterpret_cast<GLES2FunctionPointer>(glUniform2ui),
2256 "glUniform2uiv", reinterpret_cast<GLES2FunctionPointer>(glUniform2uiv),
2259 "glUniform3f", reinterpret_cast<GLES2FunctionPointer>(glUniform3f),
2262 "glUniform3fv", reinterpret_cast<GLES2FunctionPointer>(glUniform3fv),
2265 "glUniform3i", reinterpret_cast<GLES2FunctionPointer>(glUniform3i),
2268 "glUniform3iv", reinterpret_cast<GLES2FunctionPointer>(glUniform3iv),
2271 "glUniform3ui", reinterpret_cast<GLES2FunctionPointer>(glUniform3ui),
2274 "glUniform3uiv", reinterpret_cast<GLES2FunctionPointer>(glUniform3uiv),
2277 "glUniform4f", reinterpret_cast<GLES2FunctionPointer>(glUniform4f),
2280 "glUniform4fv", reinterpret_cast<GLES2FunctionPointer>(glUniform4fv),
2283 "glUniform4i", reinterpret_cast<GLES2FunctionPointer>(glUniform4i),
2286 "glUniform4iv", reinterpret_cast<GLES2FunctionPointer>(glUniform4iv),
2289 "glUniform4ui", reinterpret_cast<GLES2FunctionPointer>(glUniform4ui),
2292 "glUniform4uiv", reinterpret_cast<GLES2FunctionPointer>(glUniform4uiv),
2295 "glUniformBlockBinding",
2296 reinterpret_cast<GLES2FunctionPointer>(glUniformBlockBinding),
2299 "glUniformMatrix2fv",
2300 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2fv),
2303 "glUniformMatrix2x3fv",
2304 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2x3fv),
2307 "glUniformMatrix2x4fv",
2308 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2x4fv),
2311 "glUniformMatrix3fv",
2312 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3fv),
2315 "glUniformMatrix3x2fv",
2316 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3x2fv),
2319 "glUniformMatrix3x4fv",
2320 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3x4fv),
2323 "glUniformMatrix4fv",
2324 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4fv),
2327 "glUniformMatrix4x2fv",
2328 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x2fv),
2331 "glUniformMatrix4x3fv",
2332 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x3fv),
2335 "glUseProgram", reinterpret_cast<GLES2FunctionPointer>(glUseProgram),
2338 "glValidateProgram",
2339 reinterpret_cast<GLES2FunctionPointer>(glValidateProgram),
2342 "glVertexAttrib1f",
2343 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1f),
2346 "glVertexAttrib1fv",
2347 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1fv),
2350 "glVertexAttrib2f",
2351 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2f),
2354 "glVertexAttrib2fv",
2355 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2fv),
2358 "glVertexAttrib3f",
2359 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3f),
2362 "glVertexAttrib3fv",
2363 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3fv),
2366 "glVertexAttrib4f",
2367 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4f),
2370 "glVertexAttrib4fv",
2371 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4fv),
2374 "glVertexAttribI4i",
2375 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4i),
2378 "glVertexAttribI4iv",
2379 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4iv),
2382 "glVertexAttribI4ui",
2383 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4ui),
2386 "glVertexAttribI4uiv",
2387 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4uiv),
2390 "glVertexAttribIPointer",
2391 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribIPointer),
2394 "glVertexAttribPointer",
2395 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribPointer),
2398 "glViewport", reinterpret_cast<GLES2FunctionPointer>(glViewport),
2401 "glWaitSync", reinterpret_cast<GLES2FunctionPointer>(glWaitSync),
2404 "glBlitFramebufferCHROMIUM",
2405 reinterpret_cast<GLES2FunctionPointer>(glBlitFramebufferCHROMIUM),
2408 "glRenderbufferStorageMultisampleCHROMIUM",
2409 reinterpret_cast<GLES2FunctionPointer>(
2410 glRenderbufferStorageMultisampleCHROMIUM),
2413 "glRenderbufferStorageMultisampleEXT",
2414 reinterpret_cast<GLES2FunctionPointer>(
2415 glRenderbufferStorageMultisampleEXT),
2418 "glFramebufferTexture2DMultisampleEXT",
2419 reinterpret_cast<GLES2FunctionPointer>(
2420 glFramebufferTexture2DMultisampleEXT),
2423 "glTexStorage2DEXT",
2424 reinterpret_cast<GLES2FunctionPointer>(glTexStorage2DEXT),
2427 "glGenQueriesEXT",
2428 reinterpret_cast<GLES2FunctionPointer>(glGenQueriesEXT),
2431 "glDeleteQueriesEXT",
2432 reinterpret_cast<GLES2FunctionPointer>(glDeleteQueriesEXT),
2435 "glQueryCounterEXT",
2436 reinterpret_cast<GLES2FunctionPointer>(glQueryCounterEXT),
2439 "glIsQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT),
2442 "glBeginQueryEXT",
2443 reinterpret_cast<GLES2FunctionPointer>(glBeginQueryEXT),
2446 "glBeginTransformFeedback",
2447 reinterpret_cast<GLES2FunctionPointer>(glBeginTransformFeedback),
2450 "glEndQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glEndQueryEXT),
2453 "glEndTransformFeedback",
2454 reinterpret_cast<GLES2FunctionPointer>(glEndTransformFeedback),
2457 "glGetQueryivEXT",
2458 reinterpret_cast<GLES2FunctionPointer>(glGetQueryivEXT),
2461 "glGetQueryObjectivEXT",
2462 reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjectivEXT),
2465 "glGetQueryObjectuivEXT",
2466 reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjectuivEXT),
2469 "glGetQueryObjecti64vEXT",
2470 reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjecti64vEXT),
2473 "glGetQueryObjectui64vEXT",
2474 reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjectui64vEXT),
2477 "glSetDisjointValueSyncCHROMIUM",
2478 reinterpret_cast<GLES2FunctionPointer>(glSetDisjointValueSyncCHROMIUM),
2481 "glInsertEventMarkerEXT",
2482 reinterpret_cast<GLES2FunctionPointer>(glInsertEventMarkerEXT),
2485 "glPushGroupMarkerEXT",
2486 reinterpret_cast<GLES2FunctionPointer>(glPushGroupMarkerEXT),
2489 "glPopGroupMarkerEXT",
2490 reinterpret_cast<GLES2FunctionPointer>(glPopGroupMarkerEXT),
2493 "glGenVertexArraysOES",
2494 reinterpret_cast<GLES2FunctionPointer>(glGenVertexArraysOES),
2497 "glDeleteVertexArraysOES",
2498 reinterpret_cast<GLES2FunctionPointer>(glDeleteVertexArraysOES),
2501 "glIsVertexArrayOES",
2502 reinterpret_cast<GLES2FunctionPointer>(glIsVertexArrayOES),
2505 "glBindVertexArrayOES",
2506 reinterpret_cast<GLES2FunctionPointer>(glBindVertexArrayOES),
2509 "glSwapBuffers", reinterpret_cast<GLES2FunctionPointer>(glSwapBuffers),
2512 "glGetMaxValueInBufferCHROMIUM",
2513 reinterpret_cast<GLES2FunctionPointer>(glGetMaxValueInBufferCHROMIUM),
2516 "glEnableFeatureCHROMIUM",
2517 reinterpret_cast<GLES2FunctionPointer>(glEnableFeatureCHROMIUM),
2520 "glMapBufferCHROMIUM",
2521 reinterpret_cast<GLES2FunctionPointer>(glMapBufferCHROMIUM),
2524 "glUnmapBufferCHROMIUM",
2525 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferCHROMIUM),
2528 "glMapBufferSubDataCHROMIUM",
2529 reinterpret_cast<GLES2FunctionPointer>(glMapBufferSubDataCHROMIUM),
2532 "glUnmapBufferSubDataCHROMIUM",
2533 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferSubDataCHROMIUM),
2536 "glMapBufferRange",
2537 reinterpret_cast<GLES2FunctionPointer>(glMapBufferRange),
2540 "glUnmapBuffer", reinterpret_cast<GLES2FunctionPointer>(glUnmapBuffer),
2543 "glMapTexSubImage2DCHROMIUM",
2544 reinterpret_cast<GLES2FunctionPointer>(glMapTexSubImage2DCHROMIUM),
2547 "glUnmapTexSubImage2DCHROMIUM",
2548 reinterpret_cast<GLES2FunctionPointer>(glUnmapTexSubImage2DCHROMIUM),
2551 "glResizeCHROMIUM",
2552 reinterpret_cast<GLES2FunctionPointer>(glResizeCHROMIUM),
2555 "glGetRequestableExtensionsCHROMIUM",
2556 reinterpret_cast<GLES2FunctionPointer>(
2557 glGetRequestableExtensionsCHROMIUM),
2560 "glRequestExtensionCHROMIUM",
2561 reinterpret_cast<GLES2FunctionPointer>(glRequestExtensionCHROMIUM),
2564 "glRateLimitOffscreenContextCHROMIUM",
2565 reinterpret_cast<GLES2FunctionPointer>(
2566 glRateLimitOffscreenContextCHROMIUM),
2569 "glGetProgramInfoCHROMIUM",
2570 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM),
2573 "glGetUniformBlocksCHROMIUM",
2574 reinterpret_cast<GLES2FunctionPointer>(glGetUniformBlocksCHROMIUM),
2577 "glGetTransformFeedbackVaryingsCHROMIUM",
2578 reinterpret_cast<GLES2FunctionPointer>(
2579 glGetTransformFeedbackVaryingsCHROMIUM),
2582 "glGetUniformsES3CHROMIUM",
2583 reinterpret_cast<GLES2FunctionPointer>(glGetUniformsES3CHROMIUM),
2586 "glCreateStreamTextureCHROMIUM",
2587 reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM),
2590 "glCreateImageCHROMIUM",
2591 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM),
2594 "glDestroyImageCHROMIUM",
2595 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM),
2598 "glCreateGpuMemoryBufferImageCHROMIUM",
2599 reinterpret_cast<GLES2FunctionPointer>(
2600 glCreateGpuMemoryBufferImageCHROMIUM),
2603 "glGetTranslatedShaderSourceANGLE",
2604 reinterpret_cast<GLES2FunctionPointer>(
2605 glGetTranslatedShaderSourceANGLE),
2608 "glPostSubBufferCHROMIUM",
2609 reinterpret_cast<GLES2FunctionPointer>(glPostSubBufferCHROMIUM),
2612 "glTexImageIOSurface2DCHROMIUM",
2613 reinterpret_cast<GLES2FunctionPointer>(glTexImageIOSurface2DCHROMIUM),
2616 "glCopyTextureCHROMIUM",
2617 reinterpret_cast<GLES2FunctionPointer>(glCopyTextureCHROMIUM),
2620 "glCopySubTextureCHROMIUM",
2621 reinterpret_cast<GLES2FunctionPointer>(glCopySubTextureCHROMIUM),
2624 "glCompressedCopyTextureCHROMIUM",
2625 reinterpret_cast<GLES2FunctionPointer>(glCompressedCopyTextureCHROMIUM),
2628 "glCompressedCopySubTextureCHROMIUM",
2629 reinterpret_cast<GLES2FunctionPointer>(
2630 glCompressedCopySubTextureCHROMIUM),
2633 "glDrawArraysInstancedANGLE",
2634 reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE),
2637 "glDrawElementsInstancedANGLE",
2638 reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE),
2641 "glVertexAttribDivisorANGLE",
2642 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE),
2645 "glGenMailboxCHROMIUM",
2646 reinterpret_cast<GLES2FunctionPointer>(glGenMailboxCHROMIUM),
2649 "glProduceTextureCHROMIUM",
2650 reinterpret_cast<GLES2FunctionPointer>(glProduceTextureCHROMIUM),
2653 "glProduceTextureDirectCHROMIUM",
2654 reinterpret_cast<GLES2FunctionPointer>(glProduceTextureDirectCHROMIUM),
2657 "glConsumeTextureCHROMIUM",
2658 reinterpret_cast<GLES2FunctionPointer>(glConsumeTextureCHROMIUM),
2661 "glCreateAndConsumeTextureCHROMIUM",
2662 reinterpret_cast<GLES2FunctionPointer>(
2663 glCreateAndConsumeTextureCHROMIUM),
2666 "glBindUniformLocationCHROMIUM",
2667 reinterpret_cast<GLES2FunctionPointer>(glBindUniformLocationCHROMIUM),
2670 "glGenValuebuffersCHROMIUM",
2671 reinterpret_cast<GLES2FunctionPointer>(glGenValuebuffersCHROMIUM),
2674 "glDeleteValuebuffersCHROMIUM",
2675 reinterpret_cast<GLES2FunctionPointer>(glDeleteValuebuffersCHROMIUM),
2678 "glIsValuebufferCHROMIUM",
2679 reinterpret_cast<GLES2FunctionPointer>(glIsValuebufferCHROMIUM),
2682 "glBindValuebufferCHROMIUM",
2683 reinterpret_cast<GLES2FunctionPointer>(glBindValuebufferCHROMIUM),
2686 "glSubscribeValueCHROMIUM",
2687 reinterpret_cast<GLES2FunctionPointer>(glSubscribeValueCHROMIUM),
2690 "glPopulateSubscribedValuesCHROMIUM",
2691 reinterpret_cast<GLES2FunctionPointer>(
2692 glPopulateSubscribedValuesCHROMIUM),
2695 "glUniformValuebufferCHROMIUM",
2696 reinterpret_cast<GLES2FunctionPointer>(glUniformValuebufferCHROMIUM),
2699 "glBindTexImage2DCHROMIUM",
2700 reinterpret_cast<GLES2FunctionPointer>(glBindTexImage2DCHROMIUM),
2703 "glReleaseTexImage2DCHROMIUM",
2704 reinterpret_cast<GLES2FunctionPointer>(glReleaseTexImage2DCHROMIUM),
2707 "glTraceBeginCHROMIUM",
2708 reinterpret_cast<GLES2FunctionPointer>(glTraceBeginCHROMIUM),
2711 "glTraceEndCHROMIUM",
2712 reinterpret_cast<GLES2FunctionPointer>(glTraceEndCHROMIUM),
2715 "glDiscardFramebufferEXT",
2716 reinterpret_cast<GLES2FunctionPointer>(glDiscardFramebufferEXT),
2719 "glLoseContextCHROMIUM",
2720 reinterpret_cast<GLES2FunctionPointer>(glLoseContextCHROMIUM),
2723 "glInsertSyncPointCHROMIUM",
2724 reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM),
2727 "glWaitSyncPointCHROMIUM",
2728 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM),
2731 "glDrawBuffersEXT",
2732 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT),
2735 "glDiscardBackbufferCHROMIUM",
2736 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM),
2739 "glScheduleOverlayPlaneCHROMIUM",
2740 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM),
2743 "glSwapInterval",
2744 reinterpret_cast<GLES2FunctionPointer>(glSwapInterval),
2747 "glFlushDriverCachesCHROMIUM",
2748 reinterpret_cast<GLES2FunctionPointer>(glFlushDriverCachesCHROMIUM),
2751 "glMatrixLoadfCHROMIUM",
2752 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM),
2755 "glMatrixLoadIdentityCHROMIUM",
2756 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM),
2759 "glGenPathsCHROMIUM",
2760 reinterpret_cast<GLES2FunctionPointer>(glGenPathsCHROMIUM),
2763 "glDeletePathsCHROMIUM",
2764 reinterpret_cast<GLES2FunctionPointer>(glDeletePathsCHROMIUM),
2767 "glIsPathCHROMIUM",
2768 reinterpret_cast<GLES2FunctionPointer>(glIsPathCHROMIUM),
2771 "glPathCommandsCHROMIUM",
2772 reinterpret_cast<GLES2FunctionPointer>(glPathCommandsCHROMIUM),
2775 "glPathParameterfCHROMIUM",
2776 reinterpret_cast<GLES2FunctionPointer>(glPathParameterfCHROMIUM),
2779 "glPathParameteriCHROMIUM",
2780 reinterpret_cast<GLES2FunctionPointer>(glPathParameteriCHROMIUM),
2783 "glPathStencilFuncCHROMIUM",
2784 reinterpret_cast<GLES2FunctionPointer>(glPathStencilFuncCHROMIUM),
2787 "glStencilFillPathCHROMIUM",
2788 reinterpret_cast<GLES2FunctionPointer>(glStencilFillPathCHROMIUM),
2791 "glStencilStrokePathCHROMIUM",
2792 reinterpret_cast<GLES2FunctionPointer>(glStencilStrokePathCHROMIUM),
2795 "glCoverFillPathCHROMIUM",
2796 reinterpret_cast<GLES2FunctionPointer>(glCoverFillPathCHROMIUM),
2799 "glCoverStrokePathCHROMIUM",
2800 reinterpret_cast<GLES2FunctionPointer>(glCoverStrokePathCHROMIUM),
2803 "glStencilThenCoverFillPathCHROMIUM",
2804 reinterpret_cast<GLES2FunctionPointer>(
2805 glStencilThenCoverFillPathCHROMIUM),
2808 "glStencilThenCoverStrokePathCHROMIUM",
2809 reinterpret_cast<GLES2FunctionPointer>(
2810 glStencilThenCoverStrokePathCHROMIUM),
2813 "glGetGraphicsResetStatusKHR",
2814 reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR),
2817 "glBlendBarrierKHR",
2818 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR),
2821 "glApplyScreenSpaceAntialiasingCHROMIUM",
2822 reinterpret_cast<GLES2FunctionPointer>(
2823 glApplyScreenSpaceAntialiasingCHROMIUM),
2826 NULL, NULL,
2830 } // namespace gles2
2831 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_