1 /* 2 * Copyright (C) 2011 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 #pragma once 18 19 typedef double GLclampd; /* double precision float in [0,1] */ 20 typedef double GLdouble; /* double precision float */ 21 typedef void* GLeglImageOES; 22 23 #define GL_S 0x2000 24 #define GL_T 0x2001 25 #define GL_R 0x2002 26 #define GL_Q 0x2003 27 #define GL_TEXTURE_GEN_S 0x0C60 28 #define GL_TEXTURE_GEN_T 0x0C61 29 #define GL_TEXTURE_GEN_R 0x0C62 30 #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002 31 #define GL_TRANSFORM_BIT 0x00001000 32 #define GL_INT 0x1404 33 #define GL_HALF_FLOAT_NV 0x140B 34 #define GL_HALF_FLOAT 0x140B 35 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 36 #define GL_POINT_SPRITE 0x8861 37 #define GL_FRAMEBUFFER_EXT 0x8D40 38 #define GL_TEXTURE_WIDTH 0x1000 39 #define GL_TEXTURE_HEIGHT 0x1001 40 #define GL_TEXTURE_RED_SIZE 0x805C 41 #define GL_TEXTURE_GREEN_SIZE 0x805D 42 #define GL_TEXTURE_BLUE_SIZE 0x805E 43 #define GL_TEXTURE_ALPHA_SIZE 0x805F 44 #define GL_TEXTURE_DEPTH_SIZE 0x884A 45 #define GL_TEXTURE_INTERNAL_FORMAT 0x1003 46