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 GLES11Ext {
     24     public static final int GL_BLEND_EQUATION_RGB_OES                               = 0x8009;
     25     public static final int GL_BLEND_EQUATION_ALPHA_OES                             = 0x883D;
     26     public static final int GL_BLEND_DST_RGB_OES                                    = 0x80C8;
     27     public static final int GL_BLEND_SRC_RGB_OES                                    = 0x80C9;
     28     public static final int GL_BLEND_DST_ALPHA_OES                                  = 0x80CA;
     29     public static final int GL_BLEND_SRC_ALPHA_OES                                  = 0x80CB;
     30     public static final int GL_BLEND_EQUATION_OES                                   = 0x8009;
     31     public static final int GL_FUNC_ADD_OES                                         = 0x8006;
     32     public static final int GL_FUNC_SUBTRACT_OES                                    = 0x800A;
     33     public static final int GL_FUNC_REVERSE_SUBTRACT_OES                            = 0x800B;
     34     public static final int GL_ETC1_RGB8_OES                                        = 0x8D64;
     35     public static final int GL_DEPTH_COMPONENT24_OES                                = 0x81A6;
     36     public static final int GL_DEPTH_COMPONENT32_OES                                = 0x81A7;
     37     public static final int GL_TEXTURE_CROP_RECT_OES                                = 0x8B9D;
     38     public static final int GL_FIXED_OES                                            = 0x140C;
     39     public static final int GL_NONE_OES                                             = 0;
     40     public static final int GL_FRAMEBUFFER_OES                                      = 0x8D40;
     41     public static final int GL_RENDERBUFFER_OES                                     = 0x8D41;
     42     public static final int GL_RGBA4_OES                                            = 0x8056;
     43     public static final int GL_RGB5_A1_OES                                          = 0x8057;
     44     public static final int GL_RGB565_OES                                           = 0x8D62;
     45     public static final int GL_DEPTH_COMPONENT16_OES                                = 0x81A5;
     46     public static final int GL_RENDERBUFFER_WIDTH_OES                               = 0x8D42;
     47     public static final int GL_RENDERBUFFER_HEIGHT_OES                              = 0x8D43;
     48     public static final int GL_RENDERBUFFER_INTERNAL_FORMAT_OES                     = 0x8D44;
     49     public static final int GL_RENDERBUFFER_RED_SIZE_OES                            = 0x8D50;
     50     public static final int GL_RENDERBUFFER_GREEN_SIZE_OES                          = 0x8D51;
     51     public static final int GL_RENDERBUFFER_BLUE_SIZE_OES                           = 0x8D52;
     52     public static final int GL_RENDERBUFFER_ALPHA_SIZE_OES                          = 0x8D53;
     53     public static final int GL_RENDERBUFFER_DEPTH_SIZE_OES                          = 0x8D54;
     54     public static final int GL_RENDERBUFFER_STENCIL_SIZE_OES                        = 0x8D55;
     55     public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES               = 0x8CD0;
     56     public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES               = 0x8CD1;
     57     public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES             = 0x8CD2;
     58     public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES     = 0x8CD3;
     59     public static final int GL_COLOR_ATTACHMENT0_OES                                = 0x8CE0;
     60     public static final int GL_DEPTH_ATTACHMENT_OES                                 = 0x8D00;
     61     public static final int GL_STENCIL_ATTACHMENT_OES                               = 0x8D20;
     62     public static final int GL_FRAMEBUFFER_COMPLETE_OES                             = 0x8CD5;
     63     public static final int GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES                = 0x8CD6;
     64     public static final int GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES        = 0x8CD7;
     65     public static final int GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES                = 0x8CD9;
     66     public static final int GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES                   = 0x8CDA;
     67     public static final int GL_FRAMEBUFFER_UNSUPPORTED_OES                          = 0x8CDD;
     68     public static final int GL_FRAMEBUFFER_BINDING_OES                              = 0x8CA6;
     69     public static final int GL_RENDERBUFFER_BINDING_OES                             = 0x8CA7;
     70     public static final int GL_MAX_RENDERBUFFER_SIZE_OES                            = 0x84E8;
     71     public static final int GL_INVALID_FRAMEBUFFER_OPERATION_OES                    = 0x0506;
     72     public static final int GL_WRITE_ONLY_OES                                       = 0x88B9;
     73     public static final int GL_BUFFER_ACCESS_OES                                    = 0x88BB;
     74     public static final int GL_BUFFER_MAPPED_OES                                    = 0x88BC;
     75     public static final int GL_BUFFER_MAP_POINTER_OES                               = 0x88BD;
     76     public static final int GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES               = 0x898D;
     77     public static final int GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES              = 0x898E;
     78     public static final int GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES                 = 0x898F;
     79     public static final int GL_MAX_VERTEX_UNITS_OES                                 = 0x86A4;
     80     public static final int GL_MAX_PALETTE_MATRICES_OES                             = 0x8842;
     81     public static final int GL_MATRIX_PALETTE_OES                                   = 0x8840;
     82     public static final int GL_MATRIX_INDEX_ARRAY_OES                               = 0x8844;
     83     public static final int GL_WEIGHT_ARRAY_OES                                     = 0x86AD;
     84     public static final int GL_CURRENT_PALETTE_MATRIX_OES                           = 0x8843;
     85     public static final int GL_MATRIX_INDEX_ARRAY_SIZE_OES                          = 0x8846;
     86     public static final int GL_MATRIX_INDEX_ARRAY_TYPE_OES                          = 0x8847;
     87     public static final int GL_MATRIX_INDEX_ARRAY_STRIDE_OES                        = 0x8848;
     88     public static final int GL_MATRIX_INDEX_ARRAY_POINTER_OES                       = 0x8849;
     89     public static final int GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES                = 0x8B9E;
     90     public static final int GL_WEIGHT_ARRAY_SIZE_OES                                = 0x86AB;
     91     public static final int GL_WEIGHT_ARRAY_TYPE_OES                                = 0x86A9;
     92     public static final int GL_WEIGHT_ARRAY_STRIDE_OES                              = 0x86AA;
     93     public static final int GL_WEIGHT_ARRAY_POINTER_OES                             = 0x86AC;
     94     public static final int GL_WEIGHT_ARRAY_BUFFER_BINDING_OES                      = 0x889E;
     95     public static final int GL_DEPTH_STENCIL_OES                                    = 0x84F9;
     96     public static final int GL_UNSIGNED_INT_24_8_OES                                = 0x84FA;
     97     public static final int GL_DEPTH24_STENCIL8_OES                                 = 0x88F0;
     98     public static final int GL_RGB8_OES                                             = 0x8051;
     99     public static final int GL_RGBA8_OES                                            = 0x8058;
    100     public static final int GL_STENCIL_INDEX1_OES                                   = 0x8D46;
    101     public static final int GL_STENCIL_INDEX4_OES                                   = 0x8D47;
    102     public static final int GL_STENCIL_INDEX8_OES                                   = 0x8D48;
    103     public static final int GL_INCR_WRAP_OES                                        = 0x8507;
    104     public static final int GL_DECR_WRAP_OES                                        = 0x8508;
    105     public static final int GL_NORMAL_MAP_OES                                       = 0x8511;
    106     public static final int GL_REFLECTION_MAP_OES                                   = 0x8512;
    107     public static final int GL_TEXTURE_CUBE_MAP_OES                                 = 0x8513;
    108     public static final int GL_TEXTURE_BINDING_CUBE_MAP_OES                         = 0x8514;
    109     public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES                      = 0x8515;
    110     public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES                      = 0x8516;
    111     public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES                      = 0x8517;
    112     public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES                      = 0x8518;
    113     public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES                      = 0x8519;
    114     public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES                      = 0x851A;
    115     public static final int GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES                        = 0x851C;
    116     public static final int GL_TEXTURE_GEN_MODE_OES                                 = 0x2500;
    117     public static final int GL_TEXTURE_GEN_STR_OES                                  = 0x8D60;
    118     public static final int GL_MIRRORED_REPEAT_OES                                  = 0x8370;
    119     public static final int GL_3DC_X_AMD                                            = 0x87F9;
    120     public static final int GL_3DC_XY_AMD                                           = 0x87FA;
    121     public static final int GL_ATC_RGB_AMD                                          = 0x8C92;
    122     public static final int GL_ATC_RGBA_EXPLICIT_ALPHA_AMD                          = 0x8C93;
    123     public static final int GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD                      = 0x87EE;
    124     public static final int GL_TEXTURE_MAX_ANISOTROPY_EXT                           = 0x84FE;
    125     public static final int GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT                       = 0x84FF;
    126     public static final int GL_BGRA                                                 = 0x80E1;
    127 
    128     native private static void _nativeClassInit();
    129     static {
    130 	    _nativeClassInit();
    131     }
    132     
    133     private static final int GL_BYTE = GLES10.GL_BYTE;
    134     private static final int GL_FIXED = GLES10.GL_FIXED;
    135     private static final int GL_FLOAT = GLES10.GL_FLOAT;
    136     private static final int GL_SHORT = GLES10.GL_SHORT;
    137     
    138     private static Buffer _matrixIndexPointerOES;