Home | History | Annotate | Download | only in gles11
      1 /*
      2 **
      3 ** Copyright 2009, 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 import java.nio.Buffer;
     23 
     24 public class GLES11 extends GLES10 {
     25     public static final int GL_ACTIVE_TEXTURE                          = 0x84E0;
     26     public static final int GL_ADD_SIGNED                              = 0x8574;
     27     public static final int GL_ALPHA_SCALE                             = 0x0D1C;
     28     public static final int GL_ALPHA_TEST_FUNC                         = 0x0BC1;
     29     public static final int GL_ALPHA_TEST_REF                          = 0x0BC2;
     30     public static final int GL_ARRAY_BUFFER                            = 0x8892;
     31     public static final int GL_ARRAY_BUFFER_BINDING                    = 0x8894;
     32     public static final int GL_BLEND_DST                               = 0x0BE0;
     33     public static final int GL_BLEND_SRC                               = 0x0BE1;
     34     public static final int GL_BUFFER_ACCESS                           = 0x88BB;
     35     public static final int GL_BUFFER_SIZE                             = 0x8764;
     36     public static final int GL_BUFFER_USAGE                            = 0x8765;
     37     public static final int GL_CLIENT_ACTIVE_TEXTURE                   = 0x84E1;
     38     public static final int GL_CLIP_PLANE0                             = 0x3000;
     39     public static final int GL_CLIP_PLANE1                             = 0x3001;
     40     public static final int GL_CLIP_PLANE2                             = 0x3002;
     41     public static final int GL_CLIP_PLANE3                             = 0x3003;
     42     public static final int GL_CLIP_PLANE4                             = 0x3004;
     43     public static final int GL_CLIP_PLANE5                             = 0x3005;
     44     public static final int GL_COLOR_ARRAY_BUFFER_BINDING              = 0x8898;
     45     public static final int GL_COLOR_ARRAY_POINTER                     = 0x8090;
     46     public static final int GL_COLOR_ARRAY_SIZE                        = 0x8081;
     47     public static final int GL_COLOR_ARRAY_STRIDE                      = 0x8083;
     48     public static final int GL_COLOR_ARRAY_TYPE                        = 0x8082;
     49     public static final int GL_COLOR_CLEAR_VALUE                       = 0x0C22;
     50     public static final int GL_COLOR_WRITEMASK                         = 0x0C23;
     51     public static final int GL_COMBINE                                 = 0x8570;
     52     public static final int GL_COMBINE_ALPHA                           = 0x8572;
     53     public static final int GL_COMBINE_RGB                             = 0x8571;
     54     public static final int GL_CONSTANT                                = 0x8576;
     55     public static final int GL_COORD_REPLACE_OES                       = 0x8862;
     56     public static final int GL_CULL_FACE_MODE                          = 0x0B45;
     57     public static final int GL_CURRENT_COLOR                           = 0x0B00;
     58     public static final int GL_CURRENT_NORMAL                          = 0x0B02;
     59     public static final int GL_CURRENT_TEXTURE_COORDS                  = 0x0B03;
     60     public static final int GL_DEPTH_CLEAR_VALUE                       = 0x0B73;
     61     public static final int GL_DEPTH_FUNC                              = 0x0B74;
     62     public static final int GL_DEPTH_RANGE                             = 0x0B70;
     63     public static final int GL_DEPTH_WRITEMASK                         = 0x0B72;
     64     public static final int GL_DOT3_RGB                                = 0x86AE;
     65     public static final int GL_DOT3_RGBA                               = 0x86AF;
     66     public static final int GL_DYNAMIC_DRAW                            = 0x88E8;
     67     public static final int GL_ELEMENT_ARRAY_BUFFER                    = 0x8893;
     68     public static final int GL_ELEMENT_ARRAY_BUFFER_BINDING            = 0x8895;
     69     public static final int GL_FRONT_FACE                              = 0x0B46;
     70     public static final int GL_GENERATE_MIPMAP                         = 0x8191;
     71     public static final int GL_GENERATE_MIPMAP_HINT                    = 0x8192;
     72     public static final int GL_INTERPOLATE                             = 0x8575;
     73     public static final int GL_LINE_WIDTH                              = 0x0B21;
     74     public static final int GL_LOGIC_OP_MODE                           = 0x0BF0;
     75     public static final int GL_MATRIX_MODE                             = 0x0BA0;
     76     public static final int GL_MAX_CLIP_PLANES                         = 0x0D32;
     77     public static final int GL_MODELVIEW_MATRIX                        = 0x0BA6;
     78     public static final int GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES  = 0x898D;
     79     public static final int GL_MODELVIEW_STACK_DEPTH                   = 0x0BA3;
     80     public static final int GL_NORMAL_ARRAY_BUFFER_BINDING             = 0x8897;
     81     public static final int GL_NORMAL_ARRAY_POINTER                    = 0x808F;
     82     public static final int GL_NORMAL_ARRAY_STRIDE                     = 0x807F;
     83     public static final int GL_NORMAL_ARRAY_TYPE                       = 0x807E;
     84     public static final int GL_OPERAND0_ALPHA                          = 0x8598;
     85     public static final int GL_OPERAND0_RGB                            = 0x8590;
     86     public static final int GL_OPERAND1_ALPHA                          = 0x8599;
     87     public static final int GL_OPERAND1_RGB                            = 0x8591;
     88     public static final int GL_OPERAND2_ALPHA                          = 0x859A;
     89     public static final int GL_OPERAND2_RGB                            = 0x8592;
     90     public static final int GL_POINT_DISTANCE_ATTENUATION              = 0x8129;
     91     public static final int GL_POINT_FADE_THRESHOLD_SIZE               = 0x8128;
     92     public static final int GL_POINT_SIZE                              = 0x0B11;
     93     public static final int GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES     = 0x8B9F;
     94     public static final int GL_POINT_SIZE_ARRAY_OES                    = 0x8B9C;
     95     public static final int GL_POINT_SIZE_ARRAY_POINTER_OES            = 0x898C;
     96     public static final int GL_POINT_SIZE_ARRAY_STRIDE_OES             = 0x898B;
     97     public static final int GL_POINT_SIZE_ARRAY_TYPE_OES               = 0x898A;
     98     public static final int GL_POINT_SIZE_MAX                          = 0x8127;
     99     public static final int GL_POINT_SIZE_MIN                          = 0x8126;
    100     public static final int GL_POINT_SPRITE_OES                        = 0x8861;
    101     public static final int GL_POLYGON_OFFSET_FACTOR                   = 0x8038;
    102     public static final int GL_POLYGON_OFFSET_UNITS                    = 0x2A00;
    103     public static final int GL_PREVIOUS                                = 0x8578;
    104     public static final int GL_PRIMARY_COLOR                           = 0x8577;
    105     public static final int GL_PROJECTION_MATRIX                       = 0x0BA7;
    106     public static final int GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898E;
    107     public static final int GL_PROJECTION_STACK_DEPTH                  = 0x0BA4;
    108     public static final int GL_RGB_SCALE                               = 0x8573;
    109     public static final int GL_SAMPLE_BUFFERS                          = 0x80A8;
    110     public static final int GL_SAMPLE_COVERAGE_INVERT                  = 0x80AB;
    111     public static final int GL_SAMPLE_COVERAGE_VALUE                   = 0x80AA;
    112     public static final int GL_SAMPLES                                 = 0x80A9;
    113     public static final int GL_SCISSOR_BOX                             = 0x0C10;
    114     public static final int GL_SHADE_MODEL                             = 0x0B54;
    115     public static final int GL_SRC0_ALPHA                              = 0x8588;
    116     public static final int GL_SRC0_RGB                                = 0x8580;
    117     public static final int GL_SRC1_ALPHA                              = 0x8589;
    118     public static final int GL_SRC1_RGB                                = 0x8581;
    119     public static final int GL_SRC2_ALPHA                              = 0x858A;
    120     public static final int GL_SRC2_RGB                                = 0x8582;
    121     public static final int GL_STATIC_DRAW                             = 0x88E4;
    122     public static final int GL_STENCIL_CLEAR_VALUE                     = 0x0B91;
    123     public static final int GL_STENCIL_FAIL                            = 0x0B94;
    124     public static final int GL_STENCIL_FUNC                            = 0x0B92;
    125     public static final int GL_STENCIL_PASS_DEPTH_FAIL                 = 0x0B95;
    126     public static final int GL_STENCIL_PASS_DEPTH_PASS                 = 0x0B96;
    127     public static final int GL_STENCIL_REF                             = 0x0B97;
    128     public static final int GL_STENCIL_VALUE_MASK                      = 0x0B93;
    129     public static final int GL_STENCIL_WRITEMASK                       = 0x0B98;
    130     public static final int GL_SUBTRACT                                = 0x84E7;
    131     public static final int GL_TEXTURE_BINDING_2D                      = 0x8069;
    132     public static final int GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING      = 0x889A;
    133     public static final int GL_TEXTURE_COORD_ARRAY_POINTER             = 0x8092;
    134     public static final int GL_TEXTURE_COORD_ARRAY_SIZE                = 0x8088;
    135     public static final int GL_TEXTURE_COORD_ARRAY_STRIDE              = 0x808A;
    136     public static final int GL_TEXTURE_COORD_ARRAY_TYPE                = 0x8089;
    137     public static final int GL_TEXTURE_MATRIX                          = 0x0BA8;
    138     public static final int GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES    = 0x898F;
    139     public static final int GL_TEXTURE_STACK_DEPTH                     = 0x0BA5;
    140     public static final int GL_VERTEX_ARRAY_BUFFER_BINDING             = 0x8896;
    141     public static final int GL_VERTEX_ARRAY_POINTER                    = 0x808E;
    142     public static final int GL_VERTEX_ARRAY_SIZE                       = 0x807A;
    143     public static final int GL_VERTEX_ARRAY_STRIDE                     = 0x807C;
    144     public static final int GL_VERTEX_ARRAY_TYPE                       = 0x807B;
    145     public static final int GL_VIEWPORT                                = 0x0BA2;
    146     public static final int GL_WRITE_ONLY                              = 0x88B9;
    147 
    148     native private static void _nativeClassInit();
    149     static {
    150         _nativeClassInit();
    151     }
    152 
    153     private static Buffer _pointSizePointerOES;
    154