111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef __gl2ext_h_ 211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define __gl2ext_h_ 311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* $Revision: 10969 $ on $Date:: 2010-04-09 02:27:15 -0700 #$ */ 511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#include <GLES2/gl2.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_compressed_ETC1_RGB8_texture */ 2611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_compressed_ETC1_RGB8_texture 2711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_ETC1_RGB8_OES 0x8D64 2811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 2911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 3011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_compressed_paletted_texture */ 3111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_compressed_paletted_texture 3211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PALETTE4_RGB8_OES 0x8B90 3311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PALETTE4_RGBA8_OES 0x8B91 3411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 3511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PALETTE4_RGBA4_OES 0x8B93 3611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PALETTE4_RGB5_A1_OES 0x8B94 3711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PALETTE8_RGB8_OES 0x8B95 3811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PALETTE8_RGBA8_OES 0x8B96 3911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 4011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PALETTE8_RGBA4_OES 0x8B98 4111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PALETTE8_RGB5_A1_OES 0x8B99 4211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 4311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 4411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_depth24 */ 4511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_depth24 4611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_COMPONENT24_OES 0x81A6 4711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 4811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 4911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_depth32 */ 5011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_depth32 5111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_COMPONENT32_OES 0x81A7 5211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 5311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 5411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_depth_texture */ 5511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* No new tokens introduced by this extension. */ 5611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 5711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_EGL_image */ 5811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_EGL_image 5911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void* GLeglImageOES; 6011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 6111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 6211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_element_index_uint */ 6311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_element_index_uint 6411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_UNSIGNED_INT 0x1405 6511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 6611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 6711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_get_program_binary */ 6811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_get_program_binary 6911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 7011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE 7111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF 7211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 7311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 7411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_mapbuffer */ 7511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_mapbuffer 7611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_WRITE_ONLY_OES 0x88B9 7711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BUFFER_ACCESS_OES 0x88BB 7811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BUFFER_MAPPED_OES 0x88BC 7911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BUFFER_MAP_POINTER_OES 0x88BD 8011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 8111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 8211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_packed_depth_stencil */ 8311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_packed_depth_stencil 8411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_STENCIL_OES 0x84F9 8511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_UNSIGNED_INT_24_8_OES 0x84FA 8611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH24_STENCIL8_OES 0x88F0 8711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 8811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 8911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_rgb8_rgba8 */ 9011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_rgb8_rgba8 9111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RGB8_OES 0x8051 9211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RGBA8_OES 0x8058 9311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 9411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 9511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_standard_derivatives */ 9611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_standard_derivatives 9711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B 9811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 9911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 10011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_stencil1 */ 10111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_stencil1 10211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_INDEX1_OES 0x8D46 10311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 10411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 10511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_stencil4 */ 10611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_stencil4 10711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_INDEX4_OES 0x8D47 10811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 10911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 11011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_texture_3D */ 11111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_texture_3D 11211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_WRAP_R_OES 0x8072 11311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_3D_OES 0x806F 11411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_BINDING_3D_OES 0x806A 11511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073 11611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_SAMPLER_3D_OES 0x8B5F 11711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4 11811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 11911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 12011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_texture_float */ 12111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* No new tokens introduced by this extension. */ 12211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 12311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_texture_float_linear */ 12411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* No new tokens introduced by this extension. */ 12511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 12611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_texture_half_float */ 12711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_texture_half_float 12811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_HALF_FLOAT_OES 0x8D61 12911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 13011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 13111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_texture_half_float_linear */ 13211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* No new tokens introduced by this extension. */ 13311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 13411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_texture_npot */ 13511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* No new tokens introduced by this extension. */ 13611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 13711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_vertex_array_object */ 13811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_vertex_array_object 13911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 14011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 14111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 14211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_vertex_half_float */ 14311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_HALF_FLOAT_OES defined in GL_OES_texture_half_float already. */ 14411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 14511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_vertex_type_10_10_10_2 */ 14611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_vertex_type_10_10_10_2 14711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 14811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_INT_10_10_10_2_OES 0x8DF7 14911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 15011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 15111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_EGL_image_external */ 15211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_EGL_image_external 15311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_EXTERNAL_OES 0x8D65 15411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_SAMPLER_EXTERNAL_OES 0x8D66 15511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 15611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 15711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 15811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 15911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 16011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * AMD extension tokens 16111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 16211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 16311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_AMD_compressed_3DC_texture */ 16411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_AMD_compressed_3DC_texture 16511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_3DC_X_AMD 0x87F9 16611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_3DC_XY_AMD 0x87FA 16711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 16811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 16911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_AMD_compressed_ATC_texture */ 17011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_AMD_compressed_ATC_texture 17111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_ATC_RGB_AMD 0x8C92 17211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 17311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE 17411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 17511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 17611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_AMD_performance_monitor */ 17711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_AMD_performance_monitor 17811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COUNTER_TYPE_AMD 0x8BC0 17911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COUNTER_RANGE_AMD 0x8BC1 18011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_UNSIGNED_INT64_AMD 0x8BC2 18111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PERCENTAGE_AMD 0x8BC3 18211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 18311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 18411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PERFMON_RESULT_AMD 0x8BC6 18511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 18611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 18711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_AMD_program_binary_Z400 */ 18811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_AMD_program_binary_Z400 18911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_Z400_BINARY_AMD 0x8740 19011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 19111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 19211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 19311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * EXT extension tokens 19411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 19511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 19611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_blend_minmax */ 19711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_blend_minmax 19811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MIN_EXT 0x8007 19911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MAX_EXT 0x8008 20011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 20111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 20211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_discard_framebuffer */ 20311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_discard_framebuffer 20411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_EXT 0x1800 20511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_EXT 0x1801 20611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_EXT 0x1802 20711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 20811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 20911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_multi_draw_arrays */ 21011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* No new tokens introduced by this extension. */ 21111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 21211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_read_format_bgra */ 21311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_read_format_bgra 21411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BGRA_EXT 0x80E1 21511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 21611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 21711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 21811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 21911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_texture_filter_anisotropic */ 22011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_texture_filter_anisotropic 22111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE 22211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF 22311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 22411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 22511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_texture_format_BGRA8888 */ 22611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_texture_format_BGRA8888 22711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BGRA_EXT 0x80E1 22811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 22911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 23011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_texture_type_2_10_10_10_REV */ 23111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_texture_type_2_10_10_10_REV 23211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 23311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 23411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 23511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_texture_compression_dxt1 */ 23611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_texture_compression_dxt1 23711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 23811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 23911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 24011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 24111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 24211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * IMG extension tokens 24311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 24411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 24511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_program_binary */ 24611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_program_binary 24711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_SGX_PROGRAM_BINARY_IMG 0x9130 24811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 24911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 25011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_read_format */ 25111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_read_format 25211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_BGRA_IMG 0x80E1 25311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 25411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 25511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 25611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_shader_binary */ 25711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_shader_binary 25811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_SGX_BINARY_IMG 0x8C0A 25911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 26011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 26111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_texture_compression_pvrtc */ 26211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_texture_compression_pvrtc 26311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 26411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 26511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 26611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 26711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 26811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 26911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_multisampled_render_to_texture */ 27011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_multisampled_render_to_texture 27111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 27211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 27311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MAX_SAMPLES_IMG 0x9135 27411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_SAMPLES_IMG 0x9136 27511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 27611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 27711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 27811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * NV extension tokens 27911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 28011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 28111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_NV_fence */ 28211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_NV_fence 28311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_ALL_COMPLETED_NV 0x84F2 28411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FENCE_STATUS_NV 0x84F3 28511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_FENCE_CONDITION_NV 0x84F4 28611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 28711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 28811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_NV_coverage_sample */ 28911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_NV_coverage_sample 29011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COVERAGE_COMPONENT_NV 0x8ED0 29111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COVERAGE_COMPONENT4_NV 0x8ED1 29211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 29311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COVERAGE_BUFFERS_NV 0x8ED3 29411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COVERAGE_SAMPLES_NV 0x8ED4 29511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 29611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 29711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 29811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COVERAGE_BUFFER_BIT_NV 0x8000 29911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 30011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 30111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_NV_depth_nonlinear */ 30211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_NV_depth_nonlinear 30311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C 30411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 30511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 30611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 30711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * QCOM extension tokens 30811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 30911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 31011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_driver_control */ 31111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* No new tokens introduced by this extension. */ 31211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 31311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_extended_get */ 31411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_extended_get 31511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_WIDTH_QCOM 0x8BD2 31611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 31711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_DEPTH_QCOM 0x8BD4 31811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 31911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_FORMAT_QCOM 0x8BD6 32011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_TYPE_QCOM 0x8BD7 32111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 32211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 32311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_TARGET_QCOM 0x8BDA 32411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB 32511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STATE_RESTORE 0x8BDC 32611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 32711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 32811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_extended_get2 */ 32911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* No new tokens introduced by this extension. */ 33011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 33111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_perfmon_global_mode */ 33211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_perfmon_global_mode 33311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 33411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 33511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 33611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_writeonly_rendering */ 33711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_writeonly_rendering 33811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_WRITEONLY_RENDERING_QCOM 0x8823 33911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 34011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 34111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_tiled_rendering */ 34211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_tiled_rendering 34311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 34411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 34511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 34611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 34711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 34811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 34911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 35011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 35111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 35211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 35311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 35411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 35511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 35611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 35711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 35811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 35911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 36011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 36111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 36211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 36311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 36411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 36511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 36611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 36711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 36811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 36911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 37011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 37111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 37211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 37311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 37411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 37511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 37611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 37711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 37811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * End of extension tokens, start of corresponding extension functions 37911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 38011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 38111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 38211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * OES extension functions 38311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 38411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 38511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_compressed_ETC1_RGB8_texture */ 38611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_compressed_ETC1_RGB8_texture 38711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_compressed_ETC1_RGB8_texture 1 38811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 38911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 39011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_compressed_paletted_texture */ 39111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_compressed_paletted_texture 39211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_compressed_paletted_texture 1 39311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 39411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 39511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_depth24 */ 39611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_depth24 39711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_depth24 1 39811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 39911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 40011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_depth32 */ 40111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_depth32 40211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_depth32 1 40311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 40411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 40511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_depth_texture */ 40611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_depth_texture 40711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_depth_texture 1 40811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 40911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 41011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_EGL_image */ 41111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_EGL_image 41211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_EGL_image 1 41311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 41411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); 41511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); 41611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 41711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); 41811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); 41911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 42011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 42111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_element_index_uint */ 42211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_element_index_uint 42311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_element_index_uint 1 42411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 42511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 42611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_fbo_render_mipmap */ 42711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_fbo_render_mipmap 42811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_fbo_render_mipmap 1 42911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 43011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 43111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_fragment_precision_high */ 43211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_fragment_precision_high 43311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_fragment_precision_high 1 43411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 43511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 43611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_get_program_binary */ 43711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_get_program_binary 43811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_get_program_binary 1 43911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 44011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); 44111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length); 44211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 44311cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); 44411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length); 44511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 44611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 44711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_mapbuffer */ 44811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_mapbuffer 44911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_mapbuffer 1 45011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 45111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); 45211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); 45311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, GLvoid** params); 45411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 45511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); 45611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); 45711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, GLvoid** params); 45811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 45911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 46011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_packed_depth_stencil */ 46111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_packed_depth_stencil 46211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_packed_depth_stencil 1 46311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 46411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 46511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_rgb8_rgba8 */ 46611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_rgb8_rgba8 46711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_rgb8_rgba8 1 46811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 46911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 47011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_standard_derivatives */ 47111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_standard_derivatives 47211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_standard_derivatives 1 47311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 47411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 47511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_stencil1 */ 47611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_stencil1 47711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_stencil1 1 47811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 47911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 48011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_stencil4 */ 48111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_stencil4 48211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_stencil4 1 48311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 48411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 48511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_texture_3D */ 48611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_texture_3D 48711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_texture_3D 1 48811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 48911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels); 49011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels); 49111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 49211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); 49311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data); 49411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 49511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 49611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels); 49711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels); 49811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 49911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); 50011cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data); 50111cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOES) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 50211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 50311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 50411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_texture_float */ 50511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_texture_float 50611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_texture_float 1 50711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 50811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 50911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_texture_float_linear */ 51011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_texture_float_linear 51111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_texture_float_linear 1 51211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 51311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 51411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_texture_half_float */ 51511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_texture_half_float 51611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_texture_half_float 1 51711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 51811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 51911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_texture_half_float_linear */ 52011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_texture_half_float_linear 52111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_texture_half_float_linear 1 52211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 52311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 52411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_texture_npot */ 52511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_texture_npot 52611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_texture_npot 1 52711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 52811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 52911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_vertex_array_object */ 53011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_vertex_array_object 53111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_vertex_array_object 1 53211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 53311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array); 53411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); 53511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); 53611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); 53711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 53811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); 53911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); 54011cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); 54111cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); 54211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 54311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 54411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_vertex_half_float */ 54511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_vertex_half_float 54611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_vertex_half_float 1 54711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 54811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 54911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_vertex_type_10_10_10_2 */ 55011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_vertex_type_10_10_10_2 55111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_vertex_type_10_10_10_2 1 55211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 55311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 55411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_OES_EGL_image_external */ 55511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_OES_EGL_image_external 55611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_OES_EGL_image_external 1 55711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 55811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 55911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 56011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * AMD extension functions 56111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 56211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 56311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_AMD_compressed_3DC_texture */ 56411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_AMD_compressed_3DC_texture 56511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_AMD_compressed_3DC_texture 1 56611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 56711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 56811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_AMD_compressed_ATC_texture */ 56911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_AMD_compressed_ATC_texture 57011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_AMD_compressed_ATC_texture 1 57111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 57211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 57311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* AMD_performance_monitor */ 57411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_AMD_performance_monitor 57511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_AMD_performance_monitor 1 57611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 57711cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups); 57811cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); 57911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 58011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 58111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, GLvoid *data); 58211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); 58311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); 58411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList); 58511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor); 58611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor); 58711cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); 58811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 58911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); 59011cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); 59111cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 59211cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 59311cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, GLvoid *data); 59411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); 59511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); 59611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList); 59711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); 59811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); 59911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); 60011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 60111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 60211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_AMD_program_binary_Z400 */ 60311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_AMD_program_binary_Z400 60411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_AMD_program_binary_Z400 1 60511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 60611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 60711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 60811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * EXT extension functions 60911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 61011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 61111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_blend_minmax */ 61211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_blend_minmax 61311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_EXT_blend_minmax 1 61411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 61511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 61611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_discard_framebuffer */ 61711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_discard_framebuffer 61811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_EXT_discard_framebuffer 1 61911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 62011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments); 62111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 62211cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); 62311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 62411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 62511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_multi_draw_arrays 62611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_EXT_multi_draw_arrays 1 62711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 62811cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); 62911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); 63011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif /* GL_GLEXT_PROTOTYPES */ 63111cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); 63211cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); 63311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 63411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 63511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_read_format_bgra */ 63611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_read_format_bgra 63711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_EXT_read_format_bgra 1 63811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 63911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 64011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_texture_filter_anisotropic */ 64111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_texture_filter_anisotropic 64211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_EXT_texture_filter_anisotropic 1 64311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 64411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 64511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_texture_format_BGRA8888 */ 64611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_texture_format_BGRA8888 64711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_EXT_texture_format_BGRA8888 1 64811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 64911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 65011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_texture_type_2_10_10_10_REV */ 65111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_texture_type_2_10_10_10_REV 65211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_EXT_texture_type_2_10_10_10_REV 1 65311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 65411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 65511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_EXT_texture_compression_dxt1 */ 65611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_EXT_texture_compression_dxt1 65711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_EXT_texture_compression_dxt1 1 65811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 65911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 66011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 66111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * IMG extension functions 66211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 66311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 66411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_program_binary */ 66511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_program_binary 66611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_IMG_program_binary 1 66711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 66811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 66911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_read_format */ 67011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_read_format 67111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_IMG_read_format 1 67211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 67311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 67411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_shader_binary */ 67511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_shader_binary 67611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_IMG_shader_binary 1 67711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 67811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 67911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_texture_compression_pvrtc */ 68011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_texture_compression_pvrtc 68111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_IMG_texture_compression_pvrtc 1 68211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 68311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 68411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_IMG_multisampled_render_to_texture */ 68511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_IMG_multisampled_render_to_texture 68611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_IMG_multisampled_render_to_texture 1 68711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 68811cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 68911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 69011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 69111cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMG) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 69211cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 69311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 69411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 69511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 69611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * NV extension functions 69711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 69811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 69911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_NV_fence */ 70011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_NV_fence 70111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_NV_fence 1 70211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 70311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); 70411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); 70511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence); 70611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence); 70711cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); 70811cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence); 70911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition); 71011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 71111cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); 71211cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); 71311cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); 71411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); 71511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); 71611cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); 71711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); 71811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 71911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 72011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_NV_coverage_sample */ 72111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_NV_coverage_sample 72211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_NV_coverage_sample 1 72311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 72411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask); 72511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation); 72611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 72711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask); 72811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation); 72911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 73011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 73111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_NV_depth_nonlinear */ 73211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_NV_depth_nonlinear 73311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_NV_depth_nonlinear 1 73411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 73511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 73611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/*------------------------------------------------------------------------* 73711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert * QCOM extension functions 73811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *------------------------------------------------------------------------*/ 73911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 74011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_driver_control */ 74111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_driver_control 74211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_QCOM_driver_control 1 74311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 74411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls); 74511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); 74611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); 74711cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); 74811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 74911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls); 75011cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); 75111cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); 75211cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); 75311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 75411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 75511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_extended_get */ 75611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_extended_get 75711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_QCOM_extended_get 1 75811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 75911cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures); 76011cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); 76111cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); 76211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); 76311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); 76411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param); 76511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL 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); 76611cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, GLvoid **params); 76711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 76811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures); 76911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); 77011cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); 77111cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); 77211cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); 77311cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param); 77411cd02dfb91661c65134cac258cf5924270e9d2Dan 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); 77511cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, GLvoid **params); 77611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 77711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 77811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_extended_get2 */ 77911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_extended_get2 78011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_QCOM_extended_get2 1 78111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 78211cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders); 78311cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms); 78411cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); 78511cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length); 78611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 78711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders); 78811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms); 78911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); 79011cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length); 79111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 79211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 79311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_perfmon_global_mode */ 79411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_perfmon_global_mode 79511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_QCOM_perfmon_global_mode 1 79611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 79711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 79811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_writeonly_rendering */ 79911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_writeonly_rendering 80011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_QCOM_writeonly_rendering 1 80111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 80211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 80311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* GL_QCOM_tiled_rendering */ 80411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef GL_QCOM_tiled_rendering 80511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define GL_QCOM_tiled_rendering 1 80611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef GL_GLEXT_PROTOTYPES 80711cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); 80811cd02dfb91661c65134cac258cf5924270e9d2Dan AlbertGL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); 80911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 81011cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); 81111cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); 81211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 81311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 81411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifdef __cplusplus 81511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert} 81611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 81711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert 81811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif /* __gl2ext_h_ */ 819