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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 GLint xoffset, | 109 GLint xoffset, |
110 GLint yoffset, | 110 GLint yoffset, |
111 GLsizei width, | 111 GLsizei width, |
112 GLsizei height, | 112 GLsizei height, |
113 GLenum format, | 113 GLenum format, |
114 GLsizei imageSize, | 114 GLsizei imageSize, |
115 const void* data) { | 115 const void* data) { |
116 gles2::GetGLContext()->CompressedTexSubImage2D( | 116 gles2::GetGLContext()->CompressedTexSubImage2D( |
117 target, level, xoffset, yoffset, width, height, format, imageSize, data); | 117 target, level, xoffset, yoffset, width, height, format, imageSize, data); |
118 } | 118 } |
| 119 void GLES2CopyBufferSubData(GLenum readtarget, |
| 120 GLenum writetarget, |
| 121 GLintptr readoffset, |
| 122 GLintptr writeoffset, |
| 123 GLsizeiptr size) { |
| 124 gles2::GetGLContext()->CopyBufferSubData(readtarget, writetarget, readoffset, |
| 125 writeoffset, size); |
| 126 } |
119 void GLES2CopyTexImage2D(GLenum target, | 127 void GLES2CopyTexImage2D(GLenum target, |
120 GLint level, | 128 GLint level, |
121 GLenum internalformat, | 129 GLenum internalformat, |
122 GLint x, | 130 GLint x, |
123 GLint y, | 131 GLint y, |
124 GLsizei width, | 132 GLsizei width, |
125 GLsizei height, | 133 GLsizei height, |
126 GLint border) { | 134 GLint border) { |
127 gles2::GetGLContext()->CopyTexImage2D(target, level, internalformat, x, y, | 135 gles2::GetGLContext()->CopyTexImage2D(target, level, internalformat, x, y, |
128 width, height, border); | 136 width, height, border); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 target, attachment, renderbuffertarget, renderbuffer); | 220 target, attachment, renderbuffertarget, renderbuffer); |
213 } | 221 } |
214 void GLES2FramebufferTexture2D(GLenum target, | 222 void GLES2FramebufferTexture2D(GLenum target, |
215 GLenum attachment, | 223 GLenum attachment, |
216 GLenum textarget, | 224 GLenum textarget, |
217 GLuint texture, | 225 GLuint texture, |
218 GLint level) { | 226 GLint level) { |
219 gles2::GetGLContext()->FramebufferTexture2D(target, attachment, textarget, | 227 gles2::GetGLContext()->FramebufferTexture2D(target, attachment, textarget, |
220 texture, level); | 228 texture, level); |
221 } | 229 } |
| 230 void GLES2FramebufferTextureLayer(GLenum target, |
| 231 GLenum attachment, |
| 232 GLuint texture, |
| 233 GLint level, |
| 234 GLint layer) { |
| 235 gles2::GetGLContext()->FramebufferTextureLayer(target, attachment, texture, |
| 236 level, layer); |
| 237 } |
222 void GLES2FrontFace(GLenum mode) { | 238 void GLES2FrontFace(GLenum mode) { |
223 gles2::GetGLContext()->FrontFace(mode); | 239 gles2::GetGLContext()->FrontFace(mode); |
224 } | 240 } |
225 void GLES2GenBuffers(GLsizei n, GLuint* buffers) { | 241 void GLES2GenBuffers(GLsizei n, GLuint* buffers) { |
226 gles2::GetGLContext()->GenBuffers(n, buffers); | 242 gles2::GetGLContext()->GenBuffers(n, buffers); |
227 } | 243 } |
228 void GLES2GenerateMipmap(GLenum target) { | 244 void GLES2GenerateMipmap(GLenum target) { |
229 gles2::GetGLContext()->GenerateMipmap(target); | 245 gles2::GetGLContext()->GenerateMipmap(target); |
230 } | 246 } |
231 void GLES2GenFramebuffers(GLsizei n, GLuint* framebuffers) { | 247 void GLES2GenFramebuffers(GLsizei n, GLuint* framebuffers) { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 void GLES2GetFramebufferAttachmentParameteriv(GLenum target, | 297 void GLES2GetFramebufferAttachmentParameteriv(GLenum target, |
282 GLenum attachment, | 298 GLenum attachment, |
283 GLenum pname, | 299 GLenum pname, |
284 GLint* params) { | 300 GLint* params) { |
285 gles2::GetGLContext()->GetFramebufferAttachmentParameteriv(target, attachment, | 301 gles2::GetGLContext()->GetFramebufferAttachmentParameteriv(target, attachment, |
286 pname, params); | 302 pname, params); |
287 } | 303 } |
288 void GLES2GetIntegerv(GLenum pname, GLint* params) { | 304 void GLES2GetIntegerv(GLenum pname, GLint* params) { |
289 gles2::GetGLContext()->GetIntegerv(pname, params); | 305 gles2::GetGLContext()->GetIntegerv(pname, params); |
290 } | 306 } |
| 307 void GLES2GetInternalformativ(GLenum target, |
| 308 GLenum format, |
| 309 GLenum pname, |
| 310 GLsizei bufSize, |
| 311 GLint* params) { |
| 312 gles2::GetGLContext()->GetInternalformativ(target, format, pname, bufSize, |
| 313 params); |
| 314 } |
291 void GLES2GetProgramiv(GLuint program, GLenum pname, GLint* params) { | 315 void GLES2GetProgramiv(GLuint program, GLenum pname, GLint* params) { |
292 gles2::GetGLContext()->GetProgramiv(program, pname, params); | 316 gles2::GetGLContext()->GetProgramiv(program, pname, params); |
293 } | 317 } |
294 void GLES2GetProgramInfoLog(GLuint program, | 318 void GLES2GetProgramInfoLog(GLuint program, |
295 GLsizei bufsize, | 319 GLsizei bufsize, |
296 GLsizei* length, | 320 GLsizei* length, |
297 char* infolog) { | 321 char* infolog) { |
298 gles2::GetGLContext()->GetProgramInfoLog(program, bufsize, length, infolog); | 322 gles2::GetGLContext()->GetProgramInfoLog(program, bufsize, length, infolog); |
299 } | 323 } |
300 void GLES2GetRenderbufferParameteriv(GLenum target, | 324 void GLES2GetRenderbufferParameteriv(GLenum target, |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 } | 496 } |
473 void GLES2TexParameterfv(GLenum target, GLenum pname, const GLfloat* params) { | 497 void GLES2TexParameterfv(GLenum target, GLenum pname, const GLfloat* params) { |
474 gles2::GetGLContext()->TexParameterfv(target, pname, params); | 498 gles2::GetGLContext()->TexParameterfv(target, pname, params); |
475 } | 499 } |
476 void GLES2TexParameteri(GLenum target, GLenum pname, GLint param) { | 500 void GLES2TexParameteri(GLenum target, GLenum pname, GLint param) { |
477 gles2::GetGLContext()->TexParameteri(target, pname, param); | 501 gles2::GetGLContext()->TexParameteri(target, pname, param); |
478 } | 502 } |
479 void GLES2TexParameteriv(GLenum target, GLenum pname, const GLint* params) { | 503 void GLES2TexParameteriv(GLenum target, GLenum pname, const GLint* params) { |
480 gles2::GetGLContext()->TexParameteriv(target, pname, params); | 504 gles2::GetGLContext()->TexParameteriv(target, pname, params); |
481 } | 505 } |
| 506 void GLES2TexStorage3D(GLenum target, |
| 507 GLsizei levels, |
| 508 GLenum internalFormat, |
| 509 GLsizei width, |
| 510 GLsizei height, |
| 511 GLsizei depth) { |
| 512 gles2::GetGLContext()->TexStorage3D(target, levels, internalFormat, width, |
| 513 height, depth); |
| 514 } |
482 void GLES2TexSubImage2D(GLenum target, | 515 void GLES2TexSubImage2D(GLenum target, |
483 GLint level, | 516 GLint level, |
484 GLint xoffset, | 517 GLint xoffset, |
485 GLint yoffset, | 518 GLint yoffset, |
486 GLsizei width, | 519 GLsizei width, |
487 GLsizei height, | 520 GLsizei height, |
488 GLenum format, | 521 GLenum format, |
489 GLenum type, | 522 GLenum type, |
490 const void* pixels) { | 523 const void* pixels) { |
491 gles2::GetGLContext()->TexSubImage2D(target, level, xoffset, yoffset, width, | 524 gles2::GetGLContext()->TexSubImage2D(target, level, xoffset, yoffset, width, |
492 height, format, type, pixels); | 525 height, format, type, pixels); |
493 } | 526 } |
494 void GLES2Uniform1f(GLint location, GLfloat x) { | 527 void GLES2Uniform1f(GLint location, GLfloat x) { |
495 gles2::GetGLContext()->Uniform1f(location, x); | 528 gles2::GetGLContext()->Uniform1f(location, x); |
496 } | 529 } |
497 void GLES2Uniform1fv(GLint location, GLsizei count, const GLfloat* v) { | 530 void GLES2Uniform1fv(GLint location, GLsizei count, const GLfloat* v) { |
498 gles2::GetGLContext()->Uniform1fv(location, count, v); | 531 gles2::GetGLContext()->Uniform1fv(location, count, v); |
499 } | 532 } |
500 void GLES2Uniform1i(GLint location, GLint x) { | 533 void GLES2Uniform1i(GLint location, GLint x) { |
501 gles2::GetGLContext()->Uniform1i(location, x); | 534 gles2::GetGLContext()->Uniform1i(location, x); |
502 } | 535 } |
503 void GLES2Uniform1iv(GLint location, GLsizei count, const GLint* v) { | 536 void GLES2Uniform1iv(GLint location, GLsizei count, const GLint* v) { |
504 gles2::GetGLContext()->Uniform1iv(location, count, v); | 537 gles2::GetGLContext()->Uniform1iv(location, count, v); |
505 } | 538 } |
| 539 void GLES2Uniform1ui(GLint location, GLuint x) { |
| 540 gles2::GetGLContext()->Uniform1ui(location, x); |
| 541 } |
| 542 void GLES2Uniform1uiv(GLint location, GLsizei count, const GLuint* v) { |
| 543 gles2::GetGLContext()->Uniform1uiv(location, count, v); |
| 544 } |
506 void GLES2Uniform2f(GLint location, GLfloat x, GLfloat y) { | 545 void GLES2Uniform2f(GLint location, GLfloat x, GLfloat y) { |
507 gles2::GetGLContext()->Uniform2f(location, x, y); | 546 gles2::GetGLContext()->Uniform2f(location, x, y); |
508 } | 547 } |
509 void GLES2Uniform2fv(GLint location, GLsizei count, const GLfloat* v) { | 548 void GLES2Uniform2fv(GLint location, GLsizei count, const GLfloat* v) { |
510 gles2::GetGLContext()->Uniform2fv(location, count, v); | 549 gles2::GetGLContext()->Uniform2fv(location, count, v); |
511 } | 550 } |
512 void GLES2Uniform2i(GLint location, GLint x, GLint y) { | 551 void GLES2Uniform2i(GLint location, GLint x, GLint y) { |
513 gles2::GetGLContext()->Uniform2i(location, x, y); | 552 gles2::GetGLContext()->Uniform2i(location, x, y); |
514 } | 553 } |
515 void GLES2Uniform2iv(GLint location, GLsizei count, const GLint* v) { | 554 void GLES2Uniform2iv(GLint location, GLsizei count, const GLint* v) { |
516 gles2::GetGLContext()->Uniform2iv(location, count, v); | 555 gles2::GetGLContext()->Uniform2iv(location, count, v); |
517 } | 556 } |
| 557 void GLES2Uniform2ui(GLint location, GLuint x, GLuint y) { |
| 558 gles2::GetGLContext()->Uniform2ui(location, x, y); |
| 559 } |
| 560 void GLES2Uniform2uiv(GLint location, GLsizei count, const GLuint* v) { |
| 561 gles2::GetGLContext()->Uniform2uiv(location, count, v); |
| 562 } |
518 void GLES2Uniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) { | 563 void GLES2Uniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) { |
519 gles2::GetGLContext()->Uniform3f(location, x, y, z); | 564 gles2::GetGLContext()->Uniform3f(location, x, y, z); |
520 } | 565 } |
521 void GLES2Uniform3fv(GLint location, GLsizei count, const GLfloat* v) { | 566 void GLES2Uniform3fv(GLint location, GLsizei count, const GLfloat* v) { |
522 gles2::GetGLContext()->Uniform3fv(location, count, v); | 567 gles2::GetGLContext()->Uniform3fv(location, count, v); |
523 } | 568 } |
524 void GLES2Uniform3i(GLint location, GLint x, GLint y, GLint z) { | 569 void GLES2Uniform3i(GLint location, GLint x, GLint y, GLint z) { |
525 gles2::GetGLContext()->Uniform3i(location, x, y, z); | 570 gles2::GetGLContext()->Uniform3i(location, x, y, z); |
526 } | 571 } |
527 void GLES2Uniform3iv(GLint location, GLsizei count, const GLint* v) { | 572 void GLES2Uniform3iv(GLint location, GLsizei count, const GLint* v) { |
528 gles2::GetGLContext()->Uniform3iv(location, count, v); | 573 gles2::GetGLContext()->Uniform3iv(location, count, v); |
529 } | 574 } |
| 575 void GLES2Uniform3ui(GLint location, GLuint x, GLuint y, GLuint z) { |
| 576 gles2::GetGLContext()->Uniform3ui(location, x, y, z); |
| 577 } |
| 578 void GLES2Uniform3uiv(GLint location, GLsizei count, const GLuint* v) { |
| 579 gles2::GetGLContext()->Uniform3uiv(location, count, v); |
| 580 } |
530 void GLES2Uniform4f(GLint location, | 581 void GLES2Uniform4f(GLint location, |
531 GLfloat x, | 582 GLfloat x, |
532 GLfloat y, | 583 GLfloat y, |
533 GLfloat z, | 584 GLfloat z, |
534 GLfloat w) { | 585 GLfloat w) { |
535 gles2::GetGLContext()->Uniform4f(location, x, y, z, w); | 586 gles2::GetGLContext()->Uniform4f(location, x, y, z, w); |
536 } | 587 } |
537 void GLES2Uniform4fv(GLint location, GLsizei count, const GLfloat* v) { | 588 void GLES2Uniform4fv(GLint location, GLsizei count, const GLfloat* v) { |
538 gles2::GetGLContext()->Uniform4fv(location, count, v); | 589 gles2::GetGLContext()->Uniform4fv(location, count, v); |
539 } | 590 } |
540 void GLES2Uniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) { | 591 void GLES2Uniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) { |
541 gles2::GetGLContext()->Uniform4i(location, x, y, z, w); | 592 gles2::GetGLContext()->Uniform4i(location, x, y, z, w); |
542 } | 593 } |
543 void GLES2Uniform4iv(GLint location, GLsizei count, const GLint* v) { | 594 void GLES2Uniform4iv(GLint location, GLsizei count, const GLint* v) { |
544 gles2::GetGLContext()->Uniform4iv(location, count, v); | 595 gles2::GetGLContext()->Uniform4iv(location, count, v); |
545 } | 596 } |
| 597 void GLES2Uniform4ui(GLint location, GLuint x, GLuint y, GLuint z, GLuint w) { |
| 598 gles2::GetGLContext()->Uniform4ui(location, x, y, z, w); |
| 599 } |
| 600 void GLES2Uniform4uiv(GLint location, GLsizei count, const GLuint* v) { |
| 601 gles2::GetGLContext()->Uniform4uiv(location, count, v); |
| 602 } |
546 void GLES2UniformMatrix2fv(GLint location, | 603 void GLES2UniformMatrix2fv(GLint location, |
547 GLsizei count, | 604 GLsizei count, |
548 GLboolean transpose, | 605 GLboolean transpose, |
549 const GLfloat* value) { | 606 const GLfloat* value) { |
550 gles2::GetGLContext()->UniformMatrix2fv(location, count, transpose, value); | 607 gles2::GetGLContext()->UniformMatrix2fv(location, count, transpose, value); |
551 } | 608 } |
| 609 void GLES2UniformMatrix2x3fv(GLint location, |
| 610 GLsizei count, |
| 611 GLboolean transpose, |
| 612 const GLfloat* value) { |
| 613 gles2::GetGLContext()->UniformMatrix2x3fv(location, count, transpose, value); |
| 614 } |
| 615 void GLES2UniformMatrix2x4fv(GLint location, |
| 616 GLsizei count, |
| 617 GLboolean transpose, |
| 618 const GLfloat* value) { |
| 619 gles2::GetGLContext()->UniformMatrix2x4fv(location, count, transpose, value); |
| 620 } |
552 void GLES2UniformMatrix3fv(GLint location, | 621 void GLES2UniformMatrix3fv(GLint location, |
553 GLsizei count, | 622 GLsizei count, |
554 GLboolean transpose, | 623 GLboolean transpose, |
555 const GLfloat* value) { | 624 const GLfloat* value) { |
556 gles2::GetGLContext()->UniformMatrix3fv(location, count, transpose, value); | 625 gles2::GetGLContext()->UniformMatrix3fv(location, count, transpose, value); |
557 } | 626 } |
| 627 void GLES2UniformMatrix3x2fv(GLint location, |
| 628 GLsizei count, |
| 629 GLboolean transpose, |
| 630 const GLfloat* value) { |
| 631 gles2::GetGLContext()->UniformMatrix3x2fv(location, count, transpose, value); |
| 632 } |
| 633 void GLES2UniformMatrix3x4fv(GLint location, |
| 634 GLsizei count, |
| 635 GLboolean transpose, |
| 636 const GLfloat* value) { |
| 637 gles2::GetGLContext()->UniformMatrix3x4fv(location, count, transpose, value); |
| 638 } |
558 void GLES2UniformMatrix4fv(GLint location, | 639 void GLES2UniformMatrix4fv(GLint location, |
559 GLsizei count, | 640 GLsizei count, |
560 GLboolean transpose, | 641 GLboolean transpose, |
561 const GLfloat* value) { | 642 const GLfloat* value) { |
562 gles2::GetGLContext()->UniformMatrix4fv(location, count, transpose, value); | 643 gles2::GetGLContext()->UniformMatrix4fv(location, count, transpose, value); |
563 } | 644 } |
| 645 void GLES2UniformMatrix4x2fv(GLint location, |
| 646 GLsizei count, |
| 647 GLboolean transpose, |
| 648 const GLfloat* value) { |
| 649 gles2::GetGLContext()->UniformMatrix4x2fv(location, count, transpose, value); |
| 650 } |
| 651 void GLES2UniformMatrix4x3fv(GLint location, |
| 652 GLsizei count, |
| 653 GLboolean transpose, |
| 654 const GLfloat* value) { |
| 655 gles2::GetGLContext()->UniformMatrix4x3fv(location, count, transpose, value); |
| 656 } |
564 void GLES2UseProgram(GLuint program) { | 657 void GLES2UseProgram(GLuint program) { |
565 gles2::GetGLContext()->UseProgram(program); | 658 gles2::GetGLContext()->UseProgram(program); |
566 } | 659 } |
567 void GLES2ValidateProgram(GLuint program) { | 660 void GLES2ValidateProgram(GLuint program) { |
568 gles2::GetGLContext()->ValidateProgram(program); | 661 gles2::GetGLContext()->ValidateProgram(program); |
569 } | 662 } |
570 void GLES2VertexAttrib1f(GLuint indx, GLfloat x) { | 663 void GLES2VertexAttrib1f(GLuint indx, GLfloat x) { |
571 gles2::GetGLContext()->VertexAttrib1f(indx, x); | 664 gles2::GetGLContext()->VertexAttrib1f(indx, x); |
572 } | 665 } |
573 void GLES2VertexAttrib1fv(GLuint indx, const GLfloat* values) { | 666 void GLES2VertexAttrib1fv(GLuint indx, const GLfloat* values) { |
(...skipping 14 matching lines...) Expand all Loading... |
588 void GLES2VertexAttrib4f(GLuint indx, | 681 void GLES2VertexAttrib4f(GLuint indx, |
589 GLfloat x, | 682 GLfloat x, |
590 GLfloat y, | 683 GLfloat y, |
591 GLfloat z, | 684 GLfloat z, |
592 GLfloat w) { | 685 GLfloat w) { |
593 gles2::GetGLContext()->VertexAttrib4f(indx, x, y, z, w); | 686 gles2::GetGLContext()->VertexAttrib4f(indx, x, y, z, w); |
594 } | 687 } |
595 void GLES2VertexAttrib4fv(GLuint indx, const GLfloat* values) { | 688 void GLES2VertexAttrib4fv(GLuint indx, const GLfloat* values) { |
596 gles2::GetGLContext()->VertexAttrib4fv(indx, values); | 689 gles2::GetGLContext()->VertexAttrib4fv(indx, values); |
597 } | 690 } |
| 691 void GLES2VertexAttribI4i(GLuint indx, GLint x, GLint y, GLint z, GLint w) { |
| 692 gles2::GetGLContext()->VertexAttribI4i(indx, x, y, z, w); |
| 693 } |
| 694 void GLES2VertexAttribI4iv(GLuint indx, const GLint* values) { |
| 695 gles2::GetGLContext()->VertexAttribI4iv(indx, values); |
| 696 } |
| 697 void GLES2VertexAttribI4ui(GLuint indx, |
| 698 GLuint x, |
| 699 GLuint y, |
| 700 GLuint z, |
| 701 GLuint w) { |
| 702 gles2::GetGLContext()->VertexAttribI4ui(indx, x, y, z, w); |
| 703 } |
| 704 void GLES2VertexAttribI4uiv(GLuint indx, const GLuint* values) { |
| 705 gles2::GetGLContext()->VertexAttribI4uiv(indx, values); |
| 706 } |
| 707 void GLES2VertexAttribIPointer(GLuint indx, |
| 708 GLint size, |
| 709 GLenum type, |
| 710 GLsizei stride, |
| 711 const void* ptr) { |
| 712 gles2::GetGLContext()->VertexAttribIPointer(indx, size, type, stride, ptr); |
| 713 } |
598 void GLES2VertexAttribPointer(GLuint indx, | 714 void GLES2VertexAttribPointer(GLuint indx, |
599 GLint size, | 715 GLint size, |
600 GLenum type, | 716 GLenum type, |
601 GLboolean normalized, | 717 GLboolean normalized, |
602 GLsizei stride, | 718 GLsizei stride, |
603 const void* ptr) { | 719 const void* ptr) { |
604 gles2::GetGLContext()->VertexAttribPointer(indx, size, type, normalized, | 720 gles2::GetGLContext()->VertexAttribPointer(indx, size, type, normalized, |
605 stride, ptr); | 721 stride, ptr); |
606 } | 722 } |
607 void GLES2Viewport(GLint x, GLint y, GLsizei width, GLsizei height) { | 723 void GLES2Viewport(GLint x, GLint y, GLsizei width, GLsizei height) { |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1047 }, | 1163 }, |
1048 { | 1164 { |
1049 "glCompressedTexImage2D", | 1165 "glCompressedTexImage2D", |
1050 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage2D), | 1166 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage2D), |
1051 }, | 1167 }, |
1052 { | 1168 { |
1053 "glCompressedTexSubImage2D", | 1169 "glCompressedTexSubImage2D", |
1054 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage2D), | 1170 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage2D), |
1055 }, | 1171 }, |
1056 { | 1172 { |
| 1173 "glCopyBufferSubData", |
| 1174 reinterpret_cast<GLES2FunctionPointer>(glCopyBufferSubData), |
| 1175 }, |
| 1176 { |
1057 "glCopyTexImage2D", | 1177 "glCopyTexImage2D", |
1058 reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D), | 1178 reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D), |
1059 }, | 1179 }, |
1060 { | 1180 { |
1061 "glCopyTexSubImage2D", | 1181 "glCopyTexSubImage2D", |
1062 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D), | 1182 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D), |
1063 }, | 1183 }, |
1064 { | 1184 { |
1065 "glCreateProgram", | 1185 "glCreateProgram", |
1066 reinterpret_cast<GLES2FunctionPointer>(glCreateProgram), | 1186 reinterpret_cast<GLES2FunctionPointer>(glCreateProgram), |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1147 }, | 1267 }, |
1148 { | 1268 { |
1149 "glFramebufferRenderbuffer", | 1269 "glFramebufferRenderbuffer", |
1150 reinterpret_cast<GLES2FunctionPointer>(glFramebufferRenderbuffer), | 1270 reinterpret_cast<GLES2FunctionPointer>(glFramebufferRenderbuffer), |
1151 }, | 1271 }, |
1152 { | 1272 { |
1153 "glFramebufferTexture2D", | 1273 "glFramebufferTexture2D", |
1154 reinterpret_cast<GLES2FunctionPointer>(glFramebufferTexture2D), | 1274 reinterpret_cast<GLES2FunctionPointer>(glFramebufferTexture2D), |
1155 }, | 1275 }, |
1156 { | 1276 { |
| 1277 "glFramebufferTextureLayer", |
| 1278 reinterpret_cast<GLES2FunctionPointer>(glFramebufferTextureLayer), |
| 1279 }, |
| 1280 { |
1157 "glFrontFace", | 1281 "glFrontFace", |
1158 reinterpret_cast<GLES2FunctionPointer>(glFrontFace), | 1282 reinterpret_cast<GLES2FunctionPointer>(glFrontFace), |
1159 }, | 1283 }, |
1160 { | 1284 { |
1161 "glGenBuffers", | 1285 "glGenBuffers", |
1162 reinterpret_cast<GLES2FunctionPointer>(glGenBuffers), | 1286 reinterpret_cast<GLES2FunctionPointer>(glGenBuffers), |
1163 }, | 1287 }, |
1164 { | 1288 { |
1165 "glGenerateMipmap", | 1289 "glGenerateMipmap", |
1166 reinterpret_cast<GLES2FunctionPointer>(glGenerateMipmap), | 1290 reinterpret_cast<GLES2FunctionPointer>(glGenerateMipmap), |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1212 { | 1336 { |
1213 "glGetFramebufferAttachmentParameteriv", | 1337 "glGetFramebufferAttachmentParameteriv", |
1214 reinterpret_cast<GLES2FunctionPointer>( | 1338 reinterpret_cast<GLES2FunctionPointer>( |
1215 glGetFramebufferAttachmentParameteriv), | 1339 glGetFramebufferAttachmentParameteriv), |
1216 }, | 1340 }, |
1217 { | 1341 { |
1218 "glGetIntegerv", | 1342 "glGetIntegerv", |
1219 reinterpret_cast<GLES2FunctionPointer>(glGetIntegerv), | 1343 reinterpret_cast<GLES2FunctionPointer>(glGetIntegerv), |
1220 }, | 1344 }, |
1221 { | 1345 { |
| 1346 "glGetInternalformativ", |
| 1347 reinterpret_cast<GLES2FunctionPointer>(glGetInternalformativ), |
| 1348 }, |
| 1349 { |
1222 "glGetProgramiv", | 1350 "glGetProgramiv", |
1223 reinterpret_cast<GLES2FunctionPointer>(glGetProgramiv), | 1351 reinterpret_cast<GLES2FunctionPointer>(glGetProgramiv), |
1224 }, | 1352 }, |
1225 { | 1353 { |
1226 "glGetProgramInfoLog", | 1354 "glGetProgramInfoLog", |
1227 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoLog), | 1355 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoLog), |
1228 }, | 1356 }, |
1229 { | 1357 { |
1230 "glGetRenderbufferParameteriv", | 1358 "glGetRenderbufferParameteriv", |
1231 reinterpret_cast<GLES2FunctionPointer>(glGetRenderbufferParameteriv), | 1359 reinterpret_cast<GLES2FunctionPointer>(glGetRenderbufferParameteriv), |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1404 }, | 1532 }, |
1405 { | 1533 { |
1406 "glTexParameteri", | 1534 "glTexParameteri", |
1407 reinterpret_cast<GLES2FunctionPointer>(glTexParameteri), | 1535 reinterpret_cast<GLES2FunctionPointer>(glTexParameteri), |
1408 }, | 1536 }, |
1409 { | 1537 { |
1410 "glTexParameteriv", | 1538 "glTexParameteriv", |
1411 reinterpret_cast<GLES2FunctionPointer>(glTexParameteriv), | 1539 reinterpret_cast<GLES2FunctionPointer>(glTexParameteriv), |
1412 }, | 1540 }, |
1413 { | 1541 { |
| 1542 "glTexStorage3D", |
| 1543 reinterpret_cast<GLES2FunctionPointer>(glTexStorage3D), |
| 1544 }, |
| 1545 { |
1414 "glTexSubImage2D", | 1546 "glTexSubImage2D", |
1415 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D), | 1547 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D), |
1416 }, | 1548 }, |
1417 { | 1549 { |
1418 "glUniform1f", | 1550 "glUniform1f", |
1419 reinterpret_cast<GLES2FunctionPointer>(glUniform1f), | 1551 reinterpret_cast<GLES2FunctionPointer>(glUniform1f), |
1420 }, | 1552 }, |
1421 { | 1553 { |
1422 "glUniform1fv", | 1554 "glUniform1fv", |
1423 reinterpret_cast<GLES2FunctionPointer>(glUniform1fv), | 1555 reinterpret_cast<GLES2FunctionPointer>(glUniform1fv), |
1424 }, | 1556 }, |
1425 { | 1557 { |
1426 "glUniform1i", | 1558 "glUniform1i", |
1427 reinterpret_cast<GLES2FunctionPointer>(glUniform1i), | 1559 reinterpret_cast<GLES2FunctionPointer>(glUniform1i), |
1428 }, | 1560 }, |
1429 { | 1561 { |
1430 "glUniform1iv", | 1562 "glUniform1iv", |
1431 reinterpret_cast<GLES2FunctionPointer>(glUniform1iv), | 1563 reinterpret_cast<GLES2FunctionPointer>(glUniform1iv), |
1432 }, | 1564 }, |
1433 { | 1565 { |
| 1566 "glUniform1ui", |
| 1567 reinterpret_cast<GLES2FunctionPointer>(glUniform1ui), |
| 1568 }, |
| 1569 { |
| 1570 "glUniform1uiv", |
| 1571 reinterpret_cast<GLES2FunctionPointer>(glUniform1uiv), |
| 1572 }, |
| 1573 { |
1434 "glUniform2f", | 1574 "glUniform2f", |
1435 reinterpret_cast<GLES2FunctionPointer>(glUniform2f), | 1575 reinterpret_cast<GLES2FunctionPointer>(glUniform2f), |
1436 }, | 1576 }, |
1437 { | 1577 { |
1438 "glUniform2fv", | 1578 "glUniform2fv", |
1439 reinterpret_cast<GLES2FunctionPointer>(glUniform2fv), | 1579 reinterpret_cast<GLES2FunctionPointer>(glUniform2fv), |
1440 }, | 1580 }, |
1441 { | 1581 { |
1442 "glUniform2i", | 1582 "glUniform2i", |
1443 reinterpret_cast<GLES2FunctionPointer>(glUniform2i), | 1583 reinterpret_cast<GLES2FunctionPointer>(glUniform2i), |
1444 }, | 1584 }, |
1445 { | 1585 { |
1446 "glUniform2iv", | 1586 "glUniform2iv", |
1447 reinterpret_cast<GLES2FunctionPointer>(glUniform2iv), | 1587 reinterpret_cast<GLES2FunctionPointer>(glUniform2iv), |
1448 }, | 1588 }, |
1449 { | 1589 { |
| 1590 "glUniform2ui", |
| 1591 reinterpret_cast<GLES2FunctionPointer>(glUniform2ui), |
| 1592 }, |
| 1593 { |
| 1594 "glUniform2uiv", |
| 1595 reinterpret_cast<GLES2FunctionPointer>(glUniform2uiv), |
| 1596 }, |
| 1597 { |
1450 "glUniform3f", | 1598 "glUniform3f", |
1451 reinterpret_cast<GLES2FunctionPointer>(glUniform3f), | 1599 reinterpret_cast<GLES2FunctionPointer>(glUniform3f), |
1452 }, | 1600 }, |
1453 { | 1601 { |
1454 "glUniform3fv", | 1602 "glUniform3fv", |
1455 reinterpret_cast<GLES2FunctionPointer>(glUniform3fv), | 1603 reinterpret_cast<GLES2FunctionPointer>(glUniform3fv), |
1456 }, | 1604 }, |
1457 { | 1605 { |
1458 "glUniform3i", | 1606 "glUniform3i", |
1459 reinterpret_cast<GLES2FunctionPointer>(glUniform3i), | 1607 reinterpret_cast<GLES2FunctionPointer>(glUniform3i), |
1460 }, | 1608 }, |
1461 { | 1609 { |
1462 "glUniform3iv", | 1610 "glUniform3iv", |
1463 reinterpret_cast<GLES2FunctionPointer>(glUniform3iv), | 1611 reinterpret_cast<GLES2FunctionPointer>(glUniform3iv), |
1464 }, | 1612 }, |
1465 { | 1613 { |
| 1614 "glUniform3ui", |
| 1615 reinterpret_cast<GLES2FunctionPointer>(glUniform3ui), |
| 1616 }, |
| 1617 { |
| 1618 "glUniform3uiv", |
| 1619 reinterpret_cast<GLES2FunctionPointer>(glUniform3uiv), |
| 1620 }, |
| 1621 { |
1466 "glUniform4f", | 1622 "glUniform4f", |
1467 reinterpret_cast<GLES2FunctionPointer>(glUniform4f), | 1623 reinterpret_cast<GLES2FunctionPointer>(glUniform4f), |
1468 }, | 1624 }, |
1469 { | 1625 { |
1470 "glUniform4fv", | 1626 "glUniform4fv", |
1471 reinterpret_cast<GLES2FunctionPointer>(glUniform4fv), | 1627 reinterpret_cast<GLES2FunctionPointer>(glUniform4fv), |
1472 }, | 1628 }, |
1473 { | 1629 { |
1474 "glUniform4i", | 1630 "glUniform4i", |
1475 reinterpret_cast<GLES2FunctionPointer>(glUniform4i), | 1631 reinterpret_cast<GLES2FunctionPointer>(glUniform4i), |
1476 }, | 1632 }, |
1477 { | 1633 { |
1478 "glUniform4iv", | 1634 "glUniform4iv", |
1479 reinterpret_cast<GLES2FunctionPointer>(glUniform4iv), | 1635 reinterpret_cast<GLES2FunctionPointer>(glUniform4iv), |
1480 }, | 1636 }, |
1481 { | 1637 { |
| 1638 "glUniform4ui", |
| 1639 reinterpret_cast<GLES2FunctionPointer>(glUniform4ui), |
| 1640 }, |
| 1641 { |
| 1642 "glUniform4uiv", |
| 1643 reinterpret_cast<GLES2FunctionPointer>(glUniform4uiv), |
| 1644 }, |
| 1645 { |
1482 "glUniformMatrix2fv", | 1646 "glUniformMatrix2fv", |
1483 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2fv), | 1647 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2fv), |
1484 }, | 1648 }, |
1485 { | 1649 { |
| 1650 "glUniformMatrix2x3fv", |
| 1651 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2x3fv), |
| 1652 }, |
| 1653 { |
| 1654 "glUniformMatrix2x4fv", |
| 1655 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2x4fv), |
| 1656 }, |
| 1657 { |
1486 "glUniformMatrix3fv", | 1658 "glUniformMatrix3fv", |
1487 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3fv), | 1659 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3fv), |
1488 }, | 1660 }, |
1489 { | 1661 { |
| 1662 "glUniformMatrix3x2fv", |
| 1663 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3x2fv), |
| 1664 }, |
| 1665 { |
| 1666 "glUniformMatrix3x4fv", |
| 1667 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3x4fv), |
| 1668 }, |
| 1669 { |
1490 "glUniformMatrix4fv", | 1670 "glUniformMatrix4fv", |
1491 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4fv), | 1671 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4fv), |
1492 }, | 1672 }, |
1493 { | 1673 { |
| 1674 "glUniformMatrix4x2fv", |
| 1675 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x2fv), |
| 1676 }, |
| 1677 { |
| 1678 "glUniformMatrix4x3fv", |
| 1679 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x3fv), |
| 1680 }, |
| 1681 { |
1494 "glUseProgram", | 1682 "glUseProgram", |
1495 reinterpret_cast<GLES2FunctionPointer>(glUseProgram), | 1683 reinterpret_cast<GLES2FunctionPointer>(glUseProgram), |
1496 }, | 1684 }, |
1497 { | 1685 { |
1498 "glValidateProgram", | 1686 "glValidateProgram", |
1499 reinterpret_cast<GLES2FunctionPointer>(glValidateProgram), | 1687 reinterpret_cast<GLES2FunctionPointer>(glValidateProgram), |
1500 }, | 1688 }, |
1501 { | 1689 { |
1502 "glVertexAttrib1f", | 1690 "glVertexAttrib1f", |
1503 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1f), | 1691 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1f), |
(...skipping 20 matching lines...) Expand all Loading... |
1524 }, | 1712 }, |
1525 { | 1713 { |
1526 "glVertexAttrib4f", | 1714 "glVertexAttrib4f", |
1527 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4f), | 1715 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4f), |
1528 }, | 1716 }, |
1529 { | 1717 { |
1530 "glVertexAttrib4fv", | 1718 "glVertexAttrib4fv", |
1531 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4fv), | 1719 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4fv), |
1532 }, | 1720 }, |
1533 { | 1721 { |
| 1722 "glVertexAttribI4i", |
| 1723 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4i), |
| 1724 }, |
| 1725 { |
| 1726 "glVertexAttribI4iv", |
| 1727 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4iv), |
| 1728 }, |
| 1729 { |
| 1730 "glVertexAttribI4ui", |
| 1731 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4ui), |
| 1732 }, |
| 1733 { |
| 1734 "glVertexAttribI4uiv", |
| 1735 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4uiv), |
| 1736 }, |
| 1737 { |
| 1738 "glVertexAttribIPointer", |
| 1739 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribIPointer), |
| 1740 }, |
| 1741 { |
1534 "glVertexAttribPointer", | 1742 "glVertexAttribPointer", |
1535 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribPointer), | 1743 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribPointer), |
1536 }, | 1744 }, |
1537 { | 1745 { |
1538 "glViewport", | 1746 "glViewport", |
1539 reinterpret_cast<GLES2FunctionPointer>(glViewport), | 1747 reinterpret_cast<GLES2FunctionPointer>(glViewport), |
1540 }, | 1748 }, |
1541 { | 1749 { |
1542 "glBlitFramebufferCHROMIUM", | 1750 "glBlitFramebufferCHROMIUM", |
1543 reinterpret_cast<GLES2FunctionPointer>(glBlitFramebufferCHROMIUM), | 1751 reinterpret_cast<GLES2FunctionPointer>(glBlitFramebufferCHROMIUM), |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1844 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2052 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
1845 }, | 2053 }, |
1846 { | 2054 { |
1847 NULL, | 2055 NULL, |
1848 NULL, | 2056 NULL, |
1849 }, | 2057 }, |
1850 }; | 2058 }; |
1851 | 2059 |
1852 } // namespace gles2 | 2060 } // namespace gles2 |
1853 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2061 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |