mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-25 23:31:56 +00:00
took out not implemented ATI extensions
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@22 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
567f9cb67e
commit
5ad3abfe21
@ -115,14 +115,11 @@ name="ATI"><font size="+1"><b>ATI</b></font></a>
|
|||||||
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/envmap_bumpmap.txt">ATI_envmap_bumpmap</a><br>
|
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/envmap_bumpmap.txt">ATI_envmap_bumpmap</a><br>
|
||||||
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/fragment_shader.txt">ATI_fragment_shader</a><br>
|
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/fragment_shader.txt">ATI_fragment_shader</a><br>
|
||||||
<a href="http://www.ati.com/developer/atiopengl.pdf">ATI_map_object_buffer</a><br>
|
<a href="http://www.ati.com/developer/atiopengl.pdf">ATI_map_object_buffer</a><br>
|
||||||
ATI_mapped_texture<br>
|
|
||||||
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/pn_triangles.txt">ATI_pn_triangles</a><br>
|
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/pn_triangles.txt">ATI_pn_triangles</a><br>
|
||||||
ATI_point_cull_mode<br>
|
|
||||||
<a href="http://www.ati.com/developer/atiopengl.pdf">ATI_separate_stencil</a><br>
|
<a href="http://www.ati.com/developer/atiopengl.pdf">ATI_separate_stencil</a><br>
|
||||||
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/text_fragment_shader.txt">ATI_text_fragment_shader</a><br>
|
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/text_fragment_shader.txt">ATI_text_fragment_shader</a><br>
|
||||||
<a href="http://www.ati.com/developer/atiopengl.pdf">ATI_texture_float</a><br>
|
<a href="http://www.ati.com/developer/atiopengl.pdf">ATI_texture_float</a><br>
|
||||||
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/texture_mirror_once.txt">ATI_texture_mirror_once</a><br>
|
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/texture_mirror_once.txt">ATI_texture_mirror_once</a><br>
|
||||||
ATI_timestamp<br>
|
|
||||||
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/vertex_array_object.txt">ATI_vertex_array_object</a><br>
|
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/vertex_array_object.txt">ATI_vertex_array_object</a><br>
|
||||||
<a href="http://www.ati.com/developer/atiopengl.pdf">ATI_vertex_attrib_array_object</a><br>
|
<a href="http://www.ati.com/developer/atiopengl.pdf">ATI_vertex_attrib_array_object</a><br>
|
||||||
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/vertex_streams.txt">ATI_vertex_streams</a><br>
|
<a href="http://oss.sgi.com/projects/ogl-sample/registry/ATI/vertex_streams.txt">ATI_vertex_streams</a><br>
|
||||||
|
@ -230,14 +230,11 @@ extern "C" {
|
|||||||
#define GL_ATI_envmap_bumpmap 1
|
#define GL_ATI_envmap_bumpmap 1
|
||||||
#define GL_ATI_fragment_shader 1
|
#define GL_ATI_fragment_shader 1
|
||||||
#define GL_ATI_map_object_buffer 1
|
#define GL_ATI_map_object_buffer 1
|
||||||
#define GL_ATI_mapped_texture 1
|
|
||||||
#define GL_ATI_pn_triangles 1
|
#define GL_ATI_pn_triangles 1
|
||||||
#define GL_ATI_point_cull_mode 1
|
|
||||||
#define GL_ATI_separate_stencil 1
|
#define GL_ATI_separate_stencil 1
|
||||||
#define GL_ATI_text_fragment_shader 1
|
#define GL_ATI_text_fragment_shader 1
|
||||||
#define GL_ATI_texture_float 1
|
#define GL_ATI_texture_float 1
|
||||||
#define GL_ATI_texture_mirror_once 1
|
#define GL_ATI_texture_mirror_once 1
|
||||||
#define GL_ATI_timestamp 1
|
|
||||||
#define GL_ATI_vertex_array_object 1
|
#define GL_ATI_vertex_array_object 1
|
||||||
#define GL_ATI_vertex_attrib_array_object 1
|
#define GL_ATI_vertex_attrib_array_object 1
|
||||||
#define GL_ATI_vertex_streams 1
|
#define GL_ATI_vertex_streams 1
|
||||||
@ -3325,22 +3322,6 @@ extern GLEW_EXPORT PFNGLUNMAPOBJECTBUFFERATIPROC glUnmapObjectBufferATI;
|
|||||||
|
|
||||||
#endif /* GL_ATI_map_object_buffer */
|
#endif /* GL_ATI_map_object_buffer */
|
||||||
|
|
||||||
/* -------------------------- ATI_mapped_texture -------------------------- */
|
|
||||||
|
|
||||||
#ifdef GL_ATI_mapped_texture
|
|
||||||
|
|
||||||
#define GL_MAPPED_TEXTURE_PIXEL_STRIDE_ATI 0x8820
|
|
||||||
#define GL_MAPPED_TEXTURE_ROW_STRIDE_ATI 0x8821
|
|
||||||
#define GL_MAPPED_TEXTURE_LAYER_STRIDE_ATI 0x8822
|
|
||||||
|
|
||||||
typedef void (APIENTRY * PFNGLMAPTEXTURE3DPROC) (GLenum level, GLvoid **buffer);
|
|
||||||
typedef void (APIENTRY * PFNGLUNMAPTEXTURE3DPROC) (void);
|
|
||||||
|
|
||||||
extern GLEW_EXPORT PFNGLMAPTEXTURE3DPROC glMapTexture3D;
|
|
||||||
extern GLEW_EXPORT PFNGLUNMAPTEXTURE3DPROC glUnmapTexture3D;
|
|
||||||
|
|
||||||
#endif /* GL_ATI_mapped_texture */
|
|
||||||
|
|
||||||
/* --------------------------- ATI_pn_triangles --------------------------- */
|
/* --------------------------- ATI_pn_triangles --------------------------- */
|
||||||
|
|
||||||
#ifdef GL_ATI_pn_triangles
|
#ifdef GL_ATI_pn_triangles
|
||||||
@ -3363,16 +3344,6 @@ extern GLEW_EXPORT PFNGLPNTRIANGLESFATIPROC glPNTrianglesfATI;
|
|||||||
|
|
||||||
#endif /* GL_ATI_pn_triangles */
|
#endif /* GL_ATI_pn_triangles */
|
||||||
|
|
||||||
/* -------------------------- ATI_point_cull_mode ------------------------- */
|
|
||||||
|
|
||||||
#ifdef GL_ATI_point_cull_mode
|
|
||||||
|
|
||||||
#define GL_POINT_CULL_MODE_ATI 0x60b3
|
|
||||||
#define GL_POINT_CULL_CENTER_ATI 0x60b4
|
|
||||||
#define GL_POINT_CLIP_ATI 0x60b5
|
|
||||||
|
|
||||||
#endif /* GL_ATI_point_cull_mode */
|
|
||||||
|
|
||||||
/* -------------------------- ATI_separate_stencil ------------------------ */
|
/* -------------------------- ATI_separate_stencil ------------------------ */
|
||||||
|
|
||||||
#ifdef GL_ATI_separate_stencil
|
#ifdef GL_ATI_separate_stencil
|
||||||
@ -3426,22 +3397,6 @@ extern GLEW_EXPORT PFNGLSTENCILFUNCSEPARATEATIPROC glStencilFuncSeparateATI;
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* ----------------------------- ATI_timestamp ---------------------------- */
|
|
||||||
|
|
||||||
#ifdef GL_ATI_timestamp
|
|
||||||
|
|
||||||
typedef void (APIENTRY * PFNGLNEWTIMESTAMPPROC) (GLvoid **);
|
|
||||||
typedef void (APIENTRY * PFNGLDELETETIMESTAMPPROC) (GLvoid *);
|
|
||||||
typedef void (APIENTRY * PFNGLSENDTIMESTAMPPROC) (GLvoid *);
|
|
||||||
typedef void (APIENTRY * PFNGLWAITTIMESTAMPPROC) (GLvoid *);
|
|
||||||
|
|
||||||
extern GLEW_EXPORT PFNGLNEWTIMESTAMPPROC glNewTimeStamp;
|
|
||||||
extern GLEW_EXPORT PFNGLDELETETIMESTAMPPROC glDeleteTimeStamp;
|
|
||||||
extern GLEW_EXPORT PFNGLSENDTIMESTAMPPROC glSendTimeStamp;
|
|
||||||
extern GLEW_EXPORT PFNGLWAITTIMESTAMPPROC glWaitTimeStamp;
|
|
||||||
|
|
||||||
#endif /* GL_ATI_timestamp */
|
|
||||||
|
|
||||||
/* ------------------------ ATI_vertex_array_object ----------------------- */
|
/* ------------------------ ATI_vertex_array_object ----------------------- */
|
||||||
|
|
||||||
#ifdef GL_ATI_vertex_array_object
|
#ifdef GL_ATI_vertex_array_object
|
||||||
@ -4544,14 +4499,11 @@ struct GLEW
|
|||||||
unsigned int ATI_envmap_bumpmap : 1;
|
unsigned int ATI_envmap_bumpmap : 1;
|
||||||
unsigned int ATI_fragment_shader : 1;
|
unsigned int ATI_fragment_shader : 1;
|
||||||
unsigned int ATI_map_object_buffer : 1;
|
unsigned int ATI_map_object_buffer : 1;
|
||||||
unsigned int ATI_mapped_texture : 1;
|
|
||||||
unsigned int ATI_pn_triangles : 1;
|
unsigned int ATI_pn_triangles : 1;
|
||||||
unsigned int ATI_point_cull_mode : 1;
|
|
||||||
unsigned int ATI_separate_stencil : 1;
|
unsigned int ATI_separate_stencil : 1;
|
||||||
unsigned int ATI_text_fragment_shader : 1;
|
unsigned int ATI_text_fragment_shader : 1;
|
||||||
unsigned int ATI_texture_float : 1;
|
unsigned int ATI_texture_float : 1;
|
||||||
unsigned int ATI_texture_mirror_once : 1;
|
unsigned int ATI_texture_mirror_once : 1;
|
||||||
unsigned int ATI_timestamp : 1;
|
|
||||||
unsigned int ATI_vertex_array_object : 1;
|
unsigned int ATI_vertex_array_object : 1;
|
||||||
unsigned int ATI_vertex_attrib_array_object : 1;
|
unsigned int ATI_vertex_attrib_array_object : 1;
|
||||||
unsigned int ATI_vertex_streams : 1;
|
unsigned int ATI_vertex_streams : 1;
|
||||||
|
41
src/glew.c
41
src/glew.c
@ -1245,21 +1245,6 @@ static GLboolean _glewInit_ATI_map_object_buffer ()
|
|||||||
}
|
}
|
||||||
#endif /* GL_ATI_map_object_buffer */
|
#endif /* GL_ATI_map_object_buffer */
|
||||||
|
|
||||||
/* --------------------------- ATI_mapped_texture ------------------------- */
|
|
||||||
|
|
||||||
#ifdef GL_ATI_mapped_texture
|
|
||||||
PFNGLMAPTEXTURE3DPROC glMapTexture3D;
|
|
||||||
PFNGLUNMAPTEXTURE3DPROC glUnmapTexture3D;
|
|
||||||
|
|
||||||
static GLboolean _glewInit_ATI_mapped_texture ()
|
|
||||||
{
|
|
||||||
GLboolean r = GL_FALSE;
|
|
||||||
r = r || (glMapTexture3D = (PFNGLMAPTEXTURE3DPROC)glewGetProcAddress("glMapTexture3D")) == NULL;
|
|
||||||
r = r || (glUnmapTexture3D = (PFNGLUNMAPTEXTURE3DPROC)glewGetProcAddress("glUnmapTexture3D")) == NULL;
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
#endif /* GL_ATI_mapped_texture */
|
|
||||||
|
|
||||||
/* --------------------------- ATI_pn_triangles --------------------------- */
|
/* --------------------------- ATI_pn_triangles --------------------------- */
|
||||||
|
|
||||||
#ifdef GL_ATI_pn_triangles
|
#ifdef GL_ATI_pn_triangles
|
||||||
@ -1290,25 +1275,6 @@ static GLboolean _glewInit_ATI_separate_stencil ()
|
|||||||
}
|
}
|
||||||
#endif /* GL_ATI_separate_stencil */
|
#endif /* GL_ATI_separate_stencil */
|
||||||
|
|
||||||
/* ----------------------------- ATI_timestamp ---------------------------- */
|
|
||||||
|
|
||||||
#ifdef GL_ATI_timestamp
|
|
||||||
PFNGLNEWTIMESTAMPPROC glNewTimeStamp = NULL;
|
|
||||||
PFNGLDELETETIMESTAMPPROC glDeleteTimeStamp = NULL;
|
|
||||||
PFNGLSENDTIMESTAMPPROC glSendTimeStamp = NULL;
|
|
||||||
PFNGLWAITTIMESTAMPPROC glWaitTimeStamp = NULL;
|
|
||||||
|
|
||||||
static GLboolean _glewInit_ATI_timestamp ()
|
|
||||||
{
|
|
||||||
GLboolean r = GL_FALSE;
|
|
||||||
r = r || (glNewTimeStamp = (PFNGLNEWTIMESTAMPPROC) glewGetProcAddress("glNewTimeStamp")) == NULL;
|
|
||||||
r = r || (glDeleteTimeStamp = (PFNGLDELETETIMESTAMPPROC)glewGetProcAddress("glDeleteTimeStamp")) == NULL;
|
|
||||||
r = r || (glSendTimeStamp = (PFNGLSENDTIMESTAMPPROC)glewGetProcAddress("glSendTimeStamp")) == NULL;
|
|
||||||
r = r || (glWaitTimeStamp = (PFNGLWAITTIMESTAMPPROC)glewGetProcAddress("glWaitTimeStamp")) == NULL;
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
#endif /* GL_ATI_timestamp */
|
|
||||||
|
|
||||||
/* ------------------------ ATI_vertex_array_object ----------------------- */
|
/* ------------------------ ATI_vertex_array_object ----------------------- */
|
||||||
|
|
||||||
#ifdef GL_ATI_vertex_array_object
|
#ifdef GL_ATI_vertex_array_object
|
||||||
@ -2923,9 +2889,6 @@ static GLint _glewInit ()
|
|||||||
glew.ATI_pn_triangles = glewGetExtension("GL_ATI_pn_triangles");
|
glew.ATI_pn_triangles = glewGetExtension("GL_ATI_pn_triangles");
|
||||||
if (glewExperimental || glew.ATI_pn_triangles) glew.ATI_pn_triangles = !_glewInit_ATI_pn_triangles();
|
if (glewExperimental || glew.ATI_pn_triangles) glew.ATI_pn_triangles = !_glewInit_ATI_pn_triangles();
|
||||||
#endif
|
#endif
|
||||||
#ifdef GL_ATI_point_cull_mode
|
|
||||||
glew.ATI_point_cull_mode = glewGetExtension("GL_ATI_point_cull_mode");
|
|
||||||
#endif
|
|
||||||
#ifdef GL_ATI_separate_stencil
|
#ifdef GL_ATI_separate_stencil
|
||||||
glew.ATI_separate_stencil = glewGetExtension("GL_ATI_separate_stencil");
|
glew.ATI_separate_stencil = glewGetExtension("GL_ATI_separate_stencil");
|
||||||
if (glewExperimental || glew.ATI_separate_stencil) glew.ATI_separate_stencil = !_glewInit_ATI_separate_stencil();
|
if (glewExperimental || glew.ATI_separate_stencil) glew.ATI_separate_stencil = !_glewInit_ATI_separate_stencil();
|
||||||
@ -2939,10 +2902,6 @@ static GLint _glewInit ()
|
|||||||
#ifdef GL_ATI_texture_mirror_once
|
#ifdef GL_ATI_texture_mirror_once
|
||||||
glew.ATI_texture_mirror_once = glewGetExtension("GL_ATI_texture_mirror_once");
|
glew.ATI_texture_mirror_once = glewGetExtension("GL_ATI_texture_mirror_once");
|
||||||
#endif
|
#endif
|
||||||
#ifdef GL_ATI_timestamp
|
|
||||||
glew.ATI_timestamp = glewGetExtension("GL_ATI_timestamp");
|
|
||||||
if (glewExperimental || glew.ATI_timestamp) glew.ATI_timestamp = !_glewInit_ATI_timestamp();
|
|
||||||
#endif
|
|
||||||
#ifdef GL_ATI_vertex_array_object
|
#ifdef GL_ATI_vertex_array_object
|
||||||
glew.ATI_vertex_array_object = glewGetExtension("GL_ATI_vertex_array_object");
|
glew.ATI_vertex_array_object = glewGetExtension("GL_ATI_vertex_array_object");
|
||||||
if (glewExperimental || glew.ATI_vertex_array_object) glew.ATI_vertex_array_object = !_glewInit_ATI_vertex_array_object();
|
if (glewExperimental || glew.ATI_vertex_array_object) glew.ATI_vertex_array_object = !_glewInit_ATI_vertex_array_object();
|
||||||
|
@ -797,17 +797,6 @@ static void glewInfo_ATI_map_object_buffer ()
|
|||||||
}
|
}
|
||||||
#endif /* GL_ATI_map_object_buffer */
|
#endif /* GL_ATI_map_object_buffer */
|
||||||
|
|
||||||
/* --------------------------- ATI_mapped_texture ------------------------- */
|
|
||||||
|
|
||||||
#ifdef GL_ATI_mapped_texture
|
|
||||||
static void glewInfo_ATI_mapped_texture ()
|
|
||||||
{
|
|
||||||
char me[] = "GL_ATI_mapped_texture"; glewPrintExt(me, glew.ATI_mapped_texture);
|
|
||||||
glewInfoFunc(glMapTexture3D == NULL, "glMapTexture3D");
|
|
||||||
glewInfoFunc(glUnmapTexture3D == NULL, "glUnmapTexture3D");
|
|
||||||
}
|
|
||||||
#endif /* GL_ATI_mapped_texture */
|
|
||||||
|
|
||||||
/* --------------------------- ATI_pn_triangles --------------------------- */
|
/* --------------------------- ATI_pn_triangles --------------------------- */
|
||||||
|
|
||||||
#ifdef GL_ATI_pn_triangles
|
#ifdef GL_ATI_pn_triangles
|
||||||
@ -830,19 +819,6 @@ static void glewInfo_ATI_separate_stencil ()
|
|||||||
}
|
}
|
||||||
#endif /* GL_ATI_separate_stencil */
|
#endif /* GL_ATI_separate_stencil */
|
||||||
|
|
||||||
/* ----------------------------- ATI_timestamp ---------------------------- */
|
|
||||||
|
|
||||||
#ifdef GL_ATI_timestamp
|
|
||||||
static void glewInfo_ATI_timestamp ()
|
|
||||||
{
|
|
||||||
char me[] = "GL_ATI_timestamp"; glewPrintExt(me, glew.ATI_timestamp);
|
|
||||||
glewInfoFunc(glNewTimeStamp == NULL, "glNewTimeStamp");
|
|
||||||
glewInfoFunc(glDeleteTimeStamp == NULL, "glDeleteTimeStamp");
|
|
||||||
glewInfoFunc(glSendTimeStamp == NULL, "glSendTimeStamp");
|
|
||||||
glewInfoFunc(glWaitTimeStamp == NULL, "glWaitTimeStamp");
|
|
||||||
}
|
|
||||||
#endif /* GL_ATI_timestamp */
|
|
||||||
|
|
||||||
/* ------------------------ ATI_vertex_array_object ----------------------- */
|
/* ------------------------ ATI_vertex_array_object ----------------------- */
|
||||||
|
|
||||||
#ifdef GL_ATI_vertex_array_object
|
#ifdef GL_ATI_vertex_array_object
|
||||||
@ -1888,9 +1864,6 @@ static void glewInfo ()
|
|||||||
#ifdef GL_ATI_mapped_texture
|
#ifdef GL_ATI_mapped_texture
|
||||||
glewInfo_ATI_mapped_texture();
|
glewInfo_ATI_mapped_texture();
|
||||||
#endif
|
#endif
|
||||||
#ifdef GL_ATI_point_cull_mode
|
|
||||||
glewPrintExt("GL_ATI_point_cull_mode", glew.ATI_point_cull_mode);
|
|
||||||
#endif
|
|
||||||
#ifdef GL_ATI_pn_triangles
|
#ifdef GL_ATI_pn_triangles
|
||||||
glewInfo_ATI_pn_triangles();
|
glewInfo_ATI_pn_triangles();
|
||||||
#endif
|
#endif
|
||||||
@ -1906,9 +1879,6 @@ static void glewInfo ()
|
|||||||
#ifdef GL_ATI_texture_mirror_once
|
#ifdef GL_ATI_texture_mirror_once
|
||||||
glewPrintExt("GL_ATI_texture_mirror_once", glew.ATI_texture_mirror_once);
|
glewPrintExt("GL_ATI_texture_mirror_once", glew.ATI_texture_mirror_once);
|
||||||
#endif
|
#endif
|
||||||
#ifdef GL_ATI_timestamp
|
|
||||||
glewInfo_ATI_timestamp();
|
|
||||||
#endif
|
|
||||||
#ifdef GL_ATI_vertex_array_object
|
#ifdef GL_ATI_vertex_array_object
|
||||||
glewInfo_ATI_vertex_array_object();
|
glewInfo_ATI_vertex_array_object();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user