00001 #ifndef __panda_esgl2ext_h_
00002 #define __panda_esgl2ext_h_
00003
00004
00005
00006 #ifdef __cplusplus
00007 extern "C" {
00008 #endif
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044 #ifndef GL_APIENTRYP
00045 # define GL_APIENTRYP GL_APIENTRY*
00046 #endif
00047
00048
00049
00050
00051
00052
00053 #ifndef GL_OES_compressed_ETC1_RGB8_texture
00054 #define GL_ETC1_RGB8_OES 0x8D64
00055 #endif
00056
00057
00058 #ifndef GL_OES_compressed_paletted_texture
00059 #define GL_PALETTE4_RGB8_OES 0x8B90
00060 #define GL_PALETTE4_RGBA8_OES 0x8B91
00061 #define GL_PALETTE4_R5_G6_B5_OES 0x8B92
00062 #define GL_PALETTE4_RGBA4_OES 0x8B93
00063 #define GL_PALETTE4_RGB5_A1_OES 0x8B94
00064 #define GL_PALETTE8_RGB8_OES 0x8B95
00065 #define GL_PALETTE8_RGBA8_OES 0x8B96
00066 #define GL_PALETTE8_R5_G6_B5_OES 0x8B97
00067 #define GL_PALETTE8_RGBA4_OES 0x8B98
00068 #define GL_PALETTE8_RGB5_A1_OES 0x8B99
00069 #endif
00070
00071
00072 #ifndef GL_OES_EGL_image
00073 typedef void* GLeglImageOES;
00074 #endif
00075
00076
00077 #ifndef GL_OES_depth24
00078 #define GL_DEPTH_COMPONENT24_OES 0x81A6
00079 #endif
00080
00081
00082 #ifndef GL_OES_depth32
00083 #define GL_DEPTH_COMPONENT32_OES 0x81A7
00084 #endif
00085
00086
00087 #ifndef GL_OES_mapbuffer
00088
00089 #define GL_WRITE_ONLY_OES 0x88B9
00090 #define GL_BUFFER_ACCESS_OES 0x88BB
00091 #define GL_BUFFER_MAPPED_OES 0x88BC
00092 #define GL_BUFFER_MAP_POINTER_OES 0x88BD
00093 #endif
00094
00095
00096 #ifndef GL_OES_rgb8_rgba8
00097 #define GL_RGB8_OES 0x8051
00098 #define GL_RGBA8_OES 0x8058
00099 #endif
00100
00101
00102 #ifndef GL_OES_stencil1
00103 #define GL_STENCIL_INDEX1_OES 0x8D46
00104 #endif
00105
00106
00107 #ifndef GL_OES_stencil4
00108 #define GL_STENCIL_INDEX4_OES 0x8D47
00109 #endif
00110
00111
00112 #ifndef GL_OES_texture3D
00113 #define GL_TEXTURE_WRAP_R_OES 0x8072
00114 #define GL_TEXTURE_3D_OES 0x806F
00115 #define GL_TEXTURE_BINDING_3D_OES 0x806A
00116 #define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073
00117 #define GL_SAMPLER_3D_OES 0x8B5F
00118 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4
00119 #endif
00120
00121
00122 #ifndef GL_OES_texture_half_float
00123 #define GL_HALF_FLOAT_OES 0x8D61
00124 #endif
00125
00126
00127
00128
00129
00130 #ifndef GL_AMD_compressed_3DC_texture
00131 #define GL_3DC_X_AMD 0x87F9
00132 #define GL_3DC_XY_AMD 0x87FA
00133 #endif
00134
00135
00136 #ifndef GL_AMD_compressed_ATC_texture
00137 #define GL_ATC_RGB_AMD 0x8C92
00138 #define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93
00139 #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE
00140 #endif
00141
00142
00143 #ifndef GL_EXT_texture_filter_anisotropic
00144 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
00145 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
00146 #endif
00147
00148
00149
00150
00151
00152
00153 #ifndef GL_OES_compressed_ETC1_RGB8_texture
00154 #define GL_OES_compressed_ETC1_RGB8_texture 1
00155 #endif
00156
00157
00158 #ifndef GL_OES_compressed_paletted_texture
00159 #define GL_OES_compressed_paletted_texture 1
00160 #endif
00161
00162
00163 #ifndef GL_OES_EGL_image
00164 #define GL_OES_EGL_image 1
00165 #ifdef GL_GLEXT_PROTOTYPES
00166 GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
00167 GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
00168 #endif
00169 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
00170 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
00171 #endif
00172
00173
00174 #ifndef GL_OES_depth24
00175 #define GL_OES_depth24 1
00176 #endif
00177
00178
00179 #ifndef GL_OES_depth32
00180 #define GL_OES_depth32 1
00181 #endif
00182
00183
00184 #ifndef GL_OES_element_index_uint
00185 #define GL_OES_element_index_uint 1
00186 #endif
00187
00188
00189 #ifndef GL_OES_fbo_render_mipmap
00190 #define GL_OES_fbo_render_mipmap 1
00191 #endif
00192
00193
00194 #ifndef GL_OES_fragment_precision_high
00195 #define GL_OES_fragment_precision_high 1
00196 #endif
00197
00198
00199 #ifndef GL_OES_mapbuffer
00200 #define GL_OES_mapbuffer 1
00201 #ifdef GL_GLEXT_PROTOTYPES
00202 GL_APICALL void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
00203 GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target);
00204 GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void** params);
00205 #endif
00206 typedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
00207 typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target);
00208 typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void** params);
00209 #endif
00210
00211
00212 #ifndef GL_OES_rgb8_rgba8
00213 #define GL_OES_rgb8_rgba8 1
00214 #endif
00215
00216
00217 #ifndef GL_OES_stencil1
00218 #define GL_OES_stencil1 1
00219 #endif
00220
00221
00222 #ifndef GL_OES_stencil4
00223 #define GL_OES_stencil4 1
00224 #endif
00225
00226
00227 #ifndef GL_OES_texture_3D
00228 #define GL_OES_texture_3D 1
00229 #ifdef GL_GLEXT_PROTOTYPES
00230 GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels);
00231 GL_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 void* pixels);
00232 GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
00233 GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data);
00234 GL_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 void* data);
00235 GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
00236 #endif
00237 typedef 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);
00238 typedef 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 void* pixels);
00239 typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
00240 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data);
00241 typedef 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 void* data);
00242 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOES) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
00243 #endif
00244
00245
00246 #ifndef GL_OES_texture_float_linear
00247 #define GL_OES_texture_float_linear 1
00248 #endif
00249
00250
00251 #ifndef GL_OES_texture_half_float_linear
00252 #define GL_OES_texture_half_float_linear 1
00253 #endif
00254
00255
00256 #ifndef GL_OES_texture_float
00257 #define GL_OES_texture_float 1
00258 #endif
00259
00260
00261 #ifndef GL_OES_texture_half_float
00262 #define GL_OES_texture_half_float 1
00263 #endif
00264
00265
00266 #ifndef GL_OES_texture_npot
00267 #define GL_OES_texture_npot 1
00268 #endif
00269
00270
00271 #ifndef GL_OES_vertex_half_float
00272 #define GL_OES_vertex_half_float 1
00273 #endif
00274
00275
00276 #ifndef GL_AMD_compressed_3DC_texture
00277 #define GL_AMD_compressed_3DC_texture 1
00278 #endif
00279
00280
00281 #ifndef GL_AMD_compressed_ATC_texture
00282 #define GL_AMD_compressed_ATC_texture 1
00283 #endif
00284
00285
00286 #ifndef GL_EXT_texture_filter_anisotropic
00287 #define GL_EXT_texture_filter_anisotropic 1
00288 #endif
00289
00290 #ifdef __cplusplus
00291 }
00292 #endif
00293
00294 #endif