Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / gpu / command_buffer / client / gles2_c_lib_autogen.h
blob20a745a602129e0be3095b5e67de637bcbc80c2c
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 GLES2GetQueryObjectuivEXT(GLuint id,
1164 GLenum pname,
1165 GLuint* params) {
1166 gles2::GetGLContext()->GetQueryObjectuivEXT(id, pname, params);
1168 void GL_APIENTRY GLES2GetQueryObjectui64vEXT(GLuint id,
1169 GLenum pname,
1170 GLuint64* params) {
1171 gles2::GetGLContext()->GetQueryObjectui64vEXT(id, pname, params);
1173 void GL_APIENTRY GLES2InsertEventMarkerEXT(GLsizei length,
1174 const GLchar* marker) {
1175 gles2::GetGLContext()->InsertEventMarkerEXT(length, marker);
1177 void GL_APIENTRY GLES2PushGroupMarkerEXT(GLsizei length, const GLchar* marker) {
1178 gles2::GetGLContext()->PushGroupMarkerEXT(length, marker);
1180 void GL_APIENTRY GLES2PopGroupMarkerEXT() {
1181 gles2::GetGLContext()->PopGroupMarkerEXT();
1183 void GL_APIENTRY GLES2GenVertexArraysOES(GLsizei n, GLuint* arrays) {
1184 gles2::GetGLContext()->GenVertexArraysOES(n, arrays);
1186 void GL_APIENTRY GLES2DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) {
1187 gles2::GetGLContext()->DeleteVertexArraysOES(n, arrays);
1189 GLboolean GL_APIENTRY GLES2IsVertexArrayOES(GLuint array) {
1190 return gles2::GetGLContext()->IsVertexArrayOES(array);
1192 void GL_APIENTRY GLES2BindVertexArrayOES(GLuint array) {
1193 gles2::GetGLContext()->BindVertexArrayOES(array);
1195 void GL_APIENTRY GLES2SwapBuffers() {
1196 gles2::GetGLContext()->SwapBuffers();
1198 GLuint GL_APIENTRY GLES2GetMaxValueInBufferCHROMIUM(GLuint buffer_id,
1199 GLsizei count,
1200 GLenum type,
1201 GLuint offset) {
1202 return gles2::GetGLContext()->GetMaxValueInBufferCHROMIUM(buffer_id, count,
1203 type, offset);
1205 GLboolean GL_APIENTRY GLES2EnableFeatureCHROMIUM(const char* feature) {
1206 return gles2::GetGLContext()->EnableFeatureCHROMIUM(feature);
1208 void* GL_APIENTRY GLES2MapBufferCHROMIUM(GLuint target, GLenum access) {
1209 return gles2::GetGLContext()->MapBufferCHROMIUM(target, access);
1211 GLboolean GL_APIENTRY GLES2UnmapBufferCHROMIUM(GLuint target) {
1212 return gles2::GetGLContext()->UnmapBufferCHROMIUM(target);
1214 void* GL_APIENTRY GLES2MapBufferSubDataCHROMIUM(GLuint target,
1215 GLintptr offset,
1216 GLsizeiptr size,
1217 GLenum access) {
1218 return gles2::GetGLContext()->MapBufferSubDataCHROMIUM(target, offset, size,
1219 access);
1221 void GL_APIENTRY GLES2UnmapBufferSubDataCHROMIUM(const void* mem) {
1222 gles2::GetGLContext()->UnmapBufferSubDataCHROMIUM(mem);
1224 void* GL_APIENTRY GLES2MapBufferRange(GLenum target,
1225 GLintptr offset,
1226 GLsizeiptr size,
1227 GLbitfield access) {
1228 return gles2::GetGLContext()->MapBufferRange(target, offset, size, access);
1230 GLboolean GL_APIENTRY GLES2UnmapBuffer(GLenum target) {
1231 return gles2::GetGLContext()->UnmapBuffer(target);
1233 void* GL_APIENTRY GLES2MapTexSubImage2DCHROMIUM(GLenum target,
1234 GLint level,
1235 GLint xoffset,
1236 GLint yoffset,
1237 GLsizei width,
1238 GLsizei height,
1239 GLenum format,
1240 GLenum type,
1241 GLenum access) {
1242 return gles2::GetGLContext()->MapTexSubImage2DCHROMIUM(
1243 target, level, xoffset, yoffset, width, height, format, type, access);
1245 void GL_APIENTRY GLES2UnmapTexSubImage2DCHROMIUM(const void* mem) {
1246 gles2::GetGLContext()->UnmapTexSubImage2DCHROMIUM(mem);
1248 void GL_APIENTRY GLES2ResizeCHROMIUM(GLuint width,
1249 GLuint height,
1250 GLfloat scale_factor) {
1251 gles2::GetGLContext()->ResizeCHROMIUM(width, height, scale_factor);
1253 const GLchar* GL_APIENTRY GLES2GetRequestableExtensionsCHROMIUM() {
1254 return gles2::GetGLContext()->GetRequestableExtensionsCHROMIUM();
1256 void GL_APIENTRY GLES2RequestExtensionCHROMIUM(const char* extension) {
1257 gles2::GetGLContext()->RequestExtensionCHROMIUM(extension);
1259 void GL_APIENTRY GLES2RateLimitOffscreenContextCHROMIUM() {
1260 gles2::GetGLContext()->RateLimitOffscreenContextCHROMIUM();
1262 void GL_APIENTRY GLES2GetProgramInfoCHROMIUM(GLuint program,
1263 GLsizei bufsize,
1264 GLsizei* size,
1265 void* info) {
1266 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info);
1268 void GL_APIENTRY GLES2GetUniformBlocksCHROMIUM(GLuint program,
1269 GLsizei bufsize,
1270 GLsizei* size,
1271 void* info) {
1272 gles2::GetGLContext()->GetUniformBlocksCHROMIUM(program, bufsize, size, info);
1274 void GL_APIENTRY GLES2GetTransformFeedbackVaryingsCHROMIUM(GLuint program,
1275 GLsizei bufsize,
1276 GLsizei* size,
1277 void* info) {
1278 gles2::GetGLContext()->GetTransformFeedbackVaryingsCHROMIUM(program, bufsize,
1279 size, info);
1281 void GL_APIENTRY GLES2GetUniformsES3CHROMIUM(GLuint program,
1282 GLsizei bufsize,
1283 GLsizei* size,
1284 void* info) {
1285 gles2::GetGLContext()->GetUniformsES3CHROMIUM(program, bufsize, size, info);
1287 GLuint GL_APIENTRY GLES2CreateStreamTextureCHROMIUM(GLuint texture) {
1288 return gles2::GetGLContext()->CreateStreamTextureCHROMIUM(texture);
1290 GLuint GL_APIENTRY GLES2CreateImageCHROMIUM(ClientBuffer buffer,
1291 GLsizei width,
1292 GLsizei height,
1293 GLenum internalformat) {
1294 return gles2::GetGLContext()->CreateImageCHROMIUM(buffer, width, height,
1295 internalformat);
1297 void GL_APIENTRY GLES2DestroyImageCHROMIUM(GLuint image_id) {
1298 gles2::GetGLContext()->DestroyImageCHROMIUM(image_id);
1300 GLuint GL_APIENTRY
1301 GLES2CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
1302 GLsizei height,
1303 GLenum internalformat,
1304 GLenum usage) {
1305 return gles2::GetGLContext()->CreateGpuMemoryBufferImageCHROMIUM(
1306 width, height, internalformat, usage);
1308 void GL_APIENTRY GLES2GetTranslatedShaderSourceANGLE(GLuint shader,
1309 GLsizei bufsize,
1310 GLsizei* length,
1311 char* source) {
1312 gles2::GetGLContext()->GetTranslatedShaderSourceANGLE(shader, bufsize, length,
1313 source);
1315 void GL_APIENTRY GLES2PostSubBufferCHROMIUM(GLint x,
1316 GLint y,
1317 GLint width,
1318 GLint height) {
1319 gles2::GetGLContext()->PostSubBufferCHROMIUM(x, y, width, height);
1321 void GL_APIENTRY GLES2TexImageIOSurface2DCHROMIUM(GLenum target,
1322 GLsizei width,
1323 GLsizei height,
1324 GLuint ioSurfaceId,
1325 GLuint plane) {
1326 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM(target, width, height,
1327 ioSurfaceId, plane);
1329 void GL_APIENTRY GLES2CopyTextureCHROMIUM(GLenum target,
1330 GLenum source_id,
1331 GLenum dest_id,
1332 GLint internalformat,
1333 GLenum dest_type,
1334 GLboolean unpack_flip_y,
1335 GLboolean unpack_premultiply_alpha,
1336 GLboolean unpack_unmultiply_alpha) {
1337 gles2::GetGLContext()->CopyTextureCHROMIUM(
1338 target, source_id, dest_id, internalformat, dest_type, unpack_flip_y,
1339 unpack_premultiply_alpha, unpack_unmultiply_alpha);
1341 void GL_APIENTRY
1342 GLES2CopySubTextureCHROMIUM(GLenum target,
1343 GLenum source_id,
1344 GLenum dest_id,
1345 GLint xoffset,
1346 GLint yoffset,
1347 GLint x,
1348 GLint y,
1349 GLsizei width,
1350 GLsizei height,
1351 GLboolean unpack_flip_y,
1352 GLboolean unpack_premultiply_alpha,
1353 GLboolean unpack_unmultiply_alpha) {
1354 gles2::GetGLContext()->CopySubTextureCHROMIUM(
1355 target, source_id, dest_id, xoffset, yoffset, x, y, width, height,
1356 unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha);
1358 void GL_APIENTRY GLES2CompressedCopyTextureCHROMIUM(GLenum target,
1359 GLenum source_id,
1360 GLenum dest_id) {
1361 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(target, source_id,
1362 dest_id);
1364 void GL_APIENTRY GLES2DrawArraysInstancedANGLE(GLenum mode,
1365 GLint first,
1366 GLsizei count,
1367 GLsizei primcount) {
1368 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count,
1369 primcount);
1371 void GL_APIENTRY GLES2DrawElementsInstancedANGLE(GLenum mode,
1372 GLsizei count,
1373 GLenum type,
1374 const void* indices,
1375 GLsizei primcount) {
1376 gles2::GetGLContext()->DrawElementsInstancedANGLE(mode, count, type, indices,
1377 primcount);
1379 void GL_APIENTRY GLES2VertexAttribDivisorANGLE(GLuint index, GLuint divisor) {
1380 gles2::GetGLContext()->VertexAttribDivisorANGLE(index, divisor);
1382 void GL_APIENTRY GLES2GenMailboxCHROMIUM(GLbyte* mailbox) {
1383 gles2::GetGLContext()->GenMailboxCHROMIUM(mailbox);
1385 void GL_APIENTRY GLES2ProduceTextureCHROMIUM(GLenum target,
1386 const GLbyte* mailbox) {
1387 gles2::GetGLContext()->ProduceTextureCHROMIUM(target, mailbox);
1389 void GL_APIENTRY GLES2ProduceTextureDirectCHROMIUM(GLuint texture,
1390 GLenum target,
1391 const GLbyte* mailbox) {
1392 gles2::GetGLContext()->ProduceTextureDirectCHROMIUM(texture, target, mailbox);
1394 void GL_APIENTRY GLES2ConsumeTextureCHROMIUM(GLenum target,
1395 const GLbyte* mailbox) {
1396 gles2::GetGLContext()->ConsumeTextureCHROMIUM(target, mailbox);
1398 GLuint GL_APIENTRY GLES2CreateAndConsumeTextureCHROMIUM(GLenum target,
1399 const GLbyte* mailbox) {
1400 return gles2::GetGLContext()->CreateAndConsumeTextureCHROMIUM(target,
1401 mailbox);
1403 void GL_APIENTRY GLES2BindUniformLocationCHROMIUM(GLuint program,
1404 GLint location,
1405 const char* name) {
1406 gles2::GetGLContext()->BindUniformLocationCHROMIUM(program, location, name);
1408 void GL_APIENTRY GLES2GenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers) {
1409 gles2::GetGLContext()->GenValuebuffersCHROMIUM(n, buffers);
1411 void GL_APIENTRY GLES2DeleteValuebuffersCHROMIUM(GLsizei n,
1412 const GLuint* valuebuffers) {
1413 gles2::GetGLContext()->DeleteValuebuffersCHROMIUM(n, valuebuffers);
1415 GLboolean GL_APIENTRY GLES2IsValuebufferCHROMIUM(GLuint valuebuffer) {
1416 return gles2::GetGLContext()->IsValuebufferCHROMIUM(valuebuffer);
1418 void GL_APIENTRY GLES2BindValuebufferCHROMIUM(GLenum target,
1419 GLuint valuebuffer) {
1420 gles2::GetGLContext()->BindValuebufferCHROMIUM(target, valuebuffer);
1422 void GL_APIENTRY GLES2SubscribeValueCHROMIUM(GLenum target,
1423 GLenum subscription) {
1424 gles2::GetGLContext()->SubscribeValueCHROMIUM(target, subscription);
1426 void GL_APIENTRY GLES2PopulateSubscribedValuesCHROMIUM(GLenum target) {
1427 gles2::GetGLContext()->PopulateSubscribedValuesCHROMIUM(target);
1429 void GL_APIENTRY GLES2UniformValuebufferCHROMIUM(GLint location,
1430 GLenum target,
1431 GLenum subscription) {
1432 gles2::GetGLContext()->UniformValuebufferCHROMIUM(location, target,
1433 subscription);
1435 void GL_APIENTRY GLES2BindTexImage2DCHROMIUM(GLenum target, GLint imageId) {
1436 gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId);
1438 void GL_APIENTRY GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) {
1439 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId);
1441 void GL_APIENTRY GLES2TraceBeginCHROMIUM(const char* category_name,
1442 const char* trace_name) {
1443 gles2::GetGLContext()->TraceBeginCHROMIUM(category_name, trace_name);
1445 void GL_APIENTRY GLES2TraceEndCHROMIUM() {
1446 gles2::GetGLContext()->TraceEndCHROMIUM();
1448 void GL_APIENTRY GLES2AsyncTexSubImage2DCHROMIUM(GLenum target,
1449 GLint level,
1450 GLint xoffset,
1451 GLint yoffset,
1452 GLsizei width,
1453 GLsizei height,
1454 GLenum format,
1455 GLenum type,
1456 const void* data) {
1457 gles2::GetGLContext()->AsyncTexSubImage2DCHROMIUM(
1458 target, level, xoffset, yoffset, width, height, format, type, data);
1460 void GL_APIENTRY GLES2AsyncTexImage2DCHROMIUM(GLenum target,
1461 GLint level,
1462 GLenum internalformat,
1463 GLsizei width,
1464 GLsizei height,
1465 GLint border,
1466 GLenum format,
1467 GLenum type,
1468 const void* pixels) {
1469 gles2::GetGLContext()->AsyncTexImage2DCHROMIUM(target, level, internalformat,
1470 width, height, border, format,
1471 type, pixels);
1473 void GL_APIENTRY GLES2WaitAsyncTexImage2DCHROMIUM(GLenum target) {
1474 gles2::GetGLContext()->WaitAsyncTexImage2DCHROMIUM(target);
1476 void GL_APIENTRY GLES2WaitAllAsyncTexImage2DCHROMIUM() {
1477 gles2::GetGLContext()->WaitAllAsyncTexImage2DCHROMIUM();
1479 void GL_APIENTRY GLES2DiscardFramebufferEXT(GLenum target,
1480 GLsizei count,
1481 const GLenum* attachments) {
1482 gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments);
1484 void GL_APIENTRY GLES2LoseContextCHROMIUM(GLenum current, GLenum other) {
1485 gles2::GetGLContext()->LoseContextCHROMIUM(current, other);
1487 GLuint GL_APIENTRY GLES2InsertSyncPointCHROMIUM() {
1488 return gles2::GetGLContext()->InsertSyncPointCHROMIUM();
1490 void GL_APIENTRY GLES2WaitSyncPointCHROMIUM(GLuint sync_point) {
1491 gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point);
1493 void GL_APIENTRY GLES2DrawBuffersEXT(GLsizei count, const GLenum* bufs) {
1494 gles2::GetGLContext()->DrawBuffersEXT(count, bufs);
1496 void GL_APIENTRY GLES2DiscardBackbufferCHROMIUM() {
1497 gles2::GetGLContext()->DiscardBackbufferCHROMIUM();
1499 void GL_APIENTRY GLES2ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
1500 GLenum plane_transform,
1501 GLuint overlay_texture_id,
1502 GLint bounds_x,
1503 GLint bounds_y,
1504 GLint bounds_width,
1505 GLint bounds_height,
1506 GLfloat uv_x,
1507 GLfloat uv_y,
1508 GLfloat uv_width,
1509 GLfloat uv_height) {
1510 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM(
1511 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y,
1512 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height);
1514 void GL_APIENTRY GLES2SwapInterval(GLint interval) {
1515 gles2::GetGLContext()->SwapInterval(interval);
1517 void GL_APIENTRY GLES2FlushDriverCachesCHROMIUM() {
1518 gles2::GetGLContext()->FlushDriverCachesCHROMIUM();
1520 void GL_APIENTRY GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) {
1521 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m);
1523 void GL_APIENTRY GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) {
1524 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode);
1526 GLuint GL_APIENTRY GLES2GenPathsCHROMIUM(GLsizei range) {
1527 return gles2::GetGLContext()->GenPathsCHROMIUM(range);
1529 void GL_APIENTRY GLES2DeletePathsCHROMIUM(GLuint path, GLsizei range) {
1530 gles2::GetGLContext()->DeletePathsCHROMIUM(path, range);
1532 GLboolean GL_APIENTRY GLES2IsPathCHROMIUM(GLuint path) {
1533 return gles2::GetGLContext()->IsPathCHROMIUM(path);
1535 void GL_APIENTRY GLES2PathCommandsCHROMIUM(GLuint path,
1536 GLsizei numCommands,
1537 const GLubyte* commands,
1538 GLsizei numCoords,
1539 GLenum coordType,
1540 const GLvoid* coords) {
1541 gles2::GetGLContext()->PathCommandsCHROMIUM(path, numCommands, commands,
1542 numCoords, coordType, coords);
1544 void GL_APIENTRY GLES2PathParameterfCHROMIUM(GLuint path,
1545 GLenum pname,
1546 GLfloat value) {
1547 gles2::GetGLContext()->PathParameterfCHROMIUM(path, pname, value);
1549 void GL_APIENTRY GLES2PathParameteriCHROMIUM(GLuint path,
1550 GLenum pname,
1551 GLint value) {
1552 gles2::GetGLContext()->PathParameteriCHROMIUM(path, pname, value);
1554 void GL_APIENTRY GLES2PathStencilFuncCHROMIUM(GLenum func,
1555 GLint ref,
1556 GLuint mask) {
1557 gles2::GetGLContext()->PathStencilFuncCHROMIUM(func, ref, mask);
1559 void GL_APIENTRY GLES2StencilFillPathCHROMIUM(GLuint path,
1560 GLenum fillMode,
1561 GLuint mask) {
1562 gles2::GetGLContext()->StencilFillPathCHROMIUM(path, fillMode, mask);
1564 void GL_APIENTRY GLES2StencilStrokePathCHROMIUM(GLuint path,
1565 GLint reference,
1566 GLuint mask) {
1567 gles2::GetGLContext()->StencilStrokePathCHROMIUM(path, reference, mask);
1569 void GL_APIENTRY GLES2CoverFillPathCHROMIUM(GLuint path, GLenum coverMode) {
1570 gles2::GetGLContext()->CoverFillPathCHROMIUM(path, coverMode);
1572 void GL_APIENTRY GLES2CoverStrokePathCHROMIUM(GLuint path, GLenum coverMode) {
1573 gles2::GetGLContext()->CoverStrokePathCHROMIUM(path, coverMode);
1575 void GL_APIENTRY GLES2StencilThenCoverFillPathCHROMIUM(GLuint path,
1576 GLenum fillMode,
1577 GLuint mask,
1578 GLenum coverMode) {
1579 gles2::GetGLContext()->StencilThenCoverFillPathCHROMIUM(path, fillMode, mask,
1580 coverMode);
1582 void GL_APIENTRY GLES2StencilThenCoverStrokePathCHROMIUM(GLuint path,
1583 GLint reference,
1584 GLuint mask,
1585 GLenum coverMode) {
1586 gles2::GetGLContext()->StencilThenCoverStrokePathCHROMIUM(path, reference,
1587 mask, coverMode);
1589 GLenum GL_APIENTRY GLES2GetGraphicsResetStatusKHR() {
1590 return gles2::GetGLContext()->GetGraphicsResetStatusKHR();
1592 void GL_APIENTRY GLES2BlendBarrierKHR() {
1593 gles2::GetGLContext()->BlendBarrierKHR();
1596 namespace gles2 {
1598 extern const NameToFunc g_gles2_function_table[] = {
1600 "glActiveTexture",
1601 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture),
1604 "glAttachShader",
1605 reinterpret_cast<GLES2FunctionPointer>(glAttachShader),
1608 "glBindAttribLocation",
1609 reinterpret_cast<GLES2FunctionPointer>(glBindAttribLocation),
1612 "glBindBuffer", reinterpret_cast<GLES2FunctionPointer>(glBindBuffer),
1615 "glBindBufferBase",
1616 reinterpret_cast<GLES2FunctionPointer>(glBindBufferBase),
1619 "glBindBufferRange",
1620 reinterpret_cast<GLES2FunctionPointer>(glBindBufferRange),
1623 "glBindFramebuffer",
1624 reinterpret_cast<GLES2FunctionPointer>(glBindFramebuffer),
1627 "glBindRenderbuffer",
1628 reinterpret_cast<GLES2FunctionPointer>(glBindRenderbuffer),
1631 "glBindSampler", reinterpret_cast<GLES2FunctionPointer>(glBindSampler),
1634 "glBindTexture", reinterpret_cast<GLES2FunctionPointer>(glBindTexture),
1637 "glBindTransformFeedback",
1638 reinterpret_cast<GLES2FunctionPointer>(glBindTransformFeedback),
1641 "glBlendColor", reinterpret_cast<GLES2FunctionPointer>(glBlendColor),
1644 "glBlendEquation",
1645 reinterpret_cast<GLES2FunctionPointer>(glBlendEquation),
1648 "glBlendEquationSeparate",
1649 reinterpret_cast<GLES2FunctionPointer>(glBlendEquationSeparate),
1652 "glBlendFunc", reinterpret_cast<GLES2FunctionPointer>(glBlendFunc),
1655 "glBlendFuncSeparate",
1656 reinterpret_cast<GLES2FunctionPointer>(glBlendFuncSeparate),
1659 "glBufferData", reinterpret_cast<GLES2FunctionPointer>(glBufferData),
1662 "glBufferSubData",
1663 reinterpret_cast<GLES2FunctionPointer>(glBufferSubData),
1666 "glCheckFramebufferStatus",
1667 reinterpret_cast<GLES2FunctionPointer>(glCheckFramebufferStatus),
1670 "glClear", reinterpret_cast<GLES2FunctionPointer>(glClear),
1673 "glClearBufferfi",
1674 reinterpret_cast<GLES2FunctionPointer>(glClearBufferfi),
1677 "glClearBufferfv",
1678 reinterpret_cast<GLES2FunctionPointer>(glClearBufferfv),
1681 "glClearBufferiv",
1682 reinterpret_cast<GLES2FunctionPointer>(glClearBufferiv),
1685 "glClearBufferuiv",
1686 reinterpret_cast<GLES2FunctionPointer>(glClearBufferuiv),
1689 "glClearColor", reinterpret_cast<GLES2FunctionPointer>(glClearColor),
1692 "glClearDepthf", reinterpret_cast<GLES2FunctionPointer>(glClearDepthf),
1695 "glClearStencil",
1696 reinterpret_cast<GLES2FunctionPointer>(glClearStencil),
1699 "glClientWaitSync",
1700 reinterpret_cast<GLES2FunctionPointer>(glClientWaitSync),
1703 "glColorMask", reinterpret_cast<GLES2FunctionPointer>(glColorMask),
1706 "glCompileShader",
1707 reinterpret_cast<GLES2FunctionPointer>(glCompileShader),
1710 "glCompressedTexImage2D",
1711 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage2D),
1714 "glCompressedTexSubImage2D",
1715 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage2D),
1718 "glCompressedTexImage3D",
1719 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage3D),
1722 "glCompressedTexSubImage3D",
1723 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage3D),
1726 "glCopyBufferSubData",
1727 reinterpret_cast<GLES2FunctionPointer>(glCopyBufferSubData),
1730 "glCopyTexImage2D",
1731 reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D),
1734 "glCopyTexSubImage2D",
1735 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D),
1738 "glCopyTexSubImage3D",
1739 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage3D),
1742 "glCreateProgram",
1743 reinterpret_cast<GLES2FunctionPointer>(glCreateProgram),
1746 "glCreateShader",
1747 reinterpret_cast<GLES2FunctionPointer>(glCreateShader),
1750 "glCullFace", reinterpret_cast<GLES2FunctionPointer>(glCullFace),
1753 "glDeleteBuffers",
1754 reinterpret_cast<GLES2FunctionPointer>(glDeleteBuffers),
1757 "glDeleteFramebuffers",
1758 reinterpret_cast<GLES2FunctionPointer>(glDeleteFramebuffers),
1761 "glDeleteProgram",
1762 reinterpret_cast<GLES2FunctionPointer>(glDeleteProgram),
1765 "glDeleteRenderbuffers",
1766 reinterpret_cast<GLES2FunctionPointer>(glDeleteRenderbuffers),
1769 "glDeleteSamplers",
1770 reinterpret_cast<GLES2FunctionPointer>(glDeleteSamplers),
1773 "glDeleteSync", reinterpret_cast<GLES2FunctionPointer>(glDeleteSync),
1776 "glDeleteShader",
1777 reinterpret_cast<GLES2FunctionPointer>(glDeleteShader),
1780 "glDeleteTextures",
1781 reinterpret_cast<GLES2FunctionPointer>(glDeleteTextures),
1784 "glDeleteTransformFeedbacks",
1785 reinterpret_cast<GLES2FunctionPointer>(glDeleteTransformFeedbacks),
1788 "glDepthFunc", reinterpret_cast<GLES2FunctionPointer>(glDepthFunc),
1791 "glDepthMask", reinterpret_cast<GLES2FunctionPointer>(glDepthMask),
1794 "glDepthRangef", reinterpret_cast<GLES2FunctionPointer>(glDepthRangef),
1797 "glDetachShader",
1798 reinterpret_cast<GLES2FunctionPointer>(glDetachShader),
1801 "glDisable", reinterpret_cast<GLES2FunctionPointer>(glDisable),
1804 "glDisableVertexAttribArray",
1805 reinterpret_cast<GLES2FunctionPointer>(glDisableVertexAttribArray),
1808 "glDrawArrays", reinterpret_cast<GLES2FunctionPointer>(glDrawArrays),
1811 "glDrawElements",
1812 reinterpret_cast<GLES2FunctionPointer>(glDrawElements),
1815 "glDrawRangeElements",
1816 reinterpret_cast<GLES2FunctionPointer>(glDrawRangeElements),
1819 "glEnable", reinterpret_cast<GLES2FunctionPointer>(glEnable),
1822 "glEnableVertexAttribArray",
1823 reinterpret_cast<GLES2FunctionPointer>(glEnableVertexAttribArray),
1826 "glFenceSync", reinterpret_cast<GLES2FunctionPointer>(glFenceSync),
1829 "glFinish", reinterpret_cast<GLES2FunctionPointer>(glFinish),
1832 "glFlush", reinterpret_cast<GLES2FunctionPointer>(glFlush),
1835 "glFramebufferRenderbuffer",
1836 reinterpret_cast<GLES2FunctionPointer>(glFramebufferRenderbuffer),
1839 "glFramebufferTexture2D",
1840 reinterpret_cast<GLES2FunctionPointer>(glFramebufferTexture2D),
1843 "glFramebufferTextureLayer",
1844 reinterpret_cast<GLES2FunctionPointer>(glFramebufferTextureLayer),
1847 "glFrontFace", reinterpret_cast<GLES2FunctionPointer>(glFrontFace),
1850 "glGenBuffers", reinterpret_cast<GLES2FunctionPointer>(glGenBuffers),
1853 "glGenerateMipmap",
1854 reinterpret_cast<GLES2FunctionPointer>(glGenerateMipmap),
1857 "glGenFramebuffers",
1858 reinterpret_cast<GLES2FunctionPointer>(glGenFramebuffers),
1861 "glGenRenderbuffers",
1862 reinterpret_cast<GLES2FunctionPointer>(glGenRenderbuffers),
1865 "glGenSamplers", reinterpret_cast<GLES2FunctionPointer>(glGenSamplers),
1868 "glGenTextures", reinterpret_cast<GLES2FunctionPointer>(glGenTextures),
1871 "glGenTransformFeedbacks",
1872 reinterpret_cast<GLES2FunctionPointer>(glGenTransformFeedbacks),
1875 "glGetActiveAttrib",
1876 reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib),
1879 "glGetActiveUniform",
1880 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform),
1883 "glGetActiveUniformBlockiv",
1884 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformBlockiv),
1887 "glGetActiveUniformBlockName",
1888 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformBlockName),
1891 "glGetActiveUniformsiv",
1892 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformsiv),
1895 "glGetAttachedShaders",
1896 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders),
1899 "glGetAttribLocation",
1900 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation),
1903 "glGetBooleanv", reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv),
1906 "glGetBufferParameteri64v",
1907 reinterpret_cast<GLES2FunctionPointer>(glGetBufferParameteri64v),
1910 "glGetBufferParameteriv",
1911 reinterpret_cast<GLES2FunctionPointer>(glGetBufferParameteriv),
1914 "glGetError", reinterpret_cast<GLES2FunctionPointer>(glGetError),
1917 "glGetFloatv", reinterpret_cast<GLES2FunctionPointer>(glGetFloatv),
1920 "glGetFragDataLocation",
1921 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataLocation),
1924 "glGetFramebufferAttachmentParameteriv",
1925 reinterpret_cast<GLES2FunctionPointer>(
1926 glGetFramebufferAttachmentParameteriv),
1929 "glGetInteger64v",
1930 reinterpret_cast<GLES2FunctionPointer>(glGetInteger64v),
1933 "glGetIntegeri_v",
1934 reinterpret_cast<GLES2FunctionPointer>(glGetIntegeri_v),
1937 "glGetInteger64i_v",
1938 reinterpret_cast<GLES2FunctionPointer>(glGetInteger64i_v),
1941 "glGetIntegerv", reinterpret_cast<GLES2FunctionPointer>(glGetIntegerv),
1944 "glGetInternalformativ",
1945 reinterpret_cast<GLES2FunctionPointer>(glGetInternalformativ),
1948 "glGetProgramiv",
1949 reinterpret_cast<GLES2FunctionPointer>(glGetProgramiv),
1952 "glGetProgramInfoLog",
1953 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoLog),
1956 "glGetRenderbufferParameteriv",
1957 reinterpret_cast<GLES2FunctionPointer>(glGetRenderbufferParameteriv),
1960 "glGetSamplerParameterfv",
1961 reinterpret_cast<GLES2FunctionPointer>(glGetSamplerParameterfv),
1964 "glGetSamplerParameteriv",
1965 reinterpret_cast<GLES2FunctionPointer>(glGetSamplerParameteriv),
1968 "glGetShaderiv", reinterpret_cast<GLES2FunctionPointer>(glGetShaderiv),
1971 "glGetShaderInfoLog",
1972 reinterpret_cast<GLES2FunctionPointer>(glGetShaderInfoLog),
1975 "glGetShaderPrecisionFormat",
1976 reinterpret_cast<GLES2FunctionPointer>(glGetShaderPrecisionFormat),
1979 "glGetShaderSource",
1980 reinterpret_cast<GLES2FunctionPointer>(glGetShaderSource),
1983 "glGetString", reinterpret_cast<GLES2FunctionPointer>(glGetString),
1986 "glGetSynciv", reinterpret_cast<GLES2FunctionPointer>(glGetSynciv),
1989 "glGetTexParameterfv",
1990 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv),
1993 "glGetTexParameteriv",
1994 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv),
1997 "glGetTransformFeedbackVarying",
1998 reinterpret_cast<GLES2FunctionPointer>(glGetTransformFeedbackVarying),
2001 "glGetUniformBlockIndex",
2002 reinterpret_cast<GLES2FunctionPointer>(glGetUniformBlockIndex),
2005 "glGetUniformfv",
2006 reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv),
2009 "glGetUniformiv",
2010 reinterpret_cast<GLES2FunctionPointer>(glGetUniformiv),
2013 "glGetUniformuiv",
2014 reinterpret_cast<GLES2FunctionPointer>(glGetUniformuiv),
2017 "glGetUniformIndices",
2018 reinterpret_cast<GLES2FunctionPointer>(glGetUniformIndices),
2021 "glGetUniformLocation",
2022 reinterpret_cast<GLES2FunctionPointer>(glGetUniformLocation),
2025 "glGetVertexAttribfv",
2026 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribfv),
2029 "glGetVertexAttribiv",
2030 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribiv),
2033 "glGetVertexAttribIiv",
2034 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribIiv),
2037 "glGetVertexAttribIuiv",
2038 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribIuiv),
2041 "glGetVertexAttribPointerv",
2042 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribPointerv),
2045 "glHint", reinterpret_cast<GLES2FunctionPointer>(glHint),
2048 "glInvalidateFramebuffer",
2049 reinterpret_cast<GLES2FunctionPointer>(glInvalidateFramebuffer),
2052 "glInvalidateSubFramebuffer",
2053 reinterpret_cast<GLES2FunctionPointer>(glInvalidateSubFramebuffer),
2056 "glIsBuffer", reinterpret_cast<GLES2FunctionPointer>(glIsBuffer),
2059 "glIsEnabled", reinterpret_cast<GLES2FunctionPointer>(glIsEnabled),
2062 "glIsFramebuffer",
2063 reinterpret_cast<GLES2FunctionPointer>(glIsFramebuffer),
2066 "glIsProgram", reinterpret_cast<GLES2FunctionPointer>(glIsProgram),
2069 "glIsRenderbuffer",
2070 reinterpret_cast<GLES2FunctionPointer>(glIsRenderbuffer),
2073 "glIsSampler", reinterpret_cast<GLES2FunctionPointer>(glIsSampler),
2076 "glIsShader", reinterpret_cast<GLES2FunctionPointer>(glIsShader),
2079 "glIsSync", reinterpret_cast<GLES2FunctionPointer>(glIsSync),
2082 "glIsTexture", reinterpret_cast<GLES2FunctionPointer>(glIsTexture),
2085 "glIsTransformFeedback",
2086 reinterpret_cast<GLES2FunctionPointer>(glIsTransformFeedback),
2089 "glLineWidth", reinterpret_cast<GLES2FunctionPointer>(glLineWidth),
2092 "glLinkProgram", reinterpret_cast<GLES2FunctionPointer>(glLinkProgram),
2095 "glPauseTransformFeedback",
2096 reinterpret_cast<GLES2FunctionPointer>(glPauseTransformFeedback),
2099 "glPixelStorei", reinterpret_cast<GLES2FunctionPointer>(glPixelStorei),
2102 "glPolygonOffset",
2103 reinterpret_cast<GLES2FunctionPointer>(glPolygonOffset),
2106 "glReadBuffer", reinterpret_cast<GLES2FunctionPointer>(glReadBuffer),
2109 "glReadPixels", reinterpret_cast<GLES2FunctionPointer>(glReadPixels),
2112 "glReleaseShaderCompiler",
2113 reinterpret_cast<GLES2FunctionPointer>(glReleaseShaderCompiler),
2116 "glRenderbufferStorage",
2117 reinterpret_cast<GLES2FunctionPointer>(glRenderbufferStorage),
2120 "glResumeTransformFeedback",
2121 reinterpret_cast<GLES2FunctionPointer>(glResumeTransformFeedback),
2124 "glSampleCoverage",
2125 reinterpret_cast<GLES2FunctionPointer>(glSampleCoverage),
2128 "glSamplerParameterf",
2129 reinterpret_cast<GLES2FunctionPointer>(glSamplerParameterf),
2132 "glSamplerParameterfv",
2133 reinterpret_cast<GLES2FunctionPointer>(glSamplerParameterfv),
2136 "glSamplerParameteri",
2137 reinterpret_cast<GLES2FunctionPointer>(glSamplerParameteri),
2140 "glSamplerParameteriv",
2141 reinterpret_cast<GLES2FunctionPointer>(glSamplerParameteriv),
2144 "glScissor", reinterpret_cast<GLES2FunctionPointer>(glScissor),
2147 "glShaderBinary",
2148 reinterpret_cast<GLES2FunctionPointer>(glShaderBinary),
2151 "glShaderSource",
2152 reinterpret_cast<GLES2FunctionPointer>(glShaderSource),
2155 "glShallowFinishCHROMIUM",
2156 reinterpret_cast<GLES2FunctionPointer>(glShallowFinishCHROMIUM),
2159 "glShallowFlushCHROMIUM",
2160 reinterpret_cast<GLES2FunctionPointer>(glShallowFlushCHROMIUM),
2163 "glOrderingBarrierCHROMIUM",
2164 reinterpret_cast<GLES2FunctionPointer>(glOrderingBarrierCHROMIUM),
2167 "glStencilFunc", reinterpret_cast<GLES2FunctionPointer>(glStencilFunc),
2170 "glStencilFuncSeparate",
2171 reinterpret_cast<GLES2FunctionPointer>(glStencilFuncSeparate),
2174 "glStencilMask", reinterpret_cast<GLES2FunctionPointer>(glStencilMask),
2177 "glStencilMaskSeparate",
2178 reinterpret_cast<GLES2FunctionPointer>(glStencilMaskSeparate),
2181 "glStencilOp", reinterpret_cast<GLES2FunctionPointer>(glStencilOp),
2184 "glStencilOpSeparate",
2185 reinterpret_cast<GLES2FunctionPointer>(glStencilOpSeparate),
2188 "glTexImage2D", reinterpret_cast<GLES2FunctionPointer>(glTexImage2D),
2191 "glTexImage3D", reinterpret_cast<GLES2FunctionPointer>(glTexImage3D),
2194 "glTexParameterf",
2195 reinterpret_cast<GLES2FunctionPointer>(glTexParameterf),
2198 "glTexParameterfv",
2199 reinterpret_cast<GLES2FunctionPointer>(glTexParameterfv),
2202 "glTexParameteri",
2203 reinterpret_cast<GLES2FunctionPointer>(glTexParameteri),
2206 "glTexParameteriv",
2207 reinterpret_cast<GLES2FunctionPointer>(glTexParameteriv),
2210 "glTexStorage3D",
2211 reinterpret_cast<GLES2FunctionPointer>(glTexStorage3D),
2214 "glTexSubImage2D",
2215 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D),
2218 "glTexSubImage3D",
2219 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage3D),
2222 "glTransformFeedbackVaryings",
2223 reinterpret_cast<GLES2FunctionPointer>(glTransformFeedbackVaryings),
2226 "glUniform1f", reinterpret_cast<GLES2FunctionPointer>(glUniform1f),
2229 "glUniform1fv", reinterpret_cast<GLES2FunctionPointer>(glUniform1fv),
2232 "glUniform1i", reinterpret_cast<GLES2FunctionPointer>(glUniform1i),
2235 "glUniform1iv", reinterpret_cast<GLES2FunctionPointer>(glUniform1iv),
2238 "glUniform1ui", reinterpret_cast<GLES2FunctionPointer>(glUniform1ui),
2241 "glUniform1uiv", reinterpret_cast<GLES2FunctionPointer>(glUniform1uiv),
2244 "glUniform2f", reinterpret_cast<GLES2FunctionPointer>(glUniform2f),
2247 "glUniform2fv", reinterpret_cast<GLES2FunctionPointer>(glUniform2fv),
2250 "glUniform2i", reinterpret_cast<GLES2FunctionPointer>(glUniform2i),
2253 "glUniform2iv", reinterpret_cast<GLES2FunctionPointer>(glUniform2iv),
2256 "glUniform2ui", reinterpret_cast<GLES2FunctionPointer>(glUniform2ui),
2259 "glUniform2uiv", reinterpret_cast<GLES2FunctionPointer>(glUniform2uiv),
2262 "glUniform3f", reinterpret_cast<GLES2FunctionPointer>(glUniform3f),
2265 "glUniform3fv", reinterpret_cast<GLES2FunctionPointer>(glUniform3fv),
2268 "glUniform3i", reinterpret_cast<GLES2FunctionPointer>(glUniform3i),
2271 "glUniform3iv", reinterpret_cast<GLES2FunctionPointer>(glUniform3iv),
2274 "glUniform3ui", reinterpret_cast<GLES2FunctionPointer>(glUniform3ui),
2277 "glUniform3uiv", reinterpret_cast<GLES2FunctionPointer>(glUniform3uiv),
2280 "glUniform4f", reinterpret_cast<GLES2FunctionPointer>(glUniform4f),
2283 "glUniform4fv", reinterpret_cast<GLES2FunctionPointer>(glUniform4fv),
2286 "glUniform4i", reinterpret_cast<GLES2FunctionPointer>(glUniform4i),
2289 "glUniform4iv", reinterpret_cast<GLES2FunctionPointer>(glUniform4iv),
2292 "glUniform4ui", reinterpret_cast<GLES2FunctionPointer>(glUniform4ui),
2295 "glUniform4uiv", reinterpret_cast<GLES2FunctionPointer>(glUniform4uiv),
2298 "glUniformBlockBinding",
2299 reinterpret_cast<GLES2FunctionPointer>(glUniformBlockBinding),
2302 "glUniformMatrix2fv",
2303 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2fv),
2306 "glUniformMatrix2x3fv",
2307 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2x3fv),
2310 "glUniformMatrix2x4fv",
2311 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2x4fv),
2314 "glUniformMatrix3fv",
2315 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3fv),
2318 "glUniformMatrix3x2fv",
2319 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3x2fv),
2322 "glUniformMatrix3x4fv",
2323 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3x4fv),
2326 "glUniformMatrix4fv",
2327 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4fv),
2330 "glUniformMatrix4x2fv",
2331 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x2fv),
2334 "glUniformMatrix4x3fv",
2335 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x3fv),
2338 "glUseProgram", reinterpret_cast<GLES2FunctionPointer>(glUseProgram),
2341 "glValidateProgram",
2342 reinterpret_cast<GLES2FunctionPointer>(glValidateProgram),
2345 "glVertexAttrib1f",
2346 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1f),
2349 "glVertexAttrib1fv",
2350 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1fv),
2353 "glVertexAttrib2f",
2354 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2f),
2357 "glVertexAttrib2fv",
2358 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2fv),
2361 "glVertexAttrib3f",
2362 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3f),
2365 "glVertexAttrib3fv",
2366 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3fv),
2369 "glVertexAttrib4f",
2370 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4f),
2373 "glVertexAttrib4fv",
2374 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4fv),
2377 "glVertexAttribI4i",
2378 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4i),
2381 "glVertexAttribI4iv",
2382 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4iv),
2385 "glVertexAttribI4ui",
2386 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4ui),
2389 "glVertexAttribI4uiv",
2390 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4uiv),
2393 "glVertexAttribIPointer",
2394 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribIPointer),
2397 "glVertexAttribPointer",
2398 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribPointer),
2401 "glViewport", reinterpret_cast<GLES2FunctionPointer>(glViewport),
2404 "glWaitSync", reinterpret_cast<GLES2FunctionPointer>(glWaitSync),
2407 "glBlitFramebufferCHROMIUM",
2408 reinterpret_cast<GLES2FunctionPointer>(glBlitFramebufferCHROMIUM),
2411 "glRenderbufferStorageMultisampleCHROMIUM",
2412 reinterpret_cast<GLES2FunctionPointer>(
2413 glRenderbufferStorageMultisampleCHROMIUM),
2416 "glRenderbufferStorageMultisampleEXT",
2417 reinterpret_cast<GLES2FunctionPointer>(
2418 glRenderbufferStorageMultisampleEXT),
2421 "glFramebufferTexture2DMultisampleEXT",
2422 reinterpret_cast<GLES2FunctionPointer>(
2423 glFramebufferTexture2DMultisampleEXT),
2426 "glTexStorage2DEXT",
2427 reinterpret_cast<GLES2FunctionPointer>(glTexStorage2DEXT),
2430 "glGenQueriesEXT",
2431 reinterpret_cast<GLES2FunctionPointer>(glGenQueriesEXT),
2434 "glDeleteQueriesEXT",
2435 reinterpret_cast<GLES2FunctionPointer>(glDeleteQueriesEXT),
2438 "glQueryCounterEXT",
2439 reinterpret_cast<GLES2FunctionPointer>(glQueryCounterEXT),
2442 "glIsQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT),
2445 "glBeginQueryEXT",
2446 reinterpret_cast<GLES2FunctionPointer>(glBeginQueryEXT),
2449 "glBeginTransformFeedback",
2450 reinterpret_cast<GLES2FunctionPointer>(glBeginTransformFeedback),
2453 "glEndQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glEndQueryEXT),
2456 "glEndTransformFeedback",
2457 reinterpret_cast<GLES2FunctionPointer>(glEndTransformFeedback),
2460 "glGetQueryivEXT",
2461 reinterpret_cast<GLES2FunctionPointer>(glGetQueryivEXT),
2464 "glGetQueryObjectuivEXT",
2465 reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjectuivEXT),
2468 "glGetQueryObjectui64vEXT",
2469 reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjectui64vEXT),
2472 "glInsertEventMarkerEXT",
2473 reinterpret_cast<GLES2FunctionPointer>(glInsertEventMarkerEXT),
2476 "glPushGroupMarkerEXT",
2477 reinterpret_cast<GLES2FunctionPointer>(glPushGroupMarkerEXT),
2480 "glPopGroupMarkerEXT",
2481 reinterpret_cast<GLES2FunctionPointer>(glPopGroupMarkerEXT),
2484 "glGenVertexArraysOES",
2485 reinterpret_cast<GLES2FunctionPointer>(glGenVertexArraysOES),
2488 "glDeleteVertexArraysOES",
2489 reinterpret_cast<GLES2FunctionPointer>(glDeleteVertexArraysOES),
2492 "glIsVertexArrayOES",
2493 reinterpret_cast<GLES2FunctionPointer>(glIsVertexArrayOES),
2496 "glBindVertexArrayOES",
2497 reinterpret_cast<GLES2FunctionPointer>(glBindVertexArrayOES),
2500 "glSwapBuffers", reinterpret_cast<GLES2FunctionPointer>(glSwapBuffers),
2503 "glGetMaxValueInBufferCHROMIUM",
2504 reinterpret_cast<GLES2FunctionPointer>(glGetMaxValueInBufferCHROMIUM),
2507 "glEnableFeatureCHROMIUM",
2508 reinterpret_cast<GLES2FunctionPointer>(glEnableFeatureCHROMIUM),
2511 "glMapBufferCHROMIUM",
2512 reinterpret_cast<GLES2FunctionPointer>(glMapBufferCHROMIUM),
2515 "glUnmapBufferCHROMIUM",
2516 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferCHROMIUM),
2519 "glMapBufferSubDataCHROMIUM",
2520 reinterpret_cast<GLES2FunctionPointer>(glMapBufferSubDataCHROMIUM),
2523 "glUnmapBufferSubDataCHROMIUM",
2524 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferSubDataCHROMIUM),
2527 "glMapBufferRange",
2528 reinterpret_cast<GLES2FunctionPointer>(glMapBufferRange),
2531 "glUnmapBuffer", reinterpret_cast<GLES2FunctionPointer>(glUnmapBuffer),
2534 "glMapTexSubImage2DCHROMIUM",
2535 reinterpret_cast<GLES2FunctionPointer>(glMapTexSubImage2DCHROMIUM),
2538 "glUnmapTexSubImage2DCHROMIUM",
2539 reinterpret_cast<GLES2FunctionPointer>(glUnmapTexSubImage2DCHROMIUM),
2542 "glResizeCHROMIUM",
2543 reinterpret_cast<GLES2FunctionPointer>(glResizeCHROMIUM),
2546 "glGetRequestableExtensionsCHROMIUM",
2547 reinterpret_cast<GLES2FunctionPointer>(
2548 glGetRequestableExtensionsCHROMIUM),
2551 "glRequestExtensionCHROMIUM",
2552 reinterpret_cast<GLES2FunctionPointer>(glRequestExtensionCHROMIUM),
2555 "glRateLimitOffscreenContextCHROMIUM",
2556 reinterpret_cast<GLES2FunctionPointer>(
2557 glRateLimitOffscreenContextCHROMIUM),
2560 "glGetProgramInfoCHROMIUM",
2561 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM),
2564 "glGetUniformBlocksCHROMIUM",
2565 reinterpret_cast<GLES2FunctionPointer>(glGetUniformBlocksCHROMIUM),
2568 "glGetTransformFeedbackVaryingsCHROMIUM",
2569 reinterpret_cast<GLES2FunctionPointer>(
2570 glGetTransformFeedbackVaryingsCHROMIUM),
2573 "glGetUniformsES3CHROMIUM",
2574 reinterpret_cast<GLES2FunctionPointer>(glGetUniformsES3CHROMIUM),
2577 "glCreateStreamTextureCHROMIUM",
2578 reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM),
2581 "glCreateImageCHROMIUM",
2582 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM),
2585 "glDestroyImageCHROMIUM",
2586 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM),
2589 "glCreateGpuMemoryBufferImageCHROMIUM",
2590 reinterpret_cast<GLES2FunctionPointer>(
2591 glCreateGpuMemoryBufferImageCHROMIUM),
2594 "glGetTranslatedShaderSourceANGLE",
2595 reinterpret_cast<GLES2FunctionPointer>(
2596 glGetTranslatedShaderSourceANGLE),
2599 "glPostSubBufferCHROMIUM",
2600 reinterpret_cast<GLES2FunctionPointer>(glPostSubBufferCHROMIUM),
2603 "glTexImageIOSurface2DCHROMIUM",
2604 reinterpret_cast<GLES2FunctionPointer>(glTexImageIOSurface2DCHROMIUM),
2607 "glCopyTextureCHROMIUM",
2608 reinterpret_cast<GLES2FunctionPointer>(glCopyTextureCHROMIUM),
2611 "glCopySubTextureCHROMIUM",
2612 reinterpret_cast<GLES2FunctionPointer>(glCopySubTextureCHROMIUM),
2615 "glCompressedCopyTextureCHROMIUM",
2616 reinterpret_cast<GLES2FunctionPointer>(glCompressedCopyTextureCHROMIUM),
2619 "glDrawArraysInstancedANGLE",
2620 reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE),
2623 "glDrawElementsInstancedANGLE",
2624 reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE),
2627 "glVertexAttribDivisorANGLE",
2628 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE),
2631 "glGenMailboxCHROMIUM",
2632 reinterpret_cast<GLES2FunctionPointer>(glGenMailboxCHROMIUM),
2635 "glProduceTextureCHROMIUM",
2636 reinterpret_cast<GLES2FunctionPointer>(glProduceTextureCHROMIUM),
2639 "glProduceTextureDirectCHROMIUM",
2640 reinterpret_cast<GLES2FunctionPointer>(glProduceTextureDirectCHROMIUM),
2643 "glConsumeTextureCHROMIUM",
2644 reinterpret_cast<GLES2FunctionPointer>(glConsumeTextureCHROMIUM),
2647 "glCreateAndConsumeTextureCHROMIUM",
2648 reinterpret_cast<GLES2FunctionPointer>(
2649 glCreateAndConsumeTextureCHROMIUM),
2652 "glBindUniformLocationCHROMIUM",
2653 reinterpret_cast<GLES2FunctionPointer>(glBindUniformLocationCHROMIUM),
2656 "glGenValuebuffersCHROMIUM",
2657 reinterpret_cast<GLES2FunctionPointer>(glGenValuebuffersCHROMIUM),
2660 "glDeleteValuebuffersCHROMIUM",
2661 reinterpret_cast<GLES2FunctionPointer>(glDeleteValuebuffersCHROMIUM),
2664 "glIsValuebufferCHROMIUM",
2665 reinterpret_cast<GLES2FunctionPointer>(glIsValuebufferCHROMIUM),
2668 "glBindValuebufferCHROMIUM",
2669 reinterpret_cast<GLES2FunctionPointer>(glBindValuebufferCHROMIUM),
2672 "glSubscribeValueCHROMIUM",
2673 reinterpret_cast<GLES2FunctionPointer>(glSubscribeValueCHROMIUM),
2676 "glPopulateSubscribedValuesCHROMIUM",
2677 reinterpret_cast<GLES2FunctionPointer>(
2678 glPopulateSubscribedValuesCHROMIUM),
2681 "glUniformValuebufferCHROMIUM",
2682 reinterpret_cast<GLES2FunctionPointer>(glUniformValuebufferCHROMIUM),
2685 "glBindTexImage2DCHROMIUM",
2686 reinterpret_cast<GLES2FunctionPointer>(glBindTexImage2DCHROMIUM),
2689 "glReleaseTexImage2DCHROMIUM",
2690 reinterpret_cast<GLES2FunctionPointer>(glReleaseTexImage2DCHROMIUM),
2693 "glTraceBeginCHROMIUM",
2694 reinterpret_cast<GLES2FunctionPointer>(glTraceBeginCHROMIUM),
2697 "glTraceEndCHROMIUM",
2698 reinterpret_cast<GLES2FunctionPointer>(glTraceEndCHROMIUM),
2701 "glAsyncTexSubImage2DCHROMIUM",
2702 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexSubImage2DCHROMIUM),
2705 "glAsyncTexImage2DCHROMIUM",
2706 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexImage2DCHROMIUM),
2709 "glWaitAsyncTexImage2DCHROMIUM",
2710 reinterpret_cast<GLES2FunctionPointer>(glWaitAsyncTexImage2DCHROMIUM),
2713 "glWaitAllAsyncTexImage2DCHROMIUM",
2714 reinterpret_cast<GLES2FunctionPointer>(
2715 glWaitAllAsyncTexImage2DCHROMIUM),
2718 "glDiscardFramebufferEXT",
2719 reinterpret_cast<GLES2FunctionPointer>(glDiscardFramebufferEXT),
2722 "glLoseContextCHROMIUM",
2723 reinterpret_cast<GLES2FunctionPointer>(glLoseContextCHROMIUM),
2726 "glInsertSyncPointCHROMIUM",
2727 reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM),
2730 "glWaitSyncPointCHROMIUM",
2731 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM),
2734 "glDrawBuffersEXT",
2735 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT),
2738 "glDiscardBackbufferCHROMIUM",
2739 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM),
2742 "glScheduleOverlayPlaneCHROMIUM",
2743 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM),
2746 "glSwapInterval",
2747 reinterpret_cast<GLES2FunctionPointer>(glSwapInterval),
2750 "glFlushDriverCachesCHROMIUM",
2751 reinterpret_cast<GLES2FunctionPointer>(glFlushDriverCachesCHROMIUM),
2754 "glMatrixLoadfCHROMIUM",
2755 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM),
2758 "glMatrixLoadIdentityCHROMIUM",
2759 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM),
2762 "glGenPathsCHROMIUM",
2763 reinterpret_cast<GLES2FunctionPointer>(glGenPathsCHROMIUM),
2766 "glDeletePathsCHROMIUM",
2767 reinterpret_cast<GLES2FunctionPointer>(glDeletePathsCHROMIUM),
2770 "glIsPathCHROMIUM",
2771 reinterpret_cast<GLES2FunctionPointer>(glIsPathCHROMIUM),
2774 "glPathCommandsCHROMIUM",
2775 reinterpret_cast<GLES2FunctionPointer>(glPathCommandsCHROMIUM),
2778 "glPathParameterfCHROMIUM",
2779 reinterpret_cast<GLES2FunctionPointer>(glPathParameterfCHROMIUM),
2782 "glPathParameteriCHROMIUM",
2783 reinterpret_cast<GLES2FunctionPointer>(glPathParameteriCHROMIUM),
2786 "glPathStencilFuncCHROMIUM",
2787 reinterpret_cast<GLES2FunctionPointer>(glPathStencilFuncCHROMIUM),
2790 "glStencilFillPathCHROMIUM",
2791 reinterpret_cast<GLES2FunctionPointer>(glStencilFillPathCHROMIUM),
2794 "glStencilStrokePathCHROMIUM",
2795 reinterpret_cast<GLES2FunctionPointer>(glStencilStrokePathCHROMIUM),
2798 "glCoverFillPathCHROMIUM",
2799 reinterpret_cast<GLES2FunctionPointer>(glCoverFillPathCHROMIUM),
2802 "glCoverStrokePathCHROMIUM",
2803 reinterpret_cast<GLES2FunctionPointer>(glCoverStrokePathCHROMIUM),
2806 "glStencilThenCoverFillPathCHROMIUM",
2807 reinterpret_cast<GLES2FunctionPointer>(
2808 glStencilThenCoverFillPathCHROMIUM),
2811 "glStencilThenCoverStrokePathCHROMIUM",
2812 reinterpret_cast<GLES2FunctionPointer>(
2813 glStencilThenCoverStrokePathCHROMIUM),
2816 "glGetGraphicsResetStatusKHR",
2817 reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR),
2820 "glBlendBarrierKHR",
2821 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR),
2824 NULL, NULL,
2828 } // namespace gles2
2829 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_