111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef __glext_h_ 211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define __glext_h_ 311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* $Revision: 10965 $ on $Date:: 2010-04-09 02:11:29 -0700 #$ */ 511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#include <GLES/gl.h> 711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef __cplusplus 911cd02dfb91661c65134cac258cf5924270e9d2Dan Albertextern "C" { 1011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 1111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 1211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* 1311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * This document is licensed under the SGI Free Software B License Version 1411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . 1511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert */ 1611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 1711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_APIENTRYP 1811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert# define GL_APIENTRYP GL_APIENTRY* 1911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 2011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 2111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 2211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * OES extension tokens 2311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 2411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 2511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_blend_equation_separate */ 2611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_blend_equation_separate 2711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* BLEND_EQUATION_RGB_OES same as BLEND_EQUATION_OES */ 2811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BLEND_EQUATION_RGB_OES 0x8009 2911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BLEND_EQUATION_ALPHA_OES 0x883D 3011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 3111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 3211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_blend_func_separate */ 3311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_blend_func_separate 3411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BLEND_DST_RGB_OES 0x80C8 3511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BLEND_SRC_RGB_OES 0x80C9 3611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BLEND_DST_ALPHA_OES 0x80CA 3711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BLEND_SRC_ALPHA_OES 0x80CB 3811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 3911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 4011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_blend_subtract */ 4111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_blend_subtract 4211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BLEND_EQUATION_OES 0x8009 4311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FUNC_ADD_OES 0x8006 4411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FUNC_SUBTRACT_OES 0x800A 4511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FUNC_REVERSE_SUBTRACT_OES 0x800B 4611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 4711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 4811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_compressed_ETC1_RGB8_texture */ 4911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_compressed_ETC1_RGB8_texture 5011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_ETC1_RGB8_OES 0x8D64 5111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 5211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 5311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_depth24 */ 5411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_depth24 5511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_COMPONENT24_OES 0x81A6 5611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 5711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 5811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_depth32 */ 5911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_depth32 6011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_COMPONENT32_OES 0x81A7 6111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 6211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 6311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_draw_texture */ 6411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_draw_texture 6511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_CROP_RECT_OES 0x8B9D 6611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 6711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 6811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_EGL_image */ 6911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_EGL_image 7011cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void* GLeglImageOES; 7111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 7211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 7311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_element_index_uint */ 7411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_element_index_uint 7511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_UNSIGNED_INT 0x1405 7611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 7711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 7811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_fixed_point */ 7911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_fixed_point 8011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FIXED_OES 0x140C 8111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 8211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 8311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_framebuffer_object */ 8411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_framebuffer_object 8511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_NONE_OES 0 8611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FRAMEBUFFER_OES 0x8D40 8711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RENDERBUFFER_OES 0x8D41 8811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RGBA4_OES 0x8056 8911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RGB5_A1_OES 0x8057 9011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RGB565_OES 0x8D62 9111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_COMPONENT16_OES 0x81A5 9211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RENDERBUFFER_WIDTH_OES 0x8D42 9311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RENDERBUFFER_HEIGHT_OES 0x8D43 9411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RENDERBUFFER_INTERNAL_FORMAT_OES 0x8D44 9511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RENDERBUFFER_RED_SIZE_OES 0x8D50 9611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RENDERBUFFER_GREEN_SIZE_OES 0x8D51 9711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RENDERBUFFER_BLUE_SIZE_OES 0x8D52 9811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RENDERBUFFER_ALPHA_SIZE_OES 0x8D53 9911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RENDERBUFFER_DEPTH_SIZE_OES 0x8D54 10011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RENDERBUFFER_STENCIL_SIZE_OES 0x8D55 10111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES 0x8CD0 10211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES 0x8CD1 10311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES 0x8CD2 10411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES 0x8CD3 10511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_ATTACHMENT0_OES 0x8CE0 10611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_ATTACHMENT_OES 0x8D00 10711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_ATTACHMENT_OES 0x8D20 10811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FRAMEBUFFER_COMPLETE_OES 0x8CD5 10911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES 0x8CD6 11011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES 0x8CD7 11111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES 0x8CD9 11211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES 0x8CDA 11311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FRAMEBUFFER_UNSUPPORTED_OES 0x8CDD 11411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FRAMEBUFFER_BINDING_OES 0x8CA6 11511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RENDERBUFFER_BINDING_OES 0x8CA7 11611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MAX_RENDERBUFFER_SIZE_OES 0x84E8 11711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_INVALID_FRAMEBUFFER_OPERATION_OES 0x0506 11811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 11911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 12011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_mapbuffer */ 12111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_mapbuffer 12211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_WRITE_ONLY_OES 0x88B9 12311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BUFFER_ACCESS_OES 0x88BB 12411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BUFFER_MAPPED_OES 0x88BC 12511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BUFFER_MAP_POINTER_OES 0x88BD 12611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 12711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 12811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_matrix_get */ 12911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_matrix_get 13011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES 0x898D 13111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES 0x898E 13211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES 0x898F 13311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 13411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 13511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_matrix_palette */ 13611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_matrix_palette 13711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MAX_VERTEX_UNITS_OES 0x86A4 13811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MAX_PALETTE_MATRICES_OES 0x8842 13911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MATRIX_PALETTE_OES 0x8840 14011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MATRIX_INDEX_ARRAY_OES 0x8844 14111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_WEIGHT_ARRAY_OES 0x86AD 14211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_CURRENT_PALETTE_MATRIX_OES 0x8843 14311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MATRIX_INDEX_ARRAY_SIZE_OES 0x8846 14411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MATRIX_INDEX_ARRAY_TYPE_OES 0x8847 14511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MATRIX_INDEX_ARRAY_STRIDE_OES 0x8848 14611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MATRIX_INDEX_ARRAY_POINTER_OES 0x8849 14711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES 0x8B9E 14811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_WEIGHT_ARRAY_SIZE_OES 0x86AB 14911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_WEIGHT_ARRAY_TYPE_OES 0x86A9 15011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_WEIGHT_ARRAY_STRIDE_OES 0x86AA 15111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_WEIGHT_ARRAY_POINTER_OES 0x86AC 15211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_WEIGHT_ARRAY_BUFFER_BINDING_OES 0x889E 15311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 15411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 15511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_packed_depth_stencil */ 15611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_packed_depth_stencil 15711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_STENCIL_OES 0x84F9 15811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_UNSIGNED_INT_24_8_OES 0x84FA 15911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH24_STENCIL8_OES 0x88F0 16011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 16111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 16211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_rgb8_rgba8 */ 16311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_rgb8_rgba8 16411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RGB8_OES 0x8051 16511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RGBA8_OES 0x8058 16611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 16711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 16811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_stencil1 */ 16911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_stencil1 17011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_INDEX1_OES 0x8D46 17111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 17211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 17311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_stencil4 */ 17411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_stencil4 17511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_INDEX4_OES 0x8D47 17611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 17711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 17811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_stencil8 */ 17911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_stencil8 18011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_INDEX8_OES 0x8D48 18111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 18211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 18311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_stencil_wrap */ 18411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_stencil_wrap 18511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_INCR_WRAP_OES 0x8507 18611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DECR_WRAP_OES 0x8508 18711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 18811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 18911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_texture_cube_map */ 19011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_texture_cube_map 19111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_NORMAL_MAP_OES 0x8511 19211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_REFLECTION_MAP_OES 0x8512 19311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_CUBE_MAP_OES 0x8513 19411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_BINDING_CUBE_MAP_OES 0x8514 19511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES 0x8515 19611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES 0x8516 19711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES 0x8517 19811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES 0x8518 19911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES 0x8519 20011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES 0x851A 20111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES 0x851C 20211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_GEN_MODE_OES 0x2500 20311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_GEN_STR_OES 0x8D60 20411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 20511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 20611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_texture_mirrored_repeat */ 20711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_texture_mirrored_repeat 20811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MIRRORED_REPEAT_OES 0x8370 20911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 21011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 21111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_vertex_array_object */ 21211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_vertex_array_object 21311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 21411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 21511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 21611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_EGL_image_external */ 21711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_EGL_image_external 21811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_EXTERNAL_OES 0x8D65 21911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_SAMPLER_EXTERNAL_OES 0x8D66 22011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 22111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 22211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 22311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 22411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 22511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * AMD extension tokens 22611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 22711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 22811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_AMD_compressed_3DC_texture */ 22911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_AMD_compressed_3DC_texture 23011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_3DC_X_AMD 0x87F9 23111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_3DC_XY_AMD 0x87FA 23211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 23311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 23411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_AMD_compressed_ATC_texture */ 23511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_AMD_compressed_ATC_texture 23611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_ATC_RGB_AMD 0x8C92 23711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 23811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE 23911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 24011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 24111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 24211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * APPLE extension tokens 24311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 24411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 24511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_APPLE_texture_2D_limited_npot */ 24611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* No new tokens introduced by this extension. */ 24711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 24811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 24911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * EXT extension tokens 25011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 25111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 25211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_blend_minmax */ 25311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_blend_minmax 25411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MIN_EXT 0x8007 25511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MAX_EXT 0x8008 25611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 25711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 25811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_discard_framebuffer */ 25911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_discard_framebuffer 26011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_EXT 0x1800 26111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_EXT 0x1801 26211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_EXT 0x1802 26311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 26411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 26511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_multi_draw_arrays */ 26611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* No new tokens introduced by this extension. */ 26711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 26811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_read_format_bgra */ 26911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_read_format_bgra 27011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BGRA_EXT 0x80E1 27111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 27211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 27311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 27411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 27511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_texture_filter_anisotropic */ 27611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_texture_filter_anisotropic 27711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE 27811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF 27911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 28011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 28111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_texture_format_BGRA8888 */ 28211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_texture_format_BGRA8888 28311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BGRA_EXT 0x80E1 28411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 28511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 28611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_texture_lod_bias */ 28711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_texture_lod_bias 28811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD 28911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 29011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_LOD_BIAS_EXT 0x8501 29111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 29211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 29311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 29411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * IMG extension tokens 29511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 29611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 29711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_read_format */ 29811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_read_format 29911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BGRA_IMG 0x80E1 30011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 30111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 30211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 30311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_texture_compression_pvrtc */ 30411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_texture_compression_pvrtc 30511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 30611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 30711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 30811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 30911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 31011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 31111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_texture_env_enhanced_fixed_function */ 31211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_texture_env_enhanced_fixed_function 31311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MODULATE_COLOR_IMG 0x8C04 31411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RECIP_ADD_SIGNED_ALPHA_IMG 0x8C05 31511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_ALPHA_MODULATE_IMG 0x8C06 31611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FACTOR_ALPHA_MODULATE_IMG 0x8C07 31711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FRAGMENT_ALPHA_MODULATE_IMG 0x8C08 31811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_ADD_BLEND_IMG 0x8C09 31911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DOT3_RGBA_IMG 0x86AF 32011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 32111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 32211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_user_clip_plane */ 32311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_user_clip_plane 32411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_CLIP_PLANE0_IMG 0x3000 32511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_CLIP_PLANE1_IMG 0x3001 32611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_CLIP_PLANE2_IMG 0x3002 32711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_CLIP_PLANE3_IMG 0x3003 32811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_CLIP_PLANE4_IMG 0x3004 32911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_CLIP_PLANE5_IMG 0x3005 33011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MAX_CLIP_PLANES_IMG 0x0D32 33111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 33211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 33311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_multisampled_render_to_texture */ 33411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_multisampled_render_to_texture 33511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 33611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 33711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MAX_SAMPLES_IMG 0x9135 33811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_SAMPLES_IMG 0x9136 33911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 34011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 34111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 34211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * NV extension tokens 34311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 34411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 34511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_NV_fence */ 34611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_NV_fence 34711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_ALL_COMPLETED_NV 0x84F2 34811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FENCE_STATUS_NV 0x84F3 34911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FENCE_CONDITION_NV 0x84F4 35011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 35111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 35211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 35311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * QCOM extension tokens 35411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 35511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 35611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_driver_control */ 35711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* No new tokens introduced by this extension. */ 35811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 35911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_extended_get */ 36011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_extended_get 36111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_WIDTH_QCOM 0x8BD2 36211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 36311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_DEPTH_QCOM 0x8BD4 36411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 36511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_FORMAT_QCOM 0x8BD6 36611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_TYPE_QCOM 0x8BD7 36711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 36811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 36911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_TARGET_QCOM 0x8BDA 37011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB 37111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STATE_RESTORE 0x8BDC 37211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 37311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 37411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_extended_get2 */ 37511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* No new tokens introduced by this extension. */ 37611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 37711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_perfmon_global_mode */ 37811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_perfmon_global_mode 37911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 38011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 38111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 38211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_writeonly_rendering */ 38311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_writeonly_rendering 38411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_WRITEONLY_RENDERING_QCOM 0x8823 38511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 38611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 38711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_tiled_rendering */ 38811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_tiled_rendering 38911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 39011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 39111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 39211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 39311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 39411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 39511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 39611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 39711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 39811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 39911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 40011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 40111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 40211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 40311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 40411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 40511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 40611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 40711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 40811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 40911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 41011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 41111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 41211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 41311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 41411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 41511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 41611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 41711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 41811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 41911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 42011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 42111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 42211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 42311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 42411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * End of extension tokens, start of corresponding extension functions 42511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 42611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 42711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 42811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * OES extension functions 42911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 43011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 43111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_blend_equation_separate */ 43211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_blend_equation_separate 43311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_blend_equation_separate 1 43411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 43511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glBlendEquationSeparateOES (GLenum modeRGB, GLenum modeAlpha); 43611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 43711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEOESPROC) (GLenum modeRGB, GLenum modeAlpha); 43811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 43911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 44011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_blend_func_separate */ 44111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_blend_func_separate 44211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_blend_func_separate 1 44311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 44411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 44511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 44611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 44711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 44811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 44911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_blend_subtract */ 45011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_blend_subtract 45111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_blend_subtract 1 45211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 45311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glBlendEquationOES (GLenum mode); 45411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 45511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONOESPROC) (GLenum mode); 45611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 45711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 45811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_byte_coordinates */ 45911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_byte_coordinates 46011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_byte_coordinates 1 46111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 46211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 46311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_compressed_ETC1_RGB8_texture */ 46411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_compressed_ETC1_RGB8_texture 46511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_compressed_ETC1_RGB8_texture 1 46611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 46711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 46811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_depth24 */ 46911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_depth24 47011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_depth24 1 47111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 47211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 47311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_depth32 */ 47411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_depth32 47511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_depth32 1 47611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 47711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 47811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_draw_texture */ 47911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_draw_texture 48011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_draw_texture 1 48111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 48211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glDrawTexsOES (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); 48311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glDrawTexiOES (GLint x, GLint y, GLint z, GLint width, GLint height); 48411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glDrawTexxOES (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); 48511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glDrawTexsvOES (const GLshort *coords); 48611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glDrawTexivOES (const GLint *coords); 48711cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glDrawTexxvOES (const GLfixed *coords); 48811cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glDrawTexfOES (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); 48911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glDrawTexfvOES (const GLfloat *coords); 49011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 49111cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDRAWTEXSOESPROC) (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); 49211cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDRAWTEXIOESPROC) (GLint x, GLint y, GLint z, GLint width, GLint height); 49311cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDRAWTEXXOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); 49411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDRAWTEXSVOESPROC) (const GLshort *coords); 49511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDRAWTEXIVOESPROC) (const GLint *coords); 49611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDRAWTEXXVOESPROC) (const GLfixed *coords); 49711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDRAWTEXFOESPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); 49811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDRAWTEXFVOESPROC) (const GLfloat *coords); 49911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 50011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 50111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_EGL_image */ 50211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_EGL_image 50311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_EGL_image 1 50411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 50511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); 50611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); 50711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 50811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); 50911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); 51011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 51111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 51211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_element_index_uint */ 51311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_element_index_uint 51411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_element_index_uint 1 51511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 51611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 51711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_extended_matrix_palette */ 51811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_extended_matrix_palette 51911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_extended_matrix_palette 1 52011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 52111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 52211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_fbo_render_mipmap */ 52311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_fbo_render_mipmap 52411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_fbo_render_mipmap 1 52511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 52611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 52711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_fixed_point */ 52811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_fixed_point 52911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_fixed_point 1 53011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 53111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glAlphaFuncxOES (GLenum func, GLclampx ref); 53211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glClearColorxOES (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 53311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glClearDepthxOES (GLclampx depth); 53411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation); 53511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 53611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glDepthRangexOES (GLclampx zNear, GLclampx zFar); 53711cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glFogxOES (GLenum pname, GLfixed param); 53811cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glFogxvOES (GLenum pname, const GLfixed *params); 53911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glFrustumxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 54011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGetClipPlanexOES (GLenum pname, GLfixed eqn[4]); 54111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params); 54211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGetLightxvOES (GLenum light, GLenum pname, GLfixed *params); 54311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGetMaterialxvOES (GLenum face, GLenum pname, GLfixed *params); 54411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGetTexEnvxvOES (GLenum env, GLenum pname, GLfixed *params); 54511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params); 54611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glLightModelxOES (GLenum pname, GLfixed param); 54711cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *params); 54811cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param); 54911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params); 55011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glLineWidthxOES (GLfixed width); 55111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glLoadMatrixxOES (const GLfixed *m); 55211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param); 55311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *params); 55411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glMultMatrixxOES (const GLfixed *m); 55511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glMultiTexCoord4xOES (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q); 55611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz); 55711cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glOrthoxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 55811cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glPointParameterxOES (GLenum pname, GLfixed param); 55911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params); 56011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glPointSizexOES (GLfixed size); 56111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units); 56211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); 56311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glSampleCoveragexOES (GLclampx value, GLboolean invert); 56411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z); 56511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param); 56611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params); 56711cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param); 56811cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params); 56911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z); 57011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 57111cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLclampx ref); 57211cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 57311cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLclampx depth); 57411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation); 57511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 57611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLclampx zNear, GLclampx zFar); 57711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param); 57811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *params); 57911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 58011cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum pname, GLfixed eqn[4]); 58111cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params); 58211cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETLIGHTXVOESPROC) (GLenum light, GLenum pname, GLfixed *params); 58311cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETMATERIALXVOESPROC) (GLenum face, GLenum pname, GLfixed *params); 58411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum env, GLenum pname, GLfixed *params); 58511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params); 58611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param); 58711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *params); 58811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param); 58911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params); 59011cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width); 59111cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m); 59211cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param); 59311cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *params); 59411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m); 59511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q); 59611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz); 59711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLORTHOXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 59811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXOESPROC) (GLenum pname, GLfixed param); 59911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params); 60011cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size); 60111cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units); 60211cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); 60311cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEXOESPROC) (GLclampx value, GLboolean invert); 60411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z); 60511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param); 60611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params); 60711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param); 60811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params); 60911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z); 61011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 61111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 61211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_framebuffer_object */ 61311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_framebuffer_object 61411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_framebuffer_object 1 61511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 61611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API GLboolean GL_APIENTRY glIsRenderbufferOES (GLuint renderbuffer); 61711cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glBindRenderbufferOES (GLenum target, GLuint renderbuffer); 61811cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glDeleteRenderbuffersOES (GLsizei n, const GLuint* renderbuffers); 61911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGenRenderbuffersOES (GLsizei n, GLuint* renderbuffers); 62011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glRenderbufferStorageOES (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 62111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGetRenderbufferParameterivOES (GLenum target, GLenum pname, GLint* params); 62211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API GLboolean GL_APIENTRY glIsFramebufferOES (GLuint framebuffer); 62311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glBindFramebufferOES (GLenum target, GLuint framebuffer); 62411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glDeleteFramebuffersOES (GLsizei n, const GLuint* framebuffers); 62511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGenFramebuffersOES (GLsizei n, GLuint* framebuffers); 62611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API GLenum GL_APIENTRY glCheckFramebufferStatusOES (GLenum target); 62711cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glFramebufferRenderbufferOES (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 62811cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glFramebufferTexture2DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 62911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGetFramebufferAttachmentParameterivOES (GLenum target, GLenum attachment, GLenum pname, GLint* params); 63011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGenerateMipmapOES (GLenum target); 63111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 63211cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFEROESPROC) (GLuint renderbuffer); 63311cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFEROESPROC) (GLenum target, GLuint renderbuffer); 63411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSOESPROC) (GLsizei n, const GLuint* renderbuffers); 63511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSOESPROC) (GLsizei n, GLuint* renderbuffers); 63611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 63711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVOESPROC) (GLenum target, GLenum pname, GLint* params); 63811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFEROESPROC) (GLuint framebuffer); 63911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFEROESPROC) (GLenum target, GLuint framebuffer); 64011cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSOESPROC) (GLsizei n, const GLuint* framebuffers); 64111cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSOESPROC) (GLsizei n, GLuint* framebuffers); 64211cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSOESPROC) (GLenum target); 64311cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEROESPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 64411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 64511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVOESPROC) (GLenum target, GLenum attachment, GLenum pname, GLint* params); 64611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPOESPROC) (GLenum target); 64711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 64811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 64911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_mapbuffer */ 65011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_mapbuffer 65111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_mapbuffer 1 65211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 65311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); 65411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); 65511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, GLvoid ** params); 65611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 65711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); 65811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); 65911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, GLvoid ** params); 66011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 66111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 66211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_matrix_get */ 66311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_matrix_get 66411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_matrix_get 1 66511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 66611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 66711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_matrix_palette */ 66811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_matrix_palette 66911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_matrix_palette 1 67011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 67111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glCurrentPaletteMatrixOES (GLuint matrixpaletteindex); 67211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glLoadPaletteFromModelViewMatrixOES (void); 67311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glMatrixIndexPointerOES (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 67411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glWeightPointerOES (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 67511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 67611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLCURRENTPALETTEMATRIXOESPROC) (GLuint matrixpaletteindex); 67711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLLOADPALETTEFROMMODELVIEWMATRIXOESPROC) (void); 67811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLMATRIXINDEXPOINTEROESPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 67911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLWEIGHTPOINTEROESPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 68011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 68111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 68211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_packed_depth_stencil */ 68311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_packed_depth_stencil 68411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_packed_depth_stencil 1 68511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 68611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 68711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_query_matrix */ 68811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_query_matrix 68911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_query_matrix 1 69011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 69111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API GLbitfield GL_APIENTRY glQueryMatrixxOES (GLfixed mantissa[16], GLint exponent[16]); 69211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 69311cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef GLbitfield (GL_APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed mantissa[16], GLint exponent[16]); 69411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 69511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 69611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_rgb8_rgba8 */ 69711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_rgb8_rgba8 69811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_rgb8_rgba8 1 69911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 70011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 70111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_single_precision */ 70211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_single_precision 70311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_single_precision 1 70411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 70511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glDepthRangefOES (GLclampf zNear, GLclampf zFar); 70611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glFrustumfOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 70711cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glOrthofOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 70811cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation); 70911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGetClipPlanefOES (GLenum pname, GLfloat eqn[4]); 71011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glClearDepthfOES (GLclampf depth); 71111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 71211cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf zNear, GLclampf zFar); 71311cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 71411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLORTHOFOESPROC) (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 71511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation); 71611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum pname, GLfloat eqn[4]); 71711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth); 71811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 71911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 72011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_stencil1 */ 72111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_stencil1 72211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_stencil1 1 72311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 72411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 72511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_stencil4 */ 72611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_stencil4 72711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_stencil4 1 72811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 72911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 73011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_stencil8 */ 73111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_stencil8 73211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_stencil8 1 73311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 73411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 73511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_stencil_wrap */ 73611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_stencil_wrap 73711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_stencil_wrap 1 73811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 73911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 74011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_texture_cube_map */ 74111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_texture_cube_map 74211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_texture_cube_map 1 74311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 74411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glTexGenfOES (GLenum coord, GLenum pname, GLfloat param); 74511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glTexGenfvOES (GLenum coord, GLenum pname, const GLfloat *params); 74611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glTexGeniOES (GLenum coord, GLenum pname, GLint param); 74711cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glTexGenivOES (GLenum coord, GLenum pname, const GLint *params); 74811cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param); 74911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params); 75011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGetTexGenfvOES (GLenum coord, GLenum pname, GLfloat *params); 75111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGetTexGenivOES (GLenum coord, GLenum pname, GLint *params); 75211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params); 75311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 75411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLTEXGENFOESPROC) (GLenum coord, GLenum pname, GLfloat param); 75511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLTEXGENFVOESPROC) (GLenum coord, GLenum pname, const GLfloat *params); 75611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLTEXGENIOESPROC) (GLenum coord, GLenum pname, GLint param); 75711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLTEXGENIVOESPROC) (GLenum coord, GLenum pname, const GLint *params); 75811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param); 75911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params); 76011cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETTEXGENFVOESPROC) (GLenum coord, GLenum pname, GLfloat *params); 76111cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETTEXGENIVOESPROC) (GLenum coord, GLenum pname, GLint *params); 76211cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params); 76311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 76411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 76511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_texture_env_crossbar */ 76611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_texture_env_crossbar 76711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_texture_env_crossbar 1 76811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 76911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 77011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_texture_mirrored_repeat */ 77111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_texture_mirrored_repeat 77211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_texture_mirrored_repeat 1 77311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 77411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 77511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_vertex_array_object */ 77611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_vertex_array_object 77711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_vertex_array_object 1 77811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 77911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glBindVertexArrayOES (GLuint array); 78011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); 78111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); 78211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); 78311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 78411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); 78511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); 78611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); 78711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); 78811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 78911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 79011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_EGL_image_external */ 79111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_EGL_image_external 79211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_EGL_image_external 1 79311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 79411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 79511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 79611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * AMD extension functions 79711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 79811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 79911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_AMD_compressed_3DC_texture */ 80011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_AMD_compressed_3DC_texture 80111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_AMD_compressed_3DC_texture 1 80211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 80311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 80411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_AMD_compressed_ATC_texture */ 80511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_AMD_compressed_ATC_texture 80611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_AMD_compressed_ATC_texture 1 80711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 80811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 80911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 81011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * APPLE extension functions 81111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 81211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 81311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_APPLE_texture_2D_limited_npot */ 81411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_APPLE_texture_2D_limited_npot 81511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_APPLE_texture_2D_limited_npot 1 81611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 81711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 81811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 81911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * EXT extension functions 82011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 82111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 82211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_blend_minmax */ 82311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_blend_minmax 82411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_EXT_blend_minmax 1 82511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 82611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 82711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_discard_framebuffer */ 82811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_discard_framebuffer 82911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_EXT_discard_framebuffer 1 83011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 83111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments); 83211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 83311cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); 83411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 83511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 83611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_multi_draw_arrays */ 83711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_multi_draw_arrays 83811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_EXT_multi_draw_arrays 1 83911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 84011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); 84111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); 84211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif /* GL_GLEXT_PROTOTYPES */ 84311cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); 84411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); 84511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 84611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 84711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_read_format_bgra */ 84811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_read_format_bgra 84911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_EXT_read_format_bgra 1 85011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 85111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 85211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_texture_filter_anisotropic */ 85311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_texture_filter_anisotropic 85411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_EXT_texture_filter_anisotropic 1 85511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 85611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 85711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_texture_format_BGRA8888 */ 85811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_texture_format_BGRA8888 85911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_EXT_texture_format_BGRA8888 1 86011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 86111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 86211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_texture_lod_bias */ 86311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_texture_lod_bias 86411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_EXT_texture_lod_bias 1 86511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 86611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 86711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 86811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * IMG extension functions 86911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 87011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 87111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_read_format */ 87211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_read_format 87311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_IMG_read_format 1 87411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 87511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 87611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_texture_compression_pvrtc */ 87711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_texture_compression_pvrtc 87811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_IMG_texture_compression_pvrtc 1 87911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 88011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 88111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_texture_env_enhanced_fixed_function */ 88211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_texture_env_enhanced_fixed_function 88311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_IMG_texture_env_enhanced_fixed_function 1 88411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 88511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 88611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_user_clip_plane */ 88711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_user_clip_plane 88811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_IMG_user_clip_plane 1 88911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 89011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glClipPlanefIMG (GLenum p, const GLfloat *eqn); 89111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glClipPlanexIMG (GLenum p, const GLfixed *eqn); 89211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 89311cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLCLIPPLANEFIMGPROC) (GLenum p, const GLfloat *eqn); 89411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLCLIPPLANEXIMGPROC) (GLenum p, const GLfixed *eqn); 89511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 89611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 89711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_multisampled_render_to_texture */ 89811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_multisampled_render_to_texture 89911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_IMG_multisampled_render_to_texture 1 90011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 90111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 90211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 90311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 90411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMG) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 90511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 90611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 90711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 90811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 90911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * NV extension functions 91011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 91111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 91211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* NV_fence */ 91311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_NV_fence 91411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_NV_fence 1 91511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 91611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); 91711cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); 91811cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API GLboolean GL_APIENTRY glIsFenceNV (GLuint fence); 91911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API GLboolean GL_APIENTRY glTestFenceNV (GLuint fence); 92011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); 92111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glFinishFenceNV (GLuint fence); 92211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition); 92311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 92411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); 92511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); 92611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); 92711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); 92811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); 92911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); 93011cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); 93111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 93211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 93311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 93411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * QCOM extension functions 93511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 93611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 93711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_driver_control */ 93811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_driver_control 93911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_QCOM_driver_control 1 94011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 94111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls); 94211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); 94311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); 94411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); 94511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 94611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls); 94711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); 94811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); 94911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); 95011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 95111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 95211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_extended_get */ 95311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_extended_get 95411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_QCOM_extended_get 1 95511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 95611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures); 95711cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); 95811cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); 95911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); 96011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); 96111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param); 96211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels); 96311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, GLvoid **params); 96411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 96511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures); 96611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); 96711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); 96811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); 96911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); 97011cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param); 97111cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels); 97211cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, GLvoid **params); 97311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 97411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 97511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_extended_get2 */ 97611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_extended_get2 97711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_QCOM_extended_get2 1 97811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 97911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders); 98011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms); 98111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); 98211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length); 98311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 98411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders); 98511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms); 98611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); 98711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length); 98811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 98911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 99011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_perfmon_global_mode */ 99111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_perfmon_global_mode 99211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_QCOM_perfmon_global_mode 1 99311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 99411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 99511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_writeonly_rendering */ 99611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_writeonly_rendering 99711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_QCOM_writeonly_rendering 1 99811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 99911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 100011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_tiled_rendering */ 100111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_tiled_rendering 100211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_QCOM_tiled_rendering 1 100311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 100411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); 100511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_API void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); 100611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 100711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); 100811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); 100911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 101011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 101111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef __cplusplus 101211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert} 101311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 101411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 101511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif /* __glext_h_ */ 101611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 1017