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
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
,
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
,
32 gles2::GetGLContext()->BindBufferBase(target
, index
, buffer
);
34 void GL_APIENTRY
GLES2BindBufferRange(GLenum target
,
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
,
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
,
76 gles2::GetGLContext()->BlendFuncSeparate(srcRGB
, dstRGB
, srcAlpha
, dstAlpha
);
78 void GL_APIENTRY
GLES2BufferData(GLenum target
,
82 gles2::GetGLContext()->BufferData(target
, size
, data
, usage
);
84 void GL_APIENTRY
GLES2BufferSubData(GLenum target
,
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
,
100 gles2::GetGLContext()->ClearBufferfi(buffer
, drawbuffers
, depth
, stencil
);
102 void GL_APIENTRY
GLES2ClearBufferfv(GLenum buffer
,
104 const GLfloat
* value
) {
105 gles2::GetGLContext()->ClearBufferfv(buffer
, drawbuffers
, value
);
107 void GL_APIENTRY
GLES2ClearBufferiv(GLenum buffer
,
109 const GLint
* value
) {
110 gles2::GetGLContext()->ClearBufferiv(buffer
, drawbuffers
, value
);
112 void GL_APIENTRY
GLES2ClearBufferuiv(GLenum buffer
,
114 const GLuint
* value
) {
115 gles2::GetGLContext()->ClearBufferuiv(buffer
, drawbuffers
, value
);
117 void GL_APIENTRY
GLES2ClearColor(GLclampf red
,
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
,
132 return gles2::GetGLContext()->ClientWaitSync(sync
, flags
, timeout
);
134 void GL_APIENTRY
GLES2ColorMask(GLboolean red
,
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
,
145 GLenum internalformat
,
151 gles2::GetGLContext()->CompressedTexImage2D(
152 target
, level
, internalformat
, width
, height
, border
, imageSize
, data
);
154 void GL_APIENTRY
GLES2CompressedTexSubImage2D(GLenum target
,
163 gles2::GetGLContext()->CompressedTexSubImage2D(
164 target
, level
, xoffset
, yoffset
, width
, height
, format
, imageSize
, data
);
166 void GL_APIENTRY
GLES2CompressedTexImage3D(GLenum target
,
168 GLenum internalformat
,
175 gles2::GetGLContext()->CompressedTexImage3D(target
, level
, internalformat
,
176 width
, height
, depth
, border
,
179 void GL_APIENTRY
GLES2CompressedTexSubImage3D(GLenum target
,
190 gles2::GetGLContext()->CompressedTexSubImage3D(
191 target
, level
, xoffset
, yoffset
, zoffset
, width
, height
, depth
, format
,
194 void GL_APIENTRY
GLES2CopyBufferSubData(GLenum readtarget
,
197 GLintptr writeoffset
,
199 gles2::GetGLContext()->CopyBufferSubData(readtarget
, writetarget
, readoffset
,
202 void GL_APIENTRY
GLES2CopyTexImage2D(GLenum target
,
204 GLenum internalformat
,
210 gles2::GetGLContext()->CopyTexImage2D(target
, level
, internalformat
, x
, y
,
211 width
, height
, border
);
213 void GL_APIENTRY
GLES2CopyTexSubImage2D(GLenum target
,
221 gles2::GetGLContext()->CopyTexSubImage2D(target
, level
, xoffset
, yoffset
, x
,
224 void GL_APIENTRY
GLES2CopyTexSubImage3D(GLenum target
,
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
,
298 const void* indices
) {
299 gles2::GetGLContext()->DrawElements(mode
, count
, type
, indices
);
301 void GL_APIENTRY
GLES2DrawRangeElements(GLenum mode
,
306 const void* indices
) {
307 gles2::GetGLContext()->DrawRangeElements(mode
, start
, end
, count
, type
,
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
,
327 GLenum renderbuffertarget
,
328 GLuint renderbuffer
) {
329 gles2::GetGLContext()->FramebufferRenderbuffer(
330 target
, attachment
, renderbuffertarget
, renderbuffer
);
332 void GL_APIENTRY
GLES2FramebufferTexture2D(GLenum target
,
337 gles2::GetGLContext()->FramebufferTexture2D(target
, attachment
, textarget
,
340 void GL_APIENTRY
GLES2FramebufferTextureLayer(GLenum target
,
345 gles2::GetGLContext()->FramebufferTextureLayer(target
, attachment
, texture
,
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
,
379 gles2::GetGLContext()->GetActiveAttrib(program
, index
, bufsize
, length
, size
,
382 void GL_APIENTRY
GLES2GetActiveUniform(GLuint program
,
389 gles2::GetGLContext()->GetActiveUniform(program
, index
, bufsize
, length
, size
,
392 void GL_APIENTRY
GLES2GetActiveUniformBlockiv(GLuint program
,
396 gles2::GetGLContext()->GetActiveUniformBlockiv(program
, index
, pname
, params
);
398 void GL_APIENTRY
GLES2GetActiveUniformBlockName(GLuint program
,
403 gles2::GetGLContext()->GetActiveUniformBlockName(program
, index
, bufsize
,
406 void GL_APIENTRY
GLES2GetActiveUniformsiv(GLuint program
,
408 const GLuint
* indices
,
411 gles2::GetGLContext()->GetActiveUniformsiv(program
, count
, indices
, pname
,
414 void GL_APIENTRY
GLES2GetAttachedShaders(GLuint program
,
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
,
429 gles2::GetGLContext()->GetBufferParameteri64v(target
, pname
, params
);
431 void GL_APIENTRY
GLES2GetBufferParameteriv(GLenum target
,
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
,
449 gles2::GetGLContext()->GetFramebufferAttachmentParameteriv(target
, attachment
,
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
,
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
,
471 gles2::GetGLContext()->GetInternalformativ(target
, format
, pname
, bufSize
,
474 void GL_APIENTRY
GLES2GetProgramiv(GLuint program
,
477 gles2::GetGLContext()->GetProgramiv(program
, pname
, params
);
479 void GL_APIENTRY
GLES2GetProgramInfoLog(GLuint program
,
483 gles2::GetGLContext()->GetProgramInfoLog(program
, bufsize
, length
, infolog
);
485 void GL_APIENTRY
GLES2GetRenderbufferParameteriv(GLenum target
,
488 gles2::GetGLContext()->GetRenderbufferParameteriv(target
, pname
, params
);
490 void GL_APIENTRY
GLES2GetSamplerParameterfv(GLuint sampler
,
493 gles2::GetGLContext()->GetSamplerParameterfv(sampler
, pname
, params
);
495 void GL_APIENTRY
GLES2GetSamplerParameteriv(GLuint sampler
,
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
,
507 gles2::GetGLContext()->GetShaderInfoLog(shader
, bufsize
, length
, infolog
);
509 void GL_APIENTRY
GLES2GetShaderPrecisionFormat(GLenum shadertype
,
510 GLenum precisiontype
,
513 gles2::GetGLContext()->GetShaderPrecisionFormat(shadertype
, precisiontype
,
516 void GL_APIENTRY
GLES2GetShaderSource(GLuint shader
,
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
,
530 gles2::GetGLContext()->GetSynciv(sync
, pname
, bufsize
, length
, values
);
532 void GL_APIENTRY
GLES2GetTexParameterfv(GLenum target
,
535 gles2::GetGLContext()->GetTexParameterfv(target
, pname
, params
);
537 void GL_APIENTRY
GLES2GetTexParameteriv(GLenum target
,
540 gles2::GetGLContext()->GetTexParameteriv(target
, pname
, params
);
542 void GL_APIENTRY
GLES2GetTransformFeedbackVarying(GLuint program
,
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
,
558 gles2::GetGLContext()->GetUniformfv(program
, location
, params
);
560 void GL_APIENTRY
GLES2GetUniformiv(GLuint program
,
563 gles2::GetGLContext()->GetUniformiv(program
, location
, params
);
565 void GL_APIENTRY
GLES2GetUniformuiv(GLuint program
,
568 gles2::GetGLContext()->GetUniformuiv(program
, location
, params
);
570 void GL_APIENTRY
GLES2GetUniformIndices(GLuint program
,
572 const char* const* names
,
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
,
582 gles2::GetGLContext()->GetVertexAttribfv(index
, pname
, params
);
584 void GL_APIENTRY
GLES2GetVertexAttribiv(GLuint index
,
587 gles2::GetGLContext()->GetVertexAttribiv(index
, pname
, params
);
589 void GL_APIENTRY
GLES2GetVertexAttribIiv(GLuint index
,
592 gles2::GetGLContext()->GetVertexAttribIiv(index
, pname
, params
);
594 void GL_APIENTRY
GLES2GetVertexAttribIuiv(GLuint index
,
597 gles2::GetGLContext()->GetVertexAttribIuiv(index
, pname
, params
);
599 void GL_APIENTRY
GLES2GetVertexAttribPointerv(GLuint index
,
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
,
609 const GLenum
* attachments
) {
610 gles2::GetGLContext()->InvalidateFramebuffer(target
, count
, attachments
);
612 void GL_APIENTRY
GLES2InvalidateSubFramebuffer(GLenum target
,
614 const GLenum
* attachments
,
619 gles2::GetGLContext()->InvalidateSubFramebuffer(target
, count
, attachments
, x
,
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
,
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
,
686 gles2::GetGLContext()->RenderbufferStorage(target
, internalformat
, width
,
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
,
698 gles2::GetGLContext()->SamplerParameterf(sampler
, pname
, param
);
700 void GL_APIENTRY
GLES2SamplerParameterfv(GLuint sampler
,
702 const GLfloat
* params
) {
703 gles2::GetGLContext()->SamplerParameterfv(sampler
, pname
, params
);
705 void GL_APIENTRY
GLES2SamplerParameteri(GLuint sampler
,
708 gles2::GetGLContext()->SamplerParameteri(sampler
, pname
, param
);
710 void GL_APIENTRY
GLES2SamplerParameteriv(GLuint sampler
,
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
,
723 gles2::GetGLContext()->ShaderBinary(n
, shaders
, binaryformat
, binary
, length
);
725 void GL_APIENTRY
GLES2ShaderSource(GLuint shader
,
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
,
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
,
762 gles2::GetGLContext()->StencilOpSeparate(face
, fail
, zfail
, zpass
);
764 void GL_APIENTRY
GLES2TexImage2D(GLenum target
,
766 GLint internalformat
,
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
,
778 GLint internalformat
,
785 const void* pixels
) {
786 gles2::GetGLContext()->TexImage3D(target
, level
, internalformat
, width
,
787 height
, depth
, border
, format
, type
,
790 void GL_APIENTRY
GLES2TexParameterf(GLenum target
,
793 gles2::GetGLContext()->TexParameterf(target
, pname
, param
);
795 void GL_APIENTRY
GLES2TexParameterfv(GLenum target
,
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
,
805 const GLint
* params
) {
806 gles2::GetGLContext()->TexParameteriv(target
, pname
, params
);
808 void GL_APIENTRY
GLES2TexStorage3D(GLenum target
,
810 GLenum internalFormat
,
814 gles2::GetGLContext()->TexStorage3D(target
, levels
, internalFormat
, width
,
817 void GL_APIENTRY
GLES2TexSubImage2D(GLenum target
,
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
,
839 const void* pixels
) {
840 gles2::GetGLContext()->TexSubImage3D(target
, level
, xoffset
, yoffset
, zoffset
,
841 width
, height
, depth
, format
, type
,
844 void GL_APIENTRY
GLES2TransformFeedbackVaryings(GLuint program
,
846 const char* const* varyings
,
848 gles2::GetGLContext()->TransformFeedbackVaryings(program
, count
, varyings
,
851 void GL_APIENTRY
GLES2Uniform1f(GLint location
, GLfloat x
) {
852 gles2::GetGLContext()->Uniform1f(location
, x
);
854 void GL_APIENTRY
GLES2Uniform1fv(GLint location
,
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
,
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
,
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
,
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
,
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
,
897 gles2::GetGLContext()->Uniform2uiv(location
, count
, v
);
899 void GL_APIENTRY
GLES2Uniform3f(GLint location
,
903 gles2::GetGLContext()->Uniform3f(location
, x
, y
, z
);
905 void GL_APIENTRY
GLES2Uniform3fv(GLint location
,
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
,
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
,
924 gles2::GetGLContext()->Uniform3uiv(location
, count
, v
);
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
,
933 gles2::GetGLContext()->Uniform4fv(location
, count
, v
);
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
,
942 gles2::GetGLContext()->Uniform4iv(location
, count
, v
);
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
,
951 gles2::GetGLContext()->Uniform4uiv(location
, count
, v
);
953 void GL_APIENTRY
GLES2UniformBlockBinding(GLuint program
,
956 gles2::GetGLContext()->UniformBlockBinding(program
, index
, binding
);
958 void GL_APIENTRY
GLES2UniformMatrix2fv(GLint location
,
961 const GLfloat
* value
) {
962 gles2::GetGLContext()->UniformMatrix2fv(location
, count
, transpose
, value
);
964 void GL_APIENTRY
GLES2UniformMatrix2x3fv(GLint location
,
967 const GLfloat
* value
) {
968 gles2::GetGLContext()->UniformMatrix2x3fv(location
, count
, transpose
, value
);
970 void GL_APIENTRY
GLES2UniformMatrix2x4fv(GLint location
,
973 const GLfloat
* value
) {
974 gles2::GetGLContext()->UniformMatrix2x4fv(location
, count
, transpose
, value
);
976 void GL_APIENTRY
GLES2UniformMatrix3fv(GLint location
,
979 const GLfloat
* value
) {
980 gles2::GetGLContext()->UniformMatrix3fv(location
, count
, transpose
, value
);
982 void GL_APIENTRY
GLES2UniformMatrix3x2fv(GLint location
,
985 const GLfloat
* value
) {
986 gles2::GetGLContext()->UniformMatrix3x2fv(location
, count
, transpose
, value
);
988 void GL_APIENTRY
GLES2UniformMatrix3x4fv(GLint location
,
991 const GLfloat
* value
) {
992 gles2::GetGLContext()->UniformMatrix3x4fv(location
, count
, transpose
, value
);
994 void GL_APIENTRY
GLES2UniformMatrix4fv(GLint location
,
997 const GLfloat
* value
) {
998 gles2::GetGLContext()->UniformMatrix4fv(location
, count
, transpose
, value
);
1000 void GL_APIENTRY
GLES2UniformMatrix4x2fv(GLint location
,
1002 GLboolean transpose
,
1003 const GLfloat
* value
) {
1004 gles2::GetGLContext()->UniformMatrix4x2fv(location
, count
, transpose
, value
);
1006 void GL_APIENTRY
GLES2UniformMatrix4x3fv(GLint location
,
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
,
1034 gles2::GetGLContext()->VertexAttrib3f(indx
, x
, y
, z
);
1036 void GL_APIENTRY
GLES2VertexAttrib3fv(GLuint indx
, const GLfloat
* values
) {
1037 gles2::GetGLContext()->VertexAttrib3fv(indx
, values
);
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
);
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
);
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
,
1065 gles2::GetGLContext()->VertexAttribIPointer(indx
, size
, type
, stride
, ptr
);
1067 void GL_APIENTRY
GLES2VertexAttribPointer(GLuint indx
,
1070 GLboolean normalized
,
1073 gles2::GetGLContext()->VertexAttribPointer(indx
, size
, type
, normalized
,
1076 void GL_APIENTRY
GLES2Viewport(GLint x
,
1080 gles2::GetGLContext()->Viewport(x
, y
, width
, height
);
1082 void GL_APIENTRY
GLES2WaitSync(GLsync sync
,
1085 gles2::GetGLContext()->WaitSync(sync
, flags
, timeout
);
1087 void GL_APIENTRY
GLES2BlitFramebufferCHROMIUM(GLint srcX0
,
1097 gles2::GetGLContext()->BlitFramebufferCHROMIUM(
1098 srcX0
, srcY0
, srcX1
, srcY1
, dstX0
, dstY0
, dstX1
, dstY1
, mask
, filter
);
1101 GLES2RenderbufferStorageMultisampleCHROMIUM(GLenum target
,
1103 GLenum internalformat
,
1106 gles2::GetGLContext()->RenderbufferStorageMultisampleCHROMIUM(
1107 target
, samples
, internalformat
, width
, height
);
1109 void GL_APIENTRY
GLES2RenderbufferStorageMultisampleEXT(GLenum target
,
1111 GLenum internalformat
,
1114 gles2::GetGLContext()->RenderbufferStorageMultisampleEXT(
1115 target
, samples
, internalformat
, width
, height
);
1117 void GL_APIENTRY
GLES2FramebufferTexture2DMultisampleEXT(GLenum target
,
1123 gles2::GetGLContext()->FramebufferTexture2DMultisampleEXT(
1124 target
, attachment
, textarget
, texture
, level
, samples
);
1126 void GL_APIENTRY
GLES2TexStorage2DEXT(GLenum target
,
1128 GLenum internalFormat
,
1131 gles2::GetGLContext()->TexStorage2DEXT(target
, levels
, internalFormat
, width
,
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
,
1161 gles2::GetGLContext()->GetQueryivEXT(target
, pname
, params
);
1163 void GL_APIENTRY
GLES2GetQueryObjectivEXT(GLuint id
,
1166 gles2::GetGLContext()->GetQueryObjectivEXT(id
, pname
, params
);
1168 void GL_APIENTRY
GLES2GetQueryObjectuivEXT(GLuint id
,
1171 gles2::GetGLContext()->GetQueryObjectuivEXT(id
, pname
, params
);
1173 void GL_APIENTRY
GLES2GetQueryObjecti64vEXT(GLuint id
,
1176 gles2::GetGLContext()->GetQueryObjecti64vEXT(id
, pname
, params
);
1178 void GL_APIENTRY
GLES2GetQueryObjectui64vEXT(GLuint id
,
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
,
1215 return gles2::GetGLContext()->GetMaxValueInBufferCHROMIUM(buffer_id
, count
,
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
,
1231 return gles2::GetGLContext()->MapBufferSubDataCHROMIUM(target
, offset
, size
,
1234 void GL_APIENTRY
GLES2UnmapBufferSubDataCHROMIUM(const void* mem
) {
1235 gles2::GetGLContext()->UnmapBufferSubDataCHROMIUM(mem
);
1237 void* GL_APIENTRY
GLES2MapBufferRange(GLenum target
,
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
,
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
,
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
,
1279 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program
, bufsize
, size
, info
);
1281 void GL_APIENTRY
GLES2GetUniformBlocksCHROMIUM(GLuint program
,
1285 gles2::GetGLContext()->GetUniformBlocksCHROMIUM(program
, bufsize
, size
, info
);
1287 void GL_APIENTRY
GLES2GetTransformFeedbackVaryingsCHROMIUM(GLuint program
,
1291 gles2::GetGLContext()->GetTransformFeedbackVaryingsCHROMIUM(program
, bufsize
,
1294 void GL_APIENTRY
GLES2GetUniformsES3CHROMIUM(GLuint program
,
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
,
1306 GLenum internalformat
) {
1307 return gles2::GetGLContext()->CreateImageCHROMIUM(buffer
, width
, height
,
1310 void GL_APIENTRY
GLES2DestroyImageCHROMIUM(GLuint image_id
) {
1311 gles2::GetGLContext()->DestroyImageCHROMIUM(image_id
);
1314 GLES2CreateGpuMemoryBufferImageCHROMIUM(GLsizei width
,
1316 GLenum internalformat
,
1318 return gles2::GetGLContext()->CreateGpuMemoryBufferImageCHROMIUM(
1319 width
, height
, internalformat
, usage
);
1321 void GL_APIENTRY
GLES2GetTranslatedShaderSourceANGLE(GLuint shader
,
1325 gles2::GetGLContext()->GetTranslatedShaderSourceANGLE(shader
, bufsize
, length
,
1328 void GL_APIENTRY
GLES2PostSubBufferCHROMIUM(GLint x
,
1332 gles2::GetGLContext()->PostSubBufferCHROMIUM(x
, y
, width
, height
);
1334 void GL_APIENTRY
GLES2TexImageIOSurface2DCHROMIUM(GLenum target
,
1339 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM(target
, width
, height
,
1340 ioSurfaceId
, plane
);
1342 void GL_APIENTRY
GLES2CopyTextureCHROMIUM(GLenum target
,
1345 GLint internalformat
,
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
);
1355 GLES2CopySubTextureCHROMIUM(GLenum target
,
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
,
1374 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(target
, source_id
,
1377 void GL_APIENTRY
GLES2CompressedCopySubTextureCHROMIUM(GLenum target
,
1386 gles2::GetGLContext()->CompressedCopySubTextureCHROMIUM(
1387 target
, source_id
, dest_id
, xoffset
, yoffset
, x
, y
, width
, height
);
1389 void GL_APIENTRY
GLES2DrawArraysInstancedANGLE(GLenum mode
,
1392 GLsizei primcount
) {
1393 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode
, first
, count
,
1396 void GL_APIENTRY
GLES2DrawElementsInstancedANGLE(GLenum mode
,
1399 const void* indices
,
1400 GLsizei primcount
) {
1401 gles2::GetGLContext()->DrawElementsInstancedANGLE(mode
, count
, type
, indices
,
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
,
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
,
1428 void GL_APIENTRY
GLES2BindUniformLocationCHROMIUM(GLuint program
,
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
,
1456 GLenum subscription
) {
1457 gles2::GetGLContext()->UniformValuebufferCHROMIUM(location
, target
,
1460 void GL_APIENTRY
GLES2BindTexImage2DCHROMIUM(GLenum target
, GLint imageId
) {
1461 gles2::GetGLContext()->BindTexImage2DCHROMIUM(target
, imageId
);
1463 void GL_APIENTRY
GLES2ReleaseTexImage2DCHROMIUM(GLenum target
, GLint imageId
) {
1464 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target
, imageId
);
1466 void GL_APIENTRY
GLES2TraceBeginCHROMIUM(const char* category_name
,
1467 const char* trace_name
) {
1468 gles2::GetGLContext()->TraceBeginCHROMIUM(category_name
, trace_name
);
1470 void GL_APIENTRY
GLES2TraceEndCHROMIUM() {
1471 gles2::GetGLContext()->TraceEndCHROMIUM();
1473 void GL_APIENTRY
GLES2DiscardFramebufferEXT(GLenum target
,
1475 const GLenum
* attachments
) {
1476 gles2::GetGLContext()->DiscardFramebufferEXT(target
, count
, attachments
);
1478 void GL_APIENTRY
GLES2LoseContextCHROMIUM(GLenum current
, GLenum other
) {
1479 gles2::GetGLContext()->LoseContextCHROMIUM(current
, other
);
1481 GLuint GL_APIENTRY
GLES2InsertSyncPointCHROMIUM() {
1482 return gles2::GetGLContext()->InsertSyncPointCHROMIUM();
1484 void GL_APIENTRY
GLES2WaitSyncPointCHROMIUM(GLuint sync_point
) {
1485 gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point
);
1487 void GL_APIENTRY
GLES2DrawBuffersEXT(GLsizei count
, const GLenum
* bufs
) {
1488 gles2::GetGLContext()->DrawBuffersEXT(count
, bufs
);
1490 void GL_APIENTRY
GLES2DiscardBackbufferCHROMIUM() {
1491 gles2::GetGLContext()->DiscardBackbufferCHROMIUM();
1493 void GL_APIENTRY
GLES2ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order
,
1494 GLenum plane_transform
,
1495 GLuint overlay_texture_id
,
1499 GLint bounds_height
,
1503 GLfloat uv_height
) {
1504 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM(
1505 plane_z_order
, plane_transform
, overlay_texture_id
, bounds_x
, bounds_y
,
1506 bounds_width
, bounds_height
, uv_x
, uv_y
, uv_width
, uv_height
);
1508 void GL_APIENTRY
GLES2SwapInterval(GLint interval
) {
1509 gles2::GetGLContext()->SwapInterval(interval
);
1511 void GL_APIENTRY
GLES2FlushDriverCachesCHROMIUM() {
1512 gles2::GetGLContext()->FlushDriverCachesCHROMIUM();
1514 void GL_APIENTRY
GLES2MatrixLoadfCHROMIUM(GLenum matrixMode
, const GLfloat
* m
) {
1515 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode
, m
);
1517 void GL_APIENTRY
GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode
) {
1518 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode
);
1520 GLuint GL_APIENTRY
GLES2GenPathsCHROMIUM(GLsizei range
) {
1521 return gles2::GetGLContext()->GenPathsCHROMIUM(range
);
1523 void GL_APIENTRY
GLES2DeletePathsCHROMIUM(GLuint path
, GLsizei range
) {
1524 gles2::GetGLContext()->DeletePathsCHROMIUM(path
, range
);
1526 GLboolean GL_APIENTRY
GLES2IsPathCHROMIUM(GLuint path
) {
1527 return gles2::GetGLContext()->IsPathCHROMIUM(path
);
1529 void GL_APIENTRY
GLES2PathCommandsCHROMIUM(GLuint path
,
1530 GLsizei numCommands
,
1531 const GLubyte
* commands
,
1534 const GLvoid
* coords
) {
1535 gles2::GetGLContext()->PathCommandsCHROMIUM(path
, numCommands
, commands
,
1536 numCoords
, coordType
, coords
);
1538 void GL_APIENTRY
GLES2PathParameterfCHROMIUM(GLuint path
,
1541 gles2::GetGLContext()->PathParameterfCHROMIUM(path
, pname
, value
);
1543 void GL_APIENTRY
GLES2PathParameteriCHROMIUM(GLuint path
,
1546 gles2::GetGLContext()->PathParameteriCHROMIUM(path
, pname
, value
);
1548 void GL_APIENTRY
GLES2PathStencilFuncCHROMIUM(GLenum func
,
1551 gles2::GetGLContext()->PathStencilFuncCHROMIUM(func
, ref
, mask
);
1553 void GL_APIENTRY
GLES2StencilFillPathCHROMIUM(GLuint path
,
1556 gles2::GetGLContext()->StencilFillPathCHROMIUM(path
, fillMode
, mask
);
1558 void GL_APIENTRY
GLES2StencilStrokePathCHROMIUM(GLuint path
,
1561 gles2::GetGLContext()->StencilStrokePathCHROMIUM(path
, reference
, mask
);
1563 void GL_APIENTRY
GLES2CoverFillPathCHROMIUM(GLuint path
, GLenum coverMode
) {
1564 gles2::GetGLContext()->CoverFillPathCHROMIUM(path
, coverMode
);
1566 void GL_APIENTRY
GLES2CoverStrokePathCHROMIUM(GLuint path
, GLenum coverMode
) {
1567 gles2::GetGLContext()->CoverStrokePathCHROMIUM(path
, coverMode
);
1569 void GL_APIENTRY
GLES2StencilThenCoverFillPathCHROMIUM(GLuint path
,
1573 gles2::GetGLContext()->StencilThenCoverFillPathCHROMIUM(path
, fillMode
, mask
,
1576 void GL_APIENTRY
GLES2StencilThenCoverStrokePathCHROMIUM(GLuint path
,
1580 gles2::GetGLContext()->StencilThenCoverStrokePathCHROMIUM(path
, reference
,
1583 GLenum GL_APIENTRY
GLES2GetGraphicsResetStatusKHR() {
1584 return gles2::GetGLContext()->GetGraphicsResetStatusKHR();
1586 void GL_APIENTRY
GLES2BlendBarrierKHR() {
1587 gles2::GetGLContext()->BlendBarrierKHR();
1592 extern const NameToFunc g_gles2_function_table
[] = {
1595 reinterpret_cast<GLES2FunctionPointer
>(glActiveTexture
),
1599 reinterpret_cast<GLES2FunctionPointer
>(glAttachShader
),
1602 "glBindAttribLocation",
1603 reinterpret_cast<GLES2FunctionPointer
>(glBindAttribLocation
),
1606 "glBindBuffer", reinterpret_cast<GLES2FunctionPointer
>(glBindBuffer
),
1610 reinterpret_cast<GLES2FunctionPointer
>(glBindBufferBase
),
1613 "glBindBufferRange",
1614 reinterpret_cast<GLES2FunctionPointer
>(glBindBufferRange
),
1617 "glBindFramebuffer",
1618 reinterpret_cast<GLES2FunctionPointer
>(glBindFramebuffer
),
1621 "glBindRenderbuffer",
1622 reinterpret_cast<GLES2FunctionPointer
>(glBindRenderbuffer
),
1625 "glBindSampler", reinterpret_cast<GLES2FunctionPointer
>(glBindSampler
),
1628 "glBindTexture", reinterpret_cast<GLES2FunctionPointer
>(glBindTexture
),
1631 "glBindTransformFeedback",
1632 reinterpret_cast<GLES2FunctionPointer
>(glBindTransformFeedback
),
1635 "glBlendColor", reinterpret_cast<GLES2FunctionPointer
>(glBlendColor
),
1639 reinterpret_cast<GLES2FunctionPointer
>(glBlendEquation
),
1642 "glBlendEquationSeparate",
1643 reinterpret_cast<GLES2FunctionPointer
>(glBlendEquationSeparate
),
1646 "glBlendFunc", reinterpret_cast<GLES2FunctionPointer
>(glBlendFunc
),
1649 "glBlendFuncSeparate",
1650 reinterpret_cast<GLES2FunctionPointer
>(glBlendFuncSeparate
),
1653 "glBufferData", reinterpret_cast<GLES2FunctionPointer
>(glBufferData
),
1657 reinterpret_cast<GLES2FunctionPointer
>(glBufferSubData
),
1660 "glCheckFramebufferStatus",
1661 reinterpret_cast<GLES2FunctionPointer
>(glCheckFramebufferStatus
),
1664 "glClear", reinterpret_cast<GLES2FunctionPointer
>(glClear
),
1668 reinterpret_cast<GLES2FunctionPointer
>(glClearBufferfi
),
1672 reinterpret_cast<GLES2FunctionPointer
>(glClearBufferfv
),
1676 reinterpret_cast<GLES2FunctionPointer
>(glClearBufferiv
),
1680 reinterpret_cast<GLES2FunctionPointer
>(glClearBufferuiv
),
1683 "glClearColor", reinterpret_cast<GLES2FunctionPointer
>(glClearColor
),
1686 "glClearDepthf", reinterpret_cast<GLES2FunctionPointer
>(glClearDepthf
),
1690 reinterpret_cast<GLES2FunctionPointer
>(glClearStencil
),
1694 reinterpret_cast<GLES2FunctionPointer
>(glClientWaitSync
),
1697 "glColorMask", reinterpret_cast<GLES2FunctionPointer
>(glColorMask
),
1701 reinterpret_cast<GLES2FunctionPointer
>(glCompileShader
),
1704 "glCompressedTexImage2D",
1705 reinterpret_cast<GLES2FunctionPointer
>(glCompressedTexImage2D
),
1708 "glCompressedTexSubImage2D",
1709 reinterpret_cast<GLES2FunctionPointer
>(glCompressedTexSubImage2D
),
1712 "glCompressedTexImage3D",
1713 reinterpret_cast<GLES2FunctionPointer
>(glCompressedTexImage3D
),
1716 "glCompressedTexSubImage3D",
1717 reinterpret_cast<GLES2FunctionPointer
>(glCompressedTexSubImage3D
),
1720 "glCopyBufferSubData",
1721 reinterpret_cast<GLES2FunctionPointer
>(glCopyBufferSubData
),
1725 reinterpret_cast<GLES2FunctionPointer
>(glCopyTexImage2D
),
1728 "glCopyTexSubImage2D",
1729 reinterpret_cast<GLES2FunctionPointer
>(glCopyTexSubImage2D
),
1732 "glCopyTexSubImage3D",
1733 reinterpret_cast<GLES2FunctionPointer
>(glCopyTexSubImage3D
),
1737 reinterpret_cast<GLES2FunctionPointer
>(glCreateProgram
),
1741 reinterpret_cast<GLES2FunctionPointer
>(glCreateShader
),
1744 "glCullFace", reinterpret_cast<GLES2FunctionPointer
>(glCullFace
),
1748 reinterpret_cast<GLES2FunctionPointer
>(glDeleteBuffers
),
1751 "glDeleteFramebuffers",
1752 reinterpret_cast<GLES2FunctionPointer
>(glDeleteFramebuffers
),
1756 reinterpret_cast<GLES2FunctionPointer
>(glDeleteProgram
),
1759 "glDeleteRenderbuffers",
1760 reinterpret_cast<GLES2FunctionPointer
>(glDeleteRenderbuffers
),
1764 reinterpret_cast<GLES2FunctionPointer
>(glDeleteSamplers
),
1767 "glDeleteSync", reinterpret_cast<GLES2FunctionPointer
>(glDeleteSync
),
1771 reinterpret_cast<GLES2FunctionPointer
>(glDeleteShader
),
1775 reinterpret_cast<GLES2FunctionPointer
>(glDeleteTextures
),
1778 "glDeleteTransformFeedbacks",
1779 reinterpret_cast<GLES2FunctionPointer
>(glDeleteTransformFeedbacks
),
1782 "glDepthFunc", reinterpret_cast<GLES2FunctionPointer
>(glDepthFunc
),
1785 "glDepthMask", reinterpret_cast<GLES2FunctionPointer
>(glDepthMask
),
1788 "glDepthRangef", reinterpret_cast<GLES2FunctionPointer
>(glDepthRangef
),
1792 reinterpret_cast<GLES2FunctionPointer
>(glDetachShader
),
1795 "glDisable", reinterpret_cast<GLES2FunctionPointer
>(glDisable
),
1798 "glDisableVertexAttribArray",
1799 reinterpret_cast<GLES2FunctionPointer
>(glDisableVertexAttribArray
),
1802 "glDrawArrays", reinterpret_cast<GLES2FunctionPointer
>(glDrawArrays
),
1806 reinterpret_cast<GLES2FunctionPointer
>(glDrawElements
),
1809 "glDrawRangeElements",
1810 reinterpret_cast<GLES2FunctionPointer
>(glDrawRangeElements
),
1813 "glEnable", reinterpret_cast<GLES2FunctionPointer
>(glEnable
),
1816 "glEnableVertexAttribArray",
1817 reinterpret_cast<GLES2FunctionPointer
>(glEnableVertexAttribArray
),
1820 "glFenceSync", reinterpret_cast<GLES2FunctionPointer
>(glFenceSync
),
1823 "glFinish", reinterpret_cast<GLES2FunctionPointer
>(glFinish
),
1826 "glFlush", reinterpret_cast<GLES2FunctionPointer
>(glFlush
),
1829 "glFramebufferRenderbuffer",
1830 reinterpret_cast<GLES2FunctionPointer
>(glFramebufferRenderbuffer
),
1833 "glFramebufferTexture2D",
1834 reinterpret_cast<GLES2FunctionPointer
>(glFramebufferTexture2D
),
1837 "glFramebufferTextureLayer",
1838 reinterpret_cast<GLES2FunctionPointer
>(glFramebufferTextureLayer
),
1841 "glFrontFace", reinterpret_cast<GLES2FunctionPointer
>(glFrontFace
),
1844 "glGenBuffers", reinterpret_cast<GLES2FunctionPointer
>(glGenBuffers
),
1848 reinterpret_cast<GLES2FunctionPointer
>(glGenerateMipmap
),
1851 "glGenFramebuffers",
1852 reinterpret_cast<GLES2FunctionPointer
>(glGenFramebuffers
),
1855 "glGenRenderbuffers",
1856 reinterpret_cast<GLES2FunctionPointer
>(glGenRenderbuffers
),
1859 "glGenSamplers", reinterpret_cast<GLES2FunctionPointer
>(glGenSamplers
),
1862 "glGenTextures", reinterpret_cast<GLES2FunctionPointer
>(glGenTextures
),
1865 "glGenTransformFeedbacks",
1866 reinterpret_cast<GLES2FunctionPointer
>(glGenTransformFeedbacks
),
1869 "glGetActiveAttrib",
1870 reinterpret_cast<GLES2FunctionPointer
>(glGetActiveAttrib
),
1873 "glGetActiveUniform",
1874 reinterpret_cast<GLES2FunctionPointer
>(glGetActiveUniform
),
1877 "glGetActiveUniformBlockiv",
1878 reinterpret_cast<GLES2FunctionPointer
>(glGetActiveUniformBlockiv
),
1881 "glGetActiveUniformBlockName",
1882 reinterpret_cast<GLES2FunctionPointer
>(glGetActiveUniformBlockName
),
1885 "glGetActiveUniformsiv",
1886 reinterpret_cast<GLES2FunctionPointer
>(glGetActiveUniformsiv
),
1889 "glGetAttachedShaders",
1890 reinterpret_cast<GLES2FunctionPointer
>(glGetAttachedShaders
),
1893 "glGetAttribLocation",
1894 reinterpret_cast<GLES2FunctionPointer
>(glGetAttribLocation
),
1897 "glGetBooleanv", reinterpret_cast<GLES2FunctionPointer
>(glGetBooleanv
),
1900 "glGetBufferParameteri64v",
1901 reinterpret_cast<GLES2FunctionPointer
>(glGetBufferParameteri64v
),
1904 "glGetBufferParameteriv",
1905 reinterpret_cast<GLES2FunctionPointer
>(glGetBufferParameteriv
),
1908 "glGetError", reinterpret_cast<GLES2FunctionPointer
>(glGetError
),
1911 "glGetFloatv", reinterpret_cast<GLES2FunctionPointer
>(glGetFloatv
),
1914 "glGetFragDataLocation",
1915 reinterpret_cast<GLES2FunctionPointer
>(glGetFragDataLocation
),
1918 "glGetFramebufferAttachmentParameteriv",
1919 reinterpret_cast<GLES2FunctionPointer
>(
1920 glGetFramebufferAttachmentParameteriv
),
1924 reinterpret_cast<GLES2FunctionPointer
>(glGetInteger64v
),
1928 reinterpret_cast<GLES2FunctionPointer
>(glGetIntegeri_v
),
1931 "glGetInteger64i_v",
1932 reinterpret_cast<GLES2FunctionPointer
>(glGetInteger64i_v
),
1935 "glGetIntegerv", reinterpret_cast<GLES2FunctionPointer
>(glGetIntegerv
),
1938 "glGetInternalformativ",
1939 reinterpret_cast<GLES2FunctionPointer
>(glGetInternalformativ
),
1943 reinterpret_cast<GLES2FunctionPointer
>(glGetProgramiv
),
1946 "glGetProgramInfoLog",
1947 reinterpret_cast<GLES2FunctionPointer
>(glGetProgramInfoLog
),
1950 "glGetRenderbufferParameteriv",
1951 reinterpret_cast<GLES2FunctionPointer
>(glGetRenderbufferParameteriv
),
1954 "glGetSamplerParameterfv",
1955 reinterpret_cast<GLES2FunctionPointer
>(glGetSamplerParameterfv
),
1958 "glGetSamplerParameteriv",
1959 reinterpret_cast<GLES2FunctionPointer
>(glGetSamplerParameteriv
),
1962 "glGetShaderiv", reinterpret_cast<GLES2FunctionPointer
>(glGetShaderiv
),
1965 "glGetShaderInfoLog",
1966 reinterpret_cast<GLES2FunctionPointer
>(glGetShaderInfoLog
),
1969 "glGetShaderPrecisionFormat",
1970 reinterpret_cast<GLES2FunctionPointer
>(glGetShaderPrecisionFormat
),
1973 "glGetShaderSource",
1974 reinterpret_cast<GLES2FunctionPointer
>(glGetShaderSource
),
1977 "glGetString", reinterpret_cast<GLES2FunctionPointer
>(glGetString
),
1980 "glGetSynciv", reinterpret_cast<GLES2FunctionPointer
>(glGetSynciv
),
1983 "glGetTexParameterfv",
1984 reinterpret_cast<GLES2FunctionPointer
>(glGetTexParameterfv
),
1987 "glGetTexParameteriv",
1988 reinterpret_cast<GLES2FunctionPointer
>(glGetTexParameteriv
),
1991 "glGetTransformFeedbackVarying",
1992 reinterpret_cast<GLES2FunctionPointer
>(glGetTransformFeedbackVarying
),
1995 "glGetUniformBlockIndex",
1996 reinterpret_cast<GLES2FunctionPointer
>(glGetUniformBlockIndex
),
2000 reinterpret_cast<GLES2FunctionPointer
>(glGetUniformfv
),
2004 reinterpret_cast<GLES2FunctionPointer
>(glGetUniformiv
),
2008 reinterpret_cast<GLES2FunctionPointer
>(glGetUniformuiv
),
2011 "glGetUniformIndices",
2012 reinterpret_cast<GLES2FunctionPointer
>(glGetUniformIndices
),
2015 "glGetUniformLocation",
2016 reinterpret_cast<GLES2FunctionPointer
>(glGetUniformLocation
),
2019 "glGetVertexAttribfv",
2020 reinterpret_cast<GLES2FunctionPointer
>(glGetVertexAttribfv
),
2023 "glGetVertexAttribiv",
2024 reinterpret_cast<GLES2FunctionPointer
>(glGetVertexAttribiv
),
2027 "glGetVertexAttribIiv",
2028 reinterpret_cast<GLES2FunctionPointer
>(glGetVertexAttribIiv
),
2031 "glGetVertexAttribIuiv",
2032 reinterpret_cast<GLES2FunctionPointer
>(glGetVertexAttribIuiv
),
2035 "glGetVertexAttribPointerv",
2036 reinterpret_cast<GLES2FunctionPointer
>(glGetVertexAttribPointerv
),
2039 "glHint", reinterpret_cast<GLES2FunctionPointer
>(glHint
),
2042 "glInvalidateFramebuffer",
2043 reinterpret_cast<GLES2FunctionPointer
>(glInvalidateFramebuffer
),
2046 "glInvalidateSubFramebuffer",
2047 reinterpret_cast<GLES2FunctionPointer
>(glInvalidateSubFramebuffer
),
2050 "glIsBuffer", reinterpret_cast<GLES2FunctionPointer
>(glIsBuffer
),
2053 "glIsEnabled", reinterpret_cast<GLES2FunctionPointer
>(glIsEnabled
),
2057 reinterpret_cast<GLES2FunctionPointer
>(glIsFramebuffer
),
2060 "glIsProgram", reinterpret_cast<GLES2FunctionPointer
>(glIsProgram
),
2064 reinterpret_cast<GLES2FunctionPointer
>(glIsRenderbuffer
),
2067 "glIsSampler", reinterpret_cast<GLES2FunctionPointer
>(glIsSampler
),
2070 "glIsShader", reinterpret_cast<GLES2FunctionPointer
>(glIsShader
),
2073 "glIsSync", reinterpret_cast<GLES2FunctionPointer
>(glIsSync
),
2076 "glIsTexture", reinterpret_cast<GLES2FunctionPointer
>(glIsTexture
),
2079 "glIsTransformFeedback",
2080 reinterpret_cast<GLES2FunctionPointer
>(glIsTransformFeedback
),
2083 "glLineWidth", reinterpret_cast<GLES2FunctionPointer
>(glLineWidth
),
2086 "glLinkProgram", reinterpret_cast<GLES2FunctionPointer
>(glLinkProgram
),
2089 "glPauseTransformFeedback",
2090 reinterpret_cast<GLES2FunctionPointer
>(glPauseTransformFeedback
),
2093 "glPixelStorei", reinterpret_cast<GLES2FunctionPointer
>(glPixelStorei
),
2097 reinterpret_cast<GLES2FunctionPointer
>(glPolygonOffset
),
2100 "glReadBuffer", reinterpret_cast<GLES2FunctionPointer
>(glReadBuffer
),
2103 "glReadPixels", reinterpret_cast<GLES2FunctionPointer
>(glReadPixels
),
2106 "glReleaseShaderCompiler",
2107 reinterpret_cast<GLES2FunctionPointer
>(glReleaseShaderCompiler
),
2110 "glRenderbufferStorage",
2111 reinterpret_cast<GLES2FunctionPointer
>(glRenderbufferStorage
),
2114 "glResumeTransformFeedback",
2115 reinterpret_cast<GLES2FunctionPointer
>(glResumeTransformFeedback
),
2119 reinterpret_cast<GLES2FunctionPointer
>(glSampleCoverage
),
2122 "glSamplerParameterf",
2123 reinterpret_cast<GLES2FunctionPointer
>(glSamplerParameterf
),
2126 "glSamplerParameterfv",
2127 reinterpret_cast<GLES2FunctionPointer
>(glSamplerParameterfv
),
2130 "glSamplerParameteri",
2131 reinterpret_cast<GLES2FunctionPointer
>(glSamplerParameteri
),
2134 "glSamplerParameteriv",
2135 reinterpret_cast<GLES2FunctionPointer
>(glSamplerParameteriv
),
2138 "glScissor", reinterpret_cast<GLES2FunctionPointer
>(glScissor
),
2142 reinterpret_cast<GLES2FunctionPointer
>(glShaderBinary
),
2146 reinterpret_cast<GLES2FunctionPointer
>(glShaderSource
),
2149 "glShallowFinishCHROMIUM",
2150 reinterpret_cast<GLES2FunctionPointer
>(glShallowFinishCHROMIUM
),
2153 "glShallowFlushCHROMIUM",
2154 reinterpret_cast<GLES2FunctionPointer
>(glShallowFlushCHROMIUM
),
2157 "glOrderingBarrierCHROMIUM",
2158 reinterpret_cast<GLES2FunctionPointer
>(glOrderingBarrierCHROMIUM
),
2161 "glStencilFunc", reinterpret_cast<GLES2FunctionPointer
>(glStencilFunc
),
2164 "glStencilFuncSeparate",
2165 reinterpret_cast<GLES2FunctionPointer
>(glStencilFuncSeparate
),
2168 "glStencilMask", reinterpret_cast<GLES2FunctionPointer
>(glStencilMask
),
2171 "glStencilMaskSeparate",
2172 reinterpret_cast<GLES2FunctionPointer
>(glStencilMaskSeparate
),
2175 "glStencilOp", reinterpret_cast<GLES2FunctionPointer
>(glStencilOp
),
2178 "glStencilOpSeparate",
2179 reinterpret_cast<GLES2FunctionPointer
>(glStencilOpSeparate
),
2182 "glTexImage2D", reinterpret_cast<GLES2FunctionPointer
>(glTexImage2D
),
2185 "glTexImage3D", reinterpret_cast<GLES2FunctionPointer
>(glTexImage3D
),
2189 reinterpret_cast<GLES2FunctionPointer
>(glTexParameterf
),
2193 reinterpret_cast<GLES2FunctionPointer
>(glTexParameterfv
),
2197 reinterpret_cast<GLES2FunctionPointer
>(glTexParameteri
),
2201 reinterpret_cast<GLES2FunctionPointer
>(glTexParameteriv
),
2205 reinterpret_cast<GLES2FunctionPointer
>(glTexStorage3D
),
2209 reinterpret_cast<GLES2FunctionPointer
>(glTexSubImage2D
),
2213 reinterpret_cast<GLES2FunctionPointer
>(glTexSubImage3D
),
2216 "glTransformFeedbackVaryings",
2217 reinterpret_cast<GLES2FunctionPointer
>(glTransformFeedbackVaryings
),
2220 "glUniform1f", reinterpret_cast<GLES2FunctionPointer
>(glUniform1f
),
2223 "glUniform1fv", reinterpret_cast<GLES2FunctionPointer
>(glUniform1fv
),
2226 "glUniform1i", reinterpret_cast<GLES2FunctionPointer
>(glUniform1i
),
2229 "glUniform1iv", reinterpret_cast<GLES2FunctionPointer
>(glUniform1iv
),
2232 "glUniform1ui", reinterpret_cast<GLES2FunctionPointer
>(glUniform1ui
),
2235 "glUniform1uiv", reinterpret_cast<GLES2FunctionPointer
>(glUniform1uiv
),
2238 "glUniform2f", reinterpret_cast<GLES2FunctionPointer
>(glUniform2f
),
2241 "glUniform2fv", reinterpret_cast<GLES2FunctionPointer
>(glUniform2fv
),
2244 "glUniform2i", reinterpret_cast<GLES2FunctionPointer
>(glUniform2i
),
2247 "glUniform2iv", reinterpret_cast<GLES2FunctionPointer
>(glUniform2iv
),
2250 "glUniform2ui", reinterpret_cast<GLES2FunctionPointer
>(glUniform2ui
),
2253 "glUniform2uiv", reinterpret_cast<GLES2FunctionPointer
>(glUniform2uiv
),
2256 "glUniform3f", reinterpret_cast<GLES2FunctionPointer
>(glUniform3f
),
2259 "glUniform3fv", reinterpret_cast<GLES2FunctionPointer
>(glUniform3fv
),
2262 "glUniform3i", reinterpret_cast<GLES2FunctionPointer
>(glUniform3i
),
2265 "glUniform3iv", reinterpret_cast<GLES2FunctionPointer
>(glUniform3iv
),
2268 "glUniform3ui", reinterpret_cast<GLES2FunctionPointer
>(glUniform3ui
),
2271 "glUniform3uiv", reinterpret_cast<GLES2FunctionPointer
>(glUniform3uiv
),
2274 "glUniform4f", reinterpret_cast<GLES2FunctionPointer
>(glUniform4f
),
2277 "glUniform4fv", reinterpret_cast<GLES2FunctionPointer
>(glUniform4fv
),
2280 "glUniform4i", reinterpret_cast<GLES2FunctionPointer
>(glUniform4i
),
2283 "glUniform4iv", reinterpret_cast<GLES2FunctionPointer
>(glUniform4iv
),
2286 "glUniform4ui", reinterpret_cast<GLES2FunctionPointer
>(glUniform4ui
),
2289 "glUniform4uiv", reinterpret_cast<GLES2FunctionPointer
>(glUniform4uiv
),
2292 "glUniformBlockBinding",
2293 reinterpret_cast<GLES2FunctionPointer
>(glUniformBlockBinding
),
2296 "glUniformMatrix2fv",
2297 reinterpret_cast<GLES2FunctionPointer
>(glUniformMatrix2fv
),
2300 "glUniformMatrix2x3fv",
2301 reinterpret_cast<GLES2FunctionPointer
>(glUniformMatrix2x3fv
),
2304 "glUniformMatrix2x4fv",
2305 reinterpret_cast<GLES2FunctionPointer
>(glUniformMatrix2x4fv
),
2308 "glUniformMatrix3fv",
2309 reinterpret_cast<GLES2FunctionPointer
>(glUniformMatrix3fv
),
2312 "glUniformMatrix3x2fv",
2313 reinterpret_cast<GLES2FunctionPointer
>(glUniformMatrix3x2fv
),
2316 "glUniformMatrix3x4fv",
2317 reinterpret_cast<GLES2FunctionPointer
>(glUniformMatrix3x4fv
),
2320 "glUniformMatrix4fv",
2321 reinterpret_cast<GLES2FunctionPointer
>(glUniformMatrix4fv
),
2324 "glUniformMatrix4x2fv",
2325 reinterpret_cast<GLES2FunctionPointer
>(glUniformMatrix4x2fv
),
2328 "glUniformMatrix4x3fv",
2329 reinterpret_cast<GLES2FunctionPointer
>(glUniformMatrix4x3fv
),
2332 "glUseProgram", reinterpret_cast<GLES2FunctionPointer
>(glUseProgram
),
2335 "glValidateProgram",
2336 reinterpret_cast<GLES2FunctionPointer
>(glValidateProgram
),
2340 reinterpret_cast<GLES2FunctionPointer
>(glVertexAttrib1f
),
2343 "glVertexAttrib1fv",
2344 reinterpret_cast<GLES2FunctionPointer
>(glVertexAttrib1fv
),
2348 reinterpret_cast<GLES2FunctionPointer
>(glVertexAttrib2f
),
2351 "glVertexAttrib2fv",
2352 reinterpret_cast<GLES2FunctionPointer
>(glVertexAttrib2fv
),
2356 reinterpret_cast<GLES2FunctionPointer
>(glVertexAttrib3f
),
2359 "glVertexAttrib3fv",
2360 reinterpret_cast<GLES2FunctionPointer
>(glVertexAttrib3fv
),
2364 reinterpret_cast<GLES2FunctionPointer
>(glVertexAttrib4f
),
2367 "glVertexAttrib4fv",
2368 reinterpret_cast<GLES2FunctionPointer
>(glVertexAttrib4fv
),
2371 "glVertexAttribI4i",
2372 reinterpret_cast<GLES2FunctionPointer
>(glVertexAttribI4i
),
2375 "glVertexAttribI4iv",
2376 reinterpret_cast<GLES2FunctionPointer
>(glVertexAttribI4iv
),
2379 "glVertexAttribI4ui",
2380 reinterpret_cast<GLES2FunctionPointer
>(glVertexAttribI4ui
),
2383 "glVertexAttribI4uiv",
2384 reinterpret_cast<GLES2FunctionPointer
>(glVertexAttribI4uiv
),
2387 "glVertexAttribIPointer",
2388 reinterpret_cast<GLES2FunctionPointer
>(glVertexAttribIPointer
),
2391 "glVertexAttribPointer",
2392 reinterpret_cast<GLES2FunctionPointer
>(glVertexAttribPointer
),
2395 "glViewport", reinterpret_cast<GLES2FunctionPointer
>(glViewport
),
2398 "glWaitSync", reinterpret_cast<GLES2FunctionPointer
>(glWaitSync
),
2401 "glBlitFramebufferCHROMIUM",
2402 reinterpret_cast<GLES2FunctionPointer
>(glBlitFramebufferCHROMIUM
),
2405 "glRenderbufferStorageMultisampleCHROMIUM",
2406 reinterpret_cast<GLES2FunctionPointer
>(
2407 glRenderbufferStorageMultisampleCHROMIUM
),
2410 "glRenderbufferStorageMultisampleEXT",
2411 reinterpret_cast<GLES2FunctionPointer
>(
2412 glRenderbufferStorageMultisampleEXT
),
2415 "glFramebufferTexture2DMultisampleEXT",
2416 reinterpret_cast<GLES2FunctionPointer
>(
2417 glFramebufferTexture2DMultisampleEXT
),
2420 "glTexStorage2DEXT",
2421 reinterpret_cast<GLES2FunctionPointer
>(glTexStorage2DEXT
),
2425 reinterpret_cast<GLES2FunctionPointer
>(glGenQueriesEXT
),
2428 "glDeleteQueriesEXT",
2429 reinterpret_cast<GLES2FunctionPointer
>(glDeleteQueriesEXT
),
2432 "glQueryCounterEXT",
2433 reinterpret_cast<GLES2FunctionPointer
>(glQueryCounterEXT
),
2436 "glIsQueryEXT", reinterpret_cast<GLES2FunctionPointer
>(glIsQueryEXT
),
2440 reinterpret_cast<GLES2FunctionPointer
>(glBeginQueryEXT
),
2443 "glBeginTransformFeedback",
2444 reinterpret_cast<GLES2FunctionPointer
>(glBeginTransformFeedback
),
2447 "glEndQueryEXT", reinterpret_cast<GLES2FunctionPointer
>(glEndQueryEXT
),
2450 "glEndTransformFeedback",
2451 reinterpret_cast<GLES2FunctionPointer
>(glEndTransformFeedback
),
2455 reinterpret_cast<GLES2FunctionPointer
>(glGetQueryivEXT
),
2458 "glGetQueryObjectivEXT",
2459 reinterpret_cast<GLES2FunctionPointer
>(glGetQueryObjectivEXT
),
2462 "glGetQueryObjectuivEXT",
2463 reinterpret_cast<GLES2FunctionPointer
>(glGetQueryObjectuivEXT
),
2466 "glGetQueryObjecti64vEXT",
2467 reinterpret_cast<GLES2FunctionPointer
>(glGetQueryObjecti64vEXT
),
2470 "glGetQueryObjectui64vEXT",
2471 reinterpret_cast<GLES2FunctionPointer
>(glGetQueryObjectui64vEXT
),
2474 "glSetDisjointValueSyncCHROMIUM",
2475 reinterpret_cast<GLES2FunctionPointer
>(glSetDisjointValueSyncCHROMIUM
),
2478 "glInsertEventMarkerEXT",
2479 reinterpret_cast<GLES2FunctionPointer
>(glInsertEventMarkerEXT
),
2482 "glPushGroupMarkerEXT",
2483 reinterpret_cast<GLES2FunctionPointer
>(glPushGroupMarkerEXT
),
2486 "glPopGroupMarkerEXT",
2487 reinterpret_cast<GLES2FunctionPointer
>(glPopGroupMarkerEXT
),
2490 "glGenVertexArraysOES",
2491 reinterpret_cast<GLES2FunctionPointer
>(glGenVertexArraysOES
),
2494 "glDeleteVertexArraysOES",
2495 reinterpret_cast<GLES2FunctionPointer
>(glDeleteVertexArraysOES
),
2498 "glIsVertexArrayOES",
2499 reinterpret_cast<GLES2FunctionPointer
>(glIsVertexArrayOES
),
2502 "glBindVertexArrayOES",
2503 reinterpret_cast<GLES2FunctionPointer
>(glBindVertexArrayOES
),
2506 "glSwapBuffers", reinterpret_cast<GLES2FunctionPointer
>(glSwapBuffers
),
2509 "glGetMaxValueInBufferCHROMIUM",
2510 reinterpret_cast<GLES2FunctionPointer
>(glGetMaxValueInBufferCHROMIUM
),
2513 "glEnableFeatureCHROMIUM",
2514 reinterpret_cast<GLES2FunctionPointer
>(glEnableFeatureCHROMIUM
),
2517 "glMapBufferCHROMIUM",
2518 reinterpret_cast<GLES2FunctionPointer
>(glMapBufferCHROMIUM
),
2521 "glUnmapBufferCHROMIUM",
2522 reinterpret_cast<GLES2FunctionPointer
>(glUnmapBufferCHROMIUM
),
2525 "glMapBufferSubDataCHROMIUM",
2526 reinterpret_cast<GLES2FunctionPointer
>(glMapBufferSubDataCHROMIUM
),
2529 "glUnmapBufferSubDataCHROMIUM",
2530 reinterpret_cast<GLES2FunctionPointer
>(glUnmapBufferSubDataCHROMIUM
),
2534 reinterpret_cast<GLES2FunctionPointer
>(glMapBufferRange
),
2537 "glUnmapBuffer", reinterpret_cast<GLES2FunctionPointer
>(glUnmapBuffer
),
2540 "glMapTexSubImage2DCHROMIUM",
2541 reinterpret_cast<GLES2FunctionPointer
>(glMapTexSubImage2DCHROMIUM
),
2544 "glUnmapTexSubImage2DCHROMIUM",
2545 reinterpret_cast<GLES2FunctionPointer
>(glUnmapTexSubImage2DCHROMIUM
),
2549 reinterpret_cast<GLES2FunctionPointer
>(glResizeCHROMIUM
),
2552 "glGetRequestableExtensionsCHROMIUM",
2553 reinterpret_cast<GLES2FunctionPointer
>(
2554 glGetRequestableExtensionsCHROMIUM
),
2557 "glRequestExtensionCHROMIUM",
2558 reinterpret_cast<GLES2FunctionPointer
>(glRequestExtensionCHROMIUM
),
2561 "glRateLimitOffscreenContextCHROMIUM",
2562 reinterpret_cast<GLES2FunctionPointer
>(
2563 glRateLimitOffscreenContextCHROMIUM
),
2566 "glGetProgramInfoCHROMIUM",
2567 reinterpret_cast<GLES2FunctionPointer
>(glGetProgramInfoCHROMIUM
),
2570 "glGetUniformBlocksCHROMIUM",
2571 reinterpret_cast<GLES2FunctionPointer
>(glGetUniformBlocksCHROMIUM
),
2574 "glGetTransformFeedbackVaryingsCHROMIUM",
2575 reinterpret_cast<GLES2FunctionPointer
>(
2576 glGetTransformFeedbackVaryingsCHROMIUM
),
2579 "glGetUniformsES3CHROMIUM",
2580 reinterpret_cast<GLES2FunctionPointer
>(glGetUniformsES3CHROMIUM
),
2583 "glCreateStreamTextureCHROMIUM",
2584 reinterpret_cast<GLES2FunctionPointer
>(glCreateStreamTextureCHROMIUM
),
2587 "glCreateImageCHROMIUM",
2588 reinterpret_cast<GLES2FunctionPointer
>(glCreateImageCHROMIUM
),
2591 "glDestroyImageCHROMIUM",
2592 reinterpret_cast<GLES2FunctionPointer
>(glDestroyImageCHROMIUM
),
2595 "glCreateGpuMemoryBufferImageCHROMIUM",
2596 reinterpret_cast<GLES2FunctionPointer
>(
2597 glCreateGpuMemoryBufferImageCHROMIUM
),
2600 "glGetTranslatedShaderSourceANGLE",
2601 reinterpret_cast<GLES2FunctionPointer
>(
2602 glGetTranslatedShaderSourceANGLE
),
2605 "glPostSubBufferCHROMIUM",
2606 reinterpret_cast<GLES2FunctionPointer
>(glPostSubBufferCHROMIUM
),
2609 "glTexImageIOSurface2DCHROMIUM",
2610 reinterpret_cast<GLES2FunctionPointer
>(glTexImageIOSurface2DCHROMIUM
),
2613 "glCopyTextureCHROMIUM",
2614 reinterpret_cast<GLES2FunctionPointer
>(glCopyTextureCHROMIUM
),
2617 "glCopySubTextureCHROMIUM",
2618 reinterpret_cast<GLES2FunctionPointer
>(glCopySubTextureCHROMIUM
),
2621 "glCompressedCopyTextureCHROMIUM",
2622 reinterpret_cast<GLES2FunctionPointer
>(glCompressedCopyTextureCHROMIUM
),
2625 "glCompressedCopySubTextureCHROMIUM",
2626 reinterpret_cast<GLES2FunctionPointer
>(
2627 glCompressedCopySubTextureCHROMIUM
),
2630 "glDrawArraysInstancedANGLE",
2631 reinterpret_cast<GLES2FunctionPointer
>(glDrawArraysInstancedANGLE
),
2634 "glDrawElementsInstancedANGLE",
2635 reinterpret_cast<GLES2FunctionPointer
>(glDrawElementsInstancedANGLE
),
2638 "glVertexAttribDivisorANGLE",
2639 reinterpret_cast<GLES2FunctionPointer
>(glVertexAttribDivisorANGLE
),
2642 "glGenMailboxCHROMIUM",
2643 reinterpret_cast<GLES2FunctionPointer
>(glGenMailboxCHROMIUM
),
2646 "glProduceTextureCHROMIUM",
2647 reinterpret_cast<GLES2FunctionPointer
>(glProduceTextureCHROMIUM
),
2650 "glProduceTextureDirectCHROMIUM",
2651 reinterpret_cast<GLES2FunctionPointer
>(glProduceTextureDirectCHROMIUM
),
2654 "glConsumeTextureCHROMIUM",
2655 reinterpret_cast<GLES2FunctionPointer
>(glConsumeTextureCHROMIUM
),
2658 "glCreateAndConsumeTextureCHROMIUM",
2659 reinterpret_cast<GLES2FunctionPointer
>(
2660 glCreateAndConsumeTextureCHROMIUM
),
2663 "glBindUniformLocationCHROMIUM",
2664 reinterpret_cast<GLES2FunctionPointer
>(glBindUniformLocationCHROMIUM
),
2667 "glGenValuebuffersCHROMIUM",
2668 reinterpret_cast<GLES2FunctionPointer
>(glGenValuebuffersCHROMIUM
),
2671 "glDeleteValuebuffersCHROMIUM",
2672 reinterpret_cast<GLES2FunctionPointer
>(glDeleteValuebuffersCHROMIUM
),
2675 "glIsValuebufferCHROMIUM",
2676 reinterpret_cast<GLES2FunctionPointer
>(glIsValuebufferCHROMIUM
),
2679 "glBindValuebufferCHROMIUM",
2680 reinterpret_cast<GLES2FunctionPointer
>(glBindValuebufferCHROMIUM
),
2683 "glSubscribeValueCHROMIUM",
2684 reinterpret_cast<GLES2FunctionPointer
>(glSubscribeValueCHROMIUM
),
2687 "glPopulateSubscribedValuesCHROMIUM",
2688 reinterpret_cast<GLES2FunctionPointer
>(
2689 glPopulateSubscribedValuesCHROMIUM
),
2692 "glUniformValuebufferCHROMIUM",
2693 reinterpret_cast<GLES2FunctionPointer
>(glUniformValuebufferCHROMIUM
),
2696 "glBindTexImage2DCHROMIUM",
2697 reinterpret_cast<GLES2FunctionPointer
>(glBindTexImage2DCHROMIUM
),
2700 "glReleaseTexImage2DCHROMIUM",
2701 reinterpret_cast<GLES2FunctionPointer
>(glReleaseTexImage2DCHROMIUM
),
2704 "glTraceBeginCHROMIUM",
2705 reinterpret_cast<GLES2FunctionPointer
>(glTraceBeginCHROMIUM
),
2708 "glTraceEndCHROMIUM",
2709 reinterpret_cast<GLES2FunctionPointer
>(glTraceEndCHROMIUM
),
2712 "glDiscardFramebufferEXT",
2713 reinterpret_cast<GLES2FunctionPointer
>(glDiscardFramebufferEXT
),
2716 "glLoseContextCHROMIUM",
2717 reinterpret_cast<GLES2FunctionPointer
>(glLoseContextCHROMIUM
),
2720 "glInsertSyncPointCHROMIUM",
2721 reinterpret_cast<GLES2FunctionPointer
>(glInsertSyncPointCHROMIUM
),
2724 "glWaitSyncPointCHROMIUM",
2725 reinterpret_cast<GLES2FunctionPointer
>(glWaitSyncPointCHROMIUM
),
2729 reinterpret_cast<GLES2FunctionPointer
>(glDrawBuffersEXT
),
2732 "glDiscardBackbufferCHROMIUM",
2733 reinterpret_cast<GLES2FunctionPointer
>(glDiscardBackbufferCHROMIUM
),
2736 "glScheduleOverlayPlaneCHROMIUM",
2737 reinterpret_cast<GLES2FunctionPointer
>(glScheduleOverlayPlaneCHROMIUM
),
2741 reinterpret_cast<GLES2FunctionPointer
>(glSwapInterval
),
2744 "glFlushDriverCachesCHROMIUM",
2745 reinterpret_cast<GLES2FunctionPointer
>(glFlushDriverCachesCHROMIUM
),
2748 "glMatrixLoadfCHROMIUM",
2749 reinterpret_cast<GLES2FunctionPointer
>(glMatrixLoadfCHROMIUM
),
2752 "glMatrixLoadIdentityCHROMIUM",
2753 reinterpret_cast<GLES2FunctionPointer
>(glMatrixLoadIdentityCHROMIUM
),
2756 "glGenPathsCHROMIUM",
2757 reinterpret_cast<GLES2FunctionPointer
>(glGenPathsCHROMIUM
),
2760 "glDeletePathsCHROMIUM",
2761 reinterpret_cast<GLES2FunctionPointer
>(glDeletePathsCHROMIUM
),
2765 reinterpret_cast<GLES2FunctionPointer
>(glIsPathCHROMIUM
),
2768 "glPathCommandsCHROMIUM",
2769 reinterpret_cast<GLES2FunctionPointer
>(glPathCommandsCHROMIUM
),
2772 "glPathParameterfCHROMIUM",
2773 reinterpret_cast<GLES2FunctionPointer
>(glPathParameterfCHROMIUM
),
2776 "glPathParameteriCHROMIUM",
2777 reinterpret_cast<GLES2FunctionPointer
>(glPathParameteriCHROMIUM
),
2780 "glPathStencilFuncCHROMIUM",
2781 reinterpret_cast<GLES2FunctionPointer
>(glPathStencilFuncCHROMIUM
),
2784 "glStencilFillPathCHROMIUM",
2785 reinterpret_cast<GLES2FunctionPointer
>(glStencilFillPathCHROMIUM
),
2788 "glStencilStrokePathCHROMIUM",
2789 reinterpret_cast<GLES2FunctionPointer
>(glStencilStrokePathCHROMIUM
),
2792 "glCoverFillPathCHROMIUM",
2793 reinterpret_cast<GLES2FunctionPointer
>(glCoverFillPathCHROMIUM
),
2796 "glCoverStrokePathCHROMIUM",
2797 reinterpret_cast<GLES2FunctionPointer
>(glCoverStrokePathCHROMIUM
),
2800 "glStencilThenCoverFillPathCHROMIUM",
2801 reinterpret_cast<GLES2FunctionPointer
>(
2802 glStencilThenCoverFillPathCHROMIUM
),
2805 "glStencilThenCoverStrokePathCHROMIUM",
2806 reinterpret_cast<GLES2FunctionPointer
>(
2807 glStencilThenCoverStrokePathCHROMIUM
),
2810 "glGetGraphicsResetStatusKHR",
2811 reinterpret_cast<GLES2FunctionPointer
>(glGetGraphicsResetStatusKHR
),
2814 "glBlendBarrierKHR",
2815 reinterpret_cast<GLES2FunctionPointer
>(glBlendBarrierKHR
),
2822 } // namespace gles2
2823 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_