OLD | NEW |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
839 } | 871 } |
840 void GLES2BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { | 872 void GLES2BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
841 gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId); | 873 gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId); |
842 } | 874 } |
843 void GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { | 875 void GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
844 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId); | 876 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId); |
845 } | 877 } |
846 void GLES2TraceBeginCHROMIUM(const char* name) { | 878 void GLES2TraceBeginCHROMIUM(const char* name) { |
847 gles2::GetGLContext()->TraceBeginCHROMIUM(name); | 879 gles2::GetGLContext()->TraceBeginCHROMIUM(name); |
848 } | 880 } |
849 void GLES2TraceEndCHROMIUM() { gles2::GetGLContext()->TraceEndCHROMIUM(); } | 881 void GLES2TraceEndCHROMIUM() { |
| 882 gles2::GetGLContext()->TraceEndCHROMIUM(); |
| 883 } |
850 void GLES2AsyncTexSubImage2DCHROMIUM(GLenum target, | 884 void GLES2AsyncTexSubImage2DCHROMIUM(GLenum target, |
851 GLint level, | 885 GLint level, |
852 GLint xoffset, | 886 GLint xoffset, |
853 GLint yoffset, | 887 GLint yoffset, |
854 GLsizei width, | 888 GLsizei width, |
855 GLsizei height, | 889 GLsizei height, |
856 GLenum format, | 890 GLenum format, |
857 GLenum type, | 891 GLenum type, |
858 const void* data) { | 892 const void* data) { |
859 gles2::GetGLContext()->AsyncTexSubImage2DCHROMIUM( | 893 gles2::GetGLContext()->AsyncTexSubImage2DCHROMIUM( |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
924 bounds_height, | 958 bounds_height, |
925 uv_x, | 959 uv_x, |
926 uv_y, | 960 uv_y, |
927 uv_width, | 961 uv_width, |
928 uv_height); | 962 uv_height); |
929 } | 963 } |
930 | 964 |
931 namespace gles2 { | 965 namespace gles2 { |
932 | 966 |
933 extern const NameToFunc g_gles2_function_table[] = { | 967 extern const NameToFunc g_gles2_function_table[] = { |
934 {"glActiveTexture", | 968 { |
935 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), }, | 969 "glActiveTexture", reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
936 {"glAttachShader", | 970 }, |
937 reinterpret_cast<GLES2FunctionPointer>(glAttachShader), }, | 971 { |
938 {"glBindAttribLocation", | 972 "glAttachShader", reinterpret_cast<GLES2FunctionPointer>(glAttachShader), |
939 reinterpret_cast<GLES2FunctionPointer>(glBindAttribLocation), }, | 973 }, |
940 {"glBindBuffer", reinterpret_cast<GLES2FunctionPointer>(glBindBuffer), }, | 974 { |
941 {"glBindFramebuffer", | 975 "glBindAttribLocation", |
942 reinterpret_cast<GLES2FunctionPointer>(glBindFramebuffer), }, | 976 reinterpret_cast<GLES2FunctionPointer>(glBindAttribLocation), |
943 {"glBindRenderbuffer", | 977 }, |
944 reinterpret_cast<GLES2FunctionPointer>(glBindRenderbuffer), }, | 978 { |
945 {"glBindTexture", reinterpret_cast<GLES2FunctionPointer>(glBindTexture), }, | 979 "glBindBuffer", reinterpret_cast<GLES2FunctionPointer>(glBindBuffer), |
946 {"glBlendColor", reinterpret_cast<GLES2FunctionPointer>(glBlendColor), }, | 980 }, |
947 {"glBlendEquation", | 981 { |
948 reinterpret_cast<GLES2FunctionPointer>(glBlendEquation), }, | 982 "glBindFramebuffer", |
949 {"glBlendEquationSeparate", | 983 reinterpret_cast<GLES2FunctionPointer>(glBindFramebuffer), |
950 reinterpret_cast<GLES2FunctionPointer>(glBlendEquationSeparate), }, | 984 }, |
951 {"glBlendFunc", reinterpret_cast<GLES2FunctionPointer>(glBlendFunc), }, | 985 { |
952 {"glBlendFuncSeparate", | 986 "glBindRenderbuffer", |
953 reinterpret_cast<GLES2FunctionPointer>(glBlendFuncSeparate), }, | 987 reinterpret_cast<GLES2FunctionPointer>(glBindRenderbuffer), |
954 {"glBufferData", reinterpret_cast<GLES2FunctionPointer>(glBufferData), }, | 988 }, |
955 {"glBufferSubData", | 989 { |
956 reinterpret_cast<GLES2FunctionPointer>(glBufferSubData), }, | 990 "glBindTexture", reinterpret_cast<GLES2FunctionPointer>(glBindTexture), |
957 {"glCheckFramebufferStatus", | 991 }, |
958 reinterpret_cast<GLES2FunctionPointer>(glCheckFramebufferStatus), }, | 992 { |
959 {"glClear", reinterpret_cast<GLES2FunctionPointer>(glClear), }, | 993 "glBlendColor", reinterpret_cast<GLES2FunctionPointer>(glBlendColor), |
960 {"glClearColor", reinterpret_cast<GLES2FunctionPointer>(glClearColor), }, | 994 }, |
961 {"glClearDepthf", reinterpret_cast<GLES2FunctionPointer>(glClearDepthf), }, | 995 { |
962 {"glClearStencil", | 996 "glBlendEquation", reinterpret_cast<GLES2FunctionPointer>(glBlendEquation), |
963 reinterpret_cast<GLES2FunctionPointer>(glClearStencil), }, | 997 }, |
964 {"glColorMask", reinterpret_cast<GLES2FunctionPointer>(glColorMask), }, | 998 { |
965 {"glCompileShader", | 999 "glBlendEquationSeparate", |
966 reinterpret_cast<GLES2FunctionPointer>(glCompileShader), }, | 1000 reinterpret_cast<GLES2FunctionPointer>(glBlendEquationSeparate), |
967 {"glCompressedTexImage2D", | 1001 }, |
968 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage2D), }, | 1002 { |
969 {"glCompressedTexSubImage2D", | 1003 "glBlendFunc", reinterpret_cast<GLES2FunctionPointer>(glBlendFunc), |
970 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage2D), }, | 1004 }, |
971 {"glCopyTexImage2D", | 1005 { |
972 reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D), }, | 1006 "glBlendFuncSeparate", |
973 {"glCopyTexSubImage2D", | 1007 reinterpret_cast<GLES2FunctionPointer>(glBlendFuncSeparate), |
974 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D), }, | 1008 }, |
975 {"glCreateProgram", | 1009 { |
976 reinterpret_cast<GLES2FunctionPointer>(glCreateProgram), }, | 1010 "glBufferData", reinterpret_cast<GLES2FunctionPointer>(glBufferData), |
977 {"glCreateShader", | 1011 }, |
978 reinterpret_cast<GLES2FunctionPointer>(glCreateShader), }, | 1012 { |
979 {"glCullFace", reinterpret_cast<GLES2FunctionPointer>(glCullFace), }, | 1013 "glBufferSubData", reinterpret_cast<GLES2FunctionPointer>(glBufferSubData), |
980 {"glDeleteBuffers", | 1014 }, |
981 reinterpret_cast<GLES2FunctionPointer>(glDeleteBuffers), }, | 1015 { |
982 {"glDeleteFramebuffers", | 1016 "glCheckFramebufferStatus", |
983 reinterpret_cast<GLES2FunctionPointer>(glDeleteFramebuffers), }, | 1017 reinterpret_cast<GLES2FunctionPointer>(glCheckFramebufferStatus), |
984 {"glDeleteProgram", | 1018 }, |
985 reinterpret_cast<GLES2FunctionPointer>(glDeleteProgram), }, | 1019 { |
986 {"glDeleteRenderbuffers", | 1020 "glClear", reinterpret_cast<GLES2FunctionPointer>(glClear), |
987 reinterpret_cast<GLES2FunctionPointer>(glDeleteRenderbuffers), }, | 1021 }, |
988 {"glDeleteShader", | 1022 { |
989 reinterpret_cast<GLES2FunctionPointer>(glDeleteShader), }, | 1023 "glClearColor", reinterpret_cast<GLES2FunctionPointer>(glClearColor), |
990 {"glDeleteTextures", | 1024 }, |
991 reinterpret_cast<GLES2FunctionPointer>(glDeleteTextures), }, | 1025 { |
992 {"glDepthFunc", reinterpret_cast<GLES2FunctionPointer>(glDepthFunc), }, | 1026 "glClearDepthf", reinterpret_cast<GLES2FunctionPointer>(glClearDepthf), |
993 {"glDepthMask", reinterpret_cast<GLES2FunctionPointer>(glDepthMask), }, | 1027 }, |
994 {"glDepthRangef", reinterpret_cast<GLES2FunctionPointer>(glDepthRangef), }, | 1028 { |
995 {"glDetachShader", | 1029 "glClearStencil", reinterpret_cast<GLES2FunctionPointer>(glClearStencil), |
996 reinterpret_cast<GLES2FunctionPointer>(glDetachShader), }, | 1030 }, |
997 {"glDisable", reinterpret_cast<GLES2FunctionPointer>(glDisable), }, | 1031 { |
998 {"glDisableVertexAttribArray", | 1032 "glColorMask", reinterpret_cast<GLES2FunctionPointer>(glColorMask), |
999 reinterpret_cast<GLES2FunctionPointer>(glDisableVertexAttribArray), }, | 1033 }, |
1000 {"glDrawArrays", reinterpret_cast<GLES2FunctionPointer>(glDrawArrays), }, | 1034 { |
1001 {"glDrawElements", | 1035 "glCompileShader", reinterpret_cast<GLES2FunctionPointer>(glCompileShader), |
1002 reinterpret_cast<GLES2FunctionPointer>(glDrawElements), }, | 1036 }, |
1003 {"glEnable", reinterpret_cast<GLES2FunctionPointer>(glEnable), }, | 1037 { |
1004 {"glEnableVertexAttribArray", | 1038 "glCompressedTexImage2D", |
1005 reinterpret_cast<GLES2FunctionPointer>(glEnableVertexAttribArray), }, | 1039 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage2D), |
1006 {"glFinish", reinterpret_cast<GLES2FunctionPointer>(glFinish), }, | 1040 }, |
1007 {"glFlush", reinterpret_cast<GLES2FunctionPointer>(glFlush), }, | 1041 { |
1008 {"glFramebufferRenderbuffer", | 1042 "glCompressedTexSubImage2D", |
1009 reinterpret_cast<GLES2FunctionPointer>(glFramebufferRenderbuffer), }, | 1043 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage2D), |
1010 {"glFramebufferTexture2D", | 1044 }, |
1011 reinterpret_cast<GLES2FunctionPointer>(glFramebufferTexture2D), }, | 1045 { |
1012 {"glFrontFace", reinterpret_cast<GLES2FunctionPointer>(glFrontFace), }, | 1046 "glCopyTexImage2D", |
1013 {"glGenBuffers", reinterpret_cast<GLES2FunctionPointer>(glGenBuffers), }, | 1047 reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D), |
1014 {"glGenerateMipmap", | 1048 }, |
1015 reinterpret_cast<GLES2FunctionPointer>(glGenerateMipmap), }, | 1049 { |
1016 {"glGenFramebuffers", | 1050 "glCopyTexSubImage2D", |
1017 reinterpret_cast<GLES2FunctionPointer>(glGenFramebuffers), }, | 1051 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D), |
1018 {"glGenRenderbuffers", | 1052 }, |
1019 reinterpret_cast<GLES2FunctionPointer>(glGenRenderbuffers), }, | 1053 { |
1020 {"glGenTextures", reinterpret_cast<GLES2FunctionPointer>(glGenTextures), }, | 1054 "glCreateProgram", reinterpret_cast<GLES2FunctionPointer>(glCreateProgram), |
1021 {"glGetActiveAttrib", | 1055 }, |
1022 reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib), }, | 1056 { |
1023 {"glGetActiveUniform", | 1057 "glCreateShader", reinterpret_cast<GLES2FunctionPointer>(glCreateShader), |
1024 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform), }, | 1058 }, |
1025 {"glGetAttachedShaders", | 1059 { |
1026 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders), }, | 1060 "glCullFace", reinterpret_cast<GLES2FunctionPointer>(glCullFace), |
1027 {"glGetAttribLocation", | 1061 }, |
1028 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation), }, | 1062 { |
1029 {"glGetBooleanv", reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv), }, | 1063 "glDeleteBuffers", reinterpret_cast<GLES2FunctionPointer>(glDeleteBuffers), |
1030 {"glGetBufferParameteriv", | 1064 }, |
1031 reinterpret_cast<GLES2FunctionPointer>(glGetBufferParameteriv), }, | 1065 { |
1032 {"glGetError", reinterpret_cast<GLES2FunctionPointer>(glGetError), }, | 1066 "glDeleteFramebuffers", |
1033 {"glGetFloatv", reinterpret_cast<GLES2FunctionPointer>(glGetFloatv), }, | 1067 reinterpret_cast<GLES2FunctionPointer>(glDeleteFramebuffers), |
1034 {"glGetFramebufferAttachmentParameteriv", | 1068 }, |
| 1069 { |
| 1070 "glDeleteProgram", reinterpret_cast<GLES2FunctionPointer>(glDeleteProgram), |
| 1071 }, |
| 1072 { |
| 1073 "glDeleteRenderbuffers", |
| 1074 reinterpret_cast<GLES2FunctionPointer>(glDeleteRenderbuffers), |
| 1075 }, |
| 1076 { |
| 1077 "glDeleteShader", reinterpret_cast<GLES2FunctionPointer>(glDeleteShader), |
| 1078 }, |
| 1079 { |
| 1080 "glDeleteTextures", |
| 1081 reinterpret_cast<GLES2FunctionPointer>(glDeleteTextures), |
| 1082 }, |
| 1083 { |
| 1084 "glDepthFunc", reinterpret_cast<GLES2FunctionPointer>(glDepthFunc), |
| 1085 }, |
| 1086 { |
| 1087 "glDepthMask", reinterpret_cast<GLES2FunctionPointer>(glDepthMask), |
| 1088 }, |
| 1089 { |
| 1090 "glDepthRangef", reinterpret_cast<GLES2FunctionPointer>(glDepthRangef), |
| 1091 }, |
| 1092 { |
| 1093 "glDetachShader", reinterpret_cast<GLES2FunctionPointer>(glDetachShader), |
| 1094 }, |
| 1095 { |
| 1096 "glDisable", reinterpret_cast<GLES2FunctionPointer>(glDisable), |
| 1097 }, |
| 1098 { |
| 1099 "glDisableVertexAttribArray", |
| 1100 reinterpret_cast<GLES2FunctionPointer>(glDisableVertexAttribArray), |
| 1101 }, |
| 1102 { |
| 1103 "glDrawArrays", reinterpret_cast<GLES2FunctionPointer>(glDrawArrays), |
| 1104 }, |
| 1105 { |
| 1106 "glDrawElements", reinterpret_cast<GLES2FunctionPointer>(glDrawElements), |
| 1107 }, |
| 1108 { |
| 1109 "glEnable", reinterpret_cast<GLES2FunctionPointer>(glEnable), |
| 1110 }, |
| 1111 { |
| 1112 "glEnableVertexAttribArray", |
| 1113 reinterpret_cast<GLES2FunctionPointer>(glEnableVertexAttribArray), |
| 1114 }, |
| 1115 { |
| 1116 "glFinish", reinterpret_cast<GLES2FunctionPointer>(glFinish), |
| 1117 }, |
| 1118 { |
| 1119 "glFlush", reinterpret_cast<GLES2FunctionPointer>(glFlush), |
| 1120 }, |
| 1121 { |
| 1122 "glFramebufferRenderbuffer", |
| 1123 reinterpret_cast<GLES2FunctionPointer>(glFramebufferRenderbuffer), |
| 1124 }, |
| 1125 { |
| 1126 "glFramebufferTexture2D", |
| 1127 reinterpret_cast<GLES2FunctionPointer>(glFramebufferTexture2D), |
| 1128 }, |
| 1129 { |
| 1130 "glFrontFace", reinterpret_cast<GLES2FunctionPointer>(glFrontFace), |
| 1131 }, |
| 1132 { |
| 1133 "glGenBuffers", reinterpret_cast<GLES2FunctionPointer>(glGenBuffers), |
| 1134 }, |
| 1135 { |
| 1136 "glGenerateMipmap", |
| 1137 reinterpret_cast<GLES2FunctionPointer>(glGenerateMipmap), |
| 1138 }, |
| 1139 { |
| 1140 "glGenFramebuffers", |
| 1141 reinterpret_cast<GLES2FunctionPointer>(glGenFramebuffers), |
| 1142 }, |
| 1143 { |
| 1144 "glGenRenderbuffers", |
| 1145 reinterpret_cast<GLES2FunctionPointer>(glGenRenderbuffers), |
| 1146 }, |
| 1147 { |
| 1148 "glGenTextures", reinterpret_cast<GLES2FunctionPointer>(glGenTextures), |
| 1149 }, |
| 1150 { |
| 1151 "glGetActiveAttrib", |
| 1152 reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib), |
| 1153 }, |
| 1154 { |
| 1155 "glGetActiveUniform", |
| 1156 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform), |
| 1157 }, |
| 1158 { |
| 1159 "glGetAttachedShaders", |
| 1160 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders), |
| 1161 }, |
| 1162 { |
| 1163 "glGetAttribLocation", |
| 1164 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation), |
| 1165 }, |
| 1166 { |
| 1167 "glGetBooleanv", reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv), |
| 1168 }, |
| 1169 { |
| 1170 "glGetBufferParameteriv", |
| 1171 reinterpret_cast<GLES2FunctionPointer>(glGetBufferParameteriv), |
| 1172 }, |
| 1173 { |
| 1174 "glGetError", reinterpret_cast<GLES2FunctionPointer>(glGetError), |
| 1175 }, |
| 1176 { |
| 1177 "glGetFloatv", reinterpret_cast<GLES2FunctionPointer>(glGetFloatv), |
| 1178 }, |
| 1179 { |
| 1180 "glGetFramebufferAttachmentParameteriv", |
1035 reinterpret_cast<GLES2FunctionPointer>( | 1181 reinterpret_cast<GLES2FunctionPointer>( |
1036 glGetFramebufferAttachmentParameteriv), }, | 1182 glGetFramebufferAttachmentParameteriv), |
1037 {"glGetIntegerv", reinterpret_cast<GLES2FunctionPointer>(glGetIntegerv), }, | 1183 }, |
1038 {"glGetProgramiv", | 1184 { |
1039 reinterpret_cast<GLES2FunctionPointer>(glGetProgramiv), }, | 1185 "glGetIntegerv", reinterpret_cast<GLES2FunctionPointer>(glGetIntegerv), |
1040 {"glGetProgramInfoLog", | 1186 }, |
1041 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoLog), }, | 1187 { |
1042 {"glGetRenderbufferParameteriv", | 1188 "glGetProgramiv", reinterpret_cast<GLES2FunctionPointer>(glGetProgramiv), |
1043 reinterpret_cast<GLES2FunctionPointer>(glGetRenderbufferParameteriv), }, | 1189 }, |
1044 {"glGetShaderiv", reinterpret_cast<GLES2FunctionPointer>(glGetShaderiv), }, | 1190 { |
1045 {"glGetShaderInfoLog", | 1191 "glGetProgramInfoLog", |
1046 reinterpret_cast<GLES2FunctionPointer>(glGetShaderInfoLog), }, | 1192 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoLog), |
1047 {"glGetShaderPrecisionFormat", | 1193 }, |
1048 reinterpret_cast<GLES2FunctionPointer>(glGetShaderPrecisionFormat), }, | 1194 { |
1049 {"glGetShaderSource", | 1195 "glGetRenderbufferParameteriv", |
1050 reinterpret_cast<GLES2FunctionPointer>(glGetShaderSource), }, | 1196 reinterpret_cast<GLES2FunctionPointer>(glGetRenderbufferParameteriv), |
1051 {"glGetString", reinterpret_cast<GLES2FunctionPointer>(glGetString), }, | 1197 }, |
1052 {"glGetTexParameterfv", | 1198 { |
1053 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv), }, | 1199 "glGetShaderiv", reinterpret_cast<GLES2FunctionPointer>(glGetShaderiv), |
1054 {"glGetTexParameteriv", | 1200 }, |
1055 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv), }, | 1201 { |
1056 {"glGetUniformfv", | 1202 "glGetShaderInfoLog", |
1057 reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv), }, | 1203 reinterpret_cast<GLES2FunctionPointer>(glGetShaderInfoLog), |
1058 {"glGetUniformiv", | 1204 }, |
1059 reinterpret_cast<GLES2FunctionPointer>(glGetUniformiv), }, | 1205 { |
1060 {"glGetUniformLocation", | 1206 "glGetShaderPrecisionFormat", |
1061 reinterpret_cast<GLES2FunctionPointer>(glGetUniformLocation), }, | 1207 reinterpret_cast<GLES2FunctionPointer>(glGetShaderPrecisionFormat), |
1062 {"glGetVertexAttribfv", | 1208 }, |
1063 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribfv), }, | 1209 { |
1064 {"glGetVertexAttribiv", | 1210 "glGetShaderSource", |
1065 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribiv), }, | 1211 reinterpret_cast<GLES2FunctionPointer>(glGetShaderSource), |
1066 {"glGetVertexAttribPointerv", | 1212 }, |
1067 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribPointerv), }, | 1213 { |
1068 {"glHint", reinterpret_cast<GLES2FunctionPointer>(glHint), }, | 1214 "glGetString", reinterpret_cast<GLES2FunctionPointer>(glGetString), |
1069 {"glIsBuffer", reinterpret_cast<GLES2FunctionPointer>(glIsBuffer), }, | 1215 }, |
1070 {"glIsEnabled", reinterpret_cast<GLES2FunctionPointer>(glIsEnabled), }, | 1216 { |
1071 {"glIsFramebuffer", | 1217 "glGetTexParameterfv", |
1072 reinterpret_cast<GLES2FunctionPointer>(glIsFramebuffer), }, | 1218 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv), |
1073 {"glIsProgram", reinterpret_cast<GLES2FunctionPointer>(glIsProgram), }, | 1219 }, |
1074 {"glIsRenderbuffer", | 1220 { |
1075 reinterpret_cast<GLES2FunctionPointer>(glIsRenderbuffer), }, | 1221 "glGetTexParameteriv", |
1076 {"glIsShader", reinterpret_cast<GLES2FunctionPointer>(glIsShader), }, | 1222 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv), |
1077 {"glIsTexture", reinterpret_cast<GLES2FunctionPointer>(glIsTexture), }, | 1223 }, |
1078 {"glLineWidth", reinterpret_cast<GLES2FunctionPointer>(glLineWidth), }, | 1224 { |
1079 {"glLinkProgram", reinterpret_cast<GLES2FunctionPointer>(glLinkProgram), }, | 1225 "glGetUniformfv", reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv), |
1080 {"glPixelStorei", reinterpret_cast<GLES2FunctionPointer>(glPixelStorei), }, | 1226 }, |
1081 {"glPolygonOffset", | 1227 { |
1082 reinterpret_cast<GLES2FunctionPointer>(glPolygonOffset), }, | 1228 "glGetUniformiv", reinterpret_cast<GLES2FunctionPointer>(glGetUniformiv), |
1083 {"glReadPixels", reinterpret_cast<GLES2FunctionPointer>(glReadPixels), }, | 1229 }, |
1084 {"glReleaseShaderCompiler", | 1230 { |
1085 reinterpret_cast<GLES2FunctionPointer>(glReleaseShaderCompiler), }, | 1231 "glGetUniformLocation", |
1086 {"glRenderbufferStorage", | 1232 reinterpret_cast<GLES2FunctionPointer>(glGetUniformLocation), |
1087 reinterpret_cast<GLES2FunctionPointer>(glRenderbufferStorage), }, | 1233 }, |
1088 {"glSampleCoverage", | 1234 { |
1089 reinterpret_cast<GLES2FunctionPointer>(glSampleCoverage), }, | 1235 "glGetVertexAttribfv", |
1090 {"glScissor", reinterpret_cast<GLES2FunctionPointer>(glScissor), }, | 1236 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribfv), |
1091 {"glShaderBinary", | 1237 }, |
1092 reinterpret_cast<GLES2FunctionPointer>(glShaderBinary), }, | 1238 { |
1093 {"glShaderSource", | 1239 "glGetVertexAttribiv", |
1094 reinterpret_cast<GLES2FunctionPointer>(glShaderSource), }, | 1240 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribiv), |
1095 {"glShallowFinishCHROMIUM", | 1241 }, |
1096 reinterpret_cast<GLES2FunctionPointer>(glShallowFinishCHROMIUM), }, | 1242 { |
1097 {"glShallowFlushCHROMIUM", | 1243 "glGetVertexAttribPointerv", |
1098 reinterpret_cast<GLES2FunctionPointer>(glShallowFlushCHROMIUM), }, | 1244 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribPointerv), |
1099 {"glStencilFunc", reinterpret_cast<GLES2FunctionPointer>(glStencilFunc), }, | 1245 }, |
1100 {"glStencilFuncSeparate", | 1246 { |
1101 reinterpret_cast<GLES2FunctionPointer>(glStencilFuncSeparate), }, | 1247 "glHint", reinterpret_cast<GLES2FunctionPointer>(glHint), |
1102 {"glStencilMask", reinterpret_cast<GLES2FunctionPointer>(glStencilMask), }, | 1248 }, |
1103 {"glStencilMaskSeparate", | 1249 { |
1104 reinterpret_cast<GLES2FunctionPointer>(glStencilMaskSeparate), }, | 1250 "glIsBuffer", reinterpret_cast<GLES2FunctionPointer>(glIsBuffer), |
1105 {"glStencilOp", reinterpret_cast<GLES2FunctionPointer>(glStencilOp), }, | 1251 }, |
1106 {"glStencilOpSeparate", | 1252 { |
1107 reinterpret_cast<GLES2FunctionPointer>(glStencilOpSeparate), }, | 1253 "glIsEnabled", reinterpret_cast<GLES2FunctionPointer>(glIsEnabled), |
1108 {"glTexImage2D", reinterpret_cast<GLES2FunctionPointer>(glTexImage2D), }, | 1254 }, |
1109 {"glTexParameterf", | 1255 { |
1110 reinterpret_cast<GLES2FunctionPointer>(glTexParameterf), }, | 1256 "glIsFramebuffer", reinterpret_cast<GLES2FunctionPointer>(glIsFramebuffer), |
1111 {"glTexParameterfv", | 1257 }, |
1112 reinterpret_cast<GLES2FunctionPointer>(glTexParameterfv), }, | 1258 { |
1113 {"glTexParameteri", | 1259 "glIsProgram", reinterpret_cast<GLES2FunctionPointer>(glIsProgram), |
1114 reinterpret_cast<GLES2FunctionPointer>(glTexParameteri), }, | 1260 }, |
1115 {"glTexParameteriv", | 1261 { |
1116 reinterpret_cast<GLES2FunctionPointer>(glTexParameteriv), }, | 1262 "glIsRenderbuffer", |
1117 {"glTexSubImage2D", | 1263 reinterpret_cast<GLES2FunctionPointer>(glIsRenderbuffer), |
1118 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D), }, | 1264 }, |
1119 {"glUniform1f", reinterpret_cast<GLES2FunctionPointer>(glUniform1f), }, | 1265 { |
1120 {"glUniform1fv", reinterpret_cast<GLES2FunctionPointer>(glUniform1fv), }, | 1266 "glIsShader", reinterpret_cast<GLES2FunctionPointer>(glIsShader), |
1121 {"glUniform1i", reinterpret_cast<GLES2FunctionPointer>(glUniform1i), }, | 1267 }, |
1122 {"glUniform1iv", reinterpret_cast<GLES2FunctionPointer>(glUniform1iv), }, | 1268 { |
1123 {"glUniform2f", reinterpret_cast<GLES2FunctionPointer>(glUniform2f), }, | 1269 "glIsTexture", reinterpret_cast<GLES2FunctionPointer>(glIsTexture), |
1124 {"glUniform2fv", reinterpret_cast<GLES2FunctionPointer>(glUniform2fv), }, | 1270 }, |
1125 {"glUniform2i", reinterpret_cast<GLES2FunctionPointer>(glUniform2i), }, | 1271 { |
1126 {"glUniform2iv", reinterpret_cast<GLES2FunctionPointer>(glUniform2iv), }, | 1272 "glLineWidth", reinterpret_cast<GLES2FunctionPointer>(glLineWidth), |
1127 {"glUniform3f", reinterpret_cast<GLES2FunctionPointer>(glUniform3f), }, | 1273 }, |
1128 {"glUniform3fv", reinterpret_cast<GLES2FunctionPointer>(glUniform3fv), }, | 1274 { |
1129 {"glUniform3i", reinterpret_cast<GLES2FunctionPointer>(glUniform3i), }, | 1275 "glLinkProgram", reinterpret_cast<GLES2FunctionPointer>(glLinkProgram), |
1130 {"glUniform3iv", reinterpret_cast<GLES2FunctionPointer>(glUniform3iv), }, | 1276 }, |
1131 {"glUniform4f", reinterpret_cast<GLES2FunctionPointer>(glUniform4f), }, | 1277 { |
1132 {"glUniform4fv", reinterpret_cast<GLES2FunctionPointer>(glUniform4fv), }, | 1278 "glPixelStorei", reinterpret_cast<GLES2FunctionPointer>(glPixelStorei), |
1133 {"glUniform4i", reinterpret_cast<GLES2FunctionPointer>(glUniform4i), }, | 1279 }, |
1134 {"glUniform4iv", reinterpret_cast<GLES2FunctionPointer>(glUniform4iv), }, | 1280 { |
1135 {"glUniformMatrix2fv", | 1281 "glPolygonOffset", reinterpret_cast<GLES2FunctionPointer>(glPolygonOffset), |
1136 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2fv), }, | 1282 }, |
1137 {"glUniformMatrix3fv", | 1283 { |
1138 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3fv), }, | 1284 "glReadPixels", reinterpret_cast<GLES2FunctionPointer>(glReadPixels), |
1139 {"glUniformMatrix4fv", | 1285 }, |
1140 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4fv), }, | 1286 { |
1141 {"glUseProgram", reinterpret_cast<GLES2FunctionPointer>(glUseProgram), }, | 1287 "glReleaseShaderCompiler", |
1142 {"glValidateProgram", | 1288 reinterpret_cast<GLES2FunctionPointer>(glReleaseShaderCompiler), |
1143 reinterpret_cast<GLES2FunctionPointer>(glValidateProgram), }, | 1289 }, |
1144 {"glVertexAttrib1f", | 1290 { |
1145 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1f), }, | 1291 "glRenderbufferStorage", |
1146 {"glVertexAttrib1fv", | 1292 reinterpret_cast<GLES2FunctionPointer>(glRenderbufferStorage), |
1147 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1fv), }, | 1293 }, |
1148 {"glVertexAttrib2f", | 1294 { |
1149 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2f), }, | 1295 "glSampleCoverage", |
1150 {"glVertexAttrib2fv", | 1296 reinterpret_cast<GLES2FunctionPointer>(glSampleCoverage), |
1151 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2fv), }, | 1297 }, |
1152 {"glVertexAttrib3f", | 1298 { |
1153 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3f), }, | 1299 "glScissor", reinterpret_cast<GLES2FunctionPointer>(glScissor), |
1154 {"glVertexAttrib3fv", | 1300 }, |
1155 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3fv), }, | 1301 { |
1156 {"glVertexAttrib4f", | 1302 "glShaderBinary", reinterpret_cast<GLES2FunctionPointer>(glShaderBinary), |
1157 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4f), }, | 1303 }, |
1158 {"glVertexAttrib4fv", | 1304 { |
1159 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4fv), }, | 1305 "glShaderSource", reinterpret_cast<GLES2FunctionPointer>(glShaderSource), |
1160 {"glVertexAttribPointer", | 1306 }, |
1161 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribPointer), }, | 1307 { |
1162 {"glViewport", reinterpret_cast<GLES2FunctionPointer>(glViewport), }, | 1308 "glShallowFinishCHROMIUM", |
1163 {"glBlitFramebufferCHROMIUM", | 1309 reinterpret_cast<GLES2FunctionPointer>(glShallowFinishCHROMIUM), |
1164 reinterpret_cast<GLES2FunctionPointer>(glBlitFramebufferCHROMIUM), }, | 1310 }, |
1165 {"glRenderbufferStorageMultisampleCHROMIUM", | 1311 { |
| 1312 "glShallowFlushCHROMIUM", |
| 1313 reinterpret_cast<GLES2FunctionPointer>(glShallowFlushCHROMIUM), |
| 1314 }, |
| 1315 { |
| 1316 "glStencilFunc", reinterpret_cast<GLES2FunctionPointer>(glStencilFunc), |
| 1317 }, |
| 1318 { |
| 1319 "glStencilFuncSeparate", |
| 1320 reinterpret_cast<GLES2FunctionPointer>(glStencilFuncSeparate), |
| 1321 }, |
| 1322 { |
| 1323 "glStencilMask", reinterpret_cast<GLES2FunctionPointer>(glStencilMask), |
| 1324 }, |
| 1325 { |
| 1326 "glStencilMaskSeparate", |
| 1327 reinterpret_cast<GLES2FunctionPointer>(glStencilMaskSeparate), |
| 1328 }, |
| 1329 { |
| 1330 "glStencilOp", reinterpret_cast<GLES2FunctionPointer>(glStencilOp), |
| 1331 }, |
| 1332 { |
| 1333 "glStencilOpSeparate", |
| 1334 reinterpret_cast<GLES2FunctionPointer>(glStencilOpSeparate), |
| 1335 }, |
| 1336 { |
| 1337 "glTexImage2D", reinterpret_cast<GLES2FunctionPointer>(glTexImage2D), |
| 1338 }, |
| 1339 { |
| 1340 "glTexParameterf", reinterpret_cast<GLES2FunctionPointer>(glTexParameterf), |
| 1341 }, |
| 1342 { |
| 1343 "glTexParameterfv", |
| 1344 reinterpret_cast<GLES2FunctionPointer>(glTexParameterfv), |
| 1345 }, |
| 1346 { |
| 1347 "glTexParameteri", reinterpret_cast<GLES2FunctionPointer>(glTexParameteri), |
| 1348 }, |
| 1349 { |
| 1350 "glTexParameteriv", |
| 1351 reinterpret_cast<GLES2FunctionPointer>(glTexParameteriv), |
| 1352 }, |
| 1353 { |
| 1354 "glTexSubImage2D", reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D), |
| 1355 }, |
| 1356 { |
| 1357 "glUniform1f", reinterpret_cast<GLES2FunctionPointer>(glUniform1f), |
| 1358 }, |
| 1359 { |
| 1360 "glUniform1fv", reinterpret_cast<GLES2FunctionPointer>(glUniform1fv), |
| 1361 }, |
| 1362 { |
| 1363 "glUniform1i", reinterpret_cast<GLES2FunctionPointer>(glUniform1i), |
| 1364 }, |
| 1365 { |
| 1366 "glUniform1iv", reinterpret_cast<GLES2FunctionPointer>(glUniform1iv), |
| 1367 }, |
| 1368 { |
| 1369 "glUniform2f", reinterpret_cast<GLES2FunctionPointer>(glUniform2f), |
| 1370 }, |
| 1371 { |
| 1372 "glUniform2fv", reinterpret_cast<GLES2FunctionPointer>(glUniform2fv), |
| 1373 }, |
| 1374 { |
| 1375 "glUniform2i", reinterpret_cast<GLES2FunctionPointer>(glUniform2i), |
| 1376 }, |
| 1377 { |
| 1378 "glUniform2iv", reinterpret_cast<GLES2FunctionPointer>(glUniform2iv), |
| 1379 }, |
| 1380 { |
| 1381 "glUniform3f", reinterpret_cast<GLES2FunctionPointer>(glUniform3f), |
| 1382 }, |
| 1383 { |
| 1384 "glUniform3fv", reinterpret_cast<GLES2FunctionPointer>(glUniform3fv), |
| 1385 }, |
| 1386 { |
| 1387 "glUniform3i", reinterpret_cast<GLES2FunctionPointer>(glUniform3i), |
| 1388 }, |
| 1389 { |
| 1390 "glUniform3iv", reinterpret_cast<GLES2FunctionPointer>(glUniform3iv), |
| 1391 }, |
| 1392 { |
| 1393 "glUniform4f", reinterpret_cast<GLES2FunctionPointer>(glUniform4f), |
| 1394 }, |
| 1395 { |
| 1396 "glUniform4fv", reinterpret_cast<GLES2FunctionPointer>(glUniform4fv), |
| 1397 }, |
| 1398 { |
| 1399 "glUniform4i", reinterpret_cast<GLES2FunctionPointer>(glUniform4i), |
| 1400 }, |
| 1401 { |
| 1402 "glUniform4iv", reinterpret_cast<GLES2FunctionPointer>(glUniform4iv), |
| 1403 }, |
| 1404 { |
| 1405 "glUniformMatrix2fv", |
| 1406 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2fv), |
| 1407 }, |
| 1408 { |
| 1409 "glUniformMatrix3fv", |
| 1410 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3fv), |
| 1411 }, |
| 1412 { |
| 1413 "glUniformMatrix4fv", |
| 1414 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4fv), |
| 1415 }, |
| 1416 { |
| 1417 "glUseProgram", reinterpret_cast<GLES2FunctionPointer>(glUseProgram), |
| 1418 }, |
| 1419 { |
| 1420 "glValidateProgram", |
| 1421 reinterpret_cast<GLES2FunctionPointer>(glValidateProgram), |
| 1422 }, |
| 1423 { |
| 1424 "glVertexAttrib1f", |
| 1425 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1f), |
| 1426 }, |
| 1427 { |
| 1428 "glVertexAttrib1fv", |
| 1429 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1fv), |
| 1430 }, |
| 1431 { |
| 1432 "glVertexAttrib2f", |
| 1433 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2f), |
| 1434 }, |
| 1435 { |
| 1436 "glVertexAttrib2fv", |
| 1437 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2fv), |
| 1438 }, |
| 1439 { |
| 1440 "glVertexAttrib3f", |
| 1441 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3f), |
| 1442 }, |
| 1443 { |
| 1444 "glVertexAttrib3fv", |
| 1445 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3fv), |
| 1446 }, |
| 1447 { |
| 1448 "glVertexAttrib4f", |
| 1449 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4f), |
| 1450 }, |
| 1451 { |
| 1452 "glVertexAttrib4fv", |
| 1453 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4fv), |
| 1454 }, |
| 1455 { |
| 1456 "glVertexAttribPointer", |
| 1457 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribPointer), |
| 1458 }, |
| 1459 { |
| 1460 "glViewport", reinterpret_cast<GLES2FunctionPointer>(glViewport), |
| 1461 }, |
| 1462 { |
| 1463 "glBlitFramebufferCHROMIUM", |
| 1464 reinterpret_cast<GLES2FunctionPointer>(glBlitFramebufferCHROMIUM), |
| 1465 }, |
| 1466 { |
| 1467 "glRenderbufferStorageMultisampleCHROMIUM", |
1166 reinterpret_cast<GLES2FunctionPointer>( | 1468 reinterpret_cast<GLES2FunctionPointer>( |
1167 glRenderbufferStorageMultisampleCHROMIUM), }, | 1469 glRenderbufferStorageMultisampleCHROMIUM), |
1168 {"glRenderbufferStorageMultisampleEXT", | 1470 }, |
| 1471 { |
| 1472 "glRenderbufferStorageMultisampleEXT", |
1169 reinterpret_cast<GLES2FunctionPointer>( | 1473 reinterpret_cast<GLES2FunctionPointer>( |
1170 glRenderbufferStorageMultisampleEXT), }, | 1474 glRenderbufferStorageMultisampleEXT), |
1171 {"glFramebufferTexture2DMultisampleEXT", | 1475 }, |
| 1476 { |
| 1477 "glFramebufferTexture2DMultisampleEXT", |
1172 reinterpret_cast<GLES2FunctionPointer>( | 1478 reinterpret_cast<GLES2FunctionPointer>( |
1173 glFramebufferTexture2DMultisampleEXT), }, | 1479 glFramebufferTexture2DMultisampleEXT), |
1174 {"glTexStorage2DEXT", | 1480 }, |
1175 reinterpret_cast<GLES2FunctionPointer>(glTexStorage2DEXT), }, | 1481 { |
1176 {"glGenQueriesEXT", | 1482 "glTexStorage2DEXT", |
1177 reinterpret_cast<GLES2FunctionPointer>(glGenQueriesEXT), }, | 1483 reinterpret_cast<GLES2FunctionPointer>(glTexStorage2DEXT), |
1178 {"glDeleteQueriesEXT", | 1484 }, |
1179 reinterpret_cast<GLES2FunctionPointer>(glDeleteQueriesEXT), }, | 1485 { |
1180 {"glIsQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT), }, | 1486 "glGenQueriesEXT", reinterpret_cast<GLES2FunctionPointer>(glGenQueriesEXT), |
1181 {"glBeginQueryEXT", | 1487 }, |
1182 reinterpret_cast<GLES2FunctionPointer>(glBeginQueryEXT), }, | 1488 { |
1183 {"glEndQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glEndQueryEXT), }, | 1489 "glDeleteQueriesEXT", |
1184 {"glGetQueryivEXT", | 1490 reinterpret_cast<GLES2FunctionPointer>(glDeleteQueriesEXT), |
1185 reinterpret_cast<GLES2FunctionPointer>(glGetQueryivEXT), }, | 1491 }, |
1186 {"glGetQueryObjectuivEXT", | 1492 { |
1187 reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjectuivEXT), }, | 1493 "glIsQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT), |
1188 {"glInsertEventMarkerEXT", | 1494 }, |
1189 reinterpret_cast<GLES2FunctionPointer>(glInsertEventMarkerEXT), }, | 1495 { |
1190 {"glPushGroupMarkerEXT", | 1496 "glBeginQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glBeginQueryEXT), |
1191 reinterpret_cast<GLES2FunctionPointer>(glPushGroupMarkerEXT), }, | 1497 }, |
1192 {"glPopGroupMarkerEXT", | 1498 { |
1193 reinterpret_cast<GLES2FunctionPointer>(glPopGroupMarkerEXT), }, | 1499 "glEndQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glEndQueryEXT), |
1194 {"glGenVertexArraysOES", | 1500 }, |
1195 reinterpret_cast<GLES2FunctionPointer>(glGenVertexArraysOES), }, | 1501 { |
1196 {"glDeleteVertexArraysOES", | 1502 "glGetQueryivEXT", reinterpret_cast<GLES2FunctionPointer>(glGetQueryivEXT), |
1197 reinterpret_cast<GLES2FunctionPointer>(glDeleteVertexArraysOES), }, | 1503 }, |
1198 {"glIsVertexArrayOES", | 1504 { |
1199 reinterpret_cast<GLES2FunctionPointer>(glIsVertexArrayOES), }, | 1505 "glGetQueryObjectuivEXT", |
1200 {"glBindVertexArrayOES", | 1506 reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjectuivEXT), |
1201 reinterpret_cast<GLES2FunctionPointer>(glBindVertexArrayOES), }, | 1507 }, |
1202 {"glSwapBuffers", reinterpret_cast<GLES2FunctionPointer>(glSwapBuffers), }, | 1508 { |
1203 {"glGetMaxValueInBufferCHROMIUM", | 1509 "glInsertEventMarkerEXT", |
1204 reinterpret_cast<GLES2FunctionPointer>(glGetMaxValueInBufferCHROMIUM), }, | 1510 reinterpret_cast<GLES2FunctionPointer>(glInsertEventMarkerEXT), |
1205 {"glGenSharedIdsCHROMIUM", | 1511 }, |
1206 reinterpret_cast<GLES2FunctionPointer>(glGenSharedIdsCHROMIUM), }, | 1512 { |
1207 {"glDeleteSharedIdsCHROMIUM", | 1513 "glPushGroupMarkerEXT", |
1208 reinterpret_cast<GLES2FunctionPointer>(glDeleteSharedIdsCHROMIUM), }, | 1514 reinterpret_cast<GLES2FunctionPointer>(glPushGroupMarkerEXT), |
1209 {"glRegisterSharedIdsCHROMIUM", | 1515 }, |
1210 reinterpret_cast<GLES2FunctionPointer>(glRegisterSharedIdsCHROMIUM), }, | 1516 { |
1211 {"glEnableFeatureCHROMIUM", | 1517 "glPopGroupMarkerEXT", |
1212 reinterpret_cast<GLES2FunctionPointer>(glEnableFeatureCHROMIUM), }, | 1518 reinterpret_cast<GLES2FunctionPointer>(glPopGroupMarkerEXT), |
1213 {"glMapBufferCHROMIUM", | 1519 }, |
1214 reinterpret_cast<GLES2FunctionPointer>(glMapBufferCHROMIUM), }, | 1520 { |
1215 {"glUnmapBufferCHROMIUM", | 1521 "glGenVertexArraysOES", |
1216 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferCHROMIUM), }, | 1522 reinterpret_cast<GLES2FunctionPointer>(glGenVertexArraysOES), |
1217 {"glMapImageCHROMIUM", | 1523 }, |
1218 reinterpret_cast<GLES2FunctionPointer>(glMapImageCHROMIUM), }, | 1524 { |
1219 {"glUnmapImageCHROMIUM", | 1525 "glDeleteVertexArraysOES", |
1220 reinterpret_cast<GLES2FunctionPointer>(glUnmapImageCHROMIUM), }, | 1526 reinterpret_cast<GLES2FunctionPointer>(glDeleteVertexArraysOES), |
1221 {"glMapBufferSubDataCHROMIUM", | 1527 }, |
1222 reinterpret_cast<GLES2FunctionPointer>(glMapBufferSubDataCHROMIUM), }, | 1528 { |
1223 {"glUnmapBufferSubDataCHROMIUM", | 1529 "glIsVertexArrayOES", |
1224 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferSubDataCHROMIUM), }, | 1530 reinterpret_cast<GLES2FunctionPointer>(glIsVertexArrayOES), |
1225 {"glMapTexSubImage2DCHROMIUM", | 1531 }, |
1226 reinterpret_cast<GLES2FunctionPointer>(glMapTexSubImage2DCHROMIUM), }, | 1532 { |
1227 {"glUnmapTexSubImage2DCHROMIUM", | 1533 "glBindVertexArrayOES", |
1228 reinterpret_cast<GLES2FunctionPointer>(glUnmapTexSubImage2DCHROMIUM), }, | 1534 reinterpret_cast<GLES2FunctionPointer>(glBindVertexArrayOES), |
1229 {"glResizeCHROMIUM", | 1535 }, |
1230 reinterpret_cast<GLES2FunctionPointer>(glResizeCHROMIUM), }, | 1536 { |
1231 {"glGetRequestableExtensionsCHROMIUM", | 1537 "glSwapBuffers", reinterpret_cast<GLES2FunctionPointer>(glSwapBuffers), |
| 1538 }, |
| 1539 { |
| 1540 "glGetMaxValueInBufferCHROMIUM", |
| 1541 reinterpret_cast<GLES2FunctionPointer>(glGetMaxValueInBufferCHROMIUM), |
| 1542 }, |
| 1543 { |
| 1544 "glGenSharedIdsCHROMIUM", |
| 1545 reinterpret_cast<GLES2FunctionPointer>(glGenSharedIdsCHROMIUM), |
| 1546 }, |
| 1547 { |
| 1548 "glDeleteSharedIdsCHROMIUM", |
| 1549 reinterpret_cast<GLES2FunctionPointer>(glDeleteSharedIdsCHROMIUM), |
| 1550 }, |
| 1551 { |
| 1552 "glRegisterSharedIdsCHROMIUM", |
| 1553 reinterpret_cast<GLES2FunctionPointer>(glRegisterSharedIdsCHROMIUM), |
| 1554 }, |
| 1555 { |
| 1556 "glEnableFeatureCHROMIUM", |
| 1557 reinterpret_cast<GLES2FunctionPointer>(glEnableFeatureCHROMIUM), |
| 1558 }, |
| 1559 { |
| 1560 "glMapBufferCHROMIUM", |
| 1561 reinterpret_cast<GLES2FunctionPointer>(glMapBufferCHROMIUM), |
| 1562 }, |
| 1563 { |
| 1564 "glUnmapBufferCHROMIUM", |
| 1565 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferCHROMIUM), |
| 1566 }, |
| 1567 { |
| 1568 "glMapImageCHROMIUM", |
| 1569 reinterpret_cast<GLES2FunctionPointer>(glMapImageCHROMIUM), |
| 1570 }, |
| 1571 { |
| 1572 "glUnmapImageCHROMIUM", |
| 1573 reinterpret_cast<GLES2FunctionPointer>(glUnmapImageCHROMIUM), |
| 1574 }, |
| 1575 { |
| 1576 "glMapBufferSubDataCHROMIUM", |
| 1577 reinterpret_cast<GLES2FunctionPointer>(glMapBufferSubDataCHROMIUM), |
| 1578 }, |
| 1579 { |
| 1580 "glUnmapBufferSubDataCHROMIUM", |
| 1581 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferSubDataCHROMIUM), |
| 1582 }, |
| 1583 { |
| 1584 "glMapTexSubImage2DCHROMIUM", |
| 1585 reinterpret_cast<GLES2FunctionPointer>(glMapTexSubImage2DCHROMIUM), |
| 1586 }, |
| 1587 { |
| 1588 "glUnmapTexSubImage2DCHROMIUM", |
| 1589 reinterpret_cast<GLES2FunctionPointer>(glUnmapTexSubImage2DCHROMIUM), |
| 1590 }, |
| 1591 { |
| 1592 "glResizeCHROMIUM", |
| 1593 reinterpret_cast<GLES2FunctionPointer>(glResizeCHROMIUM), |
| 1594 }, |
| 1595 { |
| 1596 "glGetRequestableExtensionsCHROMIUM", |
| 1597 reinterpret_cast<GLES2FunctionPointer>(glGetRequestableExtensionsCHROMIUM), |
| 1598 }, |
| 1599 { |
| 1600 "glRequestExtensionCHROMIUM", |
| 1601 reinterpret_cast<GLES2FunctionPointer>(glRequestExtensionCHROMIUM), |
| 1602 }, |
| 1603 { |
| 1604 "glRateLimitOffscreenContextCHROMIUM", |
1232 reinterpret_cast<GLES2FunctionPointer>( | 1605 reinterpret_cast<GLES2FunctionPointer>( |
1233 glGetRequestableExtensionsCHROMIUM), }, | 1606 glRateLimitOffscreenContextCHROMIUM), |
1234 {"glRequestExtensionCHROMIUM", | 1607 }, |
1235 reinterpret_cast<GLES2FunctionPointer>(glRequestExtensionCHROMIUM), }, | 1608 { |
1236 {"glRateLimitOffscreenContextCHROMIUM", | 1609 "glGetMultipleIntegervCHROMIUM", |
1237 reinterpret_cast<GLES2FunctionPointer>( | 1610 reinterpret_cast<GLES2FunctionPointer>(glGetMultipleIntegervCHROMIUM), |
1238 glRateLimitOffscreenContextCHROMIUM), }, | 1611 }, |
1239 {"glGetMultipleIntegervCHROMIUM", | 1612 { |
1240 reinterpret_cast<GLES2FunctionPointer>(glGetMultipleIntegervCHROMIUM), }, | 1613 "glGetProgramInfoCHROMIUM", |
1241 {"glGetProgramInfoCHROMIUM", | 1614 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM), |
1242 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM), }, | 1615 }, |
1243 {"glCreateStreamTextureCHROMIUM", | 1616 { |
1244 reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM), }, | 1617 "glCreateStreamTextureCHROMIUM", |
1245 {"glCreateImageCHROMIUM", | 1618 reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM), |
1246 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM), }, | 1619 }, |
1247 {"glDestroyImageCHROMIUM", | 1620 { |
1248 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM), }, | 1621 "glCreateImageCHROMIUM", |
1249 {"glGetImageParameterivCHROMIUM", | 1622 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM), |
1250 reinterpret_cast<GLES2FunctionPointer>(glGetImageParameterivCHROMIUM), }, | 1623 }, |
1251 {"glGetTranslatedShaderSourceANGLE", | 1624 { |
1252 reinterpret_cast<GLES2FunctionPointer>( | 1625 "glDestroyImageCHROMIUM", |
1253 glGetTranslatedShaderSourceANGLE), }, | 1626 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM), |
1254 {"glPostSubBufferCHROMIUM", | 1627 }, |
1255 reinterpret_cast<GLES2FunctionPointer>(glPostSubBufferCHROMIUM), }, | 1628 { |
1256 {"glTexImageIOSurface2DCHROMIUM", | 1629 "glGetImageParameterivCHROMIUM", |
1257 reinterpret_cast<GLES2FunctionPointer>(glTexImageIOSurface2DCHROMIUM), }, | 1630 reinterpret_cast<GLES2FunctionPointer>(glGetImageParameterivCHROMIUM), |
1258 {"glCopyTextureCHROMIUM", | 1631 }, |
1259 reinterpret_cast<GLES2FunctionPointer>(glCopyTextureCHROMIUM), }, | 1632 { |
1260 {"glDrawArraysInstancedANGLE", | 1633 "glGetTranslatedShaderSourceANGLE", |
1261 reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE), }, | 1634 reinterpret_cast<GLES2FunctionPointer>(glGetTranslatedShaderSourceANGLE), |
1262 {"glDrawElementsInstancedANGLE", | 1635 }, |
1263 reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE), }, | 1636 { |
1264 {"glVertexAttribDivisorANGLE", | 1637 "glPostSubBufferCHROMIUM", |
1265 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE), }, | 1638 reinterpret_cast<GLES2FunctionPointer>(glPostSubBufferCHROMIUM), |
1266 {"glGenMailboxCHROMIUM", | 1639 }, |
1267 reinterpret_cast<GLES2FunctionPointer>(glGenMailboxCHROMIUM), }, | 1640 { |
1268 {"glProduceTextureCHROMIUM", | 1641 "glTexImageIOSurface2DCHROMIUM", |
1269 reinterpret_cast<GLES2FunctionPointer>(glProduceTextureCHROMIUM), }, | 1642 reinterpret_cast<GLES2FunctionPointer>(glTexImageIOSurface2DCHROMIUM), |
1270 {"glConsumeTextureCHROMIUM", | 1643 }, |
1271 reinterpret_cast<GLES2FunctionPointer>(glConsumeTextureCHROMIUM), }, | 1644 { |
1272 {"glBindUniformLocationCHROMIUM", | 1645 "glCopyTextureCHROMIUM", |
1273 reinterpret_cast<GLES2FunctionPointer>(glBindUniformLocationCHROMIUM), }, | 1646 reinterpret_cast<GLES2FunctionPointer>(glCopyTextureCHROMIUM), |
1274 {"glBindTexImage2DCHROMIUM", | 1647 }, |
1275 reinterpret_cast<GLES2FunctionPointer>(glBindTexImage2DCHROMIUM), }, | 1648 { |
1276 {"glReleaseTexImage2DCHROMIUM", | 1649 "glDrawArraysInstancedANGLE", |
1277 reinterpret_cast<GLES2FunctionPointer>(glReleaseTexImage2DCHROMIUM), }, | 1650 reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE), |
1278 {"glTraceBeginCHROMIUM", | 1651 }, |
1279 reinterpret_cast<GLES2FunctionPointer>(glTraceBeginCHROMIUM), }, | 1652 { |
1280 {"glTraceEndCHROMIUM", | 1653 "glDrawElementsInstancedANGLE", |
1281 reinterpret_cast<GLES2FunctionPointer>(glTraceEndCHROMIUM), }, | 1654 reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE), |
1282 {"glAsyncTexSubImage2DCHROMIUM", | 1655 }, |
1283 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexSubImage2DCHROMIUM), }, | 1656 { |
1284 {"glAsyncTexImage2DCHROMIUM", | 1657 "glVertexAttribDivisorANGLE", |
1285 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexImage2DCHROMIUM), }, | 1658 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE), |
1286 {"glWaitAsyncTexImage2DCHROMIUM", | 1659 }, |
1287 reinterpret_cast<GLES2FunctionPointer>(glWaitAsyncTexImage2DCHROMIUM), }, | 1660 { |
1288 {"glWaitAllAsyncTexImage2DCHROMIUM", | 1661 "glGenMailboxCHROMIUM", |
1289 reinterpret_cast<GLES2FunctionPointer>( | 1662 reinterpret_cast<GLES2FunctionPointer>(glGenMailboxCHROMIUM), |
1290 glWaitAllAsyncTexImage2DCHROMIUM), }, | 1663 }, |
1291 {"glDiscardFramebufferEXT", | 1664 { |
1292 reinterpret_cast<GLES2FunctionPointer>(glDiscardFramebufferEXT), }, | 1665 "glProduceTextureCHROMIUM", |
1293 {"glLoseContextCHROMIUM", | 1666 reinterpret_cast<GLES2FunctionPointer>(glProduceTextureCHROMIUM), |
1294 reinterpret_cast<GLES2FunctionPointer>(glLoseContextCHROMIUM), }, | 1667 }, |
1295 {"glInsertSyncPointCHROMIUM", | 1668 { |
1296 reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM), }, | 1669 "glConsumeTextureCHROMIUM", |
1297 {"glWaitSyncPointCHROMIUM", | 1670 reinterpret_cast<GLES2FunctionPointer>(glConsumeTextureCHROMIUM), |
1298 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM), }, | 1671 }, |
1299 {"glDrawBuffersEXT", | 1672 { |
1300 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT), }, | 1673 "glBindUniformLocationCHROMIUM", |
1301 {"glDiscardBackbufferCHROMIUM", | 1674 reinterpret_cast<GLES2FunctionPointer>(glBindUniformLocationCHROMIUM), |
1302 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), }, | 1675 }, |
1303 {"glScheduleOverlayPlaneCHROMIUM", | 1676 { |
1304 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), }, | 1677 "glBindTexImage2DCHROMIUM", |
1305 {NULL, NULL, }, }; | 1678 reinterpret_cast<GLES2FunctionPointer>(glBindTexImage2DCHROMIUM), |
| 1679 }, |
| 1680 { |
| 1681 "glReleaseTexImage2DCHROMIUM", |
| 1682 reinterpret_cast<GLES2FunctionPointer>(glReleaseTexImage2DCHROMIUM), |
| 1683 }, |
| 1684 { |
| 1685 "glTraceBeginCHROMIUM", |
| 1686 reinterpret_cast<GLES2FunctionPointer>(glTraceBeginCHROMIUM), |
| 1687 }, |
| 1688 { |
| 1689 "glTraceEndCHROMIUM", |
| 1690 reinterpret_cast<GLES2FunctionPointer>(glTraceEndCHROMIUM), |
| 1691 }, |
| 1692 { |
| 1693 "glAsyncTexSubImage2DCHROMIUM", |
| 1694 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexSubImage2DCHROMIUM), |
| 1695 }, |
| 1696 { |
| 1697 "glAsyncTexImage2DCHROMIUM", |
| 1698 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexImage2DCHROMIUM), |
| 1699 }, |
| 1700 { |
| 1701 "glWaitAsyncTexImage2DCHROMIUM", |
| 1702 reinterpret_cast<GLES2FunctionPointer>(glWaitAsyncTexImage2DCHROMIUM), |
| 1703 }, |
| 1704 { |
| 1705 "glWaitAllAsyncTexImage2DCHROMIUM", |
| 1706 reinterpret_cast<GLES2FunctionPointer>(glWaitAllAsyncTexImage2DCHROMIUM), |
| 1707 }, |
| 1708 { |
| 1709 "glDiscardFramebufferEXT", |
| 1710 reinterpret_cast<GLES2FunctionPointer>(glDiscardFramebufferEXT), |
| 1711 }, |
| 1712 { |
| 1713 "glLoseContextCHROMIUM", |
| 1714 reinterpret_cast<GLES2FunctionPointer>(glLoseContextCHROMIUM), |
| 1715 }, |
| 1716 { |
| 1717 "glInsertSyncPointCHROMIUM", |
| 1718 reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM), |
| 1719 }, |
| 1720 { |
| 1721 "glWaitSyncPointCHROMIUM", |
| 1722 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM), |
| 1723 }, |
| 1724 { |
| 1725 "glDrawBuffersEXT", |
| 1726 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT), |
| 1727 }, |
| 1728 { |
| 1729 "glDiscardBackbufferCHROMIUM", |
| 1730 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), |
| 1731 }, |
| 1732 { |
| 1733 "glScheduleOverlayPlaneCHROMIUM", |
| 1734 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), |
| 1735 }, |
| 1736 { |
| 1737 NULL, NULL, |
| 1738 }, |
| 1739 }; |
1306 | 1740 |
1307 } // namespace gles2 | 1741 } // namespace gles2 |
1308 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1742 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |