From fde63de9a08c5e59ec303befe8b3ddac95a1cb63 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Tue, 1 Jan 2008 21:39:51 +0000 Subject: [PATCH] Specific enums for Version14 "Fog" additions. --- Source/Bind/Specifications/GL2/enumext.spec | 55 ++++++++++++++------- Source/Bind/Specifications/GL2/gl.spec | 2 +- 2 files changed, 39 insertions(+), 18 deletions(-) diff --git a/Source/Bind/Specifications/GL2/enumext.spec b/Source/Bind/Specifications/GL2/enumext.spec index b9edcdef..21614226 100644 --- a/Source/Bind/Specifications/GL2/enumext.spec +++ b/Source/Bind/Specifications/GL2/enumext.spec @@ -278,14 +278,14 @@ VERSION_1_4 enum: # DEPTH_COMPONENT24 = 0x81A6 # PixelInternalFormat # DEPTH_COMPONENT32 = 0x81A7 # PixelInternalFormat # MIRRORED_REPEAT = 0x8370 - FOG_COORDINATE_SOURCE = 0x8450 # 1 I - FOG_COORDINATE = 0x8451 - FRAGMENT_DEPTH = 0x8452 - CURRENT_FOG_COORDINATE = 0x8453 # 1 F - FOG_COORDINATE_ARRAY_TYPE = 0x8454 # 1 I - FOG_COORDINATE_ARRAY_STRIDE = 0x8455 # 1 I - FOG_COORDINATE_ARRAY_POINTER = 0x8456 - FOG_COORDINATE_ARRAY = 0x8457 # 1 I +# FOG_COORDINATE_SOURCE = 0x8450 # 1 I +# FOG_COORDINATE = 0x8451 +# FRAGMENT_DEPTH = 0x8452 +# CURRENT_FOG_COORDINATE = 0x8453 # 1 F +# FOG_COORDINATE_ARRAY_TYPE = 0x8454 # 1 I +# FOG_COORDINATE_ARRAY_STRIDE = 0x8455 # 1 I +# FOG_COORDINATE_ARRAY_POINTER = 0x8456 +# FOG_COORDINATE_ARRAY = 0x8457 # 1 I COLOR_SUM = 0x8458 # 1 I CURRENT_SECONDARY_COLOR = 0x8459 # 3 F SECONDARY_COLOR_ARRAY_SIZE = 0x845A # 1 I @@ -337,8 +337,29 @@ TextureCompareMode enum: # Shadow Ambient (http://opengl.org/registry/specs/ARB/shadow_ambient.txt) TextureParameterName enum: TEXTURE_COMPARE_FAIL_VALUE = 0x80BF - +# Fog (http://www.opengl.org/registry/specs/EXT/fog_coord.txt) +FogPointerType enum: + use DataType FLOAT + use DataType DOUBLE + +FogParameter enum: + FOG_COORD_SRC = 0x8450 + +FogMode enum: + FOG_COORD = 0x8451 + FRAGMENT_DEPTH = 0x8452 + +GetPName enum: + CURRENT_FOG_COORD = 0x8453 + FOG_COORD_ARRAY_TYPE = 0x8454 + FOG_COORD_ARRAY_STRIDE = 0x8455 + +GetPointervPName enum: + FOG_COORD_ARRAY_POINTER = 0x8456 + +EnableCap enum: + FOG_COORD_ARRAY = 0x8457 ############################################################################### # @@ -384,14 +405,14 @@ VERSION_1_5 enum: DYNAMIC_COPY = 0x88EA # ARB_vertex_buffer_object # SAMPLES_PASSED = 0x8914 # ARB_occlusion_query # New naming scheme - FOG_COORD_SRC = GL_FOG_COORDINATE_SOURCE - FOG_COORD = GL_FOG_COORDINATE - CURRENT_FOG_COORD = GL_CURRENT_FOG_COORDINATE - FOG_COORD_ARRAY_TYPE = GL_FOG_COORDINATE_ARRAY_TYPE - FOG_COORD_ARRAY_STRIDE = GL_FOG_COORDINATE_ARRAY_STRIDE - FOG_COORD_ARRAY_POINTER = GL_FOG_COORDINATE_ARRAY_POINTER - FOG_COORD_ARRAY = GL_FOG_COORDINATE_ARRAY - FOG_COORD_ARRAY_BUFFER_BINDING = GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING +# FOG_COORD_SRC = GL_FOG_COORDINATE_SOURCE +# FOG_COORD = GL_FOG_COORDINATE +# CURRENT_FOG_COORD = GL_CURRENT_FOG_COORDINATE +# FOG_COORD_ARRAY_TYPE = GL_FOG_COORDINATE_ARRAY_TYPE +# FOG_COORD_ARRAY_STRIDE = GL_FOG_COORDINATE_ARRAY_STRIDE +# FOG_COORD_ARRAY_POINTER = GL_FOG_COORDINATE_ARRAY_POINTER +# FOG_COORD_ARRAY = GL_FOG_COORDINATE_ARRAY +# FOG_COORD_ARRAY_BUFFER_BINDING = GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING SRC0_RGB = GL_SOURCE0_RGB SRC1_RGB = GL_SOURCE1_RGB SRC2_RGB = GL_SOURCE2_RGB diff --git a/Source/Bind/Specifications/GL2/gl.spec b/Source/Bind/Specifications/GL2/gl.spec index 278adb06..b0f13e9c 100644 --- a/Source/Bind/Specifications/GL2/gl.spec +++ b/Source/Bind/Specifications/GL2/gl.spec @@ -5142,7 +5142,7 @@ FogCoorddv(coord) FogCoordPointer(type, stride, pointer) return void - param type FogPointerTypeEXT in value + param type FogPointerType in value # FogPointerTypeEXT in value param stride SizeI in value param pointer Void in array [COMPSIZE(type/stride)] retained category VERSION_1_4