Home | History | Annotate | Download | only in opengl
      1 /*
      2 **
      3 ** Copyright 2013, The Android Open Source Project
      4 **
      5 ** Licensed under the Apache License, Version 2.0 (the "License");
      6 ** you may not use this file except in compliance with the License.
      7 ** You may obtain a copy of the License at
      8 **
      9 **     http://www.apache.org/licenses/LICENSE-2.0
     10 **
     11 ** Unless required by applicable law or agreed to in writing, software
     12 ** distributed under the License is distributed on an "AS IS" BASIS,
     13 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14 ** See the License for the specific language governing permissions and
     15 ** limitations under the License.
     16 */
     17 
     18 // This source file is automatically generated
     19 
     20 package android.opengl;
     21 
     22 /** OpenGL ES 3.0
     23  */
     24 public class GLES30 extends GLES20 {
     25     public static final int GL_READ_BUFFER                             = 0x0C02;
     26     public static final int GL_UNPACK_ROW_LENGTH                       = 0x0CF2;
     27     public static final int GL_UNPACK_SKIP_ROWS                        = 0x0CF3;
     28     public static final int GL_UNPACK_SKIP_PIXELS                      = 0x0CF4;
     29     public static final int GL_PACK_ROW_LENGTH                         = 0x0D02;
     30     public static final int GL_PACK_SKIP_ROWS                          = 0x0D03;
     31     public static final int GL_PACK_SKIP_PIXELS                        = 0x0D04;
     32     public static final int GL_COLOR                                   = 0x1800;
     33     public static final int GL_DEPTH                                   = 0x1801;
     34     public static final int GL_STENCIL                                 = 0x1802;
     35     public static final int GL_RED                                     = 0x1903;
     36     public static final int GL_RGB8                                    = 0x8051;
     37     public static final int GL_RGBA8                                   = 0x8058;
     38     public static final int GL_RGB10_A2                                = 0x8059;
     39     public static final int GL_TEXTURE_BINDING_3D                      = 0x806A;
     40     public static final int GL_UNPACK_SKIP_IMAGES                      = 0x806D;
     41     public static final int GL_UNPACK_IMAGE_HEIGHT                     = 0x806E;
     42     public static final int GL_TEXTURE_3D                              = 0x806F;
     43     public static final int GL_TEXTURE_WRAP_R                          = 0x8072;
     44     public static final int GL_MAX_3D_TEXTURE_SIZE                     = 0x8073;
     45     public static final int GL_UNSIGNED_INT_2_10_10_10_REV             = 0x8368;
     46     public static final int GL_MAX_ELEMENTS_VERTICES                   = 0x80E8;
     47     public static final int GL_MAX_ELEMENTS_INDICES                    = 0x80E9;
     48     public static final int GL_TEXTURE_MIN_LOD                         = 0x813A;
     49     public static final int GL_TEXTURE_MAX_LOD                         = 0x813B;
     50     public static final int GL_TEXTURE_BASE_LEVEL                      = 0x813C;
     51     public static final int GL_TEXTURE_MAX_LEVEL                       = 0x813D;
     52     public static final int GL_MIN                                     = 0x8007;
     53     public static final int GL_MAX                                     = 0x8008;
     54     public static final int GL_DEPTH_COMPONENT24                       = 0x81A6;
     55     public static final int GL_MAX_TEXTURE_LOD_BIAS                    = 0x84FD;
     56     public static final int GL_TEXTURE_COMPARE_MODE                    = 0x884C;
     57     public static final int GL_TEXTURE_COMPARE_FUNC                    = 0x884D;
     58     public static final int GL_CURRENT_QUERY                           = 0x8865;
     59     public static final int GL_QUERY_RESULT                            = 0x8866;
     60     public static final int GL_QUERY_RESULT_AVAILABLE                  = 0x8867;
     61     public static final int GL_BUFFER_MAPPED                           = 0x88BC;
     62     public static final int GL_BUFFER_MAP_POINTER                      = 0x88BD;
     63     public static final int GL_STREAM_READ                             = 0x88E1;
     64     public static final int GL_STREAM_COPY                             = 0x88E2;
     65     public static final int GL_STATIC_READ                             = 0x88E5;
     66     public static final int GL_STATIC_COPY                             = 0x88E6;
     67     public static final int GL_DYNAMIC_READ                            = 0x88E9;
     68     public static final int GL_DYNAMIC_COPY                            = 0x88EA;
     69     public static final int GL_MAX_DRAW_BUFFERS                        = 0x8824;
     70     public static final int GL_DRAW_BUFFER0                            = 0x8825;
     71     public static final int GL_DRAW_BUFFER1                            = 0x8826;
     72     public static final int GL_DRAW_BUFFER2                            = 0x8827;
     73     public static final int GL_DRAW_BUFFER3                            = 0x8828;
     74     public static final int GL_DRAW_BUFFER4                            = 0x8829;
     75     public static final int GL_DRAW_BUFFER5                            = 0x882A;
     76     public static final int GL_DRAW_BUFFER6                            = 0x882B;
     77     public static final int GL_DRAW_BUFFER7                            = 0x882C;
     78     public static final int GL_DRAW_BUFFER8                            = 0x882D;
     79     public static final int GL_DRAW_BUFFER9                            = 0x882E;
     80     public static final int GL_DRAW_BUFFER10                           = 0x882F;
     81     public static final int GL_DRAW_BUFFER11                           = 0x8830;
     82     public static final int GL_DRAW_BUFFER12                           = 0x8831;
     83     public static final int GL_DRAW_BUFFER13                           = 0x8832;
     84     public static final int GL_DRAW_BUFFER14                           = 0x8833;
     85     public static final int GL_DRAW_BUFFER15                           = 0x8834;
     86     public static final int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS         = 0x8B49;
     87     public static final int GL_MAX_VERTEX_UNIFORM_COMPONENTS           = 0x8B4A;
     88     public static final int GL_SAMPLER_3D                              = 0x8B5F;
     89     public static final int GL_SAMPLER_2D_SHADOW                       = 0x8B62;
     90     public static final int GL_FRAGMENT_SHADER_DERIVATIVE_HINT         = 0x8B8B;
     91     public static final int GL_PIXEL_PACK_BUFFER                       = 0x88EB;
     92     public static final int GL_PIXEL_UNPACK_BUFFER                     = 0x88EC;
     93     public static final int GL_PIXEL_PACK_BUFFER_BINDING               = 0x88ED;
     94     public static final int GL_PIXEL_UNPACK_BUFFER_BINDING             = 0x88EF;
     95     public static final int GL_FLOAT_MAT2x3                            = 0x8B65;
     96     public static final int GL_FLOAT_MAT2x4                            = 0x8B66;
     97     public static final int GL_FLOAT_MAT3x2                            = 0x8B67;
     98     public static final int GL_FLOAT_MAT3x4                            = 0x8B68;
     99     public static final int GL_FLOAT_MAT4x2                            = 0x8B69;
    100     public static final int GL_FLOAT_MAT4x3                            = 0x8B6A;
    101     public static final int GL_SRGB                                    = 0x8C40;
    102     public static final int GL_SRGB8                                   = 0x8C41;
    103     public static final int GL_SRGB8_ALPHA8                            = 0x8C43;
    104     public static final int GL_COMPARE_REF_TO_TEXTURE                  = 0x884E;
    105     public static final int GL_MAJOR_VERSION                           = 0x821B;
    106     public static final int GL_MINOR_VERSION                           = 0x821C;
    107     public static final int GL_NUM_EXTENSIONS                          = 0x821D;
    108     public static final int GL_RGBA32F                                 = 0x8814;
    109     public static final int GL_RGB32F                                  = 0x8815;
    110     public static final int GL_RGBA16F                                 = 0x881A;
    111     public static final int GL_RGB16F                                  = 0x881B;
    112     public static final int GL_VERTEX_ATTRIB_ARRAY_INTEGER             = 0x88FD;
    113     public static final int GL_MAX_ARRAY_TEXTURE_LAYERS                = 0x88FF;
    114     public static final int GL_MIN_PROGRAM_TEXEL_OFFSET                = 0x8904;
    115     public static final int GL_MAX_PROGRAM_TEXEL_OFFSET                = 0x8905;
    116     public static final int GL_MAX_VARYING_COMPONENTS                  = 0x8B4B;
    117     public static final int GL_TEXTURE_2D_ARRAY                        = 0x8C1A;
    118     public static final int GL_TEXTURE_BINDING_2D_ARRAY                = 0x8C1D;
    119     public static final int GL_R11F_G11F_B10F                          = 0x8C3A;
    120     public static final int GL_UNSIGNED_INT_10F_11F_11F_REV            = 0x8C3B;
    121     public static final int GL_RGB9_E5                                 = 0x8C3D;
    122     public static final int GL_UNSIGNED_INT_5_9_9_9_REV                = 0x8C3E;
    123     public static final int GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH   = 0x8C76;
    124     public static final int GL_TRANSFORM_FEEDBACK_BUFFER_MODE          = 0x8C7F;
    125     public static final int GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS   = 0x8C80;
    126     public static final int GL_TRANSFORM_FEEDBACK_VARYINGS             = 0x8C83;
    127     public static final int GL_TRANSFORM_FEEDBACK_BUFFER_START         = 0x8C84;
    128     public static final int GL_TRANSFORM_FEEDBACK_BUFFER_SIZE          = 0x8C85;
    129     public static final int GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN   = 0x8C88;
    130     public static final int GL_RASTERIZER_DISCARD                      = 0x8C89;
    131     public static final int GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS    = 0x8C8A;
    132     public static final int GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 0x8C8B;
    133     public static final int GL_INTERLEAVED_ATTRIBS                     = 0x8C8C;
    134     public static final int GL_SEPARATE_ATTRIBS                        = 0x8C8D;
    135     public static final int GL_TRANSFORM_FEEDBACK_BUFFER               = 0x8C8E;
    136     public static final int GL_TRANSFORM_FEEDBACK_BUFFER_BINDING       = 0x8C8F;
    137     public static final int GL_RGBA32UI                                = 0x8D70;
    138     public static final int GL_RGB32UI                                 = 0x8D71;
    139     public static final int GL_RGBA16UI                                = 0x8D76;
    140     public static final int GL_RGB16UI                                 = 0x8D77;
    141     public static final int GL_RGBA8UI                                 = 0x8D7C;
    142     public static final int GL_RGB8UI                                  = 0x8D7D;
    143     public static final int GL_RGBA32I                                 = 0x8D82;
    144     public static final int GL_RGB32I                                  = 0x8D83;
    145     public static final int GL_RGBA16I                                 = 0x8D88;
    146     public static final int GL_RGB16I                                  = 0x8D89;
    147     public static final int GL_RGBA8I                                  = 0x8D8E;
    148     public static final int GL_RGB8I                                   = 0x8D8F;
    149     public static final int GL_RED_INTEGER                             = 0x8D94;
    150     public static final int GL_RGB_INTEGER                             = 0x8D98;
    151     public static final int GL_RGBA_INTEGER                            = 0x8D99;
    152     public static final int GL_SAMPLER_2D_ARRAY                        = 0x8DC1;
    153     public static final int GL_SAMPLER_2D_ARRAY_SHADOW                 = 0x8DC4;
    154     public static final int GL_SAMPLER_CUBE_SHADOW                     = 0x8DC5;
    155     public static final int GL_UNSIGNED_INT_VEC2                       = 0x8DC6;
    156     public static final int GL_UNSIGNED_INT_VEC3                       = 0x8DC7;
    157     public static final int GL_UNSIGNED_INT_VEC4                       = 0x8DC8;
    158     public static final int GL_INT_SAMPLER_2D                          = 0x8DCA;
    159     public static final int GL_INT_SAMPLER_3D                          = 0x8DCB;
    160     public static final int GL_INT_SAMPLER_CUBE                        = 0x8DCC;
    161     public static final int GL_INT_SAMPLER_2D_ARRAY                    = 0x8DCF;
    162     public static final int GL_UNSIGNED_INT_SAMPLER_2D                 = 0x8DD2;
    163     public static final int GL_UNSIGNED_INT_SAMPLER_3D                 = 0x8DD3;
    164     public static final int GL_UNSIGNED_INT_SAMPLER_CUBE               = 0x8DD4;
    165     public static final int GL_UNSIGNED_INT_SAMPLER_2D_ARRAY           = 0x8DD7;
    166     public static final int GL_BUFFER_ACCESS_FLAGS                     = 0x911F;
    167     public static final int GL_BUFFER_MAP_LENGTH                       = 0x9120;
    168     public static final int GL_BUFFER_MAP_OFFSET                       = 0x9121;
    169     public static final int GL_DEPTH_COMPONENT32F                      = 0x8CAC;
    170     public static final int GL_DEPTH32F_STENCIL8                       = 0x8CAD;
    171     public static final int GL_FLOAT_32_UNSIGNED_INT_24_8_REV          = 0x8DAD;
    172     public static final int GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING   = 0x8210;
    173     public static final int GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE   = 0x8211;
    174     public static final int GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE         = 0x8212;
    175     public static final int GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE       = 0x8213;
    176     public static final int GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE        = 0x8214;
    177     public static final int GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE       = 0x8215;
    178     public static final int GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE       = 0x8216;
    179     public static final int GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE     = 0x8217;
    180     public static final int GL_FRAMEBUFFER_DEFAULT                     = 0x8218;
    181     public static final int GL_FRAMEBUFFER_UNDEFINED                   = 0x8219;
    182     public static final int GL_DEPTH_STENCIL_ATTACHMENT                = 0x821A;
    183     public static final int GL_DEPTH_STENCIL                           = 0x84F9;
    184     public static final int GL_UNSIGNED_INT_24_8                       = 0x84FA;
    185     public static final int GL_DEPTH24_STENCIL8                        = 0x88F0;
    186     public static final int GL_UNSIGNED_NORMALIZED                     = 0x8C17;
    187     public static final int GL_DRAW_FRAMEBUFFER_BINDING                = GL_FRAMEBUFFER_BINDING;
    188     public static final int GL_READ_FRAMEBUFFER                        = 0x8CA8;
    189     public static final int GL_DRAW_FRAMEBUFFER                        = 0x8CA9;
    190     public static final int GL_READ_FRAMEBUFFER_BINDING                = 0x8CAA;
    191     public static final int GL_RENDERBUFFER_SAMPLES                    = 0x8CAB;
    192     public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER    = 0x8CD4;
    193     public static final int GL_MAX_COLOR_ATTACHMENTS                   = 0x8CDF;
    194     public static final int GL_COLOR_ATTACHMENT1                       = 0x8CE1;
    195     public static final int GL_COLOR_ATTACHMENT2                       = 0x8CE2;
    196     public static final int GL_COLOR_ATTACHMENT3                       = 0x8CE3;
    197     public static final int GL_COLOR_ATTACHMENT4                       = 0x8CE4;
    198     public static final int GL_COLOR_ATTACHMENT5                       = 0x8CE5;
    199     public static final int GL_COLOR_ATTACHMENT6                       = 0x8CE6;
    200     public static final int GL_COLOR_ATTACHMENT7                       = 0x8CE7;
    201     public static final int GL_COLOR_ATTACHMENT8                       = 0x8CE8;
    202     public static final int GL_COLOR_ATTACHMENT9                       = 0x8CE9;
    203     public static final int GL_COLOR_ATTACHMENT10                      = 0x8CEA;
    204     public static final int GL_COLOR_ATTACHMENT11                      = 0x8CEB;
    205     public static final int GL_COLOR_ATTACHMENT12                      = 0x8CEC;
    206     public static final int GL_COLOR_ATTACHMENT13                      = 0x8CED;
    207     public static final int GL_COLOR_ATTACHMENT14                      = 0x8CEE;
    208     public static final int GL_COLOR_ATTACHMENT15                      = 0x8CEF;
    209     public static final int GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE      = 0x8D56;
    210     public static final int GL_MAX_SAMPLES                             = 0x8D57;
    211     public static final int GL_HALF_FLOAT                              = 0x140B;
    212     public static final int GL_MAP_READ_BIT                            = 0x0001;
    213     public static final int GL_MAP_WRITE_BIT                           = 0x0002;
    214     public static final int GL_MAP_INVALIDATE_RANGE_BIT                = 0x0004;
    215     public static final int GL_MAP_INVALIDATE_BUFFER_BIT               = 0x0008;
    216     public static final int GL_MAP_FLUSH_EXPLICIT_BIT                  = 0x0010;
    217     public static final int GL_MAP_UNSYNCHRONIZED_BIT                  = 0x0020;
    218     public static final int GL_RG                                      = 0x8227;
    219     public static final int GL_RG_INTEGER                              = 0x8228;
    220     public static final int GL_R8                                      = 0x8229;
    221     public static final int GL_RG8                                     = 0x822B;
    222     public static final int GL_R16F                                    = 0x822D;
    223     public static final int GL_R32F                                    = 0x822E;
    224     public static final int GL_RG16F                                   = 0x822F;
    225     public static final int GL_RG32F                                   = 0x8230;
    226     public static final int GL_R8I                                     = 0x8231;
    227     public static final int GL_R8UI                                    = 0x8232;
    228     public static final int GL_R16I                                    = 0x8233;
    229     public static final int GL_R16UI                                   = 0x8234;
    230     public static final int GL_R32I                                    = 0x8235;
    231     public static final int GL_R32UI                                   = 0x8236;
    232     public static final int GL_RG8I                                    = 0x8237;
    233     public static final int GL_RG8UI                                   = 0x8238;
    234     public static final int GL_RG16I                                   = 0x8239;
    235     public static final int GL_RG16UI                                  = 0x823A;
    236     public static final int GL_RG32I                                   = 0x823B;
    237     public static final int GL_RG32UI                                  = 0x823C;
    238     public static final int GL_VERTEX_ARRAY_BINDING                    = 0x85B5;
    239     public static final int GL_R8_SNORM                                = 0x8F94;
    240     public static final int GL_RG8_SNORM                               = 0x8F95;
    241     public static final int GL_RGB8_SNORM                              = 0x8F96;
    242     public static final int GL_RGBA8_SNORM                             = 0x8F97;
    243     public static final int GL_SIGNED_NORMALIZED                       = 0x8F9C;
    244     public static final int GL_PRIMITIVE_RESTART_FIXED_INDEX           = 0x8D69;
    245     public static final int GL_COPY_READ_BUFFER                        = 0x8F36;
    246     public static final int GL_COPY_WRITE_BUFFER                       = 0x8F37;
    247     public static final int GL_COPY_READ_BUFFER_BINDING                = GL_COPY_READ_BUFFER;
    248     public static final int GL_COPY_WRITE_BUFFER_BINDING               = GL_COPY_WRITE_BUFFER;
    249     public static final int GL_UNIFORM_BUFFER                          = 0x8A11;
    250     public static final int GL_UNIFORM_BUFFER_BINDING                  = 0x8A28;
    251     public static final int GL_UNIFORM_BUFFER_START                    = 0x8A29;
    252     public static final int GL_UNIFORM_BUFFER_SIZE                     = 0x8A2A;
    253     public static final int GL_MAX_VERTEX_UNIFORM_BLOCKS               = 0x8A2B;
    254     public static final int GL_MAX_FRAGMENT_UNIFORM_BLOCKS             = 0x8A2D;
    255     public static final int GL_MAX_COMBINED_UNIFORM_BLOCKS             = 0x8A2E;
    256     public static final int GL_MAX_UNIFORM_BUFFER_BINDINGS             = 0x8A2F;
    257     public static final int GL_MAX_UNIFORM_BLOCK_SIZE                  = 0x8A30;
    258     public static final int GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS  = 0x8A31;
    259     public static final int GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS     = 0x8A33;
    260     public static final int GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT         = 0x8A34;
    261     public static final int GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH    = 0x8A35;
    262     public static final int GL_ACTIVE_UNIFORM_BLOCKS                   = 0x8A36;
    263     public static final int GL_UNIFORM_TYPE                            = 0x8A37;
    264     public static final int GL_UNIFORM_SIZE                            = 0x8A38;
    265     public static final int GL_UNIFORM_NAME_LENGTH                     = 0x8A39;
    266     public static final int GL_UNIFORM_BLOCK_INDEX                     = 0x8A3A;
    267     public static final int GL_UNIFORM_OFFSET                          = 0x8A3B;
    268     public static final int GL_UNIFORM_ARRAY_STRIDE                    = 0x8A3C;
    269     public static final int GL_UNIFORM_MATRIX_STRIDE                   = 0x8A3D;
    270     public static final int GL_UNIFORM_IS_ROW_MAJOR                    = 0x8A3E;
    271     public static final int GL_UNIFORM_BLOCK_BINDING                   = 0x8A3F;
    272     public static final int GL_UNIFORM_BLOCK_DATA_SIZE                 = 0x8A40;
    273     public static final int GL_UNIFORM_BLOCK_NAME_LENGTH               = 0x8A41;
    274     public static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS           = 0x8A42;
    275     public static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES    = 0x8A43;
    276     public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER    = 0x8A44;
    277     public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER  = 0x8A46;
    278     // GL_INVALID_INDEX is defined as 0xFFFFFFFFu in C.
    279     public static final int GL_INVALID_INDEX                           = -1;
    280     public static final int GL_MAX_VERTEX_OUTPUT_COMPONENTS            = 0x9122;
    281     public static final int GL_MAX_FRAGMENT_INPUT_COMPONENTS           = 0x9125;
    282     public static final int GL_MAX_SERVER_WAIT_TIMEOUT                 = 0x9111;
    283     public static final int GL_OBJECT_TYPE                             = 0x9112;
    284     public static final int GL_SYNC_CONDITION                          = 0x9113;
    285     public static final int GL_SYNC_STATUS                             = 0x9114;
    286     public static final int GL_SYNC_FLAGS                              = 0x9115;
    287     public static final int GL_SYNC_FENCE                              = 0x9116;
    288     public static final int GL_SYNC_GPU_COMMANDS_COMPLETE              = 0x9117;
    289     public static final int GL_UNSIGNALED                              = 0x9118;
    290     public static final int GL_SIGNALED                                = 0x9119;
    291     public static final int GL_ALREADY_SIGNALED                        = 0x911A;
    292     public static final int GL_TIMEOUT_EXPIRED                         = 0x911B;
    293     public static final int GL_CONDITION_SATISFIED                     = 0x911C;
    294     public static final int GL_WAIT_FAILED                             = 0x911D;
    295     public static final int GL_SYNC_FLUSH_COMMANDS_BIT                 = 0x00000001;
    296     // GL_TIMEOUT_IGNORED is defined as 0xFFFFFFFFFFFFFFFFull in C.
    297     public static final long GL_TIMEOUT_IGNORED                         = -1;
    298     public static final int GL_VERTEX_ATTRIB_ARRAY_DIVISOR             = 0x88FE;
    299     public static final int GL_ANY_SAMPLES_PASSED                      = 0x8C2F;
    300     public static final int GL_ANY_SAMPLES_PASSED_CONSERVATIVE         = 0x8D6A;
    301     public static final int GL_SAMPLER_BINDING                         = 0x8919;
    302     public static final int GL_RGB10_A2UI                              = 0x906F;
    303     public static final int GL_TEXTURE_SWIZZLE_R                       = 0x8E42;
    304     public static final int GL_TEXTURE_SWIZZLE_G                       = 0x8E43;
    305     public static final int GL_TEXTURE_SWIZZLE_B                       = 0x8E44;
    306     public static final int GL_TEXTURE_SWIZZLE_A                       = 0x8E45;
    307     public static final int GL_GREEN                                   = 0x1904;
    308     public static final int GL_BLUE                                    = 0x1905;
    309     public static final int GL_INT_2_10_10_10_REV                      = 0x8D9F;
    310     public static final int GL_TRANSFORM_FEEDBACK                      = 0x8E22;
    311     public static final int GL_TRANSFORM_FEEDBACK_PAUSED               = 0x8E23;
    312     public static final int GL_TRANSFORM_FEEDBACK_ACTIVE               = 0x8E24;
    313     public static final int GL_TRANSFORM_FEEDBACK_BINDING              = 0x8E25;
    314     public static final int GL_PROGRAM_BINARY_RETRIEVABLE_HINT         = 0x8257;
    315     public static final int GL_PROGRAM_BINARY_LENGTH                   = 0x8741;
    316     public static final int GL_NUM_PROGRAM_BINARY_FORMATS              = 0x87FE;
    317     public static final int GL_PROGRAM_BINARY_FORMATS                  = 0x87FF;
    318     public static final int GL_COMPRESSED_R11_EAC                      = 0x9270;
    319     public static final int GL_COMPRESSED_SIGNED_R11_EAC               = 0x9271;
    320     public static final int GL_COMPRESSED_RG11_EAC                     = 0x9272;
    321     public static final int GL_COMPRESSED_SIGNED_RG11_EAC              = 0x9273;
    322     public static final int GL_COMPRESSED_RGB8_ETC2                    = 0x9274;
    323     public static final int GL_COMPRESSED_SRGB8_ETC2                   = 0x9275;
    324     public static final int GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2     = 0x9276;
    325     public static final int GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2    = 0x9277;
    326     public static final int GL_COMPRESSED_RGBA8_ETC2_EAC               = 0x9278;
    327     public static final int GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC        = 0x9279;
    328     public static final int GL_TEXTURE_IMMUTABLE_FORMAT                = 0x912F;
    329     public static final int GL_MAX_ELEMENT_INDEX                       = 0x8D6B;
    330     public static final int GL_NUM_SAMPLE_COUNTS                       = 0x9380;
    331     public static final int GL_TEXTURE_IMMUTABLE_LEVELS                = 0x82DF;
    332 
    333     native private static void _nativeClassInit();
    334     static {
    335         _nativeClassInit();
    336     }
    337 
    338     // C function void glReadBuffer ( GLenum mode )
    339 
    340     public static native void glReadBuffer(
    341         int mode
    342     );
    343 
    344     // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices )
    345 
    346     public static native void glDrawRangeElements(
    347         int mode,
    348         int start,
    349         int end,
    350         int count,
    351         int type,
    352         java.nio.Buffer indices
    353     );
    354 
    355     // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLsizei offset )
    356 
    357     public static native void glDrawRangeElements(
    358         int mode,
    359         int start,
    360         int end,
    361         int count,
    362         int type,
    363         int offset
    364     );
    365 
    366     // C function void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
    367 
    368     public static native void glTexImage3D(
    369         int target,
    370         int level,
    371         int internalformat,
    372         int width,
    373         int height,
    374         int depth,
    375         int border,
    376         int format,
    377         int type,
    378         java.nio.Buffer pixels
    379     );
    380 
    381     // C function void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei offset )
    382 
    383     public static native void glTexImage3D(
    384         int target,
    385         int level,
    386         int internalformat,
    387         int width,
    388         int height,
    389         int depth,
    390         int border,
    391         int format,
    392         int type,
    393         int offset
    394     );
    395 
    396     // C function void glTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels )
    397 
    398     public static native void glTexSubImage3D(
    399         int target,
    400         int level,
    401         int xoffset,
    402         int yoffset,
    403         int zoffset,
    404         int width,
    405         int height,
    406         int depth,
    407         int format,
    408         int type,
    409         java.nio.Buffer pixels
    410     );
    411 
    412     // C function void glTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei offset )
    413 
    414     public static native void glTexSubImage3D(
    415         int target,
    416         int level,
    417         int xoffset,
    418         int yoffset,
    419         int zoffset,
    420         int width,
    421         int height,
    422         int depth,
    423         int format,
    424         int type,
    425         int offset
    426     );
    427 
    428     // C function void glCopyTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height )
    429 
    430     public static native void glCopyTexSubImage3D(
    431         int target,
    432         int level,
    433         int xoffset,
    434         int yoffset,
    435         int zoffset,
    436         int x,
    437         int y,
    438         int width,
    439         int height
    440     );
    441 
    442     // C function void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data )
    443 
    444     public static native void glCompressedTexImage3D(
    445         int target,
    446         int level,
    447         int internalformat,
    448         int width,
    449         int height,
    450         int depth,
    451         int border,
    452         int imageSize,
    453         java.nio.Buffer data
    454     );
    455 
    456     // C function void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLsizei offset )
    457 
    458     public static native void glCompressedTexImage3D(
    459         int target,
    460         int level,
    461         int internalformat,
    462         int width,
    463         int height,
    464         int depth,
    465         int border,
    466         int imageSize,
    467         int offset
    468     );
    469 
    470     // C function void glCompressedTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data )
    471 
    472     public static native void glCompressedTexSubImage3D(
    473         int target,
    474         int level,
    475         int xoffset,
    476         int yoffset,
    477         int zoffset,
    478         int width,
    479         int height,
    480         int depth,
    481         int format,
    482         int imageSize,
    483         java.nio.Buffer data
    484     );
    485 
    486     // C function void glCompressedTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLsizei offset )
    487 
    488     public static native void glCompressedTexSubImage3D(
    489         int target,
    490         int level,
    491         int xoffset,
    492         int yoffset,
    493         int zoffset,
    494         int width,
    495         int height,
    496         int depth,
    497         int format,
    498         int imageSize,
    499         int offset
    500     );
    501 
    502     // C function void glGenQueries ( GLsizei n, GLuint *ids )
    503 
    504     public static native void glGenQueries(
    505         int n,
    506         int[] ids,
    507         int offset
    508     );
    509 
    510     // C function void glGenQueries ( GLsizei n, GLuint *ids )
    511 
    512     public static native void glGenQueries(
    513         int n,
    514         java.nio.IntBuffer ids
    515     );
    516 
    517     // C function void glDeleteQueries ( GLsizei n, const GLuint *ids )
    518 
    519     public static native void glDeleteQueries(
    520         int n,
    521         int[] ids,
    522         int offset
    523     );
    524 
    525     // C function void glDeleteQueries ( GLsizei n, const GLuint *ids )
    526 
    527     public static native void glDeleteQueries(
    528         int n,
    529         java.nio.IntBuffer ids
    530     );
    531 
    532     // C function GLboolean glIsQuery ( GLuint id )
    533 
    534     public static native boolean glIsQuery(
    535         int id
    536     );
    537 
    538     // C function void glBeginQuery ( GLenum target, GLuint id )
    539 
    540     public static native void glBeginQuery(
    541         int target,
    542         int id
    543     );
    544 
    545     // C function void glEndQuery ( GLenum target )
    546 
    547     public static native void glEndQuery(
    548         int target
    549     );
    550 
    551     // C function void glGetQueryiv ( GLenum target, GLenum pname, GLint *params )
    552 
    553     public static native void glGetQueryiv(
    554         int target,
    555         int pname,
    556         int[] params,
    557         int offset
    558     );
    559 
    560     // C function void glGetQueryiv ( GLenum target, GLenum pname, GLint *params )
    561 
    562     public static native void glGetQueryiv(
    563         int target,
    564         int pname,
    565         java.nio.IntBuffer params
    566     );
    567 
    568     // C function void glGetQueryObjectuiv ( GLuint id, GLenum pname, GLuint *params )
    569 
    570     public static native void glGetQueryObjectuiv(
    571         int id,
    572         int pname,
    573         int[] params,
    574         int offset
    575     );
    576 
    577     // C function void glGetQueryObjectuiv ( GLuint id, GLenum pname, GLuint *params )
    578 
    579     public static native void glGetQueryObjectuiv(
    580         int id,
    581         int pname,
    582         java.nio.IntBuffer params
    583     );
    584 
    585     // C function GLboolean glUnmapBuffer ( GLenum target )
    586 
    587     public static native boolean glUnmapBuffer(
    588         int target
    589     );
    590 
    591     // C function void glGetBufferPointerv ( GLenum target, GLenum pname, GLvoid** params )
    592 
    593     public static native java.nio.Buffer glGetBufferPointerv(
    594         int target,
    595         int pname
    596     );
    597 
    598     // C function void glDrawBuffers ( GLsizei n, const GLenum *bufs )
    599 
    600     public static native void glDrawBuffers(
    601         int n,
    602         int[] bufs,
    603         int offset
    604     );
    605 
    606     // C function void glDrawBuffers ( GLsizei n, const GLenum *bufs )
    607 
    608     public static native void glDrawBuffers(
    609         int n,
    610         java.nio.IntBuffer bufs
    611     );
    612 
    613     // C function void glUniformMatrix2x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
    614 
    615     public static native void glUniformMatrix2x3fv(
    616         int location,
    617         int count,
    618         boolean transpose,
    619         float[] value,
    620         int offset
    621     );
    622 
    623     // C function void glUniformMatrix2x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
    624 
    625     public static native void glUniformMatrix2x3fv(
    626         int location,
    627         int count,
    628         boolean transpose,
    629         java.nio.FloatBuffer value
    630     );
    631 
    632     // C function void glUniformMatrix3x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
    633 
    634     public static native void glUniformMatrix3x2fv(
    635         int location,
    636         int count,
    637         boolean transpose,
    638         float[] value,
    639         int offset
    640     );
    641 
    642     // C function void glUniformMatrix3x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
    643 
    644     public static native void glUniformMatrix3x2fv(
    645         int location,
    646         int count,
    647         boolean transpose,
    648         java.nio.FloatBuffer value
    649     );
    650 
    651     // C function void glUniformMatrix2x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
    652 
    653     public static native void glUniformMatrix2x4fv(
    654         int location,
    655         int count,
    656         boolean transpose,
    657         float[] value,
    658         int offset
    659     );
    660 
    661     // C function void glUniformMatrix2x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
    662 
    663     public static native void glUniformMatrix2x4fv(
    664         int location,
    665         int count,
    666         boolean transpose,
    667         java.nio.FloatBuffer value
    668     );
    669 
    670     // C function void glUniformMatrix4x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
    671 
    672     public static native void glUniformMatrix4x2fv(
    673         int location,
    674         int count,
    675         boolean transpose,
    676         float[] value,
    677         int offset
    678     );
    679 
    680     // C function void glUniformMatrix4x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
    681 
    682     public static native void glUniformMatrix4x2fv(
    683         int location,
    684         int count,
    685         boolean transpose,
    686         java.nio.FloatBuffer value
    687     );
    688 
    689     // C function void glUniformMatrix3x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
    690 
    691     public static native void glUniformMatrix3x4fv(
    692         int location,
    693         int count,
    694         boolean transpose,
    695         float[] value,
    696         int offset
    697     );
    698 
    699     // C function void glUniformMatrix3x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
    700 
    701     public static native void glUniformMatrix3x4fv(
    702         int location,
    703         int count,
    704         boolean transpose,
    705         java.nio.FloatBuffer value
    706     );
    707 
    708     // C function void glUniformMatrix4x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
    709 
    710     public static native void glUniformMatrix4x3fv(
    711         int location,
    712         int count,
    713         boolean transpose,
    714         float[] value,
    715         int offset
    716     );
    717 
    718     // C function void glUniformMatrix4x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
    719 
    720     public static native void glUniformMatrix4x3fv(
    721         int location,
    722         int count,
    723         boolean transpose,
    724         java.nio.FloatBuffer value
    725     );
    726 
    727     // C function void glBlitFramebuffer ( GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter )
    728 
    729     public static native void glBlitFramebuffer(
    730         int srcX0,
    731         int srcY0,
    732         int srcX1,
    733         int srcY1,
    734         int dstX0,
    735         int dstY0,
    736         int dstX1,
    737         int dstY1,
    738         int mask,
    739         int filter
    740     );
    741 
    742     // C function void glRenderbufferStorageMultisample ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height )
    743 
    744     public static native void glRenderbufferStorageMultisample(
    745         int target,
    746         int samples,
    747         int internalformat,
    748         int width,
    749         int height
    750     );
    751 
    752     // C function void glFramebufferTextureLayer ( GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer )
    753 
    754     public static native void glFramebufferTextureLayer(
    755         int target,
    756         int attachment,
    757         int texture,
    758         int level,
    759         int layer
    760     );
    761 
    762     // C function GLvoid * glMapBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access )
    763 
    764     public static native java.nio.Buffer glMapBufferRange(
    765         int target,
    766         int offset,
    767         int length,
    768         int access
    769     );
    770 
    771     // C function void glFlushMappedBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length )
    772 
    773     public static native void glFlushMappedBufferRange(
    774         int target,
    775         int offset,
    776         int length
    777     );
    778 
    779     // C function void glBindVertexArray ( GLuint array )
    780 
    781     public static native void glBindVertexArray(
    782         int array
    783     );
    784 
    785     // C function void glDeleteVertexArrays ( GLsizei n, const GLuint *arrays )
    786 
    787     public static native void glDeleteVertexArrays(
    788         int n,
    789         int[] arrays,
    790         int offset
    791     );
    792 
    793     // C function void glDeleteVertexArrays ( GLsizei n, const GLuint *arrays )
    794 
    795     public static native void glDeleteVertexArrays(
    796         int n,
    797         java.nio.IntBuffer arrays
    798     );
    799 
    800     // C function void glGenVertexArrays ( GLsizei n, GLuint *arrays )
    801 
    802     public static native void glGenVertexArrays(
    803         int n,
    804         int[] arrays,
    805         int offset
    806     );
    807 
    808     // C function void glGenVertexArrays ( GLsizei n, GLuint *arrays )
    809 
    810     public static native void glGenVertexArrays(
    811         int n,
    812         java.nio.IntBuffer arrays
    813     );
    814 
    815     // C function GLboolean glIsVertexArray ( GLuint array )
    816 
    817     public static native boolean glIsVertexArray(
    818         int array
    819     );
    820 
    821     // C function void glGetIntegeri_v ( GLenum target, GLuint index, GLint *data )
    822 
    823     public static native void glGetIntegeri_v(
    824         int target,
    825         int index,
    826         int[] data,
    827         int offset
    828     );
    829 
    830     // C function void glGetIntegeri_v ( GLenum target, GLuint index, GLint *data )
    831 
    832     public static native void glGetIntegeri_v(
    833         int target,
    834         int index,
    835         java.nio.IntBuffer data
    836     );
    837 
    838     // C function void glBeginTransformFeedback ( GLenum primitiveMode )
    839 
    840     public static native void glBeginTransformFeedback(
    841         int primitiveMode
    842     );
    843 
    844     // C function void glEndTransformFeedback ( void )
    845 
    846     public static native void glEndTransformFeedback(
    847     );
    848 
    849     // C function void glBindBufferRange ( GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size )
    850 
    851     public static native void glBindBufferRange(
    852         int target,
    853         int index,
    854         int buffer,
    855         int offset,
    856         int size
    857     );
    858 
    859     // C function void glBindBufferBase ( GLenum target, GLuint index, GLuint buffer )
    860 
    861     public static native void glBindBufferBase(
    862         int target,
    863         int index,
    864         int buffer
    865     );
    866 
    867 	// C function void glTransformFeedbackVaryings ( GLuint program, GLsizei count, const GLchar *varyings, GLenum bufferMode )
    868 
    869 	public static native void glTransformFeedbackVaryings(
    870         int program,
    871         String[] varyings,
    872         int bufferMode
    873 	);
    874 
    875     // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
    876 
    877     public static native void glGetTransformFeedbackVarying(
    878         int program,
    879         int index,
    880         int bufsize,
    881         int[] length,
    882         int lengthOffset,
    883         int[] size,
    884         int sizeOffset,
    885         int[] type,
    886         int typeOffset,
    887         byte[] name,
    888         int nameOffset
    889     );
    890 
    891     // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
    892 
    893     public static native void glGetTransformFeedbackVarying(
    894         int program,
    895         int index,
    896         int bufsize,
    897         java.nio.IntBuffer length,
    898         java.nio.IntBuffer size,
    899         java.nio.IntBuffer type,
    900         byte name
    901     );
    902 
    903     // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
    904 
    905     public static native String glGetTransformFeedbackVarying(
    906         int program,
    907         int index,
    908         int[] size,
    909         int sizeOffset,
    910         int[] type,
    911         int typeOffset
    912     );
    913 
    914     // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
    915 
    916     public static native String glGetTransformFeedbackVarying(
    917         int program,
    918         int index,
    919         java.nio.IntBuffer size,
    920         java.nio.IntBuffer type
    921     );
    922 
    923     // C function void glVertexAttribIPointer ( GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
    924 
    925     private static native void glVertexAttribIPointerBounds(
    926         int index,
    927         int size,
    928         int type,
    929         int stride,
    930         java.nio.Buffer pointer,
    931         int remaining
    932     );
    933 
    934     public static void glVertexAttribIPointer(
    935         int index,
    936         int size,
    937         int type,
    938         int stride,
    939         java.nio.Buffer pointer
    940     ) {
    941         glVertexAttribIPointerBounds(
    942             index,
    943             size,
    944             type,
    945             stride,
    946             pointer,
    947             pointer.remaining()
    948         );
    949     }
    950 
    951     // C function void glVertexAttribIPointer ( GLuint index, GLint size, GLenum type, GLsizei stride, GLsizei offset )
    952 
    953     public static native void glVertexAttribIPointer(
    954         int index,
    955         int size,
    956         int type,
    957         int stride,
    958         int offset
    959     );
    960 
    961     // C function void glGetVertexAttribIiv ( GLuint index, GLenum pname, GLint *params )
    962 
    963     public static native void glGetVertexAttribIiv(
    964         int index,
    965         int pname,
    966         int[] params,
    967         int offset
    968     );
    969 
    970     // C function void glGetVertexAttribIiv ( GLuint index, GLenum pname, GLint *params )
    971 
    972     public static native void glGetVertexAttribIiv(
    973         int index,
    974         int pname,
    975         java.nio.IntBuffer params
    976     );
    977 
    978     // C function void glGetVertexAttribIuiv ( GLuint index, GLenum pname, GLuint *params )
    979 
    980     public static native void glGetVertexAttribIuiv(
    981         int index,
    982         int pname,
    983         int[] params,
    984         int offset
    985     );
    986 
    987     // C function void glGetVertexAttribIuiv ( GLuint index, GLenum pname, GLuint *params )
    988 
    989     public static native void glGetVertexAttribIuiv(
    990         int index,
    991         int pname,
    992         java.nio.IntBuffer params
    993     );
    994 
    995     // C function void glVertexAttribI4i ( GLuint index, GLint x, GLint y, GLint z, GLint w )
    996 
    997     public static native void glVertexAttribI4i(
    998         int index,
    999         int x,
   1000         int y,
   1001         int z,
   1002         int w
   1003     );
   1004 
   1005     // C function void glVertexAttribI4ui ( GLuint index, GLuint x, GLuint y, GLuint z, GLuint w )
   1006 
   1007     public static native void glVertexAttribI4ui(
   1008         int index,
   1009         int x,
   1010         int y,
   1011         int z,
   1012         int w
   1013     );
   1014 
   1015     // C function void glVertexAttribI4iv ( GLuint index, const GLint *v )
   1016 
   1017     public static native void glVertexAttribI4iv(
   1018         int index,
   1019         int[] v,
   1020         int offset
   1021     );
   1022 
   1023     // C function void glVertexAttribI4iv ( GLuint index, const GLint *v )
   1024 
   1025     public static native void glVertexAttribI4iv(
   1026         int index,
   1027         java.nio.IntBuffer v
   1028     );
   1029 
   1030     // C function void glVertexAttribI4uiv ( GLuint index, const GLuint *v )
   1031 
   1032     public static native void glVertexAttribI4uiv(
   1033         int index,
   1034         int[] v,
   1035         int offset
   1036     );
   1037 
   1038     // C function void glVertexAttribI4uiv ( GLuint index, const GLuint *v )
   1039 
   1040     public static native void glVertexAttribI4uiv(
   1041         int index,
   1042         java.nio.IntBuffer v
   1043     );
   1044 
   1045     // C function void glGetUniformuiv ( GLuint program, GLint location, GLuint *params )
   1046 
   1047     public static native void glGetUniformuiv(
   1048         int program,
   1049         int location,
   1050         int[] params,
   1051         int offset
   1052     );
   1053 
   1054     // C function void glGetUniformuiv ( GLuint program, GLint location, GLuint *params )
   1055 
   1056     public static native void glGetUniformuiv(
   1057         int program,
   1058         int location,
   1059         java.nio.IntBuffer params
   1060     );
   1061 
   1062     // C function GLint glGetFragDataLocation ( GLuint program, const GLchar *name )
   1063 
   1064     public static native int glGetFragDataLocation(
   1065         int program,
   1066         String name
   1067     );
   1068 
   1069     // C function void glUniform1ui ( GLint location, GLuint v0 )
   1070 
   1071     public static native void glUniform1ui(
   1072         int location,
   1073         int v0
   1074     );
   1075 
   1076     // C function void glUniform2ui ( GLint location, GLuint v0, GLuint v1 )
   1077 
   1078     public static native void glUniform2ui(
   1079         int location,
   1080         int v0,
   1081         int v1
   1082     );
   1083 
   1084     // C function void glUniform3ui ( GLint location, GLuint v0, GLuint v1, GLuint v2 )
   1085 
   1086     public static native void glUniform3ui(
   1087         int location,
   1088         int v0,
   1089         int v1,
   1090         int v2
   1091     );
   1092 
   1093     // C function void glUniform4ui ( GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3 )
   1094 
   1095     public static native void glUniform4ui(
   1096         int location,
   1097         int v0,
   1098         int v1,
   1099         int v2,
   1100         int v3
   1101     );
   1102 
   1103     // C function void glUniform1uiv ( GLint location, GLsizei count, const GLuint *value )
   1104 
   1105     public static native void glUniform1uiv(
   1106         int location,
   1107         int count,
   1108         int[] value,
   1109         int offset
   1110     );
   1111 
   1112     // C function void glUniform1uiv ( GLint location, GLsizei count, const GLuint *value )
   1113 
   1114     public static native void glUniform1uiv(
   1115         int location,
   1116         int count,
   1117         java.nio.IntBuffer value
   1118     );
   1119 
   1120     // C function void glUniform2uiv ( GLint location, GLsizei count, const GLuint *value )
   1121 
   1122     public static native void glUniform2uiv(
   1123         int location,
   1124         int count,
   1125         int[] value,
   1126         int offset
   1127     );
   1128 
   1129     // C function void glUniform2uiv ( GLint location, GLsizei count, const GLuint *value )
   1130 
   1131     public static native void glUniform2uiv(
   1132         int location,
   1133         int count,
   1134         java.nio.IntBuffer value
   1135     );
   1136 
   1137     // C function void glUniform3uiv ( GLint location, GLsizei count, const GLuint *value )
   1138 
   1139     public static native void glUniform3uiv(
   1140         int location,
   1141         int count,
   1142         int[] value,
   1143         int offset
   1144     );
   1145 
   1146     // C function void glUniform3uiv ( GLint location, GLsizei count, const GLuint *value )
   1147 
   1148     public static native void glUniform3uiv(
   1149         int location,
   1150         int count,
   1151         java.nio.IntBuffer value
   1152     );
   1153 
   1154     // C function void glUniform4uiv ( GLint location, GLsizei count, const GLuint *value )
   1155 
   1156     public static native void glUniform4uiv(
   1157         int location,
   1158         int count,
   1159         int[] value,
   1160         int offset
   1161     );
   1162 
   1163     // C function void glUniform4uiv ( GLint location, GLsizei count, const GLuint *value )
   1164 
   1165     public static native void glUniform4uiv(
   1166         int location,
   1167         int count,
   1168         java.nio.IntBuffer value
   1169     );
   1170 
   1171     // C function void glClearBufferiv ( GLenum buffer, GLint drawbuffer, const GLint *value )
   1172 
   1173     public static native void glClearBufferiv(
   1174         int buffer,
   1175         int drawbuffer,
   1176         int[] value,
   1177         int offset
   1178     );
   1179 
   1180     // C function void glClearBufferiv ( GLenum buffer, GLint drawbuffer, const GLint *value )
   1181 
   1182     public static native void glClearBufferiv(
   1183         int buffer,
   1184         int drawbuffer,
   1185         java.nio.IntBuffer value
   1186     );
   1187 
   1188     // C function void glClearBufferuiv ( GLenum buffer, GLint drawbuffer, const GLuint *value )
   1189 
   1190     public static native void glClearBufferuiv(
   1191         int buffer,
   1192         int drawbuffer,
   1193         int[] value,
   1194         int offset
   1195     );
   1196 
   1197     // C function void glClearBufferuiv ( GLenum buffer, GLint drawbuffer, const GLuint *value )
   1198 
   1199     public static native void glClearBufferuiv(
   1200         int buffer,
   1201         int drawbuffer,
   1202         java.nio.IntBuffer value
   1203     );
   1204 
   1205     // C function void glClearBufferfv ( GLenum buffer, GLint drawbuffer, const GLfloat *value )
   1206 
   1207     public static native void glClearBufferfv(
   1208         int buffer,
   1209         int drawbuffer,
   1210         float[] value,
   1211         int offset
   1212     );
   1213 
   1214     // C function void glClearBufferfv ( GLenum buffer, GLint drawbuffer, const GLfloat *value )
   1215 
   1216     public static native void glClearBufferfv(
   1217         int buffer,
   1218         int drawbuffer,
   1219         java.nio.FloatBuffer value
   1220     );
   1221 
   1222     // C function void glClearBufferfi ( GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil )
   1223 
   1224     public static native void glClearBufferfi(
   1225         int buffer,
   1226         int drawbuffer,
   1227         float depth,
   1228         int stencil
   1229     );
   1230 
   1231     // C function const GLubyte * glGetStringi ( GLenum name, GLuint index )
   1232 
   1233     public static native String glGetStringi(
   1234         int name,
   1235         int index
   1236     );
   1237 
   1238     // C function void glCopyBufferSubData ( GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size )
   1239 
   1240     public static native void glCopyBufferSubData(
   1241         int readTarget,
   1242         int writeTarget,
   1243         int readOffset,
   1244         int writeOffset,
   1245         int size
   1246     );
   1247 
   1248 	// C function void glGetUniformIndices ( GLuint program, GLsizei uniformCount, const GLchar *const *uniformNames, GLuint *uniformIndices )
   1249 
   1250 	public static native void glGetUniformIndices(
   1251         int program,
   1252         String[] uniformNames,
   1253         int[] uniformIndices,
   1254         int uniformIndicesOffset
   1255 	);
   1256 
   1257     // C function void glGetUniformIndices ( GLuint program, GLsizei uniformCount, const GLchar *const *uniformNames, GLuint *uniformIndices )
   1258 
   1259     public static native void glGetUniformIndices(
   1260         int program,
   1261         String[] uniformNames,
   1262         java.nio.IntBuffer uniformIndices
   1263     );
   1264 
   1265     // C function void glGetActiveUniformsiv ( GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params )
   1266 
   1267     public static native void glGetActiveUniformsiv(
   1268         int program,
   1269         int uniformCount,
   1270         int[] uniformIndices,
   1271         int uniformIndicesOffset,
   1272         int pname,
   1273         int[] params,
   1274         int paramsOffset
   1275     );
   1276 
   1277     // C function void glGetActiveUniformsiv ( GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params )
   1278 
   1279     public static native void glGetActiveUniformsiv(
   1280         int program,
   1281         int uniformCount,
   1282         java.nio.IntBuffer uniformIndices,
   1283         int pname,
   1284         java.nio.IntBuffer params
   1285     );
   1286 
   1287     // C function GLuint glGetUniformBlockIndex ( GLuint program, const GLchar *uniformBlockName )
   1288 
   1289     public static native int glGetUniformBlockIndex(
   1290         int program,
   1291         String uniformBlockName
   1292     );
   1293 
   1294     // C function void glGetActiveUniformBlockiv ( GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params )
   1295 
   1296     public static native void glGetActiveUniformBlockiv(
   1297         int program,
   1298         int uniformBlockIndex,
   1299         int pname,
   1300         int[] params,
   1301         int offset
   1302     );
   1303 
   1304     // C function void glGetActiveUniformBlockiv ( GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params )
   1305 
   1306     public static native void glGetActiveUniformBlockiv(
   1307         int program,
   1308         int uniformBlockIndex,
   1309         int pname,
   1310         java.nio.IntBuffer params
   1311     );
   1312 
   1313     // C function void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName )
   1314 
   1315     public static native void glGetActiveUniformBlockName(
   1316         int program,
   1317         int uniformBlockIndex,
   1318         int bufSize,
   1319         int[] length,
   1320         int lengthOffset,
   1321         byte[] uniformBlockName,
   1322         int uniformBlockNameOffset
   1323     );
   1324 
   1325     // C function void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName )
   1326 
   1327     public static native void glGetActiveUniformBlockName(
   1328         int program,
   1329         int uniformBlockIndex,
   1330         java.nio.Buffer length,
   1331         java.nio.Buffer uniformBlockName
   1332     );
   1333 
   1334     // C function void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName )
   1335 
   1336     public static native String glGetActiveUniformBlockName(
   1337         int program,
   1338         int uniformBlockIndex
   1339     );
   1340 
   1341     // C function void glUniformBlockBinding ( GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding )
   1342 
   1343     public static native void glUniformBlockBinding(
   1344         int program,
   1345         int uniformBlockIndex,
   1346         int uniformBlockBinding
   1347     );
   1348 
   1349     // C function void glDrawArraysInstanced ( GLenum mode, GLint first, GLsizei count, GLsizei instanceCount )
   1350 
   1351     public static native void glDrawArraysInstanced(
   1352         int mode,
   1353         int first,
   1354         int count,
   1355         int instanceCount
   1356     );
   1357 
   1358     // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount )
   1359 
   1360     public static native void glDrawElementsInstanced(
   1361         int mode,
   1362         int count,
   1363         int type,
   1364         java.nio.Buffer indices,
   1365         int instanceCount
   1366     );
   1367 
   1368     // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount )
   1369 
   1370     public static native void glDrawElementsInstanced(
   1371         int mode,
   1372         int count,
   1373         int type,
   1374         int indicesOffset,
   1375         int instanceCount
   1376     );
   1377 
   1378     // C function GLsync glFenceSync ( GLenum condition, GLbitfield flags )
   1379 
   1380     public static native long glFenceSync(
   1381         int condition,
   1382         int flags
   1383     );
   1384 
   1385     // C function GLboolean glIsSync ( GLsync sync )
   1386 
   1387     public static native boolean glIsSync(
   1388         long sync
   1389     );
   1390 
   1391     // C function void glDeleteSync ( GLsync sync )
   1392 
   1393     public static native void glDeleteSync(
   1394         long sync
   1395     );
   1396 
   1397     // C function GLenum glClientWaitSync ( GLsync sync, GLbitfield flags, GLuint64 timeout )
   1398 
   1399     public static native int glClientWaitSync(
   1400         long sync,
   1401         int flags,
   1402         long timeout
   1403     );
   1404 
   1405     // C function void glWaitSync ( GLsync sync, GLbitfield flags, GLuint64 timeout )
   1406 
   1407     public static native void glWaitSync(
   1408         long sync,
   1409         int flags,
   1410         long timeout
   1411     );
   1412 
   1413     // C function void glGetInteger64v ( GLenum pname, GLint64 *params )
   1414 
   1415     public static native void glGetInteger64v(
   1416         int pname,
   1417         long[] params,
   1418         int offset
   1419     );
   1420 
   1421     // C function void glGetInteger64v ( GLenum pname, GLint64 *params )
   1422 
   1423     public static native void glGetInteger64v(
   1424         int pname,
   1425         java.nio.LongBuffer params
   1426     );
   1427 
   1428     // C function void glGetSynciv ( GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values )
   1429 
   1430     public static native void glGetSynciv(
   1431         long sync,
   1432         int pname,
   1433         int bufSize,
   1434         int[] length,
   1435         int lengthOffset,
   1436         int[] values,
   1437         int valuesOffset
   1438     );
   1439 
   1440     // C function void glGetSynciv ( GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values )
   1441 
   1442     public static native void glGetSynciv(
   1443         long sync,
   1444         int pname,
   1445         int bufSize,
   1446         java.nio.IntBuffer length,
   1447         java.nio.IntBuffer values
   1448     );
   1449 
   1450     // C function void glGetInteger64i_v ( GLenum target, GLuint index, GLint64 *data )
   1451 
   1452     public static native void glGetInteger64i_v(
   1453         int target,
   1454         int index,
   1455         long[] data,
   1456         int offset
   1457     );
   1458 
   1459     // C function void glGetInteger64i_v ( GLenum target, GLuint index, GLint64 *data )
   1460 
   1461     public static native void glGetInteger64i_v(
   1462         int target,
   1463         int index,
   1464         java.nio.LongBuffer data
   1465     );
   1466 
   1467     // C function void glGetBufferParameteri64v ( GLenum target, GLenum pname, GLint64 *params )
   1468 
   1469     public static native void glGetBufferParameteri64v(
   1470         int target,
   1471         int pname,
   1472         long[] params,
   1473         int offset
   1474     );
   1475 
   1476     // C function void glGetBufferParameteri64v ( GLenum target, GLenum pname, GLint64 *params )
   1477 
   1478     public static native void glGetBufferParameteri64v(
   1479         int target,
   1480         int pname,
   1481         java.nio.LongBuffer params
   1482     );
   1483 
   1484     // C function void glGenSamplers ( GLsizei count, GLuint *samplers )
   1485 
   1486     public static native void glGenSamplers(
   1487         int count,
   1488         int[] samplers,
   1489         int offset
   1490     );
   1491 
   1492     // C function void glGenSamplers ( GLsizei count, GLuint *samplers )
   1493 
   1494     public static native void glGenSamplers(
   1495         int count,
   1496         java.nio.IntBuffer samplers
   1497     );
   1498 
   1499     // C function void glDeleteSamplers ( GLsizei count, const GLuint *samplers )
   1500 
   1501     public static native void glDeleteSamplers(
   1502         int count,
   1503         int[] samplers,
   1504         int offset
   1505     );
   1506 
   1507     // C function void glDeleteSamplers ( GLsizei count, const GLuint *samplers )
   1508 
   1509     public static native void glDeleteSamplers(
   1510         int count,
   1511         java.nio.IntBuffer samplers
   1512     );
   1513 
   1514     // C function GLboolean glIsSampler ( GLuint sampler )
   1515 
   1516     public static native boolean glIsSampler(
   1517         int sampler
   1518     );
   1519 
   1520     // C function void glBindSampler ( GLuint unit, GLuint sampler )
   1521 
   1522     public static native void glBindSampler(
   1523         int unit,
   1524         int sampler
   1525     );
   1526 
   1527     // C function void glSamplerParameteri ( GLuint sampler, GLenum pname, GLint param )
   1528 
   1529     public static native void glSamplerParameteri(
   1530         int sampler,
   1531         int pname,
   1532         int param
   1533     );
   1534 
   1535     // C function void glSamplerParameteriv ( GLuint sampler, GLenum pname, const GLint *param )
   1536 
   1537     public static native void glSamplerParameteriv(
   1538         int sampler,
   1539         int pname,
   1540         int[] param,
   1541         int offset
   1542     );
   1543 
   1544     // C function void glSamplerParameteriv ( GLuint sampler, GLenum pname, const GLint *param )
   1545 
   1546     public static native void glSamplerParameteriv(
   1547         int sampler,
   1548         int pname,
   1549         java.nio.IntBuffer param
   1550     );
   1551 
   1552     // C function void glSamplerParameterf ( GLuint sampler, GLenum pname, GLfloat param )
   1553 
   1554     public static native void glSamplerParameterf(
   1555         int sampler,
   1556         int pname,
   1557         float param
   1558     );
   1559 
   1560     // C function void glSamplerParameterfv ( GLuint sampler, GLenum pname, const GLfloat *param )
   1561 
   1562     public static native void glSamplerParameterfv(
   1563         int sampler,
   1564         int pname,
   1565         float[] param,
   1566         int offset
   1567     );
   1568 
   1569     // C function void glSamplerParameterfv ( GLuint sampler, GLenum pname, const GLfloat *param )
   1570 
   1571     public static native void glSamplerParameterfv(
   1572         int sampler,
   1573         int pname,
   1574         java.nio.FloatBuffer param
   1575     );
   1576 
   1577     // C function void glGetSamplerParameteriv ( GLuint sampler, GLenum pname, GLint *params )
   1578 
   1579     public static native void glGetSamplerParameteriv(
   1580         int sampler,
   1581         int pname,
   1582         int[] params,
   1583         int offset
   1584     );
   1585 
   1586     // C function void glGetSamplerParameteriv ( GLuint sampler, GLenum pname, GLint *params )
   1587 
   1588     public static native void glGetSamplerParameteriv(
   1589         int sampler,
   1590         int pname,
   1591         java.nio.IntBuffer params
   1592     );
   1593 
   1594     // C function void glGetSamplerParameterfv ( GLuint sampler, GLenum pname, GLfloat *params )
   1595 
   1596     public static native void glGetSamplerParameterfv(
   1597         int sampler,
   1598         int pname,
   1599         float[] params,
   1600         int offset
   1601     );
   1602 
   1603     // C function void glGetSamplerParameterfv ( GLuint sampler, GLenum pname, GLfloat *params )
   1604 
   1605     public static native void glGetSamplerParameterfv(
   1606         int sampler,
   1607         int pname,
   1608         java.nio.FloatBuffer params
   1609     );
   1610 
   1611     // C function void glVertexAttribDivisor ( GLuint index, GLuint divisor )
   1612 
   1613     public static native void glVertexAttribDivisor(
   1614         int index,
   1615         int divisor
   1616     );
   1617 
   1618     // C function void glBindTransformFeedback ( GLenum target, GLuint id )
   1619 
   1620     public static native void glBindTransformFeedback(
   1621         int target,
   1622         int id
   1623     );
   1624 
   1625     // C function void glDeleteTransformFeedbacks ( GLsizei n, const GLuint *ids )
   1626 
   1627     public static native void glDeleteTransformFeedbacks(
   1628         int n,
   1629         int[] ids,
   1630         int offset
   1631     );
   1632 
   1633     // C function void glDeleteTransformFeedbacks ( GLsizei n, const GLuint *ids )
   1634 
   1635     public static native void glDeleteTransformFeedbacks(
   1636         int n,
   1637         java.nio.IntBuffer ids
   1638     );
   1639 
   1640     // C function void glGenTransformFeedbacks ( GLsizei n, GLuint *ids )
   1641 
   1642     public static native void glGenTransformFeedbacks(
   1643         int n,
   1644         int[] ids,
   1645         int offset
   1646     );
   1647 
   1648     // C function void glGenTransformFeedbacks ( GLsizei n, GLuint *ids )
   1649 
   1650     public static native void glGenTransformFeedbacks(
   1651         int n,
   1652         java.nio.IntBuffer ids
   1653     );
   1654 
   1655     // C function GLboolean glIsTransformFeedback ( GLuint id )
   1656 
   1657     public static native boolean glIsTransformFeedback(
   1658         int id
   1659     );
   1660 
   1661     // C function void glPauseTransformFeedback ( void )
   1662 
   1663     public static native void glPauseTransformFeedback(
   1664     );
   1665 
   1666     // C function void glResumeTransformFeedback ( void )
   1667 
   1668     public static native void glResumeTransformFeedback(
   1669     );
   1670 
   1671     // C function void glGetProgramBinary ( GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary )
   1672 
   1673     public static native void glGetProgramBinary(
   1674         int program,
   1675         int bufSize,
   1676         int[] length,
   1677         int lengthOffset,
   1678         int[] binaryFormat,
   1679         int binaryFormatOffset,
   1680         java.nio.Buffer binary
   1681     );
   1682 
   1683     // C function void glGetProgramBinary ( GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary )
   1684 
   1685     public static native void glGetProgramBinary(
   1686         int program,
   1687         int bufSize,
   1688         java.nio.IntBuffer length,
   1689         java.nio.IntBuffer binaryFormat,
   1690         java.nio.Buffer binary
   1691     );
   1692 
   1693     // C function void glProgramBinary ( GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length )
   1694 
   1695     public static native void glProgramBinary(
   1696         int program,
   1697         int binaryFormat,
   1698         java.nio.Buffer binary,
   1699         int length
   1700     );
   1701 
   1702     // C function void glProgramParameteri ( GLuint program, GLenum pname, GLint value )
   1703 
   1704     public static native void glProgramParameteri(
   1705         int program,
   1706         int pname,
   1707         int value
   1708     );
   1709 
   1710     // C function void glInvalidateFramebuffer ( GLenum target, GLsizei numAttachments, const GLenum *attachments )
   1711 
   1712     public static native void glInvalidateFramebuffer(
   1713         int target,
   1714         int numAttachments,
   1715         int[] attachments,
   1716         int offset
   1717     );
   1718 
   1719     // C function void glInvalidateFramebuffer ( GLenum target, GLsizei numAttachments, const GLenum *attachments )
   1720 
   1721     public static native void glInvalidateFramebuffer(
   1722         int target,
   1723         int numAttachments,
   1724         java.nio.IntBuffer attachments
   1725     );
   1726 
   1727     // C function void glInvalidateSubFramebuffer ( GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height )
   1728 
   1729     public static native void glInvalidateSubFramebuffer(
   1730         int target,
   1731         int numAttachments,
   1732         int[] attachments,
   1733         int offset,
   1734         int x,
   1735         int y,
   1736         int width,
   1737         int height
   1738     );
   1739 
   1740     // C function void glInvalidateSubFramebuffer ( GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height )
   1741 
   1742     public static native void glInvalidateSubFramebuffer(
   1743         int target,
   1744         int numAttachments,
   1745         java.nio.IntBuffer attachments,
   1746         int x,
   1747         int y,
   1748         int width,
   1749         int height
   1750     );
   1751 
   1752     // C function void glTexStorage2D ( GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height )
   1753 
   1754     public static native void glTexStorage2D(
   1755         int target,
   1756         int levels,
   1757         int internalformat,
   1758         int width,
   1759         int height
   1760     );
   1761 
   1762     // C function void glTexStorage3D ( GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth )
   1763 
   1764     public static native void glTexStorage3D(
   1765         int target,
   1766         int levels,
   1767         int internalformat,
   1768         int width,
   1769         int height,
   1770         int depth
   1771     );
   1772 
   1773     // C function void glGetInternalformativ ( GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params )
   1774 
   1775     public static native void glGetInternalformativ(
   1776         int target,
   1777         int internalformat,
   1778         int pname,
   1779         int bufSize,
   1780         int[] params,
   1781         int offset
   1782     );
   1783 
   1784     // C function void glGetInternalformativ ( GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params )
   1785 
   1786     public static native void glGetInternalformativ(
   1787         int target,
   1788         int internalformat,
   1789         int pname,
   1790         int bufSize,
   1791         java.nio.IntBuffer params
   1792     );
   1793 
   1794 }
   1795