summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-04-15 19:18:06 +0000
committerBrian Paul <[email protected]>2000-04-15 19:18:06 +0000
commit76713fb0b05128a09995cd6b38cfadb288c542a7 (patch)
tree96d09dc9300c48909dc5ae16d0e9bdb472d69115 /include
parent2511ba7c927af49a7595a367ce4f64f00ea7d7d3 (diff)
version 8, added GL_EXT_texture_cube_map
Diffstat (limited to 'include')
-rw-r--r--include/GL/glext.h45
1 files changed, 33 insertions, 12 deletions
diff --git a/include/GL/glext.h b/include/GL/glext.h
index 0d7c01e7ffe..3e4d10388a7 100644
--- a/include/GL/glext.h
+++ b/include/GL/glext.h
@@ -5,6 +5,8 @@
/*
* XXX Some token values aren't known (grep for ?)
* XXX This file may be automatically generated in the future.
+ * XXX There are some doubly-defined tokens with different values! Search
+ * for "DUPLICATE".
*/
@@ -47,8 +49,10 @@ extern "C" {
* Added GL_ARB_multisample tokens, added GL_ARB_texture_env_add
* 7. Brian Paul, 7 Apr 2000
* Minor clean-ups, temporary token values for GL_SGIS_pixel_texture
+ * 8. Brian Paul, 15 Apr 2000
+ * Added GL_EXT_texture_cube_map, misc clean-up.
*/
-#define GL_GLEXT_VERSION_EXT 7
+#define GL_GLEXT_VERSION_EXT 8
/*
@@ -380,10 +384,7 @@ typedef void (APIENTRY * PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum i
#ifndef GL_SGI_color_table
#define GL_SGI_color_table 1
-/* XXX this symbol collides with the same in GL_SGI_texture_color_tabled
-** and they have different values!
-#define GL_COLOR_TABLE_SGI 0x80D0
-**/
+#define GL_COLOR_TABLE_SGI 0x80D0 /* DUPLICATE! */
#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
#define GL_PROXY_COLOR_TABLE_SGI 0x80D3
@@ -499,7 +500,7 @@ typedef void (APIENTRY * PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level
#ifndef GL_SGI_texture_color_table
#define GL_SGI_texture_color_table 1
-#define GL_COLOR_TABLE_SGI 0x80BC
+#define GL_COLOR_TABLE_SGI_80BC 0x80BC /* DUPLICATE! */
#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
#endif /* GL_SGI_texture_color_table */
@@ -1729,11 +1730,8 @@ typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint sta
#define GL_FRAGMENT_MATERIAL_EXT 0x8349
#define GL_FRAGMENT_NORMAL_EXT 0x834A
-/* XXX this symbol collides with the same in GL_EXT_fog_coord and they
-** have different values! We're disabling this one since it's the less
-** common of the two extensions.
-#define GL_FRAGMENT_DEPTH_EXT 0x834B
-**/
+
+#define GL_FRAGMENT_DEPTH_EXT_834B 0x834B /* DUPLICATE! */
#define GL_FRAGMENT_COLOR_EXT 0x834C
#define GL_ATTENUATION_EXT 0x834D
#define GL_SHADOW_ATTENUATION_EXT 0x834E
@@ -2083,7 +2081,7 @@ typedef void (APIENTRY * PFNGLMULTIDRAWARRAYSEXT) (GLenum mode, GLint *first, GL
#define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
#define GL_FOG_COORDINATE_EXT 0x8451
-#define GL_FRAGMENT_DEPTH_EXT 0x8452
+#define GL_FRAGMENT_DEPTH_EXT 0x8452 /* DUPLICATE! */
#define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
@@ -3122,6 +3120,29 @@ typedef void (APIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLin
/*
+ * ?. GL_EXT_texture_cube_map
+ */
+#ifndef GL_EXT_texture_cube_map
+#define GL_EXT_texture_cube_map 1
+
+#define GL_NORMAL_MAP_EXT 0x8511
+#define GL_REFLECTION_MAP_EXT 0x8512
+#define GL_TEXTURE_CUBE_MAP_EXT 0x8513
+#define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851a
+#define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851b
+#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851c
+
+#endif
+
+
+
+/*
* ??. GL_WIN_swap_hint
*/
#ifndef GL_WIN_swap_hint