006c792d99
- added support for comments in checks.spec - added most missing checks - added and commented with // special-cased functions - added and commented with # functions that are still missing validation checks - moved glGet* to a special case and updated all the "pnames" from the khronos spec - changed ifcheck to default to 1 value. this allows us to simplify the checks.spec file and handle unknown pnames automatically (they'll be validated against 1 value, if it happens to need more, the call will go through but the validation will not happen). - refactored the cpp headers in to a common header + GLES version specific header Bug: 7402895 Change-Id: Ie8fcc713188dd4819dfa55e5398e6b53ae9a14af
144 lines
11 KiB
Plaintext
144 lines
11 KiB
Plaintext
/*
|
|
**
|
|
** Copyright 2009, The Android Open Source Project
|
|
**
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
** you may not use this file except in compliance with the License.
|
|
** You may obtain a copy of the License at
|
|
**
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
**
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
** See the License for the specific language governing permissions and
|
|
** limitations under the License.
|
|
*/
|
|
|
|
// This source file is automatically generated
|
|
|
|
package android.opengl;
|
|
|
|
import java.nio.Buffer;
|
|
|
|
public class GLES11Ext {
|
|
public static final int GL_BLEND_EQUATION_RGB_OES = 0x8009;
|
|
public static final int GL_BLEND_EQUATION_ALPHA_OES = 0x883D;
|
|
public static final int GL_BLEND_DST_RGB_OES = 0x80C8;
|
|
public static final int GL_BLEND_SRC_RGB_OES = 0x80C9;
|
|
public static final int GL_BLEND_DST_ALPHA_OES = 0x80CA;
|
|
public static final int GL_BLEND_SRC_ALPHA_OES = 0x80CB;
|
|
public static final int GL_BLEND_EQUATION_OES = 0x8009;
|
|
public static final int GL_FUNC_ADD_OES = 0x8006;
|
|
public static final int GL_FUNC_SUBTRACT_OES = 0x800A;
|
|
public static final int GL_FUNC_REVERSE_SUBTRACT_OES = 0x800B;
|
|
public static final int GL_ETC1_RGB8_OES = 0x8D64;
|
|
public static final int GL_DEPTH_COMPONENT24_OES = 0x81A6;
|
|
public static final int GL_DEPTH_COMPONENT32_OES = 0x81A7;
|
|
public static final int GL_TEXTURE_CROP_RECT_OES = 0x8B9D;
|
|
public static final int GL_FIXED_OES = 0x140C;
|
|
public static final int GL_NONE_OES = 0;
|
|
public static final int GL_FRAMEBUFFER_OES = 0x8D40;
|
|
public static final int GL_RENDERBUFFER_OES = 0x8D41;
|
|
public static final int GL_RGBA4_OES = 0x8056;
|
|
public static final int GL_RGB5_A1_OES = 0x8057;
|
|
public static final int GL_RGB565_OES = 0x8D62;
|
|
public static final int GL_DEPTH_COMPONENT16_OES = 0x81A5;
|
|
public static final int GL_RENDERBUFFER_WIDTH_OES = 0x8D42;
|
|
public static final int GL_RENDERBUFFER_HEIGHT_OES = 0x8D43;
|
|
public static final int GL_RENDERBUFFER_INTERNAL_FORMAT_OES = 0x8D44;
|
|
public static final int GL_RENDERBUFFER_RED_SIZE_OES = 0x8D50;
|
|
public static final int GL_RENDERBUFFER_GREEN_SIZE_OES = 0x8D51;
|
|
public static final int GL_RENDERBUFFER_BLUE_SIZE_OES = 0x8D52;
|
|
public static final int GL_RENDERBUFFER_ALPHA_SIZE_OES = 0x8D53;
|
|
public static final int GL_RENDERBUFFER_DEPTH_SIZE_OES = 0x8D54;
|
|
public static final int GL_RENDERBUFFER_STENCIL_SIZE_OES = 0x8D55;
|
|
public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES = 0x8CD0;
|
|
public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES = 0x8CD1;
|
|
public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES = 0x8CD2;
|
|
public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES = 0x8CD3;
|
|
public static final int GL_COLOR_ATTACHMENT0_OES = 0x8CE0;
|
|
public static final int GL_DEPTH_ATTACHMENT_OES = 0x8D00;
|
|
public static final int GL_STENCIL_ATTACHMENT_OES = 0x8D20;
|
|
public static final int GL_FRAMEBUFFER_COMPLETE_OES = 0x8CD5;
|
|
public static final int GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES = 0x8CD6;
|
|
public static final int GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES = 0x8CD7;
|
|
public static final int GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES = 0x8CD9;
|
|
public static final int GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES = 0x8CDA;
|
|
public static final int GL_FRAMEBUFFER_UNSUPPORTED_OES = 0x8CDD;
|
|
public static final int GL_FRAMEBUFFER_BINDING_OES = 0x8CA6;
|
|
public static final int GL_RENDERBUFFER_BINDING_OES = 0x8CA7;
|
|
public static final int GL_MAX_RENDERBUFFER_SIZE_OES = 0x84E8;
|
|
public static final int GL_INVALID_FRAMEBUFFER_OPERATION_OES = 0x0506;
|
|
public static final int GL_WRITE_ONLY_OES = 0x88B9;
|
|
public static final int GL_BUFFER_ACCESS_OES = 0x88BB;
|
|
public static final int GL_BUFFER_MAPPED_OES = 0x88BC;
|
|
public static final int GL_BUFFER_MAP_POINTER_OES = 0x88BD;
|
|
public static final int GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898D;
|
|
public static final int GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898E;
|
|
public static final int GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898F;
|
|
public static final int GL_MAX_VERTEX_UNITS_OES = 0x86A4;
|
|
public static final int GL_MAX_PALETTE_MATRICES_OES = 0x8842;
|
|
public static final int GL_MATRIX_PALETTE_OES = 0x8840;
|
|
public static final int GL_MATRIX_INDEX_ARRAY_OES = 0x8844;
|
|
public static final int GL_WEIGHT_ARRAY_OES = 0x86AD;
|
|
public static final int GL_CURRENT_PALETTE_MATRIX_OES = 0x8843;
|
|
public static final int GL_MATRIX_INDEX_ARRAY_SIZE_OES = 0x8846;
|
|
public static final int GL_MATRIX_INDEX_ARRAY_TYPE_OES = 0x8847;
|
|
public static final int GL_MATRIX_INDEX_ARRAY_STRIDE_OES = 0x8848;
|
|
public static final int GL_MATRIX_INDEX_ARRAY_POINTER_OES = 0x8849;
|
|
public static final int GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES = 0x8B9E;
|
|
public static final int GL_WEIGHT_ARRAY_SIZE_OES = 0x86AB;
|
|
public static final int GL_WEIGHT_ARRAY_TYPE_OES = 0x86A9;
|
|
public static final int GL_WEIGHT_ARRAY_STRIDE_OES = 0x86AA;
|
|
public static final int GL_WEIGHT_ARRAY_POINTER_OES = 0x86AC;
|
|
public static final int GL_WEIGHT_ARRAY_BUFFER_BINDING_OES = 0x889E;
|
|
public static final int GL_DEPTH_STENCIL_OES = 0x84F9;
|
|
public static final int GL_UNSIGNED_INT_24_8_OES = 0x84FA;
|
|
public static final int GL_DEPTH24_STENCIL8_OES = 0x88F0;
|
|
public static final int GL_RGB8_OES = 0x8051;
|
|
public static final int GL_RGBA8_OES = 0x8058;
|
|
public static final int GL_STENCIL_INDEX1_OES = 0x8D46;
|
|
public static final int GL_STENCIL_INDEX4_OES = 0x8D47;
|
|
public static final int GL_STENCIL_INDEX8_OES = 0x8D48;
|
|
public static final int GL_INCR_WRAP_OES = 0x8507;
|
|
public static final int GL_DECR_WRAP_OES = 0x8508;
|
|
public static final int GL_NORMAL_MAP_OES = 0x8511;
|
|
public static final int GL_REFLECTION_MAP_OES = 0x8512;
|
|
public static final int GL_TEXTURE_CUBE_MAP_OES = 0x8513;
|
|
public static final int GL_TEXTURE_BINDING_CUBE_MAP_OES = 0x8514;
|
|
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES = 0x8515;
|
|
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES = 0x8516;
|
|
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES = 0x8517;
|
|
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES = 0x8518;
|
|
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES = 0x8519;
|
|
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES = 0x851A;
|
|
public static final int GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES = 0x851C;
|
|
public static final int GL_TEXTURE_GEN_MODE_OES = 0x2500;
|
|
public static final int GL_TEXTURE_GEN_STR_OES = 0x8D60;
|
|
public static final int GL_MIRRORED_REPEAT_OES = 0x8370;
|
|
public static final int GL_3DC_X_AMD = 0x87F9;
|
|
public static final int GL_3DC_XY_AMD = 0x87FA;
|
|
public static final int GL_ATC_RGB_AMD = 0x8C92;
|
|
public static final int GL_ATC_RGBA_EXPLICIT_ALPHA_AMD = 0x8C93;
|
|
public static final int GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD = 0x87EE;
|
|
public static final int GL_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
|
|
public static final int GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
|
|
public static final int GL_BGRA = 0x80E1;
|
|
public static final int GL_TEXTURE_EXTERNAL_OES = 0x8D65;
|
|
public static final int GL_SAMPLER_EXTERNAL_OES = 0x8D66;
|
|
public static final int GL_TEXTURE_BINDING_EXTERNAL_OES = 0x8D67;
|
|
public static final int GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES = 0x8D68;
|
|
|
|
native private static void _nativeClassInit();
|
|
static {
|
|
_nativeClassInit();
|
|
}
|
|
|
|
private static final int GL_BYTE = GLES10.GL_BYTE;
|
|
private static final int GL_FIXED = GLES10.GL_FIXED;
|
|
private static final int GL_FLOAT = GLES10.GL_FLOAT;
|
|
private static final int GL_SHORT = GLES10.GL_SHORT;
|
|
|
|
private static Buffer _matrixIndexPointerOES;
|