From: Brian Paul Date: Wed, 30 Aug 2006 23:50:31 +0000 (+0000) Subject: remove extension defines/protos that are now in glext.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7986cfbee019fbdfce8bb0a86d7b7e633e541014;p=mesa.git remove extension defines/protos that are now in glext.h --- diff --git a/include/GL/gl.h b/include/GL/gl.h index 40f3b9da777..6d706d67298 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -2252,107 +2252,6 @@ typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLen -#ifndef GL_EXT_timer_query -#define GL_EXT_timer_query 1 - -/* Define 64-bit types */ -#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L - typedef long long int GLint64EXT; - typedef unsigned long long int GLuint64EXT; -#elif defined(_WIN32) - typedef __int64 GLint64EXT; - typedef unsigned __int64 GLuint64EXT; -#else - /* this might actually be a 32-bit type */ - typedef long int GLint64EXT; - typedef unsigned long int GLuint64EXT; -#endif - -#define GL_TIME_ELAPSED_EXT 0x88BF - -GLAPI void GLAPIENTRY glGetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64EXT *params); -GLAPI void GLAPIENTRY glGetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64EXT *params); - -typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params); - -#endif /* GL_EXT_timer_query */ - - - -#ifndef GL_EXT_framebuffer_blit -#define GL_EXT_framebuffer_blit 1 - -#define GL_READ_FRAMEBUFFER_EXT 0x8CA8 -#define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9 -#define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6 -#define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA - -GLAPI void GLAPIENTRY glBlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, - GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, - GLbitfield mask, GLenum filter); - -typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) - (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, - GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, - GLbitfield mask, GLenum filter); - -#endif /* GL_EXT_framebuffer_blit */ - - - -#ifndef GL_EXT_packed_depth_stencil -#define GL_EXT_packed_depth_stencil 1 - -#define GL_DEPTH_STENCIL_EXT 0x84F9 -#define GL_UNSIGNED_INT_24_8_EXT 0x84FA -#define GL_DEPTH24_STENCIL8_EXT 0x88F0 -#define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1 - -#endif /* GL_EXT_packed_depth_stencil */ - - -#ifndef GL_EXT_gpu_program_parameters -#define GL_EXT_gpu_program_parameters 1 - -GLAPI void GLAPIENTRY glProgramEnvParameters4fvEXT(GLenum target, - GLuint index, GLsizei count, const GLfloat *params); - -GLAPI void GLAPIENTRY glProgramLocalParameters4fvEXT(GLenum target, - GLuint index, GLsizei count, const GLfloat *params); - -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) - (GLenum target, GLuint index, GLsizei count, const GLfloat *params); - -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) - (GLenum target, GLuint index, GLsizei count, const GLfloat *params); - -#endif /* GL_EXT_gpu_program_parameters */ - - -#ifndef GL_EXT_texture_sRGB -#define GL_EXT_texture_sRGB 1 - -#define GL_SRGB_EXT 0x8C40 -#define GL_SRGB8_EXT 0x8C41 -#define GL_SRGB_ALPHA_EXT 0x8C42 -#define GL_SRGB8_ALPHA8_EXT 0x8C43 -#define GL_SLUMINANCE_ALPHA_EXT 0x8C44 -#define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45 -#define GL_SLUMINANCE_EXT 0x8C46 -#define GL_SLUMINANCE8_EXT 0x8C47 -#define GL_COMPRESSED_SRGB_EXT 0x8C48 -#define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49 -#define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A -#define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B -#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F - -#endif /* GL_EXT_texture_sRGB */ - - /** ** NOTE!!!!! If you add new functions to this file, or update ** glext.h be sure to regenerate the gl_mangle.h file. See comments