Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

Issue 255713008: Change glimage to accept a type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is auto-generated from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 } 62 }
63 void GLES2BufferSubData(GLenum target, 63 void GLES2BufferSubData(GLenum target,
64 GLintptr offset, 64 GLintptr offset,
65 GLsizeiptr size, 65 GLsizeiptr size,
66 const void* data) { 66 const void* data) {
67 gles2::GetGLContext()->BufferSubData(target, offset, size, data); 67 gles2::GetGLContext()->BufferSubData(target, offset, size, data);
68 } 68 }
69 GLenum GLES2CheckFramebufferStatus(GLenum target) { 69 GLenum GLES2CheckFramebufferStatus(GLenum target) {
70 return gles2::GetGLContext()->CheckFramebufferStatus(target); 70 return gles2::GetGLContext()->CheckFramebufferStatus(target);
71 } 71 }
72 void GLES2Clear(GLbitfield mask) { gles2::GetGLContext()->Clear(mask); } 72 void GLES2Clear(GLbitfield mask) {
73 gles2::GetGLContext()->Clear(mask);
74 }
73 void GLES2ClearColor(GLclampf red, 75 void GLES2ClearColor(GLclampf red,
74 GLclampf green, 76 GLclampf green,
75 GLclampf blue, 77 GLclampf blue,
76 GLclampf alpha) { 78 GLclampf alpha) {
77 gles2::GetGLContext()->ClearColor(red, green, blue, alpha); 79 gles2::GetGLContext()->ClearColor(red, green, blue, alpha);
78 } 80 }
79 void GLES2ClearDepthf(GLclampf depth) { 81 void GLES2ClearDepthf(GLclampf depth) {
80 gles2::GetGLContext()->ClearDepthf(depth); 82 gles2::GetGLContext()->ClearDepthf(depth);
81 } 83 }
82 void GLES2ClearStencil(GLint s) { gles2::GetGLContext()->ClearStencil(s); } 84 void GLES2ClearStencil(GLint s) {
85 gles2::GetGLContext()->ClearStencil(s);
86 }
83 void GLES2ColorMask(GLboolean red, 87 void GLES2ColorMask(GLboolean red,
84 GLboolean green, 88 GLboolean green,
85 GLboolean blue, 89 GLboolean blue,
86 GLboolean alpha) { 90 GLboolean alpha) {
87 gles2::GetGLContext()->ColorMask(red, green, blue, alpha); 91 gles2::GetGLContext()->ColorMask(red, green, blue, alpha);
88 } 92 }
89 void GLES2CompileShader(GLuint shader) { 93 void GLES2CompileShader(GLuint shader) {
90 gles2::GetGLContext()->CompileShader(shader); 94 gles2::GetGLContext()->CompileShader(shader);
91 } 95 }
92 void GLES2CompressedTexImage2D(GLenum target, 96 void GLES2CompressedTexImage2D(GLenum target,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 GLint level, 131 GLint level,
128 GLint xoffset, 132 GLint xoffset,
129 GLint yoffset, 133 GLint yoffset,
130 GLint x, 134 GLint x,
131 GLint y, 135 GLint y,
132 GLsizei width, 136 GLsizei width,
133 GLsizei height) { 137 GLsizei height) {
134 gles2::GetGLContext()->CopyTexSubImage2D( 138 gles2::GetGLContext()->CopyTexSubImage2D(
135 target, level, xoffset, yoffset, x, y, width, height); 139 target, level, xoffset, yoffset, x, y, width, height);
136 } 140 }
137 GLuint GLES2CreateProgram() { return gles2::GetGLContext()->CreateProgram(); } 141 GLuint GLES2CreateProgram() {
142 return gles2::GetGLContext()->CreateProgram();
143 }
138 GLuint GLES2CreateShader(GLenum type) { 144 GLuint GLES2CreateShader(GLenum type) {
139 return gles2::GetGLContext()->CreateShader(type); 145 return gles2::GetGLContext()->CreateShader(type);
140 } 146 }
141 void GLES2CullFace(GLenum mode) { gles2::GetGLContext()->CullFace(mode); } 147 void GLES2CullFace(GLenum mode) {
148 gles2::GetGLContext()->CullFace(mode);
149 }
142 void GLES2DeleteBuffers(GLsizei n, const GLuint* buffers) { 150 void GLES2DeleteBuffers(GLsizei n, const GLuint* buffers) {
143 gles2::GetGLContext()->DeleteBuffers(n, buffers); 151 gles2::GetGLContext()->DeleteBuffers(n, buffers);
144 } 152 }
145 void GLES2DeleteFramebuffers(GLsizei n, const GLuint* framebuffers) { 153 void GLES2DeleteFramebuffers(GLsizei n, const GLuint* framebuffers) {
146 gles2::GetGLContext()->DeleteFramebuffers(n, framebuffers); 154 gles2::GetGLContext()->DeleteFramebuffers(n, framebuffers);
147 } 155 }
148 void GLES2DeleteProgram(GLuint program) { 156 void GLES2DeleteProgram(GLuint program) {
149 gles2::GetGLContext()->DeleteProgram(program); 157 gles2::GetGLContext()->DeleteProgram(program);
150 } 158 }
151 void GLES2DeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers) { 159 void GLES2DeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers) {
152 gles2::GetGLContext()->DeleteRenderbuffers(n, renderbuffers); 160 gles2::GetGLContext()->DeleteRenderbuffers(n, renderbuffers);
153 } 161 }
154 void GLES2DeleteShader(GLuint shader) { 162 void GLES2DeleteShader(GLuint shader) {
155 gles2::GetGLContext()->DeleteShader(shader); 163 gles2::GetGLContext()->DeleteShader(shader);
156 } 164 }
157 void GLES2DeleteTextures(GLsizei n, const GLuint* textures) { 165 void GLES2DeleteTextures(GLsizei n, const GLuint* textures) {
158 gles2::GetGLContext()->DeleteTextures(n, textures); 166 gles2::GetGLContext()->DeleteTextures(n, textures);
159 } 167 }
160 void GLES2DepthFunc(GLenum func) { gles2::GetGLContext()->DepthFunc(func); } 168 void GLES2DepthFunc(GLenum func) {
161 void GLES2DepthMask(GLboolean flag) { gles2::GetGLContext()->DepthMask(flag); } 169 gles2::GetGLContext()->DepthFunc(func);
170 }
171 void GLES2DepthMask(GLboolean flag) {
172 gles2::GetGLContext()->DepthMask(flag);
173 }
162 void GLES2DepthRangef(GLclampf zNear, GLclampf zFar) { 174 void GLES2DepthRangef(GLclampf zNear, GLclampf zFar) {
163 gles2::GetGLContext()->DepthRangef(zNear, zFar); 175 gles2::GetGLContext()->DepthRangef(zNear, zFar);
164 } 176 }
165 void GLES2DetachShader(GLuint program, GLuint shader) { 177 void GLES2DetachShader(GLuint program, GLuint shader) {
166 gles2::GetGLContext()->DetachShader(program, shader); 178 gles2::GetGLContext()->DetachShader(program, shader);
167 } 179 }
168 void GLES2Disable(GLenum cap) { gles2::GetGLContext()->Disable(cap); } 180 void GLES2Disable(GLenum cap) {
181 gles2::GetGLContext()->Disable(cap);
182 }
169 void GLES2DisableVertexAttribArray(GLuint index) { 183 void GLES2DisableVertexAttribArray(GLuint index) {
170 gles2::GetGLContext()->DisableVertexAttribArray(index); 184 gles2::GetGLContext()->DisableVertexAttribArray(index);
171 } 185 }
172 void GLES2DrawArrays(GLenum mode, GLint first, GLsizei count) { 186 void GLES2DrawArrays(GLenum mode, GLint first, GLsizei count) {
173 gles2::GetGLContext()->DrawArrays(mode, first, count); 187 gles2::GetGLContext()->DrawArrays(mode, first, count);
174 } 188 }
175 void GLES2DrawElements(GLenum mode, 189 void GLES2DrawElements(GLenum mode,
176 GLsizei count, 190 GLsizei count,
177 GLenum type, 191 GLenum type,
178 const void* indices) { 192 const void* indices) {
179 gles2::GetGLContext()->DrawElements(mode, count, type, indices); 193 gles2::GetGLContext()->DrawElements(mode, count, type, indices);
180 } 194 }
181 void GLES2Enable(GLenum cap) { gles2::GetGLContext()->Enable(cap); } 195 void GLES2Enable(GLenum cap) {
196 gles2::GetGLContext()->Enable(cap);
197 }
182 void GLES2EnableVertexAttribArray(GLuint index) { 198 void GLES2EnableVertexAttribArray(GLuint index) {
183 gles2::GetGLContext()->EnableVertexAttribArray(index); 199 gles2::GetGLContext()->EnableVertexAttribArray(index);
184 } 200 }
185 void GLES2Finish() { gles2::GetGLContext()->Finish(); } 201 void GLES2Finish() {
186 void GLES2Flush() { gles2::GetGLContext()->Flush(); } 202 gles2::GetGLContext()->Finish();
203 }
204 void GLES2Flush() {
205 gles2::GetGLContext()->Flush();
206 }
187 void GLES2FramebufferRenderbuffer(GLenum target, 207 void GLES2FramebufferRenderbuffer(GLenum target,
188 GLenum attachment, 208 GLenum attachment,
189 GLenum renderbuffertarget, 209 GLenum renderbuffertarget,
190 GLuint renderbuffer) { 210 GLuint renderbuffer) {
191 gles2::GetGLContext()->FramebufferRenderbuffer( 211 gles2::GetGLContext()->FramebufferRenderbuffer(
192 target, attachment, renderbuffertarget, renderbuffer); 212 target, attachment, renderbuffertarget, renderbuffer);
193 } 213 }
194 void GLES2FramebufferTexture2D(GLenum target, 214 void GLES2FramebufferTexture2D(GLenum target,
195 GLenum attachment, 215 GLenum attachment,
196 GLenum textarget, 216 GLenum textarget,
197 GLuint texture, 217 GLuint texture,
198 GLint level) { 218 GLint level) {
199 gles2::GetGLContext()->FramebufferTexture2D( 219 gles2::GetGLContext()->FramebufferTexture2D(
200 target, attachment, textarget, texture, level); 220 target, attachment, textarget, texture, level);
201 } 221 }
202 void GLES2FrontFace(GLenum mode) { gles2::GetGLContext()->FrontFace(mode); } 222 void GLES2FrontFace(GLenum mode) {
223 gles2::GetGLContext()->FrontFace(mode);
224 }
203 void GLES2GenBuffers(GLsizei n, GLuint* buffers) { 225 void GLES2GenBuffers(GLsizei n, GLuint* buffers) {
204 gles2::GetGLContext()->GenBuffers(n, buffers); 226 gles2::GetGLContext()->GenBuffers(n, buffers);
205 } 227 }
206 void GLES2GenerateMipmap(GLenum target) { 228 void GLES2GenerateMipmap(GLenum target) {
207 gles2::GetGLContext()->GenerateMipmap(target); 229 gles2::GetGLContext()->GenerateMipmap(target);
208 } 230 }
209 void GLES2GenFramebuffers(GLsizei n, GLuint* framebuffers) { 231 void GLES2GenFramebuffers(GLsizei n, GLuint* framebuffers) {
210 gles2::GetGLContext()->GenFramebuffers(n, framebuffers); 232 gles2::GetGLContext()->GenFramebuffers(n, framebuffers);
211 } 233 }
212 void GLES2GenRenderbuffers(GLsizei n, GLuint* renderbuffers) { 234 void GLES2GenRenderbuffers(GLsizei n, GLuint* renderbuffers) {
(...skipping 30 matching lines...) Expand all
243 } 265 }
244 GLint GLES2GetAttribLocation(GLuint program, const char* name) { 266 GLint GLES2GetAttribLocation(GLuint program, const char* name) {
245 return gles2::GetGLContext()->GetAttribLocation(program, name); 267 return gles2::GetGLContext()->GetAttribLocation(program, name);
246 } 268 }
247 void GLES2GetBooleanv(GLenum pname, GLboolean* params) { 269 void GLES2GetBooleanv(GLenum pname, GLboolean* params) {
248 gles2::GetGLContext()->GetBooleanv(pname, params); 270 gles2::GetGLContext()->GetBooleanv(pname, params);
249 } 271 }
250 void GLES2GetBufferParameteriv(GLenum target, GLenum pname, GLint* params) { 272 void GLES2GetBufferParameteriv(GLenum target, GLenum pname, GLint* params) {
251 gles2::GetGLContext()->GetBufferParameteriv(target, pname, params); 273 gles2::GetGLContext()->GetBufferParameteriv(target, pname, params);
252 } 274 }
253 GLenum GLES2GetError() { return gles2::GetGLContext()->GetError(); } 275 GLenum GLES2GetError() {
276 return gles2::GetGLContext()->GetError();
277 }
254 void GLES2GetFloatv(GLenum pname, GLfloat* params) { 278 void GLES2GetFloatv(GLenum pname, GLfloat* params) {
255 gles2::GetGLContext()->GetFloatv(pname, params); 279 gles2::GetGLContext()->GetFloatv(pname, params);
256 } 280 }
257 void GLES2GetFramebufferAttachmentParameteriv(GLenum target, 281 void GLES2GetFramebufferAttachmentParameteriv(GLenum target,
258 GLenum attachment, 282 GLenum attachment,
259 GLenum pname, 283 GLenum pname,
260 GLint* params) { 284 GLint* params) {
261 gles2::GetGLContext()->GetFramebufferAttachmentParameteriv( 285 gles2::GetGLContext()->GetFramebufferAttachmentParameteriv(
262 target, attachment, pname, params); 286 target, attachment, pname, params);
263 } 287 }
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 } 368 }
345 GLboolean GLES2IsRenderbuffer(GLuint renderbuffer) { 369 GLboolean GLES2IsRenderbuffer(GLuint renderbuffer) {
346 return gles2::GetGLContext()->IsRenderbuffer(renderbuffer); 370 return gles2::GetGLContext()->IsRenderbuffer(renderbuffer);
347 } 371 }
348 GLboolean GLES2IsShader(GLuint shader) { 372 GLboolean GLES2IsShader(GLuint shader) {
349 return gles2::GetGLContext()->IsShader(shader); 373 return gles2::GetGLContext()->IsShader(shader);
350 } 374 }
351 GLboolean GLES2IsTexture(GLuint texture) { 375 GLboolean GLES2IsTexture(GLuint texture) {
352 return gles2::GetGLContext()->IsTexture(texture); 376 return gles2::GetGLContext()->IsTexture(texture);
353 } 377 }
354 void GLES2LineWidth(GLfloat width) { gles2::GetGLContext()->LineWidth(width); } 378 void GLES2LineWidth(GLfloat width) {
379 gles2::GetGLContext()->LineWidth(width);
380 }
355 void GLES2LinkProgram(GLuint program) { 381 void GLES2LinkProgram(GLuint program) {
356 gles2::GetGLContext()->LinkProgram(program); 382 gles2::GetGLContext()->LinkProgram(program);
357 } 383 }
358 void GLES2PixelStorei(GLenum pname, GLint param) { 384 void GLES2PixelStorei(GLenum pname, GLint param) {
359 gles2::GetGLContext()->PixelStorei(pname, param); 385 gles2::GetGLContext()->PixelStorei(pname, param);
360 } 386 }
361 void GLES2PolygonOffset(GLfloat factor, GLfloat units) { 387 void GLES2PolygonOffset(GLfloat factor, GLfloat units) {
362 gles2::GetGLContext()->PolygonOffset(factor, units); 388 gles2::GetGLContext()->PolygonOffset(factor, units);
363 } 389 }
364 void GLES2ReadPixels(GLint x, 390 void GLES2ReadPixels(GLint x,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 } 433 }
408 void GLES2StencilFunc(GLenum func, GLint ref, GLuint mask) { 434 void GLES2StencilFunc(GLenum func, GLint ref, GLuint mask) {
409 gles2::GetGLContext()->StencilFunc(func, ref, mask); 435 gles2::GetGLContext()->StencilFunc(func, ref, mask);
410 } 436 }
411 void GLES2StencilFuncSeparate(GLenum face, 437 void GLES2StencilFuncSeparate(GLenum face,
412 GLenum func, 438 GLenum func,
413 GLint ref, 439 GLint ref,
414 GLuint mask) { 440 GLuint mask) {
415 gles2::GetGLContext()->StencilFuncSeparate(face, func, ref, mask); 441 gles2::GetGLContext()->StencilFuncSeparate(face, func, ref, mask);
416 } 442 }
417 void GLES2StencilMask(GLuint mask) { gles2::GetGLContext()->StencilMask(mask); } 443 void GLES2StencilMask(GLuint mask) {
444 gles2::GetGLContext()->StencilMask(mask);
445 }
418 void GLES2StencilMaskSeparate(GLenum face, GLuint mask) { 446 void GLES2StencilMaskSeparate(GLenum face, GLuint mask) {
419 gles2::GetGLContext()->StencilMaskSeparate(face, mask); 447 gles2::GetGLContext()->StencilMaskSeparate(face, mask);
420 } 448 }
421 void GLES2StencilOp(GLenum fail, GLenum zfail, GLenum zpass) { 449 void GLES2StencilOp(GLenum fail, GLenum zfail, GLenum zpass) {
422 gles2::GetGLContext()->StencilOp(fail, zfail, zpass); 450 gles2::GetGLContext()->StencilOp(fail, zfail, zpass);
423 } 451 }
424 void GLES2StencilOpSeparate(GLenum face, 452 void GLES2StencilOpSeparate(GLenum face,
425 GLenum fail, 453 GLenum fail,
426 GLenum zfail, 454 GLenum zfail,
427 GLenum zpass) { 455 GLenum zpass) {
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 } 680 }
653 void GLES2GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) { 681 void GLES2GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) {
654 gles2::GetGLContext()->GetQueryObjectuivEXT(id, pname, params); 682 gles2::GetGLContext()->GetQueryObjectuivEXT(id, pname, params);
655 } 683 }
656 void GLES2InsertEventMarkerEXT(GLsizei length, const GLchar* marker) { 684 void GLES2InsertEventMarkerEXT(GLsizei length, const GLchar* marker) {
657 gles2::GetGLContext()->InsertEventMarkerEXT(length, marker); 685 gles2::GetGLContext()->InsertEventMarkerEXT(length, marker);
658 } 686 }
659 void GLES2PushGroupMarkerEXT(GLsizei length, const GLchar* marker) { 687 void GLES2PushGroupMarkerEXT(GLsizei length, const GLchar* marker) {
660 gles2::GetGLContext()->PushGroupMarkerEXT(length, marker); 688 gles2::GetGLContext()->PushGroupMarkerEXT(length, marker);
661 } 689 }
662 void GLES2PopGroupMarkerEXT() { gles2::GetGLContext()->PopGroupMarkerEXT(); } 690 void GLES2PopGroupMarkerEXT() {
691 gles2::GetGLContext()->PopGroupMarkerEXT();
692 }
663 void GLES2GenVertexArraysOES(GLsizei n, GLuint* arrays) { 693 void GLES2GenVertexArraysOES(GLsizei n, GLuint* arrays) {
664 gles2::GetGLContext()->GenVertexArraysOES(n, arrays); 694 gles2::GetGLContext()->GenVertexArraysOES(n, arrays);
665 } 695 }
666 void GLES2DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) { 696 void GLES2DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) {
667 gles2::GetGLContext()->DeleteVertexArraysOES(n, arrays); 697 gles2::GetGLContext()->DeleteVertexArraysOES(n, arrays);
668 } 698 }
669 GLboolean GLES2IsVertexArrayOES(GLuint array) { 699 GLboolean GLES2IsVertexArrayOES(GLuint array) {
670 return gles2::GetGLContext()->IsVertexArrayOES(array); 700 return gles2::GetGLContext()->IsVertexArrayOES(array);
671 } 701 }
672 void GLES2BindVertexArrayOES(GLuint array) { 702 void GLES2BindVertexArrayOES(GLuint array) {
673 gles2::GetGLContext()->BindVertexArrayOES(array); 703 gles2::GetGLContext()->BindVertexArrayOES(array);
674 } 704 }
675 void GLES2SwapBuffers() { gles2::GetGLContext()->SwapBuffers(); } 705 void GLES2SwapBuffers() {
706 gles2::GetGLContext()->SwapBuffers();
707 }
676 GLuint GLES2GetMaxValueInBufferCHROMIUM(GLuint buffer_id, 708 GLuint GLES2GetMaxValueInBufferCHROMIUM(GLuint buffer_id,
677 GLsizei count, 709 GLsizei count,
678 GLenum type, 710 GLenum type,
679 GLuint offset) { 711 GLuint offset) {
680 return gles2::GetGLContext()->GetMaxValueInBufferCHROMIUM( 712 return gles2::GetGLContext()->GetMaxValueInBufferCHROMIUM(
681 buffer_id, count, type, offset); 713 buffer_id, count, type, offset);
682 } 714 }
683 void GLES2GenSharedIdsCHROMIUM(GLuint namespace_id, 715 void GLES2GenSharedIdsCHROMIUM(GLuint namespace_id,
684 GLuint id_offset, 716 GLuint id_offset,
685 GLsizei n, 717 GLsizei n,
(...skipping 12 matching lines...) Expand all
698 } 730 }
699 GLboolean GLES2EnableFeatureCHROMIUM(const char* feature) { 731 GLboolean GLES2EnableFeatureCHROMIUM(const char* feature) {
700 return gles2::GetGLContext()->EnableFeatureCHROMIUM(feature); 732 return gles2::GetGLContext()->EnableFeatureCHROMIUM(feature);
701 } 733 }
702 void* GLES2MapBufferCHROMIUM(GLuint target, GLenum access) { 734 void* GLES2MapBufferCHROMIUM(GLuint target, GLenum access) {
703 return gles2::GetGLContext()->MapBufferCHROMIUM(target, access); 735 return gles2::GetGLContext()->MapBufferCHROMIUM(target, access);
704 } 736 }
705 GLboolean GLES2UnmapBufferCHROMIUM(GLuint target) { 737 GLboolean GLES2UnmapBufferCHROMIUM(GLuint target) {
706 return gles2::GetGLContext()->UnmapBufferCHROMIUM(target); 738 return gles2::GetGLContext()->UnmapBufferCHROMIUM(target);
707 } 739 }
708 void* GLES2MapImageCHROMIUM(GLuint image_id, GLenum access) { 740 void* GLES2MapImageCHROMIUM(GLuint image_id) {
709 return gles2::GetGLContext()->MapImageCHROMIUM(image_id, access); 741 return gles2::GetGLContext()->MapImageCHROMIUM(image_id);
710 } 742 }
711 void GLES2UnmapImageCHROMIUM(GLuint image_id) { 743 void GLES2UnmapImageCHROMIUM(GLuint image_id) {
712 gles2::GetGLContext()->UnmapImageCHROMIUM(image_id); 744 gles2::GetGLContext()->UnmapImageCHROMIUM(image_id);
713 } 745 }
714 void* GLES2MapBufferSubDataCHROMIUM(GLuint target, 746 void* GLES2MapBufferSubDataCHROMIUM(GLuint target,
715 GLintptr offset, 747 GLintptr offset,
716 GLsizeiptr size, 748 GLsizeiptr size,
717 GLenum access) { 749 GLenum access) {
718 return gles2::GetGLContext()->MapBufferSubDataCHROMIUM( 750 return gles2::GetGLContext()->MapBufferSubDataCHROMIUM(
719 target, offset, size, access); 751 target, offset, size, access);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 GLsizei bufsize, 791 GLsizei bufsize,
760 GLsizei* size, 792 GLsizei* size,
761 void* info) { 793 void* info) {
762 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info); 794 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info);
763 } 795 }
764 GLuint GLES2CreateStreamTextureCHROMIUM(GLuint texture) { 796 GLuint GLES2CreateStreamTextureCHROMIUM(GLuint texture) {
765 return gles2::GetGLContext()->CreateStreamTextureCHROMIUM(texture); 797 return gles2::GetGLContext()->CreateStreamTextureCHROMIUM(texture);
766 } 798 }
767 GLuint GLES2CreateImageCHROMIUM(GLsizei width, 799 GLuint GLES2CreateImageCHROMIUM(GLsizei width,
768 GLsizei height, 800 GLsizei height,
769 GLenum internalformat) { 801 GLenum internalformat,
802 GLenum usage) {
770 return gles2::GetGLContext()->CreateImageCHROMIUM( 803 return gles2::GetGLContext()->CreateImageCHROMIUM(
771 width, height, internalformat); 804 width, height, internalformat, usage);
772 } 805 }
773 void GLES2DestroyImageCHROMIUM(GLuint image_id) { 806 void GLES2DestroyImageCHROMIUM(GLuint image_id) {
774 gles2::GetGLContext()->DestroyImageCHROMIUM(image_id); 807 gles2::GetGLContext()->DestroyImageCHROMIUM(image_id);
775 } 808 }
776 void GLES2GetImageParameterivCHROMIUM(GLuint image_id, 809 void GLES2GetImageParameterivCHROMIUM(GLuint image_id,
777 GLenum pname, 810 GLenum pname,
778 GLint* params) { 811 GLint* params) {
779 gles2::GetGLContext()->GetImageParameterivCHROMIUM(image_id, pname, params); 812 gles2::GetGLContext()->GetImageParameterivCHROMIUM(image_id, pname, params);
780 } 813 }
781 void GLES2GetTranslatedShaderSourceANGLE(GLuint shader, 814 void GLES2GetTranslatedShaderSourceANGLE(GLuint shader,
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 } 872 }
840 void GLES2BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { 873 void GLES2BindTexImage2DCHROMIUM(GLenum target, GLint imageId) {
841 gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId); 874 gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId);
842 } 875 }
843 void GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { 876 void GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) {
844 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId); 877 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId);
845 } 878 }
846 void GLES2TraceBeginCHROMIUM(const char* name) { 879 void GLES2TraceBeginCHROMIUM(const char* name) {
847 gles2::GetGLContext()->TraceBeginCHROMIUM(name); 880 gles2::GetGLContext()->TraceBeginCHROMIUM(name);
848 } 881 }
849 void GLES2TraceEndCHROMIUM() { gles2::GetGLContext()->TraceEndCHROMIUM(); } 882 void GLES2TraceEndCHROMIUM() {
883 gles2::GetGLContext()->TraceEndCHROMIUM();
884 }
850 void GLES2AsyncTexSubImage2DCHROMIUM(GLenum target, 885 void GLES2AsyncTexSubImage2DCHROMIUM(GLenum target,
851 GLint level, 886 GLint level,
852 GLint xoffset, 887 GLint xoffset,
853 GLint yoffset, 888 GLint yoffset,
854 GLsizei width, 889 GLsizei width,
855 GLsizei height, 890 GLsizei height,
856 GLenum format, 891 GLenum format,
857 GLenum type, 892 GLenum type,
858 const void* data) { 893 const void* data) {
859 gles2::GetGLContext()->AsyncTexSubImage2DCHROMIUM( 894 gles2::GetGLContext()->AsyncTexSubImage2DCHROMIUM(
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
924 bounds_height, 959 bounds_height,
925 uv_x, 960 uv_x,
926 uv_y, 961 uv_y,
927 uv_width, 962 uv_width,
928 uv_height); 963 uv_height);
929 } 964 }
930 965
931 namespace gles2 { 966 namespace gles2 {
932 967
933 extern const NameToFunc g_gles2_function_table[] = { 968 extern const NameToFunc g_gles2_function_table[] = {
934 {"glActiveTexture", 969 {
935 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), }, 970 "glActiveTexture", reinterpret_cast<GLES2FunctionPointer>(glActiveTexture),
936 {"glAttachShader", 971 },
937 reinterpret_cast<GLES2FunctionPointer>(glAttachShader), }, 972 {
938 {"glBindAttribLocation", 973 "glAttachShader", reinterpret_cast<GLES2FunctionPointer>(glAttachShader),
939 reinterpret_cast<GLES2FunctionPointer>(glBindAttribLocation), }, 974 },
940 {"glBindBuffer", reinterpret_cast<GLES2FunctionPointer>(glBindBuffer), }, 975 {
941 {"glBindFramebuffer", 976 "glBindAttribLocation",
942 reinterpret_cast<GLES2FunctionPointer>(glBindFramebuffer), }, 977 reinterpret_cast<GLES2FunctionPointer>(glBindAttribLocation),
943 {"glBindRenderbuffer", 978 },
944 reinterpret_cast<GLES2FunctionPointer>(glBindRenderbuffer), }, 979 {
945 {"glBindTexture", reinterpret_cast<GLES2FunctionPointer>(glBindTexture), }, 980 "glBindBuffer", reinterpret_cast<GLES2FunctionPointer>(glBindBuffer),
946 {"glBlendColor", reinterpret_cast<GLES2FunctionPointer>(glBlendColor), }, 981 },
947 {"glBlendEquation", 982 {
948 reinterpret_cast<GLES2FunctionPointer>(glBlendEquation), }, 983 "glBindFramebuffer",
949 {"glBlendEquationSeparate", 984 reinterpret_cast<GLES2FunctionPointer>(glBindFramebuffer),
950 reinterpret_cast<GLES2FunctionPointer>(glBlendEquationSeparate), }, 985 },
951 {"glBlendFunc", reinterpret_cast<GLES2FunctionPointer>(glBlendFunc), }, 986 {
952 {"glBlendFuncSeparate", 987 "glBindRenderbuffer",
953 reinterpret_cast<GLES2FunctionPointer>(glBlendFuncSeparate), }, 988 reinterpret_cast<GLES2FunctionPointer>(glBindRenderbuffer),
954 {"glBufferData", reinterpret_cast<GLES2FunctionPointer>(glBufferData), }, 989 },
955 {"glBufferSubData", 990 {
956 reinterpret_cast<GLES2FunctionPointer>(glBufferSubData), }, 991 "glBindTexture", reinterpret_cast<GLES2FunctionPointer>(glBindTexture),
957 {"glCheckFramebufferStatus", 992 },
958 reinterpret_cast<GLES2FunctionPointer>(glCheckFramebufferStatus), }, 993 {
959 {"glClear", reinterpret_cast<GLES2FunctionPointer>(glClear), }, 994 "glBlendColor", reinterpret_cast<GLES2FunctionPointer>(glBlendColor),
960 {"glClearColor", reinterpret_cast<GLES2FunctionPointer>(glClearColor), }, 995 },
961 {"glClearDepthf", reinterpret_cast<GLES2FunctionPointer>(glClearDepthf), }, 996 {
962 {"glClearStencil", 997 "glBlendEquation", reinterpret_cast<GLES2FunctionPointer>(glBlendEquation),
963 reinterpret_cast<GLES2FunctionPointer>(glClearStencil), }, 998 },
964 {"glColorMask", reinterpret_cast<GLES2FunctionPointer>(glColorMask), }, 999 {
965 {"glCompileShader", 1000 "glBlendEquationSeparate",
966 reinterpret_cast<GLES2FunctionPointer>(glCompileShader), }, 1001 reinterpret_cast<GLES2FunctionPointer>(glBlendEquationSeparate),
967 {"glCompressedTexImage2D", 1002 },
968 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage2D), }, 1003 {
969 {"glCompressedTexSubImage2D", 1004 "glBlendFunc", reinterpret_cast<GLES2FunctionPointer>(glBlendFunc),
970 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage2D), }, 1005 },
971 {"glCopyTexImage2D", 1006 {
972 reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D), }, 1007 "glBlendFuncSeparate",
973 {"glCopyTexSubImage2D", 1008 reinterpret_cast<GLES2FunctionPointer>(glBlendFuncSeparate),
974 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D), }, 1009 },
975 {"glCreateProgram", 1010 {
976 reinterpret_cast<GLES2FunctionPointer>(glCreateProgram), }, 1011 "glBufferData", reinterpret_cast<GLES2FunctionPointer>(glBufferData),
977 {"glCreateShader", 1012 },
978 reinterpret_cast<GLES2FunctionPointer>(glCreateShader), }, 1013 {
979 {"glCullFace", reinterpret_cast<GLES2FunctionPointer>(glCullFace), }, 1014 "glBufferSubData", reinterpret_cast<GLES2FunctionPointer>(glBufferSubData),
980 {"glDeleteBuffers", 1015 },
981 reinterpret_cast<GLES2FunctionPointer>(glDeleteBuffers), }, 1016 {
982 {"glDeleteFramebuffers", 1017 "glCheckFramebufferStatus",
983 reinterpret_cast<GLES2FunctionPointer>(glDeleteFramebuffers), }, 1018 reinterpret_cast<GLES2FunctionPointer>(glCheckFramebufferStatus),
984 {"glDeleteProgram", 1019 },
985 reinterpret_cast<GLES2FunctionPointer>(glDeleteProgram), }, 1020 {
986 {"glDeleteRenderbuffers", 1021 "glClear", reinterpret_cast<GLES2FunctionPointer>(glClear),
987 reinterpret_cast<GLES2FunctionPointer>(glDeleteRenderbuffers), }, 1022 },
988 {"glDeleteShader", 1023 {
989 reinterpret_cast<GLES2FunctionPointer>(glDeleteShader), }, 1024 "glClearColor", reinterpret_cast<GLES2FunctionPointer>(glClearColor),
990 {"glDeleteTextures", 1025 },
991 reinterpret_cast<GLES2FunctionPointer>(glDeleteTextures), }, 1026 {
992 {"glDepthFunc", reinterpret_cast<GLES2FunctionPointer>(glDepthFunc), }, 1027 "glClearDepthf", reinterpret_cast<GLES2FunctionPointer>(glClearDepthf),
993 {"glDepthMask", reinterpret_cast<GLES2FunctionPointer>(glDepthMask), }, 1028 },
994 {"glDepthRangef", reinterpret_cast<GLES2FunctionPointer>(glDepthRangef), }, 1029 {
995 {"glDetachShader", 1030 "glClearStencil", reinterpret_cast<GLES2FunctionPointer>(glClearStencil),
996 reinterpret_cast<GLES2FunctionPointer>(glDetachShader), }, 1031 },
997 {"glDisable", reinterpret_cast<GLES2FunctionPointer>(glDisable), }, 1032 {
998 {"glDisableVertexAttribArray", 1033 "glColorMask", reinterpret_cast<GLES2FunctionPointer>(glColorMask),
999 reinterpret_cast<GLES2FunctionPointer>(glDisableVertexAttribArray), }, 1034 },
1000 {"glDrawArrays", reinterpret_cast<GLES2FunctionPointer>(glDrawArrays), }, 1035 {
1001 {"glDrawElements", 1036 "glCompileShader", reinterpret_cast<GLES2FunctionPointer>(glCompileShader),
1002 reinterpret_cast<GLES2FunctionPointer>(glDrawElements), }, 1037 },
1003 {"glEnable", reinterpret_cast<GLES2FunctionPointer>(glEnable), }, 1038 {
1004 {"glEnableVertexAttribArray", 1039 "glCompressedTexImage2D",
1005 reinterpret_cast<GLES2FunctionPointer>(glEnableVertexAttribArray), }, 1040 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage2D),
1006 {"glFinish", reinterpret_cast<GLES2FunctionPointer>(glFinish), }, 1041 },
1007 {"glFlush", reinterpret_cast<GLES2FunctionPointer>(glFlush), }, 1042 {
1008 {"glFramebufferRenderbuffer", 1043 "glCompressedTexSubImage2D",
1009 reinterpret_cast<GLES2FunctionPointer>(glFramebufferRenderbuffer), }, 1044 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage2D),
1010 {"glFramebufferTexture2D", 1045 },
1011 reinterpret_cast<GLES2FunctionPointer>(glFramebufferTexture2D), }, 1046 {
1012 {"glFrontFace", reinterpret_cast<GLES2FunctionPointer>(glFrontFace), }, 1047 "glCopyTexImage2D",
1013 {"glGenBuffers", reinterpret_cast<GLES2FunctionPointer>(glGenBuffers), }, 1048 reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D),
1014 {"glGenerateMipmap", 1049 },
1015 reinterpret_cast<GLES2FunctionPointer>(glGenerateMipmap), }, 1050 {
1016 {"glGenFramebuffers", 1051 "glCopyTexSubImage2D",
1017 reinterpret_cast<GLES2FunctionPointer>(glGenFramebuffers), }, 1052 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D),
1018 {"glGenRenderbuffers", 1053 },
1019 reinterpret_cast<GLES2FunctionPointer>(glGenRenderbuffers), }, 1054 {
1020 {"glGenTextures", reinterpret_cast<GLES2FunctionPointer>(glGenTextures), }, 1055 "glCreateProgram", reinterpret_cast<GLES2FunctionPointer>(glCreateProgram),
1021 {"glGetActiveAttrib", 1056 },
1022 reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib), }, 1057 {
1023 {"glGetActiveUniform", 1058 "glCreateShader", reinterpret_cast<GLES2FunctionPointer>(glCreateShader),
1024 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform), }, 1059 },
1025 {"glGetAttachedShaders", 1060 {
1026 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders), }, 1061 "glCullFace", reinterpret_cast<GLES2FunctionPointer>(glCullFace),
1027 {"glGetAttribLocation", 1062 },
1028 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation), }, 1063 {
1029 {"glGetBooleanv", reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv), }, 1064 "glDeleteBuffers", reinterpret_cast<GLES2FunctionPointer>(glDeleteBuffers),
1030 {"glGetBufferParameteriv", 1065 },
1031 reinterpret_cast<GLES2FunctionPointer>(glGetBufferParameteriv), }, 1066 {
1032 {"glGetError", reinterpret_cast<GLES2FunctionPointer>(glGetError), }, 1067 "glDeleteFramebuffers",
1033 {"glGetFloatv", reinterpret_cast<GLES2FunctionPointer>(glGetFloatv), }, 1068 reinterpret_cast<GLES2FunctionPointer>(glDeleteFramebuffers),
1034 {"glGetFramebufferAttachmentParameteriv", 1069 },
1070 {
1071 "glDeleteProgram", reinterpret_cast<GLES2FunctionPointer>(glDeleteProgram),
1072 },
1073 {
1074 "glDeleteRenderbuffers",
1075 reinterpret_cast<GLES2FunctionPointer>(glDeleteRenderbuffers),
1076 },
1077 {
1078 "glDeleteShader", reinterpret_cast<GLES2FunctionPointer>(glDeleteShader),
1079 },
1080 {
1081 "glDeleteTextures",
1082 reinterpret_cast<GLES2FunctionPointer>(glDeleteTextures),
1083 },
1084 {
1085 "glDepthFunc", reinterpret_cast<GLES2FunctionPointer>(glDepthFunc),
1086 },
1087 {
1088 "glDepthMask", reinterpret_cast<GLES2FunctionPointer>(glDepthMask),
1089 },
1090 {
1091 "glDepthRangef", reinterpret_cast<GLES2FunctionPointer>(glDepthRangef),
1092 },
1093 {
1094 "glDetachShader", reinterpret_cast<GLES2FunctionPointer>(glDetachShader),
1095 },
1096 {
1097 "glDisable", reinterpret_cast<GLES2FunctionPointer>(glDisable),
1098 },
1099 {
1100 "glDisableVertexAttribArray",
1101 reinterpret_cast<GLES2FunctionPointer>(glDisableVertexAttribArray),
1102 },
1103 {
1104 "glDrawArrays", reinterpret_cast<GLES2FunctionPointer>(glDrawArrays),
1105 },
1106 {
1107 "glDrawElements", reinterpret_cast<GLES2FunctionPointer>(glDrawElements),
1108 },
1109 {
1110 "glEnable", reinterpret_cast<GLES2FunctionPointer>(glEnable),
1111 },
1112 {
1113 "glEnableVertexAttribArray",
1114 reinterpret_cast<GLES2FunctionPointer>(glEnableVertexAttribArray),
1115 },
1116 {
1117 "glFinish", reinterpret_cast<GLES2FunctionPointer>(glFinish),
1118 },
1119 {
1120 "glFlush", reinterpret_cast<GLES2FunctionPointer>(glFlush),
1121 },
1122 {
1123 "glFramebufferRenderbuffer",
1124 reinterpret_cast<GLES2FunctionPointer>(glFramebufferRenderbuffer),
1125 },
1126 {
1127 "glFramebufferTexture2D",
1128 reinterpret_cast<GLES2FunctionPointer>(glFramebufferTexture2D),
1129 },
1130 {
1131 "glFrontFace", reinterpret_cast<GLES2FunctionPointer>(glFrontFace),
1132 },
1133 {
1134 "glGenBuffers", reinterpret_cast<GLES2FunctionPointer>(glGenBuffers),
1135 },
1136 {
1137 "glGenerateMipmap",
1138 reinterpret_cast<GLES2FunctionPointer>(glGenerateMipmap),
1139 },
1140 {
1141 "glGenFramebuffers",
1142 reinterpret_cast<GLES2FunctionPointer>(glGenFramebuffers),
1143 },
1144 {
1145 "glGenRenderbuffers",
1146 reinterpret_cast<GLES2FunctionPointer>(glGenRenderbuffers),
1147 },
1148 {
1149 "glGenTextures", reinterpret_cast<GLES2FunctionPointer>(glGenTextures),
1150 },
1151 {
1152 "glGetActiveAttrib",
1153 reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib),
1154 },
1155 {
1156 "glGetActiveUniform",
1157 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform),
1158 },
1159 {
1160 "glGetAttachedShaders",
1161 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders),
1162 },
1163 {
1164 "glGetAttribLocation",
1165 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation),
1166 },
1167 {
1168 "glGetBooleanv", reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv),
1169 },
1170 {
1171 "glGetBufferParameteriv",
1172 reinterpret_cast<GLES2FunctionPointer>(glGetBufferParameteriv),
1173 },
1174 {
1175 "glGetError", reinterpret_cast<GLES2FunctionPointer>(glGetError),
1176 },
1177 {
1178 "glGetFloatv", reinterpret_cast<GLES2FunctionPointer>(glGetFloatv),
1179 },
1180 {
1181 "glGetFramebufferAttachmentParameteriv",
1035 reinterpret_cast<GLES2FunctionPointer>( 1182 reinterpret_cast<GLES2FunctionPointer>(
1036 glGetFramebufferAttachmentParameteriv), }, 1183 glGetFramebufferAttachmentParameteriv),
1037 {"glGetIntegerv", reinterpret_cast<GLES2FunctionPointer>(glGetIntegerv), }, 1184 },
1038 {"glGetProgramiv", 1185 {
1039 reinterpret_cast<GLES2FunctionPointer>(glGetProgramiv), }, 1186 "glGetIntegerv", reinterpret_cast<GLES2FunctionPointer>(glGetIntegerv),
1040 {"glGetProgramInfoLog", 1187 },
1041 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoLog), }, 1188 {
1042 {"glGetRenderbufferParameteriv", 1189 "glGetProgramiv", reinterpret_cast<GLES2FunctionPointer>(glGetProgramiv),
1043 reinterpret_cast<GLES2FunctionPointer>(glGetRenderbufferParameteriv), }, 1190 },
1044 {"glGetShaderiv", reinterpret_cast<GLES2FunctionPointer>(glGetShaderiv), }, 1191 {
1045 {"glGetShaderInfoLog", 1192 "glGetProgramInfoLog",
1046 reinterpret_cast<GLES2FunctionPointer>(glGetShaderInfoLog), }, 1193 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoLog),
1047 {"glGetShaderPrecisionFormat", 1194 },
1048 reinterpret_cast<GLES2FunctionPointer>(glGetShaderPrecisionFormat), }, 1195 {
1049 {"glGetShaderSource", 1196 "glGetRenderbufferParameteriv",
1050 reinterpret_cast<GLES2FunctionPointer>(glGetShaderSource), }, 1197 reinterpret_cast<GLES2FunctionPointer>(glGetRenderbufferParameteriv),
1051 {"glGetString", reinterpret_cast<GLES2FunctionPointer>(glGetString), }, 1198 },
1052 {"glGetTexParameterfv", 1199 {
1053 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv), }, 1200 "glGetShaderiv", reinterpret_cast<GLES2FunctionPointer>(glGetShaderiv),
1054 {"glGetTexParameteriv", 1201 },
1055 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv), }, 1202 {
1056 {"glGetUniformfv", 1203 "glGetShaderInfoLog",
1057 reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv), }, 1204 reinterpret_cast<GLES2FunctionPointer>(glGetShaderInfoLog),
1058 {"glGetUniformiv", 1205 },
1059 reinterpret_cast<GLES2FunctionPointer>(glGetUniformiv), }, 1206 {
1060 {"glGetUniformLocation", 1207 "glGetShaderPrecisionFormat",
1061 reinterpret_cast<GLES2FunctionPointer>(glGetUniformLocation), }, 1208 reinterpret_cast<GLES2FunctionPointer>(glGetShaderPrecisionFormat),
1062 {"glGetVertexAttribfv", 1209 },
1063 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribfv), }, 1210 {
1064 {"glGetVertexAttribiv", 1211 "glGetShaderSource",
1065 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribiv), }, 1212 reinterpret_cast<GLES2FunctionPointer>(glGetShaderSource),
1066 {"glGetVertexAttribPointerv", 1213 },
1067 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribPointerv), }, 1214 {
1068 {"glHint", reinterpret_cast<GLES2FunctionPointer>(glHint), }, 1215 "glGetString", reinterpret_cast<GLES2FunctionPointer>(glGetString),
1069 {"glIsBuffer", reinterpret_cast<GLES2FunctionPointer>(glIsBuffer), }, 1216 },
1070 {"glIsEnabled", reinterpret_cast<GLES2FunctionPointer>(glIsEnabled), }, 1217 {
1071 {"glIsFramebuffer", 1218 "glGetTexParameterfv",
1072 reinterpret_cast<GLES2FunctionPointer>(glIsFramebuffer), }, 1219 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv),
1073 {"glIsProgram", reinterpret_cast<GLES2FunctionPointer>(glIsProgram), }, 1220 },
1074 {"glIsRenderbuffer", 1221 {
1075 reinterpret_cast<GLES2FunctionPointer>(glIsRenderbuffer), }, 1222 "glGetTexParameteriv",
1076 {"glIsShader", reinterpret_cast<GLES2FunctionPointer>(glIsShader), }, 1223 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv),
1077 {"glIsTexture", reinterpret_cast<GLES2FunctionPointer>(glIsTexture), }, 1224 },
1078 {"glLineWidth", reinterpret_cast<GLES2FunctionPointer>(glLineWidth), }, 1225 {
1079 {"glLinkProgram", reinterpret_cast<GLES2FunctionPointer>(glLinkProgram), }, 1226 "glGetUniformfv", reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv),
1080 {"glPixelStorei", reinterpret_cast<GLES2FunctionPointer>(glPixelStorei), }, 1227 },
1081 {"glPolygonOffset", 1228 {
1082 reinterpret_cast<GLES2FunctionPointer>(glPolygonOffset), }, 1229 "glGetUniformiv", reinterpret_cast<GLES2FunctionPointer>(glGetUniformiv),
1083 {"glReadPixels", reinterpret_cast<GLES2FunctionPointer>(glReadPixels), }, 1230 },
1084 {"glReleaseShaderCompiler", 1231 {
1085 reinterpret_cast<GLES2FunctionPointer>(glReleaseShaderCompiler), }, 1232 "glGetUniformLocation",
1086 {"glRenderbufferStorage", 1233 reinterpret_cast<GLES2FunctionPointer>(glGetUniformLocation),
1087 reinterpret_cast<GLES2FunctionPointer>(glRenderbufferStorage), }, 1234 },
1088 {"glSampleCoverage", 1235 {
1089 reinterpret_cast<GLES2FunctionPointer>(glSampleCoverage), }, 1236 "glGetVertexAttribfv",
1090 {"glScissor", reinterpret_cast<GLES2FunctionPointer>(glScissor), }, 1237 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribfv),
1091 {"glShaderBinary", 1238 },
1092 reinterpret_cast<GLES2FunctionPointer>(glShaderBinary), }, 1239 {
1093 {"glShaderSource", 1240 "glGetVertexAttribiv",
1094 reinterpret_cast<GLES2FunctionPointer>(glShaderSource), }, 1241 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribiv),
1095 {"glShallowFinishCHROMIUM", 1242 },
1096 reinterpret_cast<GLES2FunctionPointer>(glShallowFinishCHROMIUM), }, 1243 {
1097 {"glShallowFlushCHROMIUM", 1244 "glGetVertexAttribPointerv",
1098 reinterpret_cast<GLES2FunctionPointer>(glShallowFlushCHROMIUM), }, 1245 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribPointerv),
1099 {"glStencilFunc", reinterpret_cast<GLES2FunctionPointer>(glStencilFunc), }, 1246 },
1100 {"glStencilFuncSeparate", 1247 {
1101 reinterpret_cast<GLES2FunctionPointer>(glStencilFuncSeparate), }, 1248 "glHint", reinterpret_cast<GLES2FunctionPointer>(glHint),
1102 {"glStencilMask", reinterpret_cast<GLES2FunctionPointer>(glStencilMask), }, 1249 },
1103 {"glStencilMaskSeparate", 1250 {
1104 reinterpret_cast<GLES2FunctionPointer>(glStencilMaskSeparate), }, 1251 "glIsBuffer", reinterpret_cast<GLES2FunctionPointer>(glIsBuffer),
1105 {"glStencilOp", reinterpret_cast<GLES2FunctionPointer>(glStencilOp), }, 1252 },
1106 {"glStencilOpSeparate", 1253 {
1107 reinterpret_cast<GLES2FunctionPointer>(glStencilOpSeparate), }, 1254 "glIsEnabled", reinterpret_cast<GLES2FunctionPointer>(glIsEnabled),
1108 {"glTexImage2D", reinterpret_cast<GLES2FunctionPointer>(glTexImage2D), }, 1255 },
1109 {"glTexParameterf", 1256 {
1110 reinterpret_cast<GLES2FunctionPointer>(glTexParameterf), }, 1257 "glIsFramebuffer", reinterpret_cast<GLES2FunctionPointer>(glIsFramebuffer),
1111 {"glTexParameterfv", 1258 },
1112 reinterpret_cast<GLES2FunctionPointer>(glTexParameterfv), }, 1259 {
1113 {"glTexParameteri", 1260 "glIsProgram", reinterpret_cast<GLES2FunctionPointer>(glIsProgram),
1114 reinterpret_cast<GLES2FunctionPointer>(glTexParameteri), }, 1261 },
1115 {"glTexParameteriv", 1262 {
1116 reinterpret_cast<GLES2FunctionPointer>(glTexParameteriv), }, 1263 "glIsRenderbuffer",
1117 {"glTexSubImage2D", 1264 reinterpret_cast<GLES2FunctionPointer>(glIsRenderbuffer),
1118 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D), }, 1265 },
1119 {"glUniform1f", reinterpret_cast<GLES2FunctionPointer>(glUniform1f), }, 1266 {
1120 {"glUniform1fv", reinterpret_cast<GLES2FunctionPointer>(glUniform1fv), }, 1267 "glIsShader", reinterpret_cast<GLES2FunctionPointer>(glIsShader),
1121 {"glUniform1i", reinterpret_cast<GLES2FunctionPointer>(glUniform1i), }, 1268 },
1122 {"glUniform1iv", reinterpret_cast<GLES2FunctionPointer>(glUniform1iv), }, 1269 {
1123 {"glUniform2f", reinterpret_cast<GLES2FunctionPointer>(glUniform2f), }, 1270 "glIsTexture", reinterpret_cast<GLES2FunctionPointer>(glIsTexture),
1124 {"glUniform2fv", reinterpret_cast<GLES2FunctionPointer>(glUniform2fv), }, 1271 },
1125 {"glUniform2i", reinterpret_cast<GLES2FunctionPointer>(glUniform2i), }, 1272 {
1126 {"glUniform2iv", reinterpret_cast<GLES2FunctionPointer>(glUniform2iv), }, 1273 "glLineWidth", reinterpret_cast<GLES2FunctionPointer>(glLineWidth),
1127 {"glUniform3f", reinterpret_cast<GLES2FunctionPointer>(glUniform3f), }, 1274 },
1128 {"glUniform3fv", reinterpret_cast<GLES2FunctionPointer>(glUniform3fv), }, 1275 {
1129 {"glUniform3i", reinterpret_cast<GLES2FunctionPointer>(glUniform3i), }, 1276 "glLinkProgram", reinterpret_cast<GLES2FunctionPointer>(glLinkProgram),
1130 {"glUniform3iv", reinterpret_cast<GLES2FunctionPointer>(glUniform3iv), }, 1277 },
1131 {"glUniform4f", reinterpret_cast<GLES2FunctionPointer>(glUniform4f), }, 1278 {
1132 {"glUniform4fv", reinterpret_cast<GLES2FunctionPointer>(glUniform4fv), }, 1279 "glPixelStorei", reinterpret_cast<GLES2FunctionPointer>(glPixelStorei),
1133 {"glUniform4i", reinterpret_cast<GLES2FunctionPointer>(glUniform4i), }, 1280 },
1134 {"glUniform4iv", reinterpret_cast<GLES2FunctionPointer>(glUniform4iv), }, 1281 {
1135 {"glUniformMatrix2fv", 1282 "glPolygonOffset", reinterpret_cast<GLES2FunctionPointer>(glPolygonOffset),
1136 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2fv), }, 1283 },
1137 {"glUniformMatrix3fv", 1284 {
1138 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3fv), }, 1285 "glReadPixels", reinterpret_cast<GLES2FunctionPointer>(glReadPixels),
1139 {"glUniformMatrix4fv", 1286 },
1140 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4fv), }, 1287 {
1141 {"glUseProgram", reinterpret_cast<GLES2FunctionPointer>(glUseProgram), }, 1288 "glReleaseShaderCompiler",
1142 {"glValidateProgram", 1289 reinterpret_cast<GLES2FunctionPointer>(glReleaseShaderCompiler),
1143 reinterpret_cast<GLES2FunctionPointer>(glValidateProgram), }, 1290 },
1144 {"glVertexAttrib1f", 1291 {
1145 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1f), }, 1292 "glRenderbufferStorage",
1146 {"glVertexAttrib1fv", 1293 reinterpret_cast<GLES2FunctionPointer>(glRenderbufferStorage),
1147 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1fv), }, 1294 },
1148 {"glVertexAttrib2f", 1295 {
1149 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2f), }, 1296 "glSampleCoverage",
1150 {"glVertexAttrib2fv", 1297 reinterpret_cast<GLES2FunctionPointer>(glSampleCoverage),
1151 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2fv), }, 1298 },
1152 {"glVertexAttrib3f", 1299 {
1153 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3f), }, 1300 "glScissor", reinterpret_cast<GLES2FunctionPointer>(glScissor),
1154 {"glVertexAttrib3fv", 1301 },
1155 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3fv), }, 1302 {
1156 {"glVertexAttrib4f", 1303 "glShaderBinary", reinterpret_cast<GLES2FunctionPointer>(glShaderBinary),
1157 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4f), }, 1304 },
1158 {"glVertexAttrib4fv", 1305 {
1159 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4fv), }, 1306 "glShaderSource", reinterpret_cast<GLES2FunctionPointer>(glShaderSource),
1160 {"glVertexAttribPointer", 1307 },
1161 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribPointer), }, 1308 {
1162 {"glViewport", reinterpret_cast<GLES2FunctionPointer>(glViewport), }, 1309 "glShallowFinishCHROMIUM",
1163 {"glBlitFramebufferCHROMIUM", 1310 reinterpret_cast<GLES2FunctionPointer>(glShallowFinishCHROMIUM),
1164 reinterpret_cast<GLES2FunctionPointer>(glBlitFramebufferCHROMIUM), }, 1311 },
1165 {"glRenderbufferStorageMultisampleCHROMIUM", 1312 {
1313 "glShallowFlushCHROMIUM",
1314 reinterpret_cast<GLES2FunctionPointer>(glShallowFlushCHROMIUM),
1315 },
1316 {
1317 "glStencilFunc", reinterpret_cast<GLES2FunctionPointer>(glStencilFunc),
1318 },
1319 {
1320 "glStencilFuncSeparate",
1321 reinterpret_cast<GLES2FunctionPointer>(glStencilFuncSeparate),
1322 },
1323 {
1324 "glStencilMask", reinterpret_cast<GLES2FunctionPointer>(glStencilMask),
1325 },
1326 {
1327 "glStencilMaskSeparate",
1328 reinterpret_cast<GLES2FunctionPointer>(glStencilMaskSeparate),
1329 },
1330 {
1331 "glStencilOp", reinterpret_cast<GLES2FunctionPointer>(glStencilOp),
1332 },
1333 {
1334 "glStencilOpSeparate",
1335 reinterpret_cast<GLES2FunctionPointer>(glStencilOpSeparate),
1336 },
1337 {
1338 "glTexImage2D", reinterpret_cast<GLES2FunctionPointer>(glTexImage2D),
1339 },
1340 {
1341 "glTexParameterf", reinterpret_cast<GLES2FunctionPointer>(glTexParameterf),
1342 },
1343 {
1344 "glTexParameterfv",
1345 reinterpret_cast<GLES2FunctionPointer>(glTexParameterfv),
1346 },
1347 {
1348 "glTexParameteri", reinterpret_cast<GLES2FunctionPointer>(glTexParameteri),
1349 },
1350 {
1351 "glTexParameteriv",
1352 reinterpret_cast<GLES2FunctionPointer>(glTexParameteriv),
1353 },
1354 {
1355 "glTexSubImage2D", reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D),
1356 },
1357 {
1358 "glUniform1f", reinterpret_cast<GLES2FunctionPointer>(glUniform1f),
1359 },
1360 {
1361 "glUniform1fv", reinterpret_cast<GLES2FunctionPointer>(glUniform1fv),
1362 },
1363 {
1364 "glUniform1i", reinterpret_cast<GLES2FunctionPointer>(glUniform1i),
1365 },
1366 {
1367 "glUniform1iv", reinterpret_cast<GLES2FunctionPointer>(glUniform1iv),
1368 },
1369 {
1370 "glUniform2f", reinterpret_cast<GLES2FunctionPointer>(glUniform2f),
1371 },
1372 {
1373 "glUniform2fv", reinterpret_cast<GLES2FunctionPointer>(glUniform2fv),
1374 },
1375 {
1376 "glUniform2i", reinterpret_cast<GLES2FunctionPointer>(glUniform2i),
1377 },
1378 {
1379 "glUniform2iv", reinterpret_cast<GLES2FunctionPointer>(glUniform2iv),
1380 },
1381 {
1382 "glUniform3f", reinterpret_cast<GLES2FunctionPointer>(glUniform3f),
1383 },
1384 {
1385 "glUniform3fv", reinterpret_cast<GLES2FunctionPointer>(glUniform3fv),
1386 },
1387 {
1388 "glUniform3i", reinterpret_cast<GLES2FunctionPointer>(glUniform3i),
1389 },
1390 {
1391 "glUniform3iv", reinterpret_cast<GLES2FunctionPointer>(glUniform3iv),
1392 },
1393 {
1394 "glUniform4f", reinterpret_cast<GLES2FunctionPointer>(glUniform4f),
1395 },
1396 {
1397 "glUniform4fv", reinterpret_cast<GLES2FunctionPointer>(glUniform4fv),
1398 },
1399 {
1400 "glUniform4i", reinterpret_cast<GLES2FunctionPointer>(glUniform4i),
1401 },
1402 {
1403 "glUniform4iv", reinterpret_cast<GLES2FunctionPointer>(glUniform4iv),
1404 },
1405 {
1406 "glUniformMatrix2fv",
1407 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2fv),
1408 },
1409 {
1410 "glUniformMatrix3fv",
1411 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3fv),
1412 },
1413 {
1414 "glUniformMatrix4fv",
1415 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4fv),
1416 },
1417 {
1418 "glUseProgram", reinterpret_cast<GLES2FunctionPointer>(glUseProgram),
1419 },
1420 {
1421 "glValidateProgram",
1422 reinterpret_cast<GLES2FunctionPointer>(glValidateProgram),
1423 },
1424 {
1425 "glVertexAttrib1f",
1426 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1f),
1427 },
1428 {
1429 "glVertexAttrib1fv",
1430 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1fv),
1431 },
1432 {
1433 "glVertexAttrib2f",
1434 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2f),
1435 },
1436 {
1437 "glVertexAttrib2fv",
1438 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2fv),
1439 },
1440 {
1441 "glVertexAttrib3f",
1442 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3f),
1443 },
1444 {
1445 "glVertexAttrib3fv",
1446 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3fv),
1447 },
1448 {
1449 "glVertexAttrib4f",
1450 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4f),
1451 },
1452 {
1453 "glVertexAttrib4fv",
1454 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4fv),
1455 },
1456 {
1457 "glVertexAttribPointer",
1458 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribPointer),
1459 },
1460 {
1461 "glViewport", reinterpret_cast<GLES2FunctionPointer>(glViewport),
1462 },
1463 {
1464 "glBlitFramebufferCHROMIUM",
1465 reinterpret_cast<GLES2FunctionPointer>(glBlitFramebufferCHROMIUM),
1466 },
1467 {
1468 "glRenderbufferStorageMultisampleCHROMIUM",
1166 reinterpret_cast<GLES2FunctionPointer>( 1469 reinterpret_cast<GLES2FunctionPointer>(
1167 glRenderbufferStorageMultisampleCHROMIUM), }, 1470 glRenderbufferStorageMultisampleCHROMIUM),
1168 {"glRenderbufferStorageMultisampleEXT", 1471 },
1472 {
1473 "glRenderbufferStorageMultisampleEXT",
1169 reinterpret_cast<GLES2FunctionPointer>( 1474 reinterpret_cast<GLES2FunctionPointer>(
1170 glRenderbufferStorageMultisampleEXT), }, 1475 glRenderbufferStorageMultisampleEXT),
1171 {"glFramebufferTexture2DMultisampleEXT", 1476 },
1477 {
1478 "glFramebufferTexture2DMultisampleEXT",
1172 reinterpret_cast<GLES2FunctionPointer>( 1479 reinterpret_cast<GLES2FunctionPointer>(
1173 glFramebufferTexture2DMultisampleEXT), }, 1480 glFramebufferTexture2DMultisampleEXT),
1174 {"glTexStorage2DEXT", 1481 },
1175 reinterpret_cast<GLES2FunctionPointer>(glTexStorage2DEXT), }, 1482 {
1176 {"glGenQueriesEXT", 1483 "glTexStorage2DEXT",
1177 reinterpret_cast<GLES2FunctionPointer>(glGenQueriesEXT), }, 1484 reinterpret_cast<GLES2FunctionPointer>(glTexStorage2DEXT),
1178 {"glDeleteQueriesEXT", 1485 },
1179 reinterpret_cast<GLES2FunctionPointer>(glDeleteQueriesEXT), }, 1486 {
1180 {"glIsQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT), }, 1487 "glGenQueriesEXT", reinterpret_cast<GLES2FunctionPointer>(glGenQueriesEXT),
1181 {"glBeginQueryEXT", 1488 },
1182 reinterpret_cast<GLES2FunctionPointer>(glBeginQueryEXT), }, 1489 {
1183 {"glEndQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glEndQueryEXT), }, 1490 "glDeleteQueriesEXT",
1184 {"glGetQueryivEXT", 1491 reinterpret_cast<GLES2FunctionPointer>(glDeleteQueriesEXT),
1185 reinterpret_cast<GLES2FunctionPointer>(glGetQueryivEXT), }, 1492 },
1186 {"glGetQueryObjectuivEXT", 1493 {
1187 reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjectuivEXT), }, 1494 "glIsQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT),
1188 {"glInsertEventMarkerEXT", 1495 },
1189 reinterpret_cast<GLES2FunctionPointer>(glInsertEventMarkerEXT), }, 1496 {
1190 {"glPushGroupMarkerEXT", 1497 "glBeginQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glBeginQueryEXT),
1191 reinterpret_cast<GLES2FunctionPointer>(glPushGroupMarkerEXT), }, 1498 },
1192 {"glPopGroupMarkerEXT", 1499 {
1193 reinterpret_cast<GLES2FunctionPointer>(glPopGroupMarkerEXT), }, 1500 "glEndQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glEndQueryEXT),
1194 {"glGenVertexArraysOES", 1501 },
1195 reinterpret_cast<GLES2FunctionPointer>(glGenVertexArraysOES), }, 1502 {
1196 {"glDeleteVertexArraysOES", 1503 "glGetQueryivEXT", reinterpret_cast<GLES2FunctionPointer>(glGetQueryivEXT),
1197 reinterpret_cast<GLES2FunctionPointer>(glDeleteVertexArraysOES), }, 1504 },
1198 {"glIsVertexArrayOES", 1505 {
1199 reinterpret_cast<GLES2FunctionPointer>(glIsVertexArrayOES), }, 1506 "glGetQueryObjectuivEXT",
1200 {"glBindVertexArrayOES", 1507 reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjectuivEXT),
1201 reinterpret_cast<GLES2FunctionPointer>(glBindVertexArrayOES), }, 1508 },
1202 {"glSwapBuffers", reinterpret_cast<GLES2FunctionPointer>(glSwapBuffers), }, 1509 {
1203 {"glGetMaxValueInBufferCHROMIUM", 1510 "glInsertEventMarkerEXT",
1204 reinterpret_cast<GLES2FunctionPointer>(glGetMaxValueInBufferCHROMIUM), }, 1511 reinterpret_cast<GLES2FunctionPointer>(glInsertEventMarkerEXT),
1205 {"glGenSharedIdsCHROMIUM", 1512 },
1206 reinterpret_cast<GLES2FunctionPointer>(glGenSharedIdsCHROMIUM), }, 1513 {
1207 {"glDeleteSharedIdsCHROMIUM", 1514 "glPushGroupMarkerEXT",
1208 reinterpret_cast<GLES2FunctionPointer>(glDeleteSharedIdsCHROMIUM), }, 1515 reinterpret_cast<GLES2FunctionPointer>(glPushGroupMarkerEXT),
1209 {"glRegisterSharedIdsCHROMIUM", 1516 },
1210 reinterpret_cast<GLES2FunctionPointer>(glRegisterSharedIdsCHROMIUM), }, 1517 {
1211 {"glEnableFeatureCHROMIUM", 1518 "glPopGroupMarkerEXT",
1212 reinterpret_cast<GLES2FunctionPointer>(glEnableFeatureCHROMIUM), }, 1519 reinterpret_cast<GLES2FunctionPointer>(glPopGroupMarkerEXT),
1213 {"glMapBufferCHROMIUM", 1520 },
1214 reinterpret_cast<GLES2FunctionPointer>(glMapBufferCHROMIUM), }, 1521 {
1215 {"glUnmapBufferCHROMIUM", 1522 "glGenVertexArraysOES",
1216 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferCHROMIUM), }, 1523 reinterpret_cast<GLES2FunctionPointer>(glGenVertexArraysOES),
1217 {"glMapImageCHROMIUM", 1524 },
1218 reinterpret_cast<GLES2FunctionPointer>(glMapImageCHROMIUM), }, 1525 {
1219 {"glUnmapImageCHROMIUM", 1526 "glDeleteVertexArraysOES",
1220 reinterpret_cast<GLES2FunctionPointer>(glUnmapImageCHROMIUM), }, 1527 reinterpret_cast<GLES2FunctionPointer>(glDeleteVertexArraysOES),
1221 {"glMapBufferSubDataCHROMIUM", 1528 },
1222 reinterpret_cast<GLES2FunctionPointer>(glMapBufferSubDataCHROMIUM), }, 1529 {
1223 {"glUnmapBufferSubDataCHROMIUM", 1530 "glIsVertexArrayOES",
1224 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferSubDataCHROMIUM), }, 1531 reinterpret_cast<GLES2FunctionPointer>(glIsVertexArrayOES),
1225 {"glMapTexSubImage2DCHROMIUM", 1532 },
1226 reinterpret_cast<GLES2FunctionPointer>(glMapTexSubImage2DCHROMIUM), }, 1533 {
1227 {"glUnmapTexSubImage2DCHROMIUM", 1534 "glBindVertexArrayOES",
1228 reinterpret_cast<GLES2FunctionPointer>(glUnmapTexSubImage2DCHROMIUM), }, 1535 reinterpret_cast<GLES2FunctionPointer>(glBindVertexArrayOES),
1229 {"glResizeCHROMIUM", 1536 },
1230 reinterpret_cast<GLES2FunctionPointer>(glResizeCHROMIUM), }, 1537 {
1231 {"glGetRequestableExtensionsCHROMIUM", 1538 "glSwapBuffers", reinterpret_cast<GLES2FunctionPointer>(glSwapBuffers),
1539 },
1540 {
1541 "glGetMaxValueInBufferCHROMIUM",
1542 reinterpret_cast<GLES2FunctionPointer>(glGetMaxValueInBufferCHROMIUM),
1543 },
1544 {
1545 "glGenSharedIdsCHROMIUM",
1546 reinterpret_cast<GLES2FunctionPointer>(glGenSharedIdsCHROMIUM),
1547 },
1548 {
1549 "glDeleteSharedIdsCHROMIUM",
1550 reinterpret_cast<GLES2FunctionPointer>(glDeleteSharedIdsCHROMIUM),
1551 },
1552 {
1553 "glRegisterSharedIdsCHROMIUM",
1554 reinterpret_cast<GLES2FunctionPointer>(glRegisterSharedIdsCHROMIUM),
1555 },
1556 {
1557 "glEnableFeatureCHROMIUM",
1558 reinterpret_cast<GLES2FunctionPointer>(glEnableFeatureCHROMIUM),
1559 },
1560 {
1561 "glMapBufferCHROMIUM",
1562 reinterpret_cast<GLES2FunctionPointer>(glMapBufferCHROMIUM),
1563 },
1564 {
1565 "glUnmapBufferCHROMIUM",
1566 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferCHROMIUM),
1567 },
1568 {
1569 "glMapImageCHROMIUM",
1570 reinterpret_cast<GLES2FunctionPointer>(glMapImageCHROMIUM),
1571 },
1572 {
1573 "glUnmapImageCHROMIUM",
1574 reinterpret_cast<GLES2FunctionPointer>(glUnmapImageCHROMIUM),
1575 },
1576 {
1577 "glMapBufferSubDataCHROMIUM",
1578 reinterpret_cast<GLES2FunctionPointer>(glMapBufferSubDataCHROMIUM),
1579 },
1580 {
1581 "glUnmapBufferSubDataCHROMIUM",
1582 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferSubDataCHROMIUM),
1583 },
1584 {
1585 "glMapTexSubImage2DCHROMIUM",
1586 reinterpret_cast<GLES2FunctionPointer>(glMapTexSubImage2DCHROMIUM),
1587 },
1588 {
1589 "glUnmapTexSubImage2DCHROMIUM",
1590 reinterpret_cast<GLES2FunctionPointer>(glUnmapTexSubImage2DCHROMIUM),
1591 },
1592 {
1593 "glResizeCHROMIUM",
1594 reinterpret_cast<GLES2FunctionPointer>(glResizeCHROMIUM),
1595 },
1596 {
1597 "glGetRequestableExtensionsCHROMIUM",
1598 reinterpret_cast<GLES2FunctionPointer>(glGetRequestableExtensionsCHROMIUM),
1599 },
1600 {
1601 "glRequestExtensionCHROMIUM",
1602 reinterpret_cast<GLES2FunctionPointer>(glRequestExtensionCHROMIUM),
1603 },
1604 {
1605 "glRateLimitOffscreenContextCHROMIUM",
1232 reinterpret_cast<GLES2FunctionPointer>( 1606 reinterpret_cast<GLES2FunctionPointer>(
1233 glGetRequestableExtensionsCHROMIUM), }, 1607 glRateLimitOffscreenContextCHROMIUM),
1234 {"glRequestExtensionCHROMIUM", 1608 },
1235 reinterpret_cast<GLES2FunctionPointer>(glRequestExtensionCHROMIUM), }, 1609 {
1236 {"glRateLimitOffscreenContextCHROMIUM", 1610 "glGetMultipleIntegervCHROMIUM",
1237 reinterpret_cast<GLES2FunctionPointer>( 1611 reinterpret_cast<GLES2FunctionPointer>(glGetMultipleIntegervCHROMIUM),
1238 glRateLimitOffscreenContextCHROMIUM), }, 1612 },
1239 {"glGetMultipleIntegervCHROMIUM", 1613 {
1240 reinterpret_cast<GLES2FunctionPointer>(glGetMultipleIntegervCHROMIUM), }, 1614 "glGetProgramInfoCHROMIUM",
1241 {"glGetProgramInfoCHROMIUM", 1615 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM),
1242 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM), }, 1616 },
1243 {"glCreateStreamTextureCHROMIUM", 1617 {
1244 reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM), }, 1618 "glCreateStreamTextureCHROMIUM",
1245 {"glCreateImageCHROMIUM", 1619 reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM),
1246 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM), }, 1620 },
1247 {"glDestroyImageCHROMIUM", 1621 {
1248 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM), }, 1622 "glCreateImageCHROMIUM",
1249 {"glGetImageParameterivCHROMIUM", 1623 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM),
1250 reinterpret_cast<GLES2FunctionPointer>(glGetImageParameterivCHROMIUM), }, 1624 },
1251 {"glGetTranslatedShaderSourceANGLE", 1625 {
1252 reinterpret_cast<GLES2FunctionPointer>( 1626 "glDestroyImageCHROMIUM",
1253 glGetTranslatedShaderSourceANGLE), }, 1627 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM),
1254 {"glPostSubBufferCHROMIUM", 1628 },
1255 reinterpret_cast<GLES2FunctionPointer>(glPostSubBufferCHROMIUM), }, 1629 {
1256 {"glTexImageIOSurface2DCHROMIUM", 1630 "glGetImageParameterivCHROMIUM",
1257 reinterpret_cast<GLES2FunctionPointer>(glTexImageIOSurface2DCHROMIUM), }, 1631 reinterpret_cast<GLES2FunctionPointer>(glGetImageParameterivCHROMIUM),
1258 {"glCopyTextureCHROMIUM", 1632 },
1259 reinterpret_cast<GLES2FunctionPointer>(glCopyTextureCHROMIUM), }, 1633 {
1260 {"glDrawArraysInstancedANGLE", 1634 "glGetTranslatedShaderSourceANGLE",
1261 reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE), }, 1635 reinterpret_cast<GLES2FunctionPointer>(glGetTranslatedShaderSourceANGLE),
1262 {"glDrawElementsInstancedANGLE", 1636 },
1263 reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE), }, 1637 {
1264 {"glVertexAttribDivisorANGLE", 1638 "glPostSubBufferCHROMIUM",
1265 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE), }, 1639 reinterpret_cast<GLES2FunctionPointer>(glPostSubBufferCHROMIUM),
1266 {"glGenMailboxCHROMIUM", 1640 },
1267 reinterpret_cast<GLES2FunctionPointer>(glGenMailboxCHROMIUM), }, 1641 {
1268 {"glProduceTextureCHROMIUM", 1642 "glTexImageIOSurface2DCHROMIUM",
1269 reinterpret_cast<GLES2FunctionPointer>(glProduceTextureCHROMIUM), }, 1643 reinterpret_cast<GLES2FunctionPointer>(glTexImageIOSurface2DCHROMIUM),
1270 {"glConsumeTextureCHROMIUM", 1644 },
1271 reinterpret_cast<GLES2FunctionPointer>(glConsumeTextureCHROMIUM), }, 1645 {
1272 {"glBindUniformLocationCHROMIUM", 1646 "glCopyTextureCHROMIUM",
1273 reinterpret_cast<GLES2FunctionPointer>(glBindUniformLocationCHROMIUM), }, 1647 reinterpret_cast<GLES2FunctionPointer>(glCopyTextureCHROMIUM),
1274 {"glBindTexImage2DCHROMIUM", 1648 },
1275 reinterpret_cast<GLES2FunctionPointer>(glBindTexImage2DCHROMIUM), }, 1649 {
1276 {"glReleaseTexImage2DCHROMIUM", 1650 "glDrawArraysInstancedANGLE",
1277 reinterpret_cast<GLES2FunctionPointer>(glReleaseTexImage2DCHROMIUM), }, 1651 reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE),
1278 {"glTraceBeginCHROMIUM", 1652 },
1279 reinterpret_cast<GLES2FunctionPointer>(glTraceBeginCHROMIUM), }, 1653 {
1280 {"glTraceEndCHROMIUM", 1654 "glDrawElementsInstancedANGLE",
1281 reinterpret_cast<GLES2FunctionPointer>(glTraceEndCHROMIUM), }, 1655 reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE),
1282 {"glAsyncTexSubImage2DCHROMIUM", 1656 },
1283 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexSubImage2DCHROMIUM), }, 1657 {
1284 {"glAsyncTexImage2DCHROMIUM", 1658 "glVertexAttribDivisorANGLE",
1285 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexImage2DCHROMIUM), }, 1659 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE),
1286 {"glWaitAsyncTexImage2DCHROMIUM", 1660 },
1287 reinterpret_cast<GLES2FunctionPointer>(glWaitAsyncTexImage2DCHROMIUM), }, 1661 {
1288 {"glWaitAllAsyncTexImage2DCHROMIUM", 1662 "glGenMailboxCHROMIUM",
1289 reinterpret_cast<GLES2FunctionPointer>( 1663 reinterpret_cast<GLES2FunctionPointer>(glGenMailboxCHROMIUM),
1290 glWaitAllAsyncTexImage2DCHROMIUM), }, 1664 },
1291 {"glDiscardFramebufferEXT", 1665 {
1292 reinterpret_cast<GLES2FunctionPointer>(glDiscardFramebufferEXT), }, 1666 "glProduceTextureCHROMIUM",
1293 {"glLoseContextCHROMIUM", 1667 reinterpret_cast<GLES2FunctionPointer>(glProduceTextureCHROMIUM),
1294 reinterpret_cast<GLES2FunctionPointer>(glLoseContextCHROMIUM), }, 1668 },
1295 {"glInsertSyncPointCHROMIUM", 1669 {
1296 reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM), }, 1670 "glConsumeTextureCHROMIUM",
1297 {"glWaitSyncPointCHROMIUM", 1671 reinterpret_cast<GLES2FunctionPointer>(glConsumeTextureCHROMIUM),
1298 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM), }, 1672 },
1299 {"glDrawBuffersEXT", 1673 {
1300 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT), }, 1674 "glBindUniformLocationCHROMIUM",
1301 {"glDiscardBackbufferCHROMIUM", 1675 reinterpret_cast<GLES2FunctionPointer>(glBindUniformLocationCHROMIUM),
1302 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), }, 1676 },
1303 {"glScheduleOverlayPlaneCHROMIUM", 1677 {
1304 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), }, 1678 "glBindTexImage2DCHROMIUM",
1305 {NULL, NULL, }, }; 1679 reinterpret_cast<GLES2FunctionPointer>(glBindTexImage2DCHROMIUM),
1680 },
1681 {
1682 "glReleaseTexImage2DCHROMIUM",
1683 reinterpret_cast<GLES2FunctionPointer>(glReleaseTexImage2DCHROMIUM),
1684 },
1685 {
1686 "glTraceBeginCHROMIUM",
1687 reinterpret_cast<GLES2FunctionPointer>(glTraceBeginCHROMIUM),
1688 },
1689 {
1690 "glTraceEndCHROMIUM",
1691 reinterpret_cast<GLES2FunctionPointer>(glTraceEndCHROMIUM),
1692 },
1693 {
1694 "glAsyncTexSubImage2DCHROMIUM",
1695 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexSubImage2DCHROMIUM),
1696 },
1697 {
1698 "glAsyncTexImage2DCHROMIUM",
1699 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexImage2DCHROMIUM),
1700 },
1701 {
1702 "glWaitAsyncTexImage2DCHROMIUM",
1703 reinterpret_cast<GLES2FunctionPointer>(glWaitAsyncTexImage2DCHROMIUM),
1704 },
1705 {
1706 "glWaitAllAsyncTexImage2DCHROMIUM",
1707 reinterpret_cast<GLES2FunctionPointer>(glWaitAllAsyncTexImage2DCHROMIUM),
1708 },
1709 {
1710 "glDiscardFramebufferEXT",
1711 reinterpret_cast<GLES2FunctionPointer>(glDiscardFramebufferEXT),
1712 },
1713 {
1714 "glLoseContextCHROMIUM",
1715 reinterpret_cast<GLES2FunctionPointer>(glLoseContextCHROMIUM),
1716 },
1717 {
1718 "glInsertSyncPointCHROMIUM",
1719 reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM),
1720 },
1721 {
1722 "glWaitSyncPointCHROMIUM",
1723 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM),
1724 },
1725 {
1726 "glDrawBuffersEXT",
1727 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT),
1728 },
1729 {
1730 "glDiscardBackbufferCHROMIUM",
1731 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM),
1732 },
1733 {
1734 "glScheduleOverlayPlaneCHROMIUM",
1735 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM),
1736 },
1737 {
1738 NULL, NULL,
1739 },
1740 };
1306 1741
1307 } // namespace gles2 1742 } // namespace gles2
1308 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 1743 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698