46 lines
1.7 KiB
C
46 lines
1.7 KiB
C
|
|
/*
|
||
|
|
* Copyright (C) 2011 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.
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
typedef double GLclampd; /* double precision float in [0,1] */
|
||
|
|
typedef double GLdouble; /* double precision float */
|
||
|
|
typedef void* GLeglImageOES;
|
||
|
|
|
||
|
|
#define GL_S 0x2000
|
||
|
|
#define GL_T 0x2001
|
||
|
|
#define GL_R 0x2002
|
||
|
|
#define GL_Q 0x2003
|
||
|
|
#define GL_TEXTURE_GEN_S 0x0C60
|
||
|
|
#define GL_TEXTURE_GEN_T 0x0C61
|
||
|
|
#define GL_TEXTURE_GEN_R 0x0C62
|
||
|
|
#define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002
|
||
|
|
#define GL_TRANSFORM_BIT 0x00001000
|
||
|
|
#define GL_INT 0x1404
|
||
|
|
#define GL_HALF_FLOAT_NV 0x140B
|
||
|
|
#define GL_HALF_FLOAT 0x140B
|
||
|
|
#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
|
||
|
|
#define GL_POINT_SPRITE 0x8861
|
||
|
|
#define GL_FRAMEBUFFER_EXT 0x8D40
|
||
|
|
#define GL_TEXTURE_WIDTH 0x1000
|
||
|
|
#define GL_TEXTURE_HEIGHT 0x1001
|
||
|
|
#define GL_TEXTURE_RED_SIZE 0x805C
|
||
|
|
#define GL_TEXTURE_GREEN_SIZE 0x805D
|
||
|
|
#define GL_TEXTURE_BLUE_SIZE 0x805E
|
||
|
|
#define GL_TEXTURE_ALPHA_SIZE 0x805F
|
||
|
|
#define GL_TEXTURE_DEPTH_SIZE 0x884A
|
||
|
|
#define GL_TEXTURE_INTERNAL_FORMAT 0x1003
|