OLD | NEW |
1 #ifndef __gl2_h_ | 1 #ifndef __gl3_h_ |
2 #define __gl2_h_ 1 | 2 #define __gl3_h_ 1 |
3 | 3 |
4 #ifdef __cplusplus | 4 #ifdef __cplusplus |
5 extern "C" { | 5 extern "C" { |
6 #endif | 6 #endif |
7 | 7 |
8 /* | 8 /* |
9 ** Copyright (c) 2013-2014 The Khronos Group Inc. | 9 ** Copyright (c) 2013-2014 The Khronos Group Inc. |
10 ** | 10 ** |
11 ** Permission is hereby granted, free of charge, to any person obtaining a | 11 ** Permission is hereby granted, free of charge, to any person obtaining a |
12 ** copy of this software and/or associated documentation files (the | 12 ** copy of this software and/or associated documentation files (the |
(...skipping 13 matching lines...) Expand all Loading... |
26 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | 26 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
27 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | 27 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
28 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | 28 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. |
29 */ | 29 */ |
30 /* | 30 /* |
31 ** This header is generated from the Khronos OpenGL / OpenGL ES XML | 31 ** This header is generated from the Khronos OpenGL / OpenGL ES XML |
32 ** API Registry. The current version of the Registry, generator scripts | 32 ** API Registry. The current version of the Registry, generator scripts |
33 ** used to make the header, and the header can be found at | 33 ** used to make the header, and the header can be found at |
34 ** http://www.opengl.org/registry/ | 34 ** http://www.opengl.org/registry/ |
35 ** | 35 ** |
36 ** Khronos $Revision: 28366 $ on $Date: 2014-10-20 11:29:02 +0200 (Mon, 20 Oct 2
014) $ | 36 ** Khronos $Revision: 28985 $ on $Date: 2014-11-18 18:42:43 -0800 (Tue, 18 Nov 2
014) $ |
37 */ | 37 */ |
38 | 38 |
39 #include <GLES2/gl2chromium.h> | 39 #include <GLES3/gl3platform.h> |
40 #include <GLES2/gl2platform.h> | |
41 | 40 |
42 /* Generated on date 20141020 */ | 41 /* Generated on date 20141118 */ |
43 | 42 |
44 /* Generated C header for: | 43 /* Generated C header for: |
45 * API: gles2 | 44 * API: gles2 |
46 * Profile: common | 45 * Profile: common |
47 * Versions considered: 2\.[0-9] | 46 * Versions considered: 2\.[0-9]|3.0 |
48 * Versions emitted: .* | 47 * Versions emitted: .* |
49 * Default extensions included: None | 48 * Default extensions included: None |
50 * Additional extensions included: _nomatch_^ | 49 * Additional extensions included: _nomatch_^ |
51 * Extensions removed: _nomatch_^ | 50 * Extensions removed: _nomatch_^ |
52 */ | 51 */ |
53 | 52 |
54 #ifndef GL_ES_VERSION_2_0 | 53 #ifndef GL_ES_VERSION_2_0 |
55 #define GL_ES_VERSION_2_0 1 | 54 #define GL_ES_VERSION_2_0 1 |
56 #include <KHR/khrplatform.h> | 55 #include <KHR/khrplatform.h> |
57 typedef khronos_int8_t GLbyte; | 56 typedef khronos_int8_t GLbyte; |
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y
); | 511 GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y
); |
513 GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); | 512 GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); |
514 GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y
, GLfloat z); | 513 GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y
, GLfloat z); |
515 GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); | 514 GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); |
516 GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y
, GLfloat z, GLfloat w); | 515 GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y
, GLfloat z, GLfloat w); |
517 GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); | 516 GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); |
518 GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLe
num type, GLboolean normalized, GLsizei stride, const void *pointer); | 517 GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLe
num type, GLboolean normalized, GLsizei stride, const void *pointer); |
519 GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei
height); | 518 GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei
height); |
520 #endif /* GL_ES_VERSION_2_0 */ | 519 #endif /* GL_ES_VERSION_2_0 */ |
521 | 520 |
| 521 #ifndef GL_ES_VERSION_3_0 |
| 522 #define GL_ES_VERSION_3_0 1 |
| 523 typedef unsigned short GLhalf; |
| 524 #define GL_READ_BUFFER 0x0C02 |
| 525 #define GL_UNPACK_ROW_LENGTH 0x0CF2 |
| 526 #define GL_UNPACK_SKIP_ROWS 0x0CF3 |
| 527 #define GL_UNPACK_SKIP_PIXELS 0x0CF4 |
| 528 #define GL_PACK_ROW_LENGTH 0x0D02 |
| 529 #define GL_PACK_SKIP_ROWS 0x0D03 |
| 530 #define GL_PACK_SKIP_PIXELS 0x0D04 |
| 531 #define GL_COLOR 0x1800 |
| 532 #define GL_DEPTH 0x1801 |
| 533 #define GL_STENCIL 0x1802 |
| 534 #define GL_RED 0x1903 |
| 535 #define GL_RGB8 0x8051 |
| 536 #define GL_RGBA8 0x8058 |
| 537 #define GL_RGB10_A2 0x8059 |
| 538 #define GL_TEXTURE_BINDING_3D 0x806A |
| 539 #define GL_UNPACK_SKIP_IMAGES 0x806D |
| 540 #define GL_UNPACK_IMAGE_HEIGHT 0x806E |
| 541 #define GL_TEXTURE_3D 0x806F |
| 542 #define GL_TEXTURE_WRAP_R 0x8072 |
| 543 #define GL_MAX_3D_TEXTURE_SIZE 0x8073 |
| 544 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 |
| 545 #define GL_MAX_ELEMENTS_VERTICES 0x80E8 |
| 546 #define GL_MAX_ELEMENTS_INDICES 0x80E9 |
| 547 #define GL_TEXTURE_MIN_LOD 0x813A |
| 548 #define GL_TEXTURE_MAX_LOD 0x813B |
| 549 #define GL_TEXTURE_BASE_LEVEL 0x813C |
| 550 #define GL_TEXTURE_MAX_LEVEL 0x813D |
| 551 #define GL_MIN 0x8007 |
| 552 #define GL_MAX 0x8008 |
| 553 #define GL_DEPTH_COMPONENT24 0x81A6 |
| 554 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD |
| 555 #define GL_TEXTURE_COMPARE_MODE 0x884C |
| 556 #define GL_TEXTURE_COMPARE_FUNC 0x884D |
| 557 #define GL_CURRENT_QUERY 0x8865 |
| 558 #define GL_QUERY_RESULT 0x8866 |
| 559 #define GL_QUERY_RESULT_AVAILABLE 0x8867 |
| 560 #define GL_BUFFER_MAPPED 0x88BC |
| 561 #define GL_BUFFER_MAP_POINTER 0x88BD |
| 562 #define GL_STREAM_READ 0x88E1 |
| 563 #define GL_STREAM_COPY 0x88E2 |
| 564 #define GL_STATIC_READ 0x88E5 |
| 565 #define GL_STATIC_COPY 0x88E6 |
| 566 #define GL_DYNAMIC_READ 0x88E9 |
| 567 #define GL_DYNAMIC_COPY 0x88EA |
| 568 #define GL_MAX_DRAW_BUFFERS 0x8824 |
| 569 #define GL_DRAW_BUFFER0 0x8825 |
| 570 #define GL_DRAW_BUFFER1 0x8826 |
| 571 #define GL_DRAW_BUFFER2 0x8827 |
| 572 #define GL_DRAW_BUFFER3 0x8828 |
| 573 #define GL_DRAW_BUFFER4 0x8829 |
| 574 #define GL_DRAW_BUFFER5 0x882A |
| 575 #define GL_DRAW_BUFFER6 0x882B |
| 576 #define GL_DRAW_BUFFER7 0x882C |
| 577 #define GL_DRAW_BUFFER8 0x882D |
| 578 #define GL_DRAW_BUFFER9 0x882E |
| 579 #define GL_DRAW_BUFFER10 0x882F |
| 580 #define GL_DRAW_BUFFER11 0x8830 |
| 581 #define GL_DRAW_BUFFER12 0x8831 |
| 582 #define GL_DRAW_BUFFER13 0x8832 |
| 583 #define GL_DRAW_BUFFER14 0x8833 |
| 584 #define GL_DRAW_BUFFER15 0x8834 |
| 585 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 |
| 586 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A |
| 587 #define GL_SAMPLER_3D 0x8B5F |
| 588 #define GL_SAMPLER_2D_SHADOW 0x8B62 |
| 589 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B |
| 590 #define GL_PIXEL_PACK_BUFFER 0x88EB |
| 591 #define GL_PIXEL_UNPACK_BUFFER 0x88EC |
| 592 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED |
| 593 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF |
| 594 #define GL_FLOAT_MAT2x3 0x8B65 |
| 595 #define GL_FLOAT_MAT2x4 0x8B66 |
| 596 #define GL_FLOAT_MAT3x2 0x8B67 |
| 597 #define GL_FLOAT_MAT3x4 0x8B68 |
| 598 #define GL_FLOAT_MAT4x2 0x8B69 |
| 599 #define GL_FLOAT_MAT4x3 0x8B6A |
| 600 #define GL_SRGB 0x8C40 |
| 601 #define GL_SRGB8 0x8C41 |
| 602 #define GL_SRGB8_ALPHA8 0x8C43 |
| 603 #define GL_COMPARE_REF_TO_TEXTURE 0x884E |
| 604 #define GL_MAJOR_VERSION 0x821B |
| 605 #define GL_MINOR_VERSION 0x821C |
| 606 #define GL_NUM_EXTENSIONS 0x821D |
| 607 #define GL_RGBA32F 0x8814 |
| 608 #define GL_RGB32F 0x8815 |
| 609 #define GL_RGBA16F 0x881A |
| 610 #define GL_RGB16F 0x881B |
| 611 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD |
| 612 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF |
| 613 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 |
| 614 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 |
| 615 #define GL_MAX_VARYING_COMPONENTS 0x8B4B |
| 616 #define GL_TEXTURE_2D_ARRAY 0x8C1A |
| 617 #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D |
| 618 #define GL_R11F_G11F_B10F 0x8C3A |
| 619 #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B |
| 620 #define GL_RGB9_E5 0x8C3D |
| 621 #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E |
| 622 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 |
| 623 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F |
| 624 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 |
| 625 #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 |
| 626 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 |
| 627 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 |
| 628 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 |
| 629 #define GL_RASTERIZER_DISCARD 0x8C89 |
| 630 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A |
| 631 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B |
| 632 #define GL_INTERLEAVED_ATTRIBS 0x8C8C |
| 633 #define GL_SEPARATE_ATTRIBS 0x8C8D |
| 634 #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E |
| 635 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F |
| 636 #define GL_RGBA32UI 0x8D70 |
| 637 #define GL_RGB32UI 0x8D71 |
| 638 #define GL_RGBA16UI 0x8D76 |
| 639 #define GL_RGB16UI 0x8D77 |
| 640 #define GL_RGBA8UI 0x8D7C |
| 641 #define GL_RGB8UI 0x8D7D |
| 642 #define GL_RGBA32I 0x8D82 |
| 643 #define GL_RGB32I 0x8D83 |
| 644 #define GL_RGBA16I 0x8D88 |
| 645 #define GL_RGB16I 0x8D89 |
| 646 #define GL_RGBA8I 0x8D8E |
| 647 #define GL_RGB8I 0x8D8F |
| 648 #define GL_RED_INTEGER 0x8D94 |
| 649 #define GL_RGB_INTEGER 0x8D98 |
| 650 #define GL_RGBA_INTEGER 0x8D99 |
| 651 #define GL_SAMPLER_2D_ARRAY 0x8DC1 |
| 652 #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 |
| 653 #define GL_SAMPLER_CUBE_SHADOW 0x8DC5 |
| 654 #define GL_UNSIGNED_INT_VEC2 0x8DC6 |
| 655 #define GL_UNSIGNED_INT_VEC3 0x8DC7 |
| 656 #define GL_UNSIGNED_INT_VEC4 0x8DC8 |
| 657 #define GL_INT_SAMPLER_2D 0x8DCA |
| 658 #define GL_INT_SAMPLER_3D 0x8DCB |
| 659 #define GL_INT_SAMPLER_CUBE 0x8DCC |
| 660 #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF |
| 661 #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 |
| 662 #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 |
| 663 #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 |
| 664 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 |
| 665 #define GL_BUFFER_ACCESS_FLAGS 0x911F |
| 666 #define GL_BUFFER_MAP_LENGTH 0x9120 |
| 667 #define GL_BUFFER_MAP_OFFSET 0x9121 |
| 668 #define GL_DEPTH_COMPONENT32F 0x8CAC |
| 669 #define GL_DEPTH32F_STENCIL8 0x8CAD |
| 670 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD |
| 671 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 |
| 672 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 |
| 673 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 |
| 674 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 |
| 675 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 |
| 676 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 |
| 677 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 |
| 678 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 |
| 679 #define GL_FRAMEBUFFER_DEFAULT 0x8218 |
| 680 #define GL_FRAMEBUFFER_UNDEFINED 0x8219 |
| 681 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A |
| 682 #define GL_DEPTH_STENCIL 0x84F9 |
| 683 #define GL_UNSIGNED_INT_24_8 0x84FA |
| 684 #define GL_DEPTH24_STENCIL8 0x88F0 |
| 685 #define GL_UNSIGNED_NORMALIZED 0x8C17 |
| 686 #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 |
| 687 #define GL_READ_FRAMEBUFFER 0x8CA8 |
| 688 #define GL_DRAW_FRAMEBUFFER 0x8CA9 |
| 689 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA |
| 690 #define GL_RENDERBUFFER_SAMPLES 0x8CAB |
| 691 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 |
| 692 #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF |
| 693 #define GL_COLOR_ATTACHMENT1 0x8CE1 |
| 694 #define GL_COLOR_ATTACHMENT2 0x8CE2 |
| 695 #define GL_COLOR_ATTACHMENT3 0x8CE3 |
| 696 #define GL_COLOR_ATTACHMENT4 0x8CE4 |
| 697 #define GL_COLOR_ATTACHMENT5 0x8CE5 |
| 698 #define GL_COLOR_ATTACHMENT6 0x8CE6 |
| 699 #define GL_COLOR_ATTACHMENT7 0x8CE7 |
| 700 #define GL_COLOR_ATTACHMENT8 0x8CE8 |
| 701 #define GL_COLOR_ATTACHMENT9 0x8CE9 |
| 702 #define GL_COLOR_ATTACHMENT10 0x8CEA |
| 703 #define GL_COLOR_ATTACHMENT11 0x8CEB |
| 704 #define GL_COLOR_ATTACHMENT12 0x8CEC |
| 705 #define GL_COLOR_ATTACHMENT13 0x8CED |
| 706 #define GL_COLOR_ATTACHMENT14 0x8CEE |
| 707 #define GL_COLOR_ATTACHMENT15 0x8CEF |
| 708 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 |
| 709 #define GL_MAX_SAMPLES 0x8D57 |
| 710 #define GL_HALF_FLOAT 0x140B |
| 711 #define GL_MAP_READ_BIT 0x0001 |
| 712 #define GL_MAP_WRITE_BIT 0x0002 |
| 713 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 |
| 714 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 |
| 715 #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 |
| 716 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 |
| 717 #define GL_RG 0x8227 |
| 718 #define GL_RG_INTEGER 0x8228 |
| 719 #define GL_R8 0x8229 |
| 720 #define GL_RG8 0x822B |
| 721 #define GL_R16F 0x822D |
| 722 #define GL_R32F 0x822E |
| 723 #define GL_RG16F 0x822F |
| 724 #define GL_RG32F 0x8230 |
| 725 #define GL_R8I 0x8231 |
| 726 #define GL_R8UI 0x8232 |
| 727 #define GL_R16I 0x8233 |
| 728 #define GL_R16UI 0x8234 |
| 729 #define GL_R32I 0x8235 |
| 730 #define GL_R32UI 0x8236 |
| 731 #define GL_RG8I 0x8237 |
| 732 #define GL_RG8UI 0x8238 |
| 733 #define GL_RG16I 0x8239 |
| 734 #define GL_RG16UI 0x823A |
| 735 #define GL_RG32I 0x823B |
| 736 #define GL_RG32UI 0x823C |
| 737 #define GL_VERTEX_ARRAY_BINDING 0x85B5 |
| 738 #define GL_R8_SNORM 0x8F94 |
| 739 #define GL_RG8_SNORM 0x8F95 |
| 740 #define GL_RGB8_SNORM 0x8F96 |
| 741 #define GL_RGBA8_SNORM 0x8F97 |
| 742 #define GL_SIGNED_NORMALIZED 0x8F9C |
| 743 #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 |
| 744 #define GL_COPY_READ_BUFFER 0x8F36 |
| 745 #define GL_COPY_WRITE_BUFFER 0x8F37 |
| 746 #define GL_COPY_READ_BUFFER_BINDING 0x8F36 |
| 747 #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 |
| 748 #define GL_UNIFORM_BUFFER 0x8A11 |
| 749 #define GL_UNIFORM_BUFFER_BINDING 0x8A28 |
| 750 #define GL_UNIFORM_BUFFER_START 0x8A29 |
| 751 #define GL_UNIFORM_BUFFER_SIZE 0x8A2A |
| 752 #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B |
| 753 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D |
| 754 #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E |
| 755 #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F |
| 756 #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 |
| 757 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 |
| 758 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 |
| 759 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 |
| 760 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 |
| 761 #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 |
| 762 #define GL_UNIFORM_TYPE 0x8A37 |
| 763 #define GL_UNIFORM_SIZE 0x8A38 |
| 764 #define GL_UNIFORM_NAME_LENGTH 0x8A39 |
| 765 #define GL_UNIFORM_BLOCK_INDEX 0x8A3A |
| 766 #define GL_UNIFORM_OFFSET 0x8A3B |
| 767 #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C |
| 768 #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D |
| 769 #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E |
| 770 #define GL_UNIFORM_BLOCK_BINDING 0x8A3F |
| 771 #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 |
| 772 #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 |
| 773 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 |
| 774 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 |
| 775 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 |
| 776 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 |
| 777 #define GL_INVALID_INDEX 0xFFFFFFFFu |
| 778 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 |
| 779 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 |
| 780 #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 |
| 781 #define GL_OBJECT_TYPE 0x9112 |
| 782 #define GL_SYNC_CONDITION 0x9113 |
| 783 #define GL_SYNC_STATUS 0x9114 |
| 784 #define GL_SYNC_FLAGS 0x9115 |
| 785 #define GL_SYNC_FENCE 0x9116 |
| 786 #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 |
| 787 #define GL_UNSIGNALED 0x9118 |
| 788 #define GL_SIGNALED 0x9119 |
| 789 #define GL_ALREADY_SIGNALED 0x911A |
| 790 #define GL_TIMEOUT_EXPIRED 0x911B |
| 791 #define GL_CONDITION_SATISFIED 0x911C |
| 792 #define GL_WAIT_FAILED 0x911D |
| 793 #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 |
| 794 #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull |
| 795 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE |
| 796 #define GL_ANY_SAMPLES_PASSED 0x8C2F |
| 797 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A |
| 798 #define GL_SAMPLER_BINDING 0x8919 |
| 799 #define GL_RGB10_A2UI 0x906F |
| 800 #define GL_TEXTURE_SWIZZLE_R 0x8E42 |
| 801 #define GL_TEXTURE_SWIZZLE_G 0x8E43 |
| 802 #define GL_TEXTURE_SWIZZLE_B 0x8E44 |
| 803 #define GL_TEXTURE_SWIZZLE_A 0x8E45 |
| 804 #define GL_GREEN 0x1904 |
| 805 #define GL_BLUE 0x1905 |
| 806 #define GL_INT_2_10_10_10_REV 0x8D9F |
| 807 #define GL_TRANSFORM_FEEDBACK 0x8E22 |
| 808 #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 |
| 809 #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 |
| 810 #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 |
| 811 #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 |
| 812 #define GL_PROGRAM_BINARY_LENGTH 0x8741 |
| 813 #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE |
| 814 #define GL_PROGRAM_BINARY_FORMATS 0x87FF |
| 815 #define GL_COMPRESSED_R11_EAC 0x9270 |
| 816 #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 |
| 817 #define GL_COMPRESSED_RG11_EAC 0x9272 |
| 818 #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 |
| 819 #define GL_COMPRESSED_RGB8_ETC2 0x9274 |
| 820 #define GL_COMPRESSED_SRGB8_ETC2 0x9275 |
| 821 #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 |
| 822 #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 |
| 823 #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 |
| 824 #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 |
| 825 #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F |
| 826 #define GL_MAX_ELEMENT_INDEX 0x8D6B |
| 827 #define GL_NUM_SAMPLE_COUNTS 0x9380 |
| 828 #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF |
| 829 GL_APICALL void GL_APIENTRY glReadBuffer (GLenum src); |
| 830 GL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLui
nt end, GLsizei count, GLenum type, const void *indices); |
| 831 GL_APICALL void GL_APIENTRY glTexImage3D (GLenum target, GLint level, GLint inte
rnalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum f
ormat, GLenum type, const void *pixels); |
| 832 GL_APICALL void GL_APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint x
offset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei dep
th, GLenum format, GLenum type, const void *pixels); |
| 833 GL_APICALL void GL_APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLi
nt xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsiz
ei height); |
| 834 GL_APICALL void GL_APIENTRY glCompressedTexImage3D (GLenum target, GLint level,
GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint borde
r, GLsizei imageSize, const void *data); |
| 835 GL_APICALL void GL_APIENTRY glCompressedTexSubImage3D (GLenum target, GLint leve
l, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, G
Lsizei depth, GLenum format, GLsizei imageSize, const void *data); |
| 836 GL_APICALL void GL_APIENTRY glGenQueries (GLsizei n, GLuint *ids); |
| 837 GL_APICALL void GL_APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids); |
| 838 GL_APICALL GLboolean GL_APIENTRY glIsQuery (GLuint id); |
| 839 GL_APICALL void GL_APIENTRY glBeginQuery (GLenum target, GLuint id); |
| 840 GL_APICALL void GL_APIENTRY glEndQuery (GLenum target); |
| 841 GL_APICALL void GL_APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *pa
rams); |
| 842 GL_APICALL void GL_APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint
*params); |
| 843 GL_APICALL GLboolean GL_APIENTRY glUnmapBuffer (GLenum target); |
| 844 GL_APICALL void GL_APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, vo
id **params); |
| 845 GL_APICALL void GL_APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs); |
| 846 GL_APICALL void GL_APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count,
GLboolean transpose, const GLfloat *value); |
| 847 GL_APICALL void GL_APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count,
GLboolean transpose, const GLfloat *value); |
| 848 GL_APICALL void GL_APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count,
GLboolean transpose, const GLfloat *value); |
| 849 GL_APICALL void GL_APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count,
GLboolean transpose, const GLfloat *value); |
| 850 GL_APICALL void GL_APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count,
GLboolean transpose, const GLfloat *value); |
| 851 GL_APICALL void GL_APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count,
GLboolean transpose, const GLfloat *value); |
| 852 GL_APICALL void GL_APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint s
rcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfiel
d mask, GLenum filter); |
| 853 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisample (GLenum target, GLs
izei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 854 GL_APICALL void GL_APIENTRY glFramebufferTextureLayer (GLenum target, GLenum att
achment, GLuint texture, GLint level, GLint layer); |
| 855 GL_APICALL void *GL_APIENTRY glMapBufferRange (GLenum target, GLintptr offset, G
Lsizeiptr length, GLbitfield access); |
| 856 GL_APICALL void GL_APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr of
fset, GLsizeiptr length); |
| 857 GL_APICALL void GL_APIENTRY glBindVertexArray (GLuint array); |
| 858 GL_APICALL void GL_APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *array
s); |
| 859 GL_APICALL void GL_APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays); |
| 860 GL_APICALL GLboolean GL_APIENTRY glIsVertexArray (GLuint array); |
| 861 GL_APICALL void GL_APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint
*data); |
| 862 GL_APICALL void GL_APIENTRY glBeginTransformFeedback (GLenum primitiveMode); |
| 863 GL_APICALL void GL_APIENTRY glEndTransformFeedback (void); |
| 864 GL_APICALL void GL_APIENTRY glBindBufferRange (GLenum target, GLuint index, GLui
nt buffer, GLintptr offset, GLsizeiptr size); |
| 865 GL_APICALL void GL_APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuin
t buffer); |
| 866 GL_APICALL void GL_APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei
count, const GLchar *const*varyings, GLenum bufferMode); |
| 867 GL_APICALL void GL_APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuin
t index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *
name); |
| 868 GL_APICALL void GL_APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GL
enum type, GLsizei stride, const void *pointer); |
| 869 GL_APICALL void GL_APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GL
int *params); |
| 870 GL_APICALL void GL_APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, G
Luint *params); |
| 871 GL_APICALL void GL_APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, G
Lint z, GLint w); |
| 872 GL_APICALL void GL_APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y
, GLuint z, GLuint w); |
| 873 GL_APICALL void GL_APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v); |
| 874 GL_APICALL void GL_APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v); |
| 875 GL_APICALL void GL_APIENTRY glGetUniformuiv (GLuint program, GLint location, GLu
int *params); |
| 876 GL_APICALL GLint GL_APIENTRY glGetFragDataLocation (GLuint program, const GLchar
*name); |
| 877 GL_APICALL void GL_APIENTRY glUniform1ui (GLint location, GLuint v0); |
| 878 GL_APICALL void GL_APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1); |
| 879 GL_APICALL void GL_APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1,
GLuint v2); |
| 880 GL_APICALL void GL_APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1,
GLuint v2, GLuint v3); |
| 881 GL_APICALL void GL_APIENTRY glUniform1uiv (GLint location, GLsizei count, const
GLuint *value); |
| 882 GL_APICALL void GL_APIENTRY glUniform2uiv (GLint location, GLsizei count, const
GLuint *value); |
| 883 GL_APICALL void GL_APIENTRY glUniform3uiv (GLint location, GLsizei count, const
GLuint *value); |
| 884 GL_APICALL void GL_APIENTRY glUniform4uiv (GLint location, GLsizei count, const
GLuint *value); |
| 885 GL_APICALL void GL_APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, co
nst GLint *value); |
| 886 GL_APICALL void GL_APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, c
onst GLuint *value); |
| 887 GL_APICALL void GL_APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, co
nst GLfloat *value); |
| 888 GL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GL
float depth, GLint stencil); |
| 889 GL_APICALL const GLubyte *GL_APIENTRY glGetStringi (GLenum name, GLuint index); |
| 890 GL_APICALL void GL_APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum write
Target, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); |
| 891 GL_APICALL void GL_APIENTRY glGetUniformIndices (GLuint program, GLsizei uniform
Count, const GLchar *const*uniformNames, GLuint *uniformIndices); |
| 892 GL_APICALL void GL_APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei unifo
rmCount, const GLuint *uniformIndices, GLenum pname, GLint *params); |
| 893 GL_APICALL GLuint GL_APIENTRY glGetUniformBlockIndex (GLuint program, const GLch
ar *uniformBlockName); |
| 894 GL_APICALL void GL_APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint un
iformBlockIndex, GLenum pname, GLint *params); |
| 895 GL_APICALL void GL_APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint
uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); |
| 896 GL_APICALL void GL_APIENTRY glUniformBlockBinding (GLuint program, GLuint unifor
mBlockIndex, GLuint uniformBlockBinding); |
| 897 GL_APICALL void GL_APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLs
izei count, GLsizei instancecount); |
| 898 GL_APICALL void GL_APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count,
GLenum type, const void *indices, GLsizei instancecount); |
| 899 GL_APICALL GLsync GL_APIENTRY glFenceSync (GLenum condition, GLbitfield flags); |
| 900 GL_APICALL GLboolean GL_APIENTRY glIsSync (GLsync sync); |
| 901 GL_APICALL void GL_APIENTRY glDeleteSync (GLsync sync); |
| 902 GL_APICALL GLenum GL_APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, G
Luint64 timeout); |
| 903 GL_APICALL void GL_APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64
timeout); |
| 904 GL_APICALL void GL_APIENTRY glGetInteger64v (GLenum pname, GLint64 *data); |
| 905 GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufS
ize, GLsizei *length, GLint *values); |
| 906 GL_APICALL void GL_APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLin
t64 *data); |
| 907 GL_APICALL void GL_APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pnam
e, GLint64 *params); |
| 908 GL_APICALL void GL_APIENTRY glGenSamplers (GLsizei count, GLuint *samplers); |
| 909 GL_APICALL void GL_APIENTRY glDeleteSamplers (GLsizei count, const GLuint *sampl
ers); |
| 910 GL_APICALL GLboolean GL_APIENTRY glIsSampler (GLuint sampler); |
| 911 GL_APICALL void GL_APIENTRY glBindSampler (GLuint unit, GLuint sampler); |
| 912 GL_APICALL void GL_APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, G
Lint param); |
| 913 GL_APICALL void GL_APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname,
const GLint *param); |
| 914 GL_APICALL void GL_APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, G
Lfloat param); |
| 915 GL_APICALL void GL_APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname,
const GLfloat *param); |
| 916 GL_APICALL void GL_APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pnam
e, GLint *params); |
| 917 GL_APICALL void GL_APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pnam
e, GLfloat *params); |
| 918 GL_APICALL void GL_APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor)
; |
| 919 GL_APICALL void GL_APIENTRY glBindTransformFeedback (GLenum target, GLuint id); |
| 920 GL_APICALL void GL_APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint
*ids); |
| 921 GL_APICALL void GL_APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids); |
| 922 GL_APICALL GLboolean GL_APIENTRY glIsTransformFeedback (GLuint id); |
| 923 GL_APICALL void GL_APIENTRY glPauseTransformFeedback (void); |
| 924 GL_APICALL void GL_APIENTRY glResumeTransformFeedback (void); |
| 925 GL_APICALL void GL_APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize,
GLsizei *length, GLenum *binaryFormat, void *binary); |
| 926 GL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat
, const void *binary, GLsizei length); |
| 927 GL_APICALL void GL_APIENTRY glProgramParameteri (GLuint program, GLenum pname, G
Lint value); |
| 928 GL_APICALL void GL_APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numA
ttachments, const GLenum *attachments); |
| 929 GL_APICALL void GL_APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei n
umAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsiz
ei height); |
| 930 GL_APICALL void GL_APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenu
m internalformat, GLsizei width, GLsizei height); |
| 931 GL_APICALL void GL_APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenu
m internalformat, GLsizei width, GLsizei height, GLsizei depth); |
| 932 GL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum interna
lformat, GLenum pname, GLsizei bufSize, GLint *params); |
| 933 #endif /* GL_ES_VERSION_3_0 */ |
| 934 |
522 #ifdef __cplusplus | 935 #ifdef __cplusplus |
523 } | 936 } |
524 #endif | 937 #endif |
525 | 938 |
526 #endif | 939 #endif |
OLD | NEW |