Revert "Reland c91b178b07b0d - Delete dead signin code (SigninGlobalError)"
[chromium-blink-merge.git] / gpu / command_buffer / client / gles2_c_lib_autogen.h
blob989c500a03cb12e17988b460a26c5e9f36d816e4
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 GLES2AsyncTexSubImage2DCHROMIUM(GLenum target,
1474 GLint level,
1475 GLint xoffset,
1476 GLint yoffset,
1477 GLsizei width,
1478 GLsizei height,
1479 GLenum format,
1480 GLenum type,
1481 const void* data) {
1482 gles2::GetGLContext()->AsyncTexSubImage2DCHROMIUM(
1483 target, level, xoffset, yoffset, width, height, format, type, data);
1485 void GL_APIENTRY GLES2AsyncTexImage2DCHROMIUM(GLenum target,
1486 GLint level,
1487 GLenum internalformat,
1488 GLsizei width,
1489 GLsizei height,
1490 GLint border,
1491 GLenum format,
1492 GLenum type,
1493 const void* pixels) {
1494 gles2::GetGLContext()->AsyncTexImage2DCHROMIUM(target, level, internalformat,
1495 width, height, border, format,
1496 type, pixels);
1498 void GL_APIENTRY GLES2WaitAsyncTexImage2DCHROMIUM(GLenum target) {
1499 gles2::GetGLContext()->WaitAsyncTexImage2DCHROMIUM(target);
1501 void GL_APIENTRY GLES2WaitAllAsyncTexImage2DCHROMIUM() {
1502 gles2::GetGLContext()->WaitAllAsyncTexImage2DCHROMIUM();
1504 void GL_APIENTRY GLES2DiscardFramebufferEXT(GLenum target,
1505 GLsizei count,
1506 const GLenum* attachments) {
1507 gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments);
1509 void GL_APIENTRY GLES2LoseContextCHROMIUM(GLenum current, GLenum other) {
1510 gles2::GetGLContext()->LoseContextCHROMIUM(current, other);
1512 GLuint GL_APIENTRY GLES2InsertSyncPointCHROMIUM() {
1513 return gles2::GetGLContext()->InsertSyncPointCHROMIUM();
1515 void GL_APIENTRY GLES2WaitSyncPointCHROMIUM(GLuint sync_point) {
1516 gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point);
1518 void GL_APIENTRY GLES2DrawBuffersEXT(GLsizei count, const GLenum* bufs) {
1519 gles2::GetGLContext()->DrawBuffersEXT(count, bufs);
1521 void GL_APIENTRY GLES2DiscardBackbufferCHROMIUM() {
1522 gles2::GetGLContext()->DiscardBackbufferCHROMIUM();
1524 void GL_APIENTRY GLES2ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
1525 GLenum plane_transform,
1526 GLuint overlay_texture_id,
1527 GLint bounds_x,
1528 GLint bounds_y,
1529 GLint bounds_width,
1530 GLint bounds_height,
1531 GLfloat uv_x,
1532 GLfloat uv_y,
1533 GLfloat uv_width,
1534 GLfloat uv_height) {
1535 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM(
1536 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y,
1537 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height);
1539 void GL_APIENTRY GLES2SwapInterval(GLint interval) {
1540 gles2::GetGLContext()->SwapInterval(interval);
1542 void GL_APIENTRY GLES2FlushDriverCachesCHROMIUM() {
1543 gles2::GetGLContext()->FlushDriverCachesCHROMIUM();
1545 void GL_APIENTRY GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) {
1546 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m);
1548 void GL_APIENTRY GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) {
1549 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode);
1551 GLuint GL_APIENTRY GLES2GenPathsCHROMIUM(GLsizei range) {
1552 return gles2::GetGLContext()->GenPathsCHROMIUM(range);
1554 void GL_APIENTRY GLES2DeletePathsCHROMIUM(GLuint path, GLsizei range) {
1555 gles2::GetGLContext()->DeletePathsCHROMIUM(path, range);
1557 GLboolean GL_APIENTRY GLES2IsPathCHROMIUM(GLuint path) {
1558 return gles2::GetGLContext()->IsPathCHROMIUM(path);
1560 void GL_APIENTRY GLES2PathCommandsCHROMIUM(GLuint path,
1561 GLsizei numCommands,
1562 const GLubyte* commands,
1563 GLsizei numCoords,
1564 GLenum coordType,
1565 const GLvoid* coords) {
1566 gles2::GetGLContext()->PathCommandsCHROMIUM(path, numCommands, commands,
1567 numCoords, coordType, coords);
1569 void GL_APIENTRY GLES2PathParameterfCHROMIUM(GLuint path,
1570 GLenum pname,
1571 GLfloat value) {
1572 gles2::GetGLContext()->PathParameterfCHROMIUM(path, pname, value);
1574 void GL_APIENTRY GLES2PathParameteriCHROMIUM(GLuint path,
1575 GLenum pname,
1576 GLint value) {
1577 gles2::GetGLContext()->PathParameteriCHROMIUM(path, pname, value);
1579 void GL_APIENTRY GLES2PathStencilFuncCHROMIUM(GLenum func,
1580 GLint ref,
1581 GLuint mask) {
1582 gles2::GetGLContext()->PathStencilFuncCHROMIUM(func, ref, mask);
1584 void GL_APIENTRY GLES2StencilFillPathCHROMIUM(GLuint path,
1585 GLenum fillMode,
1586 GLuint mask) {
1587 gles2::GetGLContext()->StencilFillPathCHROMIUM(path, fillMode, mask);
1589 void GL_APIENTRY GLES2StencilStrokePathCHROMIUM(GLuint path,
1590 GLint reference,
1591 GLuint mask) {
1592 gles2::GetGLContext()->StencilStrokePathCHROMIUM(path, reference, mask);
1594 void GL_APIENTRY GLES2CoverFillPathCHROMIUM(GLuint path, GLenum coverMode) {
1595 gles2::GetGLContext()->CoverFillPathCHROMIUM(path, coverMode);
1597 void GL_APIENTRY GLES2CoverStrokePathCHROMIUM(GLuint path, GLenum coverMode) {
1598 gles2::GetGLContext()->CoverStrokePathCHROMIUM(path, coverMode);
1600 void GL_APIENTRY GLES2StencilThenCoverFillPathCHROMIUM(GLuint path,
1601 GLenum fillMode,
1602 GLuint mask,
1603 GLenum coverMode) {
1604 gles2::GetGLContext()->StencilThenCoverFillPathCHROMIUM(path, fillMode, mask,
1605 coverMode);
1607 void GL_APIENTRY GLES2StencilThenCoverStrokePathCHROMIUM(GLuint path,
1608 GLint reference,
1609 GLuint mask,
1610 GLenum coverMode) {
1611 gles2::GetGLContext()->StencilThenCoverStrokePathCHROMIUM(path, reference,
1612 mask, coverMode);
1614 GLenum GL_APIENTRY GLES2GetGraphicsResetStatusKHR() {
1615 return gles2::GetGLContext()->GetGraphicsResetStatusKHR();
1617 void GL_APIENTRY GLES2BlendBarrierKHR() {
1618 gles2::GetGLContext()->BlendBarrierKHR();
1621 namespace gles2 {
1623 extern const NameToFunc g_gles2_function_table[] = {
1625 "glActiveTexture",
1626 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture),
1629 "glAttachShader",
1630 reinterpret_cast<GLES2FunctionPointer>(glAttachShader),
1633 "glBindAttribLocation",
1634 reinterpret_cast<GLES2FunctionPointer>(glBindAttribLocation),
1637 "glBindBuffer", reinterpret_cast<GLES2FunctionPointer>(glBindBuffer),
1640 "glBindBufferBase",
1641 reinterpret_cast<GLES2FunctionPointer>(glBindBufferBase),
1644 "glBindBufferRange",
1645 reinterpret_cast<GLES2FunctionPointer>(glBindBufferRange),
1648 "glBindFramebuffer",
1649 reinterpret_cast<GLES2FunctionPointer>(glBindFramebuffer),
1652 "glBindRenderbuffer",
1653 reinterpret_cast<GLES2FunctionPointer>(glBindRenderbuffer),
1656 "glBindSampler", reinterpret_cast<GLES2FunctionPointer>(glBindSampler),
1659 "glBindTexture", reinterpret_cast<GLES2FunctionPointer>(glBindTexture),
1662 "glBindTransformFeedback",
1663 reinterpret_cast<GLES2FunctionPointer>(glBindTransformFeedback),
1666 "glBlendColor", reinterpret_cast<GLES2FunctionPointer>(glBlendColor),
1669 "glBlendEquation",
1670 reinterpret_cast<GLES2FunctionPointer>(glBlendEquation),
1673 "glBlendEquationSeparate",
1674 reinterpret_cast<GLES2FunctionPointer>(glBlendEquationSeparate),
1677 "glBlendFunc", reinterpret_cast<GLES2FunctionPointer>(glBlendFunc),
1680 "glBlendFuncSeparate",
1681 reinterpret_cast<GLES2FunctionPointer>(glBlendFuncSeparate),
1684 "glBufferData", reinterpret_cast<GLES2FunctionPointer>(glBufferData),
1687 "glBufferSubData",
1688 reinterpret_cast<GLES2FunctionPointer>(glBufferSubData),
1691 "glCheckFramebufferStatus",
1692 reinterpret_cast<GLES2FunctionPointer>(glCheckFramebufferStatus),
1695 "glClear", reinterpret_cast<GLES2FunctionPointer>(glClear),
1698 "glClearBufferfi",
1699 reinterpret_cast<GLES2FunctionPointer>(glClearBufferfi),
1702 "glClearBufferfv",
1703 reinterpret_cast<GLES2FunctionPointer>(glClearBufferfv),
1706 "glClearBufferiv",
1707 reinterpret_cast<GLES2FunctionPointer>(glClearBufferiv),
1710 "glClearBufferuiv",
1711 reinterpret_cast<GLES2FunctionPointer>(glClearBufferuiv),
1714 "glClearColor", reinterpret_cast<GLES2FunctionPointer>(glClearColor),
1717 "glClearDepthf", reinterpret_cast<GLES2FunctionPointer>(glClearDepthf),
1720 "glClearStencil",
1721 reinterpret_cast<GLES2FunctionPointer>(glClearStencil),
1724 "glClientWaitSync",
1725 reinterpret_cast<GLES2FunctionPointer>(glClientWaitSync),
1728 "glColorMask", reinterpret_cast<GLES2FunctionPointer>(glColorMask),
1731 "glCompileShader",
1732 reinterpret_cast<GLES2FunctionPointer>(glCompileShader),
1735 "glCompressedTexImage2D",
1736 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage2D),
1739 "glCompressedTexSubImage2D",
1740 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage2D),
1743 "glCompressedTexImage3D",
1744 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage3D),
1747 "glCompressedTexSubImage3D",
1748 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage3D),
1751 "glCopyBufferSubData",
1752 reinterpret_cast<GLES2FunctionPointer>(glCopyBufferSubData),
1755 "glCopyTexImage2D",
1756 reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D),
1759 "glCopyTexSubImage2D",
1760 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D),
1763 "glCopyTexSubImage3D",
1764 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage3D),
1767 "glCreateProgram",
1768 reinterpret_cast<GLES2FunctionPointer>(glCreateProgram),
1771 "glCreateShader",
1772 reinterpret_cast<GLES2FunctionPointer>(glCreateShader),
1775 "glCullFace", reinterpret_cast<GLES2FunctionPointer>(glCullFace),
1778 "glDeleteBuffers",
1779 reinterpret_cast<GLES2FunctionPointer>(glDeleteBuffers),
1782 "glDeleteFramebuffers",
1783 reinterpret_cast<GLES2FunctionPointer>(glDeleteFramebuffers),
1786 "glDeleteProgram",
1787 reinterpret_cast<GLES2FunctionPointer>(glDeleteProgram),
1790 "glDeleteRenderbuffers",
1791 reinterpret_cast<GLES2FunctionPointer>(glDeleteRenderbuffers),
1794 "glDeleteSamplers",
1795 reinterpret_cast<GLES2FunctionPointer>(glDeleteSamplers),
1798 "glDeleteSync", reinterpret_cast<GLES2FunctionPointer>(glDeleteSync),
1801 "glDeleteShader",
1802 reinterpret_cast<GLES2FunctionPointer>(glDeleteShader),
1805 "glDeleteTextures",
1806 reinterpret_cast<GLES2FunctionPointer>(glDeleteTextures),
1809 "glDeleteTransformFeedbacks",
1810 reinterpret_cast<GLES2FunctionPointer>(glDeleteTransformFeedbacks),
1813 "glDepthFunc", reinterpret_cast<GLES2FunctionPointer>(glDepthFunc),
1816 "glDepthMask", reinterpret_cast<GLES2FunctionPointer>(glDepthMask),
1819 "glDepthRangef", reinterpret_cast<GLES2FunctionPointer>(glDepthRangef),
1822 "glDetachShader",
1823 reinterpret_cast<GLES2FunctionPointer>(glDetachShader),
1826 "glDisable", reinterpret_cast<GLES2FunctionPointer>(glDisable),
1829 "glDisableVertexAttribArray",
1830 reinterpret_cast<GLES2FunctionPointer>(glDisableVertexAttribArray),
1833 "glDrawArrays", reinterpret_cast<GLES2FunctionPointer>(glDrawArrays),
1836 "glDrawElements",
1837 reinterpret_cast<GLES2FunctionPointer>(glDrawElements),
1840 "glDrawRangeElements",
1841 reinterpret_cast<GLES2FunctionPointer>(glDrawRangeElements),
1844 "glEnable", reinterpret_cast<GLES2FunctionPointer>(glEnable),
1847 "glEnableVertexAttribArray",
1848 reinterpret_cast<GLES2FunctionPointer>(glEnableVertexAttribArray),
1851 "glFenceSync", reinterpret_cast<GLES2FunctionPointer>(glFenceSync),
1854 "glFinish", reinterpret_cast<GLES2FunctionPointer>(glFinish),
1857 "glFlush", reinterpret_cast<GLES2FunctionPointer>(glFlush),
1860 "glFramebufferRenderbuffer",
1861 reinterpret_cast<GLES2FunctionPointer>(glFramebufferRenderbuffer),
1864 "glFramebufferTexture2D",
1865 reinterpret_cast<GLES2FunctionPointer>(glFramebufferTexture2D),
1868 "glFramebufferTextureLayer",
1869 reinterpret_cast<GLES2FunctionPointer>(glFramebufferTextureLayer),
1872 "glFrontFace", reinterpret_cast<GLES2FunctionPointer>(glFrontFace),
1875 "glGenBuffers", reinterpret_cast<GLES2FunctionPointer>(glGenBuffers),
1878 "glGenerateMipmap",
1879 reinterpret_cast<GLES2FunctionPointer>(glGenerateMipmap),
1882 "glGenFramebuffers",
1883 reinterpret_cast<GLES2FunctionPointer>(glGenFramebuffers),
1886 "glGenRenderbuffers",
1887 reinterpret_cast<GLES2FunctionPointer>(glGenRenderbuffers),
1890 "glGenSamplers", reinterpret_cast<GLES2FunctionPointer>(glGenSamplers),
1893 "glGenTextures", reinterpret_cast<GLES2FunctionPointer>(glGenTextures),
1896 "glGenTransformFeedbacks",
1897 reinterpret_cast<GLES2FunctionPointer>(glGenTransformFeedbacks),
1900 "glGetActiveAttrib",
1901 reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib),
1904 "glGetActiveUniform",
1905 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform),
1908 "glGetActiveUniformBlockiv",
1909 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformBlockiv),
1912 "glGetActiveUniformBlockName",
1913 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformBlockName),
1916 "glGetActiveUniformsiv",
1917 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformsiv),
1920 "glGetAttachedShaders",
1921 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders),
1924 "glGetAttribLocation",
1925 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation),
1928 "glGetBooleanv", reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv),
1931 "glGetBufferParameteri64v",
1932 reinterpret_cast<GLES2FunctionPointer>(glGetBufferParameteri64v),
1935 "glGetBufferParameteriv",
1936 reinterpret_cast<GLES2FunctionPointer>(glGetBufferParameteriv),
1939 "glGetError", reinterpret_cast<GLES2FunctionPointer>(glGetError),
1942 "glGetFloatv", reinterpret_cast<GLES2FunctionPointer>(glGetFloatv),
1945 "glGetFragDataLocation",
1946 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataLocation),
1949 "glGetFramebufferAttachmentParameteriv",
1950 reinterpret_cast<GLES2FunctionPointer>(
1951 glGetFramebufferAttachmentParameteriv),
1954 "glGetInteger64v",
1955 reinterpret_cast<GLES2FunctionPointer>(glGetInteger64v),
1958 "glGetIntegeri_v",
1959 reinterpret_cast<GLES2FunctionPointer>(glGetIntegeri_v),
1962 "glGetInteger64i_v",
1963 reinterpret_cast<GLES2FunctionPointer>(glGetInteger64i_v),
1966 "glGetIntegerv", reinterpret_cast<GLES2FunctionPointer>(glGetIntegerv),
1969 "glGetInternalformativ",
1970 reinterpret_cast<GLES2FunctionPointer>(glGetInternalformativ),
1973 "glGetProgramiv",
1974 reinterpret_cast<GLES2FunctionPointer>(glGetProgramiv),
1977 "glGetProgramInfoLog",
1978 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoLog),
1981 "glGetRenderbufferParameteriv",
1982 reinterpret_cast<GLES2FunctionPointer>(glGetRenderbufferParameteriv),
1985 "glGetSamplerParameterfv",
1986 reinterpret_cast<GLES2FunctionPointer>(glGetSamplerParameterfv),
1989 "glGetSamplerParameteriv",
1990 reinterpret_cast<GLES2FunctionPointer>(glGetSamplerParameteriv),
1993 "glGetShaderiv", reinterpret_cast<GLES2FunctionPointer>(glGetShaderiv),
1996 "glGetShaderInfoLog",
1997 reinterpret_cast<GLES2FunctionPointer>(glGetShaderInfoLog),
2000 "glGetShaderPrecisionFormat",
2001 reinterpret_cast<GLES2FunctionPointer>(glGetShaderPrecisionFormat),
2004 "glGetShaderSource",
2005 reinterpret_cast<GLES2FunctionPointer>(glGetShaderSource),
2008 "glGetString", reinterpret_cast<GLES2FunctionPointer>(glGetString),
2011 "glGetSynciv", reinterpret_cast<GLES2FunctionPointer>(glGetSynciv),
2014 "glGetTexParameterfv",
2015 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv),
2018 "glGetTexParameteriv",
2019 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv),
2022 "glGetTransformFeedbackVarying",
2023 reinterpret_cast<GLES2FunctionPointer>(glGetTransformFeedbackVarying),
2026 "glGetUniformBlockIndex",
2027 reinterpret_cast<GLES2FunctionPointer>(glGetUniformBlockIndex),
2030 "glGetUniformfv",
2031 reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv),
2034 "glGetUniformiv",
2035 reinterpret_cast<GLES2FunctionPointer>(glGetUniformiv),
2038 "glGetUniformuiv",
2039 reinterpret_cast<GLES2FunctionPointer>(glGetUniformuiv),
2042 "glGetUniformIndices",
2043 reinterpret_cast<GLES2FunctionPointer>(glGetUniformIndices),
2046 "glGetUniformLocation",
2047 reinterpret_cast<GLES2FunctionPointer>(glGetUniformLocation),
2050 "glGetVertexAttribfv",
2051 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribfv),
2054 "glGetVertexAttribiv",
2055 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribiv),
2058 "glGetVertexAttribIiv",
2059 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribIiv),
2062 "glGetVertexAttribIuiv",
2063 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribIuiv),
2066 "glGetVertexAttribPointerv",
2067 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribPointerv),
2070 "glHint", reinterpret_cast<GLES2FunctionPointer>(glHint),
2073 "glInvalidateFramebuffer",
2074 reinterpret_cast<GLES2FunctionPointer>(glInvalidateFramebuffer),
2077 "glInvalidateSubFramebuffer",
2078 reinterpret_cast<GLES2FunctionPointer>(glInvalidateSubFramebuffer),
2081 "glIsBuffer", reinterpret_cast<GLES2FunctionPointer>(glIsBuffer),
2084 "glIsEnabled", reinterpret_cast<GLES2FunctionPointer>(glIsEnabled),
2087 "glIsFramebuffer",
2088 reinterpret_cast<GLES2FunctionPointer>(glIsFramebuffer),
2091 "glIsProgram", reinterpret_cast<GLES2FunctionPointer>(glIsProgram),
2094 "glIsRenderbuffer",
2095 reinterpret_cast<GLES2FunctionPointer>(glIsRenderbuffer),
2098 "glIsSampler", reinterpret_cast<GLES2FunctionPointer>(glIsSampler),
2101 "glIsShader", reinterpret_cast<GLES2FunctionPointer>(glIsShader),
2104 "glIsSync", reinterpret_cast<GLES2FunctionPointer>(glIsSync),
2107 "glIsTexture", reinterpret_cast<GLES2FunctionPointer>(glIsTexture),
2110 "glIsTransformFeedback",
2111 reinterpret_cast<GLES2FunctionPointer>(glIsTransformFeedback),
2114 "glLineWidth", reinterpret_cast<GLES2FunctionPointer>(glLineWidth),
2117 "glLinkProgram", reinterpret_cast<GLES2FunctionPointer>(glLinkProgram),
2120 "glPauseTransformFeedback",
2121 reinterpret_cast<GLES2FunctionPointer>(glPauseTransformFeedback),
2124 "glPixelStorei", reinterpret_cast<GLES2FunctionPointer>(glPixelStorei),
2127 "glPolygonOffset",
2128 reinterpret_cast<GLES2FunctionPointer>(glPolygonOffset),
2131 "glReadBuffer", reinterpret_cast<GLES2FunctionPointer>(glReadBuffer),
2134 "glReadPixels", reinterpret_cast<GLES2FunctionPointer>(glReadPixels),
2137 "glReleaseShaderCompiler",
2138 reinterpret_cast<GLES2FunctionPointer>(glReleaseShaderCompiler),
2141 "glRenderbufferStorage",
2142 reinterpret_cast<GLES2FunctionPointer>(glRenderbufferStorage),
2145 "glResumeTransformFeedback",
2146 reinterpret_cast<GLES2FunctionPointer>(glResumeTransformFeedback),
2149 "glSampleCoverage",
2150 reinterpret_cast<GLES2FunctionPointer>(glSampleCoverage),
2153 "glSamplerParameterf",
2154 reinterpret_cast<GLES2FunctionPointer>(glSamplerParameterf),
2157 "glSamplerParameterfv",
2158 reinterpret_cast<GLES2FunctionPointer>(glSamplerParameterfv),
2161 "glSamplerParameteri",
2162 reinterpret_cast<GLES2FunctionPointer>(glSamplerParameteri),
2165 "glSamplerParameteriv",
2166 reinterpret_cast<GLES2FunctionPointer>(glSamplerParameteriv),
2169 "glScissor", reinterpret_cast<GLES2FunctionPointer>(glScissor),
2172 "glShaderBinary",
2173 reinterpret_cast<GLES2FunctionPointer>(glShaderBinary),
2176 "glShaderSource",
2177 reinterpret_cast<GLES2FunctionPointer>(glShaderSource),
2180 "glShallowFinishCHROMIUM",
2181 reinterpret_cast<GLES2FunctionPointer>(glShallowFinishCHROMIUM),
2184 "glShallowFlushCHROMIUM",
2185 reinterpret_cast<GLES2FunctionPointer>(glShallowFlushCHROMIUM),
2188 "glOrderingBarrierCHROMIUM",
2189 reinterpret_cast<GLES2FunctionPointer>(glOrderingBarrierCHROMIUM),
2192 "glStencilFunc", reinterpret_cast<GLES2FunctionPointer>(glStencilFunc),
2195 "glStencilFuncSeparate",
2196 reinterpret_cast<GLES2FunctionPointer>(glStencilFuncSeparate),
2199 "glStencilMask", reinterpret_cast<GLES2FunctionPointer>(glStencilMask),
2202 "glStencilMaskSeparate",
2203 reinterpret_cast<GLES2FunctionPointer>(glStencilMaskSeparate),
2206 "glStencilOp", reinterpret_cast<GLES2FunctionPointer>(glStencilOp),
2209 "glStencilOpSeparate",
2210 reinterpret_cast<GLES2FunctionPointer>(glStencilOpSeparate),
2213 "glTexImage2D", reinterpret_cast<GLES2FunctionPointer>(glTexImage2D),
2216 "glTexImage3D", reinterpret_cast<GLES2FunctionPointer>(glTexImage3D),
2219 "glTexParameterf",
2220 reinterpret_cast<GLES2FunctionPointer>(glTexParameterf),
2223 "glTexParameterfv",
2224 reinterpret_cast<GLES2FunctionPointer>(glTexParameterfv),
2227 "glTexParameteri",
2228 reinterpret_cast<GLES2FunctionPointer>(glTexParameteri),
2231 "glTexParameteriv",
2232 reinterpret_cast<GLES2FunctionPointer>(glTexParameteriv),
2235 "glTexStorage3D",
2236 reinterpret_cast<GLES2FunctionPointer>(glTexStorage3D),
2239 "glTexSubImage2D",
2240 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D),
2243 "glTexSubImage3D",
2244 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage3D),
2247 "glTransformFeedbackVaryings",
2248 reinterpret_cast<GLES2FunctionPointer>(glTransformFeedbackVaryings),
2251 "glUniform1f", reinterpret_cast<GLES2FunctionPointer>(glUniform1f),
2254 "glUniform1fv", reinterpret_cast<GLES2FunctionPointer>(glUniform1fv),
2257 "glUniform1i", reinterpret_cast<GLES2FunctionPointer>(glUniform1i),
2260 "glUniform1iv", reinterpret_cast<GLES2FunctionPointer>(glUniform1iv),
2263 "glUniform1ui", reinterpret_cast<GLES2FunctionPointer>(glUniform1ui),
2266 "glUniform1uiv", reinterpret_cast<GLES2FunctionPointer>(glUniform1uiv),
2269 "glUniform2f", reinterpret_cast<GLES2FunctionPointer>(glUniform2f),
2272 "glUniform2fv", reinterpret_cast<GLES2FunctionPointer>(glUniform2fv),
2275 "glUniform2i", reinterpret_cast<GLES2FunctionPointer>(glUniform2i),
2278 "glUniform2iv", reinterpret_cast<GLES2FunctionPointer>(glUniform2iv),
2281 "glUniform2ui", reinterpret_cast<GLES2FunctionPointer>(glUniform2ui),
2284 "glUniform2uiv", reinterpret_cast<GLES2FunctionPointer>(glUniform2uiv),
2287 "glUniform3f", reinterpret_cast<GLES2FunctionPointer>(glUniform3f),
2290 "glUniform3fv", reinterpret_cast<GLES2FunctionPointer>(glUniform3fv),
2293 "glUniform3i", reinterpret_cast<GLES2FunctionPointer>(glUniform3i),
2296 "glUniform3iv", reinterpret_cast<GLES2FunctionPointer>(glUniform3iv),
2299 "glUniform3ui", reinterpret_cast<GLES2FunctionPointer>(glUniform3ui),
2302 "glUniform3uiv", reinterpret_cast<GLES2FunctionPointer>(glUniform3uiv),
2305 "glUniform4f", reinterpret_cast<GLES2FunctionPointer>(glUniform4f),
2308 "glUniform4fv", reinterpret_cast<GLES2FunctionPointer>(glUniform4fv),
2311 "glUniform4i", reinterpret_cast<GLES2FunctionPointer>(glUniform4i),
2314 "glUniform4iv", reinterpret_cast<GLES2FunctionPointer>(glUniform4iv),
2317 "glUniform4ui", reinterpret_cast<GLES2FunctionPointer>(glUniform4ui),
2320 "glUniform4uiv", reinterpret_cast<GLES2FunctionPointer>(glUniform4uiv),
2323 "glUniformBlockBinding",
2324 reinterpret_cast<GLES2FunctionPointer>(glUniformBlockBinding),
2327 "glUniformMatrix2fv",
2328 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2fv),
2331 "glUniformMatrix2x3fv",
2332 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2x3fv),
2335 "glUniformMatrix2x4fv",
2336 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2x4fv),
2339 "glUniformMatrix3fv",
2340 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3fv),
2343 "glUniformMatrix3x2fv",
2344 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3x2fv),
2347 "glUniformMatrix3x4fv",
2348 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3x4fv),
2351 "glUniformMatrix4fv",
2352 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4fv),
2355 "glUniformMatrix4x2fv",
2356 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x2fv),
2359 "glUniformMatrix4x3fv",
2360 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x3fv),
2363 "glUseProgram", reinterpret_cast<GLES2FunctionPointer>(glUseProgram),
2366 "glValidateProgram",
2367 reinterpret_cast<GLES2FunctionPointer>(glValidateProgram),
2370 "glVertexAttrib1f",
2371 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1f),
2374 "glVertexAttrib1fv",
2375 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1fv),
2378 "glVertexAttrib2f",
2379 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2f),
2382 "glVertexAttrib2fv",
2383 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2fv),
2386 "glVertexAttrib3f",
2387 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3f),
2390 "glVertexAttrib3fv",
2391 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3fv),
2394 "glVertexAttrib4f",
2395 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4f),
2398 "glVertexAttrib4fv",
2399 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4fv),
2402 "glVertexAttribI4i",
2403 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4i),
2406 "glVertexAttribI4iv",
2407 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4iv),
2410 "glVertexAttribI4ui",
2411 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4ui),
2414 "glVertexAttribI4uiv",
2415 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4uiv),
2418 "glVertexAttribIPointer",
2419 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribIPointer),
2422 "glVertexAttribPointer",
2423 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribPointer),
2426 "glViewport", reinterpret_cast<GLES2FunctionPointer>(glViewport),
2429 "glWaitSync", reinterpret_cast<GLES2FunctionPointer>(glWaitSync),
2432 "glBlitFramebufferCHROMIUM",
2433 reinterpret_cast<GLES2FunctionPointer>(glBlitFramebufferCHROMIUM),
2436 "glRenderbufferStorageMultisampleCHROMIUM",
2437 reinterpret_cast<GLES2FunctionPointer>(
2438 glRenderbufferStorageMultisampleCHROMIUM),
2441 "glRenderbufferStorageMultisampleEXT",
2442 reinterpret_cast<GLES2FunctionPointer>(
2443 glRenderbufferStorageMultisampleEXT),
2446 "glFramebufferTexture2DMultisampleEXT",
2447 reinterpret_cast<GLES2FunctionPointer>(
2448 glFramebufferTexture2DMultisampleEXT),
2451 "glTexStorage2DEXT",
2452 reinterpret_cast<GLES2FunctionPointer>(glTexStorage2DEXT),
2455 "glGenQueriesEXT",
2456 reinterpret_cast<GLES2FunctionPointer>(glGenQueriesEXT),
2459 "glDeleteQueriesEXT",
2460 reinterpret_cast<GLES2FunctionPointer>(glDeleteQueriesEXT),
2463 "glQueryCounterEXT",
2464 reinterpret_cast<GLES2FunctionPointer>(glQueryCounterEXT),
2467 "glIsQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT),
2470 "glBeginQueryEXT",
2471 reinterpret_cast<GLES2FunctionPointer>(glBeginQueryEXT),
2474 "glBeginTransformFeedback",
2475 reinterpret_cast<GLES2FunctionPointer>(glBeginTransformFeedback),
2478 "glEndQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glEndQueryEXT),
2481 "glEndTransformFeedback",
2482 reinterpret_cast<GLES2FunctionPointer>(glEndTransformFeedback),
2485 "glGetQueryivEXT",
2486 reinterpret_cast<GLES2FunctionPointer>(glGetQueryivEXT),
2489 "glGetQueryObjectivEXT",
2490 reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjectivEXT),
2493 "glGetQueryObjectuivEXT",
2494 reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjectuivEXT),
2497 "glGetQueryObjecti64vEXT",
2498 reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjecti64vEXT),
2501 "glGetQueryObjectui64vEXT",
2502 reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjectui64vEXT),
2505 "glSetDisjointValueSyncCHROMIUM",
2506 reinterpret_cast<GLES2FunctionPointer>(glSetDisjointValueSyncCHROMIUM),
2509 "glInsertEventMarkerEXT",
2510 reinterpret_cast<GLES2FunctionPointer>(glInsertEventMarkerEXT),
2513 "glPushGroupMarkerEXT",
2514 reinterpret_cast<GLES2FunctionPointer>(glPushGroupMarkerEXT),
2517 "glPopGroupMarkerEXT",
2518 reinterpret_cast<GLES2FunctionPointer>(glPopGroupMarkerEXT),
2521 "glGenVertexArraysOES",
2522 reinterpret_cast<GLES2FunctionPointer>(glGenVertexArraysOES),
2525 "glDeleteVertexArraysOES",
2526 reinterpret_cast<GLES2FunctionPointer>(glDeleteVertexArraysOES),
2529 "glIsVertexArrayOES",
2530 reinterpret_cast<GLES2FunctionPointer>(glIsVertexArrayOES),
2533 "glBindVertexArrayOES",
2534 reinterpret_cast<GLES2FunctionPointer>(glBindVertexArrayOES),
2537 "glSwapBuffers", reinterpret_cast<GLES2FunctionPointer>(glSwapBuffers),
2540 "glGetMaxValueInBufferCHROMIUM",
2541 reinterpret_cast<GLES2FunctionPointer>(glGetMaxValueInBufferCHROMIUM),
2544 "glEnableFeatureCHROMIUM",
2545 reinterpret_cast<GLES2FunctionPointer>(glEnableFeatureCHROMIUM),
2548 "glMapBufferCHROMIUM",
2549 reinterpret_cast<GLES2FunctionPointer>(glMapBufferCHROMIUM),
2552 "glUnmapBufferCHROMIUM",
2553 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferCHROMIUM),
2556 "glMapBufferSubDataCHROMIUM",
2557 reinterpret_cast<GLES2FunctionPointer>(glMapBufferSubDataCHROMIUM),
2560 "glUnmapBufferSubDataCHROMIUM",
2561 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferSubDataCHROMIUM),
2564 "glMapBufferRange",
2565 reinterpret_cast<GLES2FunctionPointer>(glMapBufferRange),
2568 "glUnmapBuffer", reinterpret_cast<GLES2FunctionPointer>(glUnmapBuffer),
2571 "glMapTexSubImage2DCHROMIUM",
2572 reinterpret_cast<GLES2FunctionPointer>(glMapTexSubImage2DCHROMIUM),
2575 "glUnmapTexSubImage2DCHROMIUM",
2576 reinterpret_cast<GLES2FunctionPointer>(glUnmapTexSubImage2DCHROMIUM),
2579 "glResizeCHROMIUM",
2580 reinterpret_cast<GLES2FunctionPointer>(glResizeCHROMIUM),
2583 "glGetRequestableExtensionsCHROMIUM",
2584 reinterpret_cast<GLES2FunctionPointer>(
2585 glGetRequestableExtensionsCHROMIUM),
2588 "glRequestExtensionCHROMIUM",
2589 reinterpret_cast<GLES2FunctionPointer>(glRequestExtensionCHROMIUM),
2592 "glRateLimitOffscreenContextCHROMIUM",
2593 reinterpret_cast<GLES2FunctionPointer>(
2594 glRateLimitOffscreenContextCHROMIUM),
2597 "glGetProgramInfoCHROMIUM",
2598 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM),
2601 "glGetUniformBlocksCHROMIUM",
2602 reinterpret_cast<GLES2FunctionPointer>(glGetUniformBlocksCHROMIUM),
2605 "glGetTransformFeedbackVaryingsCHROMIUM",
2606 reinterpret_cast<GLES2FunctionPointer>(
2607 glGetTransformFeedbackVaryingsCHROMIUM),
2610 "glGetUniformsES3CHROMIUM",
2611 reinterpret_cast<GLES2FunctionPointer>(glGetUniformsES3CHROMIUM),
2614 "glCreateStreamTextureCHROMIUM",
2615 reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM),
2618 "glCreateImageCHROMIUM",
2619 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM),
2622 "glDestroyImageCHROMIUM",
2623 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM),
2626 "glCreateGpuMemoryBufferImageCHROMIUM",
2627 reinterpret_cast<GLES2FunctionPointer>(
2628 glCreateGpuMemoryBufferImageCHROMIUM),
2631 "glGetTranslatedShaderSourceANGLE",
2632 reinterpret_cast<GLES2FunctionPointer>(
2633 glGetTranslatedShaderSourceANGLE),
2636 "glPostSubBufferCHROMIUM",
2637 reinterpret_cast<GLES2FunctionPointer>(glPostSubBufferCHROMIUM),
2640 "glTexImageIOSurface2DCHROMIUM",
2641 reinterpret_cast<GLES2FunctionPointer>(glTexImageIOSurface2DCHROMIUM),
2644 "glCopyTextureCHROMIUM",
2645 reinterpret_cast<GLES2FunctionPointer>(glCopyTextureCHROMIUM),
2648 "glCopySubTextureCHROMIUM",
2649 reinterpret_cast<GLES2FunctionPointer>(glCopySubTextureCHROMIUM),
2652 "glCompressedCopyTextureCHROMIUM",
2653 reinterpret_cast<GLES2FunctionPointer>(glCompressedCopyTextureCHROMIUM),
2656 "glCompressedCopySubTextureCHROMIUM",
2657 reinterpret_cast<GLES2FunctionPointer>(
2658 glCompressedCopySubTextureCHROMIUM),
2661 "glDrawArraysInstancedANGLE",
2662 reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE),
2665 "glDrawElementsInstancedANGLE",
2666 reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE),
2669 "glVertexAttribDivisorANGLE",
2670 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE),
2673 "glGenMailboxCHROMIUM",
2674 reinterpret_cast<GLES2FunctionPointer>(glGenMailboxCHROMIUM),
2677 "glProduceTextureCHROMIUM",
2678 reinterpret_cast<GLES2FunctionPointer>(glProduceTextureCHROMIUM),
2681 "glProduceTextureDirectCHROMIUM",
2682 reinterpret_cast<GLES2FunctionPointer>(glProduceTextureDirectCHROMIUM),
2685 "glConsumeTextureCHROMIUM",
2686 reinterpret_cast<GLES2FunctionPointer>(glConsumeTextureCHROMIUM),
2689 "glCreateAndConsumeTextureCHROMIUM",
2690 reinterpret_cast<GLES2FunctionPointer>(
2691 glCreateAndConsumeTextureCHROMIUM),
2694 "glBindUniformLocationCHROMIUM",
2695 reinterpret_cast<GLES2FunctionPointer>(glBindUniformLocationCHROMIUM),
2698 "glGenValuebuffersCHROMIUM",
2699 reinterpret_cast<GLES2FunctionPointer>(glGenValuebuffersCHROMIUM),
2702 "glDeleteValuebuffersCHROMIUM",
2703 reinterpret_cast<GLES2FunctionPointer>(glDeleteValuebuffersCHROMIUM),
2706 "glIsValuebufferCHROMIUM",
2707 reinterpret_cast<GLES2FunctionPointer>(glIsValuebufferCHROMIUM),
2710 "glBindValuebufferCHROMIUM",
2711 reinterpret_cast<GLES2FunctionPointer>(glBindValuebufferCHROMIUM),
2714 "glSubscribeValueCHROMIUM",
2715 reinterpret_cast<GLES2FunctionPointer>(glSubscribeValueCHROMIUM),
2718 "glPopulateSubscribedValuesCHROMIUM",
2719 reinterpret_cast<GLES2FunctionPointer>(
2720 glPopulateSubscribedValuesCHROMIUM),
2723 "glUniformValuebufferCHROMIUM",
2724 reinterpret_cast<GLES2FunctionPointer>(glUniformValuebufferCHROMIUM),
2727 "glBindTexImage2DCHROMIUM",
2728 reinterpret_cast<GLES2FunctionPointer>(glBindTexImage2DCHROMIUM),
2731 "glReleaseTexImage2DCHROMIUM",
2732 reinterpret_cast<GLES2FunctionPointer>(glReleaseTexImage2DCHROMIUM),
2735 "glTraceBeginCHROMIUM",
2736 reinterpret_cast<GLES2FunctionPointer>(glTraceBeginCHROMIUM),
2739 "glTraceEndCHROMIUM",
2740 reinterpret_cast<GLES2FunctionPointer>(glTraceEndCHROMIUM),
2743 "glAsyncTexSubImage2DCHROMIUM",
2744 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexSubImage2DCHROMIUM),
2747 "glAsyncTexImage2DCHROMIUM",
2748 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexImage2DCHROMIUM),
2751 "glWaitAsyncTexImage2DCHROMIUM",
2752 reinterpret_cast<GLES2FunctionPointer>(glWaitAsyncTexImage2DCHROMIUM),
2755 "glWaitAllAsyncTexImage2DCHROMIUM",
2756 reinterpret_cast<GLES2FunctionPointer>(
2757 glWaitAllAsyncTexImage2DCHROMIUM),
2760 "glDiscardFramebufferEXT",
2761 reinterpret_cast<GLES2FunctionPointer>(glDiscardFramebufferEXT),
2764 "glLoseContextCHROMIUM",
2765 reinterpret_cast<GLES2FunctionPointer>(glLoseContextCHROMIUM),
2768 "glInsertSyncPointCHROMIUM",
2769 reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM),
2772 "glWaitSyncPointCHROMIUM",
2773 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM),
2776 "glDrawBuffersEXT",
2777 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT),
2780 "glDiscardBackbufferCHROMIUM",
2781 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM),
2784 "glScheduleOverlayPlaneCHROMIUM",
2785 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM),
2788 "glSwapInterval",
2789 reinterpret_cast<GLES2FunctionPointer>(glSwapInterval),
2792 "glFlushDriverCachesCHROMIUM",
2793 reinterpret_cast<GLES2FunctionPointer>(glFlushDriverCachesCHROMIUM),
2796 "glMatrixLoadfCHROMIUM",
2797 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM),
2800 "glMatrixLoadIdentityCHROMIUM",
2801 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM),
2804 "glGenPathsCHROMIUM",
2805 reinterpret_cast<GLES2FunctionPointer>(glGenPathsCHROMIUM),
2808 "glDeletePathsCHROMIUM",
2809 reinterpret_cast<GLES2FunctionPointer>(glDeletePathsCHROMIUM),
2812 "glIsPathCHROMIUM",
2813 reinterpret_cast<GLES2FunctionPointer>(glIsPathCHROMIUM),
2816 "glPathCommandsCHROMIUM",
2817 reinterpret_cast<GLES2FunctionPointer>(glPathCommandsCHROMIUM),
2820 "glPathParameterfCHROMIUM",
2821 reinterpret_cast<GLES2FunctionPointer>(glPathParameterfCHROMIUM),
2824 "glPathParameteriCHROMIUM",
2825 reinterpret_cast<GLES2FunctionPointer>(glPathParameteriCHROMIUM),
2828 "glPathStencilFuncCHROMIUM",
2829 reinterpret_cast<GLES2FunctionPointer>(glPathStencilFuncCHROMIUM),
2832 "glStencilFillPathCHROMIUM",
2833 reinterpret_cast<GLES2FunctionPointer>(glStencilFillPathCHROMIUM),
2836 "glStencilStrokePathCHROMIUM",
2837 reinterpret_cast<GLES2FunctionPointer>(glStencilStrokePathCHROMIUM),
2840 "glCoverFillPathCHROMIUM",
2841 reinterpret_cast<GLES2FunctionPointer>(glCoverFillPathCHROMIUM),
2844 "glCoverStrokePathCHROMIUM",
2845 reinterpret_cast<GLES2FunctionPointer>(glCoverStrokePathCHROMIUM),
2848 "glStencilThenCoverFillPathCHROMIUM",
2849 reinterpret_cast<GLES2FunctionPointer>(
2850 glStencilThenCoverFillPathCHROMIUM),
2853 "glStencilThenCoverStrokePathCHROMIUM",
2854 reinterpret_cast<GLES2FunctionPointer>(
2855 glStencilThenCoverStrokePathCHROMIUM),
2858 "glGetGraphicsResetStatusKHR",
2859 reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR),
2862 "glBlendBarrierKHR",
2863 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR),
2866 NULL, NULL,
2870 } // namespace gles2
2871 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_