Home | History | Annotate | Download | only in gles11
      1 **
      2 ** Copyright 2009, The Android Open Source Project
      3 **
      4 ** Licensed under the Apache License, Version 2.0 (the "License");
      5 ** you may not use this file except in compliance with the License.
      6 ** You may obtain a copy of the License at
      7 **
      8 **     http://www.apache.org/licenses/LICENSE-2.0
      9 **
     10 ** Unless required by applicable law or agreed to in writing, software
     11 ** distributed under the License is distributed on an "AS IS" BASIS,
     12 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13 ** See the License for the specific language governing permissions and
     14 ** limitations under the License.
     15 */
     16 
     17 // This source file is automatically generated
     18 
     19 package android.opengl;
     20 
     21 import java.nio.Buffer;
     22 
     23 public class GLES10 {
     24     public static final int GL_ADD                                   = 0x0104;
     25     public static final int GL_ALIASED_LINE_WIDTH_RANGE              = 0x846E;
     26     public static final int GL_ALIASED_POINT_SIZE_RANGE              = 0x846D;
     27     public static final int GL_ALPHA                                 = 0x1906;
     28     public static final int GL_ALPHA_BITS                            = 0x0D55;
     29     public static final int GL_ALPHA_TEST                            = 0x0BC0;
     30     public static final int GL_ALWAYS                                = 0x0207;
     31     public static final int GL_AMBIENT                               = 0x1200;
     32     public static final int GL_AMBIENT_AND_DIFFUSE                   = 0x1602;
     33     public static final int GL_AND                                   = 0x1501;
     34     public static final int GL_AND_INVERTED                          = 0x1504;
     35     public static final int GL_AND_REVERSE                           = 0x1502;
     36     public static final int GL_BACK                                  = 0x0405;
     37     public static final int GL_BLEND                                 = 0x0BE2;
     38     public static final int GL_BLUE_BITS                             = 0x0D54;
     39     public static final int GL_BYTE                                  = 0x1400;
     40     public static final int GL_CCW                                   = 0x0901;
     41     public static final int GL_CLAMP_TO_EDGE                         = 0x812F;
     42     public static final int GL_CLEAR                                 = 0x1500;
     43     public static final int GL_COLOR_ARRAY                           = 0x8076;
     44     public static final int GL_COLOR_BUFFER_BIT                      = 0x4000;
     45     public static final int GL_COLOR_LOGIC_OP                        = 0x0BF2;
     46     public static final int GL_COLOR_MATERIAL                        = 0x0B57;
     47     public static final int GL_COMPRESSED_TEXTURE_FORMATS            = 0x86A3;
     48     public static final int GL_CONSTANT_ATTENUATION                  = 0x1207;
     49     public static final int GL_COPY                                  = 0x1503;
     50     public static final int GL_COPY_INVERTED                         = 0x150C;
     51     public static final int GL_CULL_FACE                             = 0x0B44;
     52     public static final int GL_CW                                    = 0x0900;
     53     public static final int GL_DECAL                                 = 0x2101;
     54     public static final int GL_DECR                                  = 0x1E03;
     55     public static final int GL_DEPTH_BITS                            = 0x0D56;
     56     public static final int GL_DEPTH_BUFFER_BIT                      = 0x0100;
     57     public static final int GL_DEPTH_TEST                            = 0x0B71;
     58     public static final int GL_DIFFUSE                               = 0x1201;
     59     public static final int GL_DITHER                                = 0x0BD0;
     60     public static final int GL_DONT_CARE                             = 0x1100;
     61     public static final int GL_DST_ALPHA                             = 0x0304;
     62     public static final int GL_DST_COLOR                             = 0x0306;
     63     public static final int GL_EMISSION                              = 0x1600;
     64     public static final int GL_EQUAL                                 = 0x0202;
     65     public static final int GL_EQUIV                                 = 0x1509;
     66     public static final int GL_EXP                                   = 0x0800;
     67     public static final int GL_EXP2                                  = 0x0801;
     68     public static final int GL_EXTENSIONS                            = 0x1F03;
     69     public static final int GL_FALSE                                 = 0;
     70     public static final int GL_FASTEST                               = 0x1101;
     71     public static final int GL_FIXED                                 = 0x140C;
     72     public static final int GL_FLAT                                  = 0x1D00;
     73     public static final int GL_FLOAT                                 = 0x1406;
     74     public static final int GL_FOG                                   = 0x0B60;
     75     public static final int GL_FOG_COLOR                             = 0x0B66;
     76     public static final int GL_FOG_DENSITY                           = 0x0B62;
     77     public static final int GL_FOG_END                               = 0x0B64;
     78     public static final int GL_FOG_HINT                              = 0x0C54;
     79     public static final int GL_FOG_MODE                              = 0x0B65;
     80     public static final int GL_FOG_START                             = 0x0B63;
     81     public static final int GL_FRONT                                 = 0x0404;
     82     public static final int GL_FRONT_AND_BACK                        = 0x0408;
     83     public static final int GL_GEQUAL                                = 0x0206;
     84     public static final int GL_GREATER                               = 0x0204;
     85     public static final int GL_GREEN_BITS                            = 0x0D53;
     86     public static final int GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES  = 0x8B9B;
     87     public static final int GL_IMPLEMENTATION_COLOR_READ_TYPE_OES    = 0x8B9A;
     88     public static final int GL_INCR                                  = 0x1E02;
     89     public static final int GL_INVALID_ENUM                          = 0x0500;
     90     public static final int GL_INVALID_OPERATION                     = 0x0502;
     91     public static final int GL_INVALID_VALUE                         = 0x0501;
     92     public static final int GL_INVERT                                = 0x150A;
     93     public static final int GL_KEEP                                  = 0x1E00;
     94     public static final int GL_LEQUAL                                = 0x0203;
     95     public static final int GL_LESS                                  = 0x0201;
     96     public static final int GL_LIGHT_MODEL_AMBIENT                   = 0x0B53;
     97     public static final int GL_LIGHT_MODEL_TWO_SIDE                  = 0x0B52;
     98     public static final int GL_LIGHT0                                = 0x4000;
     99     public static final int GL_LIGHT1                                = 0x4001;
    100     public static final int GL_LIGHT2                                = 0x4002;
    101     public static final int GL_LIGHT3                                = 0x4003;
    102     public static final int GL_LIGHT4                                = 0x4004;
    103     public static final int GL_LIGHT5                                = 0x4005;
    104     public static final int GL_LIGHT6                                = 0x4006;
    105     public static final int GL_LIGHT7                                = 0x4007;
    106     public static final int GL_LIGHTING                              = 0x0B50;
    107     public static final int GL_LINE_LOOP                             = 0x0002;
    108     public static final int GL_LINE_SMOOTH                           = 0x0B20;
    109     public static final int GL_LINE_SMOOTH_HINT                      = 0x0C52;
    110     public static final int GL_LINE_STRIP                            = 0x0003;
    111     public static final int GL_LINEAR                                = 0x2601;
    112     public static final int GL_LINEAR_ATTENUATION                    = 0x1208;
    113     public static final int GL_LINEAR_MIPMAP_LINEAR                  = 0x2703;
    114     public static final int GL_LINEAR_MIPMAP_NEAREST                 = 0x2701;
    115     public static final int GL_LINES                                 = 0x0001;
    116     public static final int GL_LUMINANCE                             = 0x1909;
    117     public static final int GL_LUMINANCE_ALPHA                       = 0x190A;
    118     public static final int GL_MAX_ELEMENTS_INDICES                  = 0x80E9;
    119     public static final int GL_MAX_ELEMENTS_VERTICES                 = 0x80E8;
    120     public static final int GL_MAX_LIGHTS                            = 0x0D31;
    121     public static final int GL_MAX_MODELVIEW_STACK_DEPTH             = 0x0D36;
    122     public static final int GL_MAX_PROJECTION_STACK_DEPTH            = 0x0D38;
    123     public static final int GL_MAX_TEXTURE_SIZE                      = 0x0D33;
    124     public static final int GL_MAX_TEXTURE_STACK_DEPTH               = 0x0D39;
    125     public static final int GL_MAX_TEXTURE_UNITS                     = 0x84E2;
    126     public static final int GL_MAX_VIEWPORT_DIMS                     = 0x0D3A;
    127     public static final int GL_MODELVIEW                             = 0x1700;
    128     public static final int GL_MODULATE                              = 0x2100;
    129     public static final int GL_MULTISAMPLE                           = 0x809D;
    130     public static final int GL_NAND                                  = 0x150E;
    131     public static final int GL_NEAREST                               = 0x2600;
    132     public static final int GL_NEAREST_MIPMAP_LINEAR                 = 0x2702;
    133     public static final int GL_NEAREST_MIPMAP_NEAREST                = 0x2700;
    134     public static final int GL_NEVER                                 = 0x0200;
    135     public static final int GL_NICEST                                = 0x1102;
    136     public static final int GL_NO_ERROR                              = 0;
    137     public static final int GL_NOOP                                  = 0x1505;
    138     public static final int GL_NOR                                   = 0x1508;
    139     public static final int GL_NORMAL_ARRAY                          = 0x8075;
    140     public static final int GL_NORMALIZE                             = 0x0BA1;
    141     public static final int GL_NOTEQUAL                              = 0x0205;
    142     public static final int GL_NUM_COMPRESSED_TEXTURE_FORMATS        = 0x86A2;
    143     public static final int GL_ONE                                   = 1;
    144     public static final int GL_ONE_MINUS_DST_ALPHA                   = 0x0305;
    145     public static final int GL_ONE_MINUS_DST_COLOR                   = 0x0307;
    146     public static final int GL_ONE_MINUS_SRC_ALPHA                   = 0x0303;
    147     public static final int GL_ONE_MINUS_SRC_COLOR                   = 0x0301;
    148     public static final int GL_OR                                    = 0x1507;
    149     public static final int GL_OR_INVERTED                           = 0x150D;
    150     public static final int GL_OR_REVERSE                            = 0x150B;
    151     public static final int GL_OUT_OF_MEMORY                         = 0x0505;
    152     public static final int GL_PACK_ALIGNMENT                        = 0x0D05;
    153     public static final int GL_PALETTE4_R5_G6_B5_OES                 = 0x8B92;
    154     public static final int GL_PALETTE4_RGB5_A1_OES                  = 0x8B94;
    155     public static final int GL_PALETTE4_RGB8_OES                     = 0x8B90;
    156     public static final int GL_PALETTE4_RGBA4_OES                    = 0x8B93;
    157     public static final int GL_PALETTE4_RGBA8_OES                    = 0x8B91;
    158     public static final int GL_PALETTE8_R5_G6_B5_OES                 = 0x8B97;
    159     public static final int GL_PALETTE8_RGB5_A1_OES                  = 0x8B99;
    160     public static final int GL_PALETTE8_RGB8_OES                     = 0x8B95;
    161     public static final int GL_PALETTE8_RGBA4_OES                    = 0x8B98;
    162     public static final int GL_PALETTE8_RGBA8_OES                    = 0x8B96;
    163     public static final int GL_PERSPECTIVE_CORRECTION_HINT           = 0x0C50;
    164     public static final int GL_POINT_SMOOTH                          = 0x0B10;
    165     public static final int GL_POINT_SMOOTH_HINT                     = 0x0C51;
    166     public static final int GL_POINTS                                = 0x0000;
    167     public static final int GL_POINT_FADE_THRESHOLD_SIZE             = 0x8128;
    168     public static final int GL_POINT_SIZE                            = 0x0B11;
    169     public static final int GL_POLYGON_OFFSET_FILL                   = 0x8037;
    170     public static final int GL_POLYGON_SMOOTH_HINT                   = 0x0C53;
    171     public static final int GL_POSITION                              = 0x1203;
    172     public static final int GL_PROJECTION                            = 0x1701;
    173     public static final int GL_QUADRATIC_ATTENUATION                 = 0x1209;
    174     public static final int GL_RED_BITS                              = 0x0D52;
    175     public static final int GL_RENDERER                              = 0x1F01;
    176     public static final int GL_REPEAT                                = 0x2901;
    177     public static final int GL_REPLACE                               = 0x1E01;
    178     public static final int GL_RESCALE_NORMAL                        = 0x803A;
    179     public static final int GL_RGB                                   = 0x1907;
    180     public static final int GL_RGBA                                  = 0x1908;
    181     public static final int GL_SAMPLE_ALPHA_TO_COVERAGE              = 0x809E;
    182     public static final int GL_SAMPLE_ALPHA_TO_ONE                   = 0x809F;
    183     public static final int GL_SAMPLE_COVERAGE                       = 0x80A0;
    184     public static final int GL_SCISSOR_TEST                          = 0x0C11;
    185     public static final int GL_SET                                   = 0x150F;
    186     public static final int GL_SHININESS                             = 0x1601;
    187     public static final int GL_SHORT                                 = 0x1402;
    188     public static final int GL_SMOOTH                                = 0x1D01;
    189     public static final int GL_SMOOTH_LINE_WIDTH_RANGE               = 0x0B22;
    190     public static final int GL_SMOOTH_POINT_SIZE_RANGE               = 0x0B12;
    191     public static final int GL_SPECULAR                              = 0x1202;
    192     public static final int GL_SPOT_CUTOFF                           = 0x1206;
    193     public static final int GL_SPOT_DIRECTION                        = 0x1204;
    194     public static final int GL_SPOT_EXPONENT                         = 0x1205;
    195     public static final int GL_SRC_ALPHA                             = 0x0302;
    196     public static final int GL_SRC_ALPHA_SATURATE                    = 0x0308;
    197     public static final int GL_SRC_COLOR                             = 0x0300;
    198     public static final int GL_STACK_OVERFLOW                        = 0x0503;
    199     public static final int GL_STACK_UNDERFLOW                       = 0x0504;
    200     public static final int GL_STENCIL_BITS                          = 0x0D57;
    201     public static final int GL_STENCIL_BUFFER_BIT                    = 0x0400;
    202     public static final int GL_STENCIL_TEST                          = 0x0B90;
    203     public static final int GL_SUBPIXEL_BITS                         = 0x0D50;
    204     public static final int GL_TEXTURE                               = 0x1702;
    205     public static final int GL_TEXTURE_2D                            = 0x0DE1;
    206     public static final int GL_TEXTURE_COORD_ARRAY                   = 0x8078;
    207     public static final int GL_TEXTURE_ENV                           = 0x2300;
    208     public static final int GL_TEXTURE_ENV_COLOR                     = 0x2201;
    209     public static final int GL_TEXTURE_ENV_MODE                      = 0x2200;
    210     public static final int GL_TEXTURE_MAG_FILTER                    = 0x2800;
    211     public static final int GL_TEXTURE_MIN_FILTER                    = 0x2801;
    212     public static final int GL_TEXTURE_WRAP_S                        = 0x2802;
    213     public static final int GL_TEXTURE_WRAP_T                        = 0x2803;
    214     public static final int GL_TEXTURE0                              = 0x84C0;
    215     public static final int GL_TEXTURE1                              = 0x84C1;
    216     public static final int GL_TEXTURE2                              = 0x84C2;
    217     public static final int GL_TEXTURE3                              = 0x84C3;
    218     public static final int GL_TEXTURE4                              = 0x84C4;
    219     public static final int GL_TEXTURE5                              = 0x84C5;
    220     public static final int GL_TEXTURE6                              = 0x84C6;
    221     public static final int GL_TEXTURE7                              = 0x84C7;
    222     public static final int GL_TEXTURE8                              = 0x84C8;
    223     public static final int GL_TEXTURE9                              = 0x84C9;
    224     public static final int GL_TEXTURE10                             = 0x84CA;
    225     public static final int GL_TEXTURE11                             = 0x84CB;
    226     public static final int GL_TEXTURE12                             = 0x84CC;
    227     public static final int GL_TEXTURE13                             = 0x84CD;
    228     public static final int GL_TEXTURE14                             = 0x84CE;
    229     public static final int GL_TEXTURE15                             = 0x84CF;
    230     public static final int GL_TEXTURE16                             = 0x84D0;
    231     public static final int GL_TEXTURE17                             = 0x84D1;
    232     public static final int GL_TEXTURE18                             = 0x84D2;
    233     public static final int GL_TEXTURE19                             = 0x84D3;
    234     public static final int GL_TEXTURE20                             = 0x84D4;
    235     public static final int GL_TEXTURE21                             = 0x84D5;
    236     public static final int GL_TEXTURE22                             = 0x84D6;
    237     public static final int GL_TEXTURE23                             = 0x84D7;
    238     public static final int GL_TEXTURE24                             = 0x84D8;
    239     public static final int GL_TEXTURE25                             = 0x84D9;
    240     public static final int GL_TEXTURE26                             = 0x84DA;
    241     public static final int GL_TEXTURE27                             = 0x84DB;
    242     public static final int GL_TEXTURE28                             = 0x84DC;
    243     public static final int GL_TEXTURE29                             = 0x84DD;
    244     public static final int GL_TEXTURE30                             = 0x84DE;
    245     public static final int GL_TEXTURE31                             = 0x84DF;
    246     public static final int GL_TRIANGLE_FAN                          = 0x0006;
    247     public static final int GL_TRIANGLE_STRIP                        = 0x0005;
    248     public static final int GL_TRIANGLES                             = 0x0004;
    249     public static final int GL_TRUE                                  = 1;
    250     public static final int GL_UNPACK_ALIGNMENT                      = 0x0CF5;
    251     public static final int GL_UNSIGNED_BYTE                         = 0x1401;
    252     public static final int GL_UNSIGNED_SHORT                        = 0x1403;
    253     public static final int GL_UNSIGNED_SHORT_4_4_4_4                = 0x8033;
    254     public static final int GL_UNSIGNED_SHORT_5_5_5_1                = 0x8034;
    255     public static final int GL_UNSIGNED_SHORT_5_6_5                  = 0x8363;
    256     public static final int GL_VENDOR                                = 0x1F00;
    257     public static final int GL_VERSION                               = 0x1F02;
    258     public static final int GL_VERTEX_ARRAY                          = 0x8074;
    259     public static final int GL_XOR                                   = 0x1506;
    260     public static final int GL_ZERO                                  = 0;
    261 
    262     native private static void _nativeClassInit();
    263     static {
    264 	    _nativeClassInit();
    265     }
    266 
    267     private static Buffer _colorPointer;
    268     private static Buffer _normalPointer;
    269     private static Buffer _texCoordPointer;
    270     private static Buffer _vertexPointer;
    271 
    272