Commits

Jason McKesson committed 4e8b60b

Old .spec files no longer needed.

Comments (0)

Files changed (15)

glspecs/_coreExtList.lua

---[[ This function returns a table of core extensions and the versions they were made core in.
-
-The table is indexed by extension name. Each entry contains:
-
-* name: The name of the extension. For redundancy.
-* version: The version number (as a string) that it was made core in.
-
-This list must be manually updated, as there is no equivalent in the spec files. Just add
-to the list. When a new version comes out with new core extensions, add a new list and
-add the local variable name to the master table as shown below.
-]]
-
-
-local coreExts3_0 = {
-	"ARB_vertex_array_object",
-	"ARB_texture_rg",
-	"ARB_texture_compression_rgtc",
-	"ARB_map_buffer_range",
-	"ARB_half_float_vertex",
-	"ARB_framebuffer_sRGB",
-	"ARB_framebuffer_object",
-	"ARB_depth_buffer_float",
-};
-
-local coreExts3_1 = {
-	"ARB_uniform_buffer_object",
-	"ARB_copy_buffer",
-};
-
-local coreExts3_2 = {
-	"ARB_depth_clamp",
-	"ARB_draw_elements_base_vertex",
-	"ARB_fragment_coord_conventions",
-	"ARB_provoking_vertex",
-	"ARB_seamless_cube_map",
-	"ARB_sync",
-	"ARB_texture_multisample",
-	"ARB_vertex_array_bgra",
-};
-
-local coreExts3_3 = {
-	"ARB_texture_rgb10_a2ui",
-	"ARB_texture_swizzle",
-	"ARB_timer_query",
-	"ARB_vertex_type_2_10_10_10_rev",
-	"ARB_blend_func_extended",
-	"ARB_occlusion_query2",
-	"ARB_sampler_objects",
-};
-
-local coreExts4_0 = {
-	"ARB_draw_indirect",
-	"ARB_gpu_shader5",
-	"ARB_gpu_shader_fp64",
-	"ARB_shader_subroutine",
-	"ARB_tessellation_shader",
-	"ARB_transform_feedback2",
-	"ARB_transform_feedback3",
-};
-
-local coreExts4_1 = {
-	"ARB_ES2_compatibility",
-	"ARB_get_program_binary",
-	"ARB_separate_shader_objects",
-	"ARB_vertex_attrib_64bit",
-	"ARB_viewport_array",
-};
-
-local coreExts4_2 = {
-	"ARB_base_instance",
-	"ARB_shading_language_420pack",
-	"ARB_transform_feedback_instanced",
-	"ARB_compressed_texture_pixel_storage",
-	"ARB_conservative_depth",
-	"ARB_internalformat_query",
-	"ARB_map_buffer_alignment",
-	"ARB_shader_atomic_counters",
-	"ARB_shader_image_load_store",
-	"ARB_shading_language_packing",
-	"ARB_texture_storage",
-};
-
-local masterTable = {
-	["3.0"] = coreExts3_0,
-	["3.1"] = coreExts3_1,
-	["3.2"] = coreExts3_2,
-	["3.3"] = coreExts3_3,
-	["4.0"] = coreExts4_0,
-	["4.1"] = coreExts4_1,
-	["4.2"] = coreExts4_2,
-};
-
-
---Build the actual table.
-local ret = {};
-for coreVersion, coreExtList in pairs(masterTable) do
-	for i, coreExt in pairs(coreExtList) do
-		ret[coreExt] = {name = coreExt, version = coreVersion};
-	end
-end
-
-return ret;

glspecs/enum.spec

-# This is the OpenGL and OpenGL ES enumerant registry.
-#
-# It is an extremely important file. Do not mess with it unless
-# you know what you're doing and have permission to do so.
-#
-# $Revision: 20868 $ on $Date: 2013-03-14 00:30:09 -0700 (Thu, 14 Mar 2013) $
-
-###############################################################################
-#
-# Before modifying this file, read the following:
-#
-#   ONLY the Khronos API Registrar (Jon Leech, jon 'at' alumni.caltech.edu)
-#   may allocate new enumerants outside the 'experimental' range described
-#   below. Any modifications to this file not performed by the Registrar
-#   are incompatible with the OpenGL API. The master copy of the registry,
-#   showing up-to-date enumerant allocations, is maintained in the
-#   OpenGL registry at
-#
-#	http://www.opengl.org/registry/
-#
-#   The following guidelines are thus only for reference purposes
-#   (unless you're the Registrar)
-#
-#   Enumerant values for extensions CANNOT be chosen arbitrarily, since
-#   the enumerant value space is shared by all GL implementations. It is
-#   therefore imperative that the procedures described in this file be
-#   followed carefully when allocating extension enum values.
-#
-# - Use tabs, not spaces.
-#
-# - When adding enum values for a new extension, use existing extensions
-#   as a guide.
-#
-# - When a vendor has committed to releasing a new extension and needs to
-#   allocate enum values for that extension, the vendor may request that the
-#   ARB allocate a previously unallocated block of 16 enum values, in the
-#   range 0x8000-0xFFFF, for the vendor's exclusive use.
-#
-# - The vendor that introduces an extension will allocate enum values for
-#   it as if it is a single-vendor extension, even if it is a multi-vendor
-#   (EXT) extension.
-#
-# - The file enum.spec is primarily a reference. The file enumext.spec
-#   contains enumerants for all OpenGL 1.2 and OpenGL extensions in a form
-#   used to generate <GL/glext.h>.
-#
-# - If a vendor hasn't yet released an extension, just add a comment to
-#   enum.spec that contains the name of the extension and the range of enum
-#   values used by the extension. When the vendor releases the extension,
-#   put the actual enum assignments in enum.spec and enumext.spec.
-#
-# - Allocate all of the enum values for an extension in a single contiguous
-#   block.
-#
-# - If an extension is experimental, allocate temporary enum values in the
-#   range 0x6000-0x8000 during development work.  When the vendor commits to
-#   releasing the extension, allocate permanent enum values (see below).
-#   There are two reasons for this policy:
-#
-#   1.	It is desirable to keep extension enum values tightly packed and to
-#	make all of the enum values for an extension be contiguous.  This is
-#	possible only if permanent enum values for a new extension are not
-#	allocated until the extension spec is stable and the number of new
-#	enum values needed by the extension has therefore stopped changing.
-#
-#   2.	OpenGL ARB policy is that a vendor may allocate a new block of 16
-#	extension enum values only if it has committed to releasing an
-#	extension that will use values in that block.
-#
-# - To allocate a new block of permanent enum values for an extension, do the
-#   following:
-#
-#   1.	Start at the top of enum.spec and choose the first future_use
-#	range that is not allocated to another vendor and is large enough
-#	to contain the new block. This will almost certainly be the
-#	'Any_vendor_future_use' range near the end of enum.spec. This
-#	process helps keep allocated enum values tightly packed into
-#	the start of the 0x8000-0xFFFF range.
-#
-#   2.	Allocate a block of enum values at the start of this range.  If
-#	the enum definitions are going into enumfuture.spec, add a comment
-#	to enum.spec that contains the name of the extension and the range
-#	of values in the new block. Use existing extensions as a guide.
-#
-#   3.	Add the size of the block you just allocated to the start of the
-#	chosen future_use range.  If you have allocated the entire range,
-#	eliminate its future_use entry.
-#
-#   4.	Note that there are historical enum allocations above 0xFFFF, but
-#	no new allocations will be made there in the forseeable future.
-#
-###############################################################################
-
-Extensions define:
-	VERSION_1_1					= 1
-	VERSION_1_2					= 1
-	VERSION_1_3					= 1
-	VERSION_1_4					= 1
-	VERSION_1_5					= 1
-	VERSION_2_0					= 1
-	VERSION_2_1					= 1
-	VERSION_3_0					= 1
-	VERSION_3_1					= 1
-	VERSION_3_2					= 1
-	ARB_imaging					= 1
-	EXT_abgr					= 1
-	EXT_blend_color					= 1
-	EXT_blend_logic_op				= 1
-	EXT_blend_minmax				= 1
-	EXT_blend_subtract				= 1
-	EXT_cmyka					= 1
-	EXT_convolution					= 1
-	EXT_copy_texture				= 1
-	EXT_histogram					= 1
-	EXT_packed_pixels				= 1
-	EXT_point_parameters				= 1
-	EXT_polygon_offset				= 1
-	EXT_rescale_normal				= 1
-	EXT_shared_texture_palette			= 1
-	EXT_subtexture					= 1
-	EXT_texture					= 1
-	EXT_texture3D					= 1
-	EXT_texture_object				= 1
-	EXT_vertex_array				= 1
-	SGIS_detail_texture				= 1
-	SGIS_fog_function				= 1
-	SGIS_generate_mipmap				= 1
-	SGIS_multisample				= 1
-	SGIS_pixel_texture				= 1
-	SGIS_point_line_texgen				= 1
-	SGIS_point_parameters				= 1
-	SGIS_sharpen_texture				= 1
-	SGIS_texture4D					= 1
-	SGIS_texture_border_clamp			= 1
-	SGIS_texture_edge_clamp				= 1
-	SGIS_texture_filter4				= 1
-	SGIS_texture_lod				= 1
-	SGIS_texture_select				= 1
-	SGIX_async					= 1
-	SGIX_async_histogram				= 1
-	SGIX_async_pixel				= 1
-	SGIX_blend_alpha_minmax				= 1
-	SGIX_calligraphic_fragment			= 1
-	SGIX_clipmap					= 1
-	SGIX_convolution_accuracy			= 1
-	SGIX_depth_texture				= 1
-	SGIX_flush_raster				= 1
-	SGIX_fog_offset					= 1
-	SGIX_fragment_lighting				= 1
-	SGIX_framezoom					= 1
-	SGIX_icc_texture				= 1
-	SGIX_impact_pixel_texture			= 1
-	SGIX_instruments				= 1
-	SGIX_interlace					= 1
-	SGIX_ir_instrument1				= 1
-	SGIX_list_priority				= 1
-	SGIX_pixel_texture				= 1
-	SGIX_pixel_tiles				= 1
-	SGIX_polynomial_ffd				= 1
-	SGIX_reference_plane				= 1
-	SGIX_resample					= 1
-	SGIX_scalebias_hint				= 1
-	SGIX_shadow					= 1
-	SGIX_shadow_ambient				= 1
-	SGIX_sprite					= 1
-	SGIX_subsample					= 1
-	SGIX_tag_sample_buffer				= 1
-	SGIX_texture_add_env				= 1
-	SGIX_texture_coordinate_clamp			= 1
-	SGIX_texture_lod_bias				= 1
-	SGIX_texture_multi_buffer			= 1
-	SGIX_texture_scale_bias				= 1
-	SGIX_vertex_preclip				= 1
-	SGIX_ycrcb					= 1
-	SGI_color_matrix				= 1
-	SGI_color_table					= 1
-	SGI_texture_color_table				= 1
-
-###############################################################################
-
-AttribMask enum:
-	CURRENT_BIT					= 0x00000001
-	POINT_BIT					= 0x00000002
-	LINE_BIT					= 0x00000004
-	POLYGON_BIT					= 0x00000008
-	POLYGON_STIPPLE_BIT				= 0x00000010
-	PIXEL_MODE_BIT					= 0x00000020
-	LIGHTING_BIT					= 0x00000040
-	FOG_BIT						= 0x00000080
-	DEPTH_BUFFER_BIT				= 0x00000100
-	ACCUM_BUFFER_BIT				= 0x00000200
-	STENCIL_BUFFER_BIT				= 0x00000400
-	VIEWPORT_BIT					= 0x00000800
-	TRANSFORM_BIT					= 0x00001000
-	ENABLE_BIT					= 0x00002000
-	COLOR_BUFFER_BIT				= 0x00004000
-	HINT_BIT					= 0x00008000
-	EVAL_BIT					= 0x00010000
-	LIST_BIT					= 0x00020000
-	TEXTURE_BIT					= 0x00040000
-	SCISSOR_BIT					= 0x00080000
-	ALL_ATTRIB_BITS					= 0xFFFFFFFF
-#??? ALL_ATTRIB_BITS mask value changed to all-1s in OpenGL 1.3 - this affects covgl.
-#	use ARB_multisample MULTISAMPLE_BIT_ARB
-#	use EXT_multisample MULTISAMPLE_BIT_EXT
-#	use 3DFX_multisample MULTISAMPLE_BIT_3DFX
-
-VERSION_1_3 enum: (Promoted for OpenGL 1.3)
-	MULTISAMPLE_BIT					= 0x20000000
-
-ARB_multisample enum:
-	MULTISAMPLE_BIT_ARB				= 0x20000000
-
-EXT_multisample enum:
-	MULTISAMPLE_BIT_EXT				= 0x20000000
-
-3DFX_multisample enum:
-	MULTISAMPLE_BIT_3DFX				= 0x20000000
-
-###############################################################################
-
-# Note that COVERAGE_BUFFER_BIT_NV collides with AttribMask bit
-# HINT_BIT. This is OK since the extension is for OpenGL ES 2, which
-# doesn't have attribute groups.
-ClearBufferMask enum:
-	use AttribMask DEPTH_BUFFER_BIT			# = 0x00000100
-	use AttribMask ACCUM_BUFFER_BIT			# = 0x00000200
-	use AttribMask STENCIL_BUFFER_BIT		# = 0x00000400
-	use AttribMask COLOR_BUFFER_BIT			# = 0x00004000
-	use NV_coverage_sample COVERAGE_BUFFER_BIT_NV	# = 0x00008000
-
-###############################################################################
-
-ClientAttribMask enum:
-	CLIENT_PIXEL_STORE_BIT				= 0x00000001
-	CLIENT_VERTEX_ARRAY_BIT				= 0x00000002
-	CLIENT_ALL_ATTRIB_BITS				= 0xFFFFFFFF
-
-###############################################################################
-
-# There's no obvious better place to put non-attribute-group mask bits
-VERSION_3_0 enum:
-	use ARB_map_buffer_range	    MAP_READ_BIT
-	use ARB_map_buffer_range	    MAP_WRITE_BIT
-	use ARB_map_buffer_range	    MAP_INVALIDATE_RANGE_BIT
-	use ARB_map_buffer_range	    MAP_INVALIDATE_BUFFER_BIT
-	use ARB_map_buffer_range	    MAP_FLUSH_EXPLICIT_BIT
-	use ARB_map_buffer_range	    MAP_UNSYNCHRONIZED_BIT
-
-ARB_map_buffer_range enum:
-	MAP_READ_BIT					= 0x0001    # VERSION_3_0 / ARB_mbr
-	MAP_WRITE_BIT					= 0x0002    # VERSION_3_0 / ARB_mbr
-	MAP_INVALIDATE_RANGE_BIT			= 0x0004    # VERSION_3_0 / ARB_mbr
-	MAP_INVALIDATE_BUFFER_BIT			= 0x0008    # VERSION_3_0 / ARB_mbr
-	MAP_FLUSH_EXPLICIT_BIT				= 0x0010    # VERSION_3_0 / ARB_mbr
-	MAP_UNSYNCHRONIZED_BIT				= 0x0020    # VERSION_3_0 / ARB_mbr
-
-EXT_map_buffer_range enum: (OpenGL ES only)
-	MAP_READ_BIT_EXT				= 0x0001
-	MAP_WRITE_BIT_EXT				= 0x0002
-	MAP_INVALIDATE_RANGE_BIT_EXT			= 0x0004
-	MAP_INVALIDATE_BUFFER_BIT_EXT			= 0x0008
-	MAP_FLUSH_EXPLICIT_BIT_EXT			= 0x0010
-	MAP_UNSYNCHRONIZED_BIT_EXT			= 0x0020
-
-
-###############################################################################
-
-# CONTEXT_FLAGS_ARB bits (should be shared with WGL and GLX)
-
-VERSION_3_0 enum:
-	CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT		= 0x00000001 # VERSION_3_0
-
-VERSION_4_3 enum:
-	use KHR_debug			    CONTEXT_FLAG_DEBUG_BIT
-
-KHR_debug enum:
-	CONTEXT_FLAG_DEBUG_BIT				= 0x00000002 # VERSION_4_3 / KHR_debug
-
-# 0x00000001 used in WGL/GLX for CONTEXT_DEBUG_BIT_ARB, while
-# 0x00000002 used in WGL/GLX for CONTEXT_FORWARD_COMPATIBLE_BIT_ARB. Oops.
-
-ARB_robustness enum:
-	CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB		= 0x00000004 # ARB_robustness
-
-###############################################################################
-
-# UseProgramStages stage bits (next available: 0x00000040)
-
-ARB_separate_shader_objects enum: (additional; see below)
-	VERTEX_SHADER_BIT				= 0x00000001
-	FRAGMENT_SHADER_BIT				= 0x00000002
-	GEOMETRY_SHADER_BIT				= 0x00000004
-	TESS_CONTROL_SHADER_BIT				= 0x00000008
-	TESS_EVALUATION_SHADER_BIT			= 0x00000010
-	ALL_SHADER_BITS					= 0xFFFFFFFF
-
-# Also VERSION_4_3
-ARB_compute_shader enum:
-	COMPUTE_SHADER_BIT				= 0x00000020	# UseProgramStages <stage> bitfield
-
-# Aliases ARB_separate_shader_objects enum above
-EXT_separate_shader_objects enum: (OpenGL ES only; additional; see below)
-	VERTEX_SHADER_BIT_EXT				= 0x00000001
-	FRAGMENT_SHADER_BIT_EXT				= 0x00000002
-	ALL_SHADER_BITS_EXT				= 0xFFFFFFFF
-
-###############################################################################
-
-# MemoryBarrier bits
-
-EXT_shader_image_load_store enum: (additional; see below)
-	VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT		= 0x00000001
-	ELEMENT_ARRAY_BARRIER_BIT_EXT			= 0x00000002
-	UNIFORM_BARRIER_BIT_EXT				= 0x00000004
-	TEXTURE_FETCH_BARRIER_BIT_EXT			= 0x00000008
-	SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT		= 0x00000020
-	COMMAND_BARRIER_BIT_EXT				= 0x00000040
-	PIXEL_BUFFER_BARRIER_BIT_EXT			= 0x00000080
-	TEXTURE_UPDATE_BARRIER_BIT_EXT			= 0x00000100
-	BUFFER_UPDATE_BARRIER_BIT_EXT			= 0x00000200
-	FRAMEBUFFER_BARRIER_BIT_EXT			= 0x00000400
-	TRANSFORM_FEEDBACK_BARRIER_BIT_EXT		= 0x00000800
-	ATOMIC_COUNTER_BARRIER_BIT_EXT			= 0x00001000
-	ALL_BARRIER_BITS_EXT				= 0xFFFFFFFF
-
-ARB_shader_image_load_store enum: (additional; see below)
-	VERTEX_ATTRIB_ARRAY_BARRIER_BIT			= 0x00000001
-	ELEMENT_ARRAY_BARRIER_BIT			= 0x00000002
-	UNIFORM_BARRIER_BIT				= 0x00000004
-	TEXTURE_FETCH_BARRIER_BIT			= 0x00000008
-	SHADER_IMAGE_ACCESS_BARRIER_BIT			= 0x00000020
-	COMMAND_BARRIER_BIT				= 0x00000040
-	PIXEL_BUFFER_BARRIER_BIT			= 0x00000080
-	TEXTURE_UPDATE_BARRIER_BIT			= 0x00000100
-	BUFFER_UPDATE_BARRIER_BIT			= 0x00000200
-	FRAMEBUFFER_BARRIER_BIT				= 0x00000400
-	TRANSFORM_FEEDBACK_BARRIER_BIT			= 0x00000800
-	ATOMIC_COUNTER_BARRIER_BIT			= 0x00001000
-	ALL_BARRIER_BITS				= 0xFFFFFFFF
-
-# Also VERSION_4_3
-ARB_shader_storage_buffer_object enum: (additional; see below)
-	SHADER_STORAGE_BARRIER_BIT			= 0x00002000
-
-###############################################################################
-
-# Texture memory layout formats, apparently a zero-based format
-
-INTEL_map_texture enum: (additional; see below)
-	LAYOUT_DEFAULT_INTEL				= 0
-	LAYOUT_LINEAR_INTEL				= 1
-	LAYOUT_LINEAR_CPU_CACHED_INTEL			= 2
-
-###############################################################################
-
-Boolean enum:
-	FALSE						= 0
-	TRUE						= 1
-
-###############################################################################
-
-BeginMode enum:
-	POINTS						= 0x0000
-	LINES						= 0x0001
-	LINE_LOOP					= 0x0002
-	LINE_STRIP					= 0x0003
-	TRIANGLES					= 0x0004
-	TRIANGLE_STRIP					= 0x0005
-	TRIANGLE_FAN					= 0x0006
-	QUADS						= 0x0007
-	QUAD_STRIP					= 0x0008
-	POLYGON						= 0x0009
-
-VERSION_3_2 enum:
-	LINES_ADJACENCY					= 0x000A
-	LINE_STRIP_ADJACENCY				= 0x000B
-	TRIANGLES_ADJACENCY				= 0x000C
-	TRIANGLE_STRIP_ADJACENCY			= 0x000D
-
-ARB_geometry_shader4 enum: (additional; see below)
-	LINES_ADJACENCY_ARB				= 0x000A
-	LINE_STRIP_ADJACENCY_ARB			= 0x000B
-	TRIANGLES_ADJACENCY_ARB				= 0x000C
-	TRIANGLE_STRIP_ADJACENCY_ARB			= 0x000D
-
-NV_geometry_program4 enum: (additional; see below)
-	LINES_ADJACENCY_EXT				= 0x000A
-	LINE_STRIP_ADJACENCY_EXT			= 0x000B
-	TRIANGLES_ADJACENCY_EXT				= 0x000C
-	TRIANGLE_STRIP_ADJACENCY_EXT			= 0x000D
-
-ARB_tessellation_shader enum:
-	PATCHES						= 0x000E
-
-NV_gpu_shader5 enum:
-	use ARB_tessellation_shader	    PATCHES
-
-# BeginMode_future_use: 0x000F
-
-###############################################################################
-
-AccumOp enum:
-	ACCUM						= 0x0100
-	LOAD						= 0x0101
-	RETURN						= 0x0102
-	MULT						= 0x0103
-	ADD						= 0x0104
-
-###############################################################################
-
-AlphaFunction enum:
-	NEVER						= 0x0200
-	LESS						= 0x0201
-	EQUAL						= 0x0202
-	LEQUAL						= 0x0203
-	GREATER						= 0x0204
-	NOTEQUAL					= 0x0205
-	GEQUAL						= 0x0206
-	ALWAYS						= 0x0207
-
-###############################################################################
-
-BlendingFactorDest enum:
-	ZERO						= 0
-	ONE						= 1
-	SRC_COLOR					= 0x0300
-	ONE_MINUS_SRC_COLOR				= 0x0301
-	SRC_ALPHA					= 0x0302
-	ONE_MINUS_SRC_ALPHA				= 0x0303
-	DST_ALPHA					= 0x0304
-	ONE_MINUS_DST_ALPHA				= 0x0305
-	use EXT_blend_color CONSTANT_COLOR_EXT
-	use EXT_blend_color ONE_MINUS_CONSTANT_COLOR_EXT
-	use EXT_blend_color CONSTANT_ALPHA_EXT
-	use EXT_blend_color ONE_MINUS_CONSTANT_ALPHA_EXT
-
-###############################################################################
-
-BlendingFactorSrc enum:
-	use BlendingFactorDest ZERO
-	use BlendingFactorDest ONE
-	DST_COLOR					= 0x0306
-	ONE_MINUS_DST_COLOR				= 0x0307
-	SRC_ALPHA_SATURATE				= 0x0308
-	use BlendingFactorDest SRC_ALPHA
-	use BlendingFactorDest ONE_MINUS_SRC_ALPHA
-	use BlendingFactorDest DST_ALPHA
-	use BlendingFactorDest ONE_MINUS_DST_ALPHA
-	use EXT_blend_color CONSTANT_COLOR_EXT
-	use EXT_blend_color ONE_MINUS_CONSTANT_COLOR_EXT
-	use EXT_blend_color CONSTANT_ALPHA_EXT
-	use EXT_blend_color ONE_MINUS_CONSTANT_ALPHA_EXT
-
-###############################################################################
-
-BlendEquationModeEXT enum:
-	use GetPName LOGIC_OP
-	use EXT_blend_minmax FUNC_ADD_EXT
-	use EXT_blend_minmax MIN_EXT
-	use EXT_blend_minmax MAX_EXT
-	use EXT_blend_subtract FUNC_SUBTRACT_EXT
-	use EXT_blend_subtract FUNC_REVERSE_SUBTRACT_EXT
-	use SGIX_blend_alpha_minmax ALPHA_MIN_SGIX
-	use SGIX_blend_alpha_minmax ALPHA_MAX_SGIX
-
-###############################################################################
-
-ColorMaterialFace enum:
-	use DrawBufferMode FRONT
-	use DrawBufferMode BACK
-	use DrawBufferMode FRONT_AND_BACK
-
-###############################################################################
-
-ColorMaterialParameter enum:
-	use LightParameter AMBIENT
-	use LightParameter DIFFUSE
-	use LightParameter SPECULAR
-	use MaterialParameter EMISSION
-	use MaterialParameter AMBIENT_AND_DIFFUSE
-
-###############################################################################
-
-ColorPointerType enum:
-	use DataType BYTE
-	use DataType UNSIGNED_BYTE
-	use DataType SHORT
-	use DataType UNSIGNED_SHORT
-	use DataType INT
-	use DataType UNSIGNED_INT
-	use DataType FLOAT
-	use DataType DOUBLE
-
-###############################################################################
-
-ColorTableParameterPNameSGI enum:
-	use SGI_color_table COLOR_TABLE_SCALE_SGI
-	use SGI_color_table COLOR_TABLE_BIAS_SGI
-
-###############################################################################
-
-ColorTableTargetSGI enum:
-	use SGI_color_table COLOR_TABLE_SGI
-	use SGI_color_table POST_CONVOLUTION_COLOR_TABLE_SGI
-	use SGI_color_table POST_COLOR_MATRIX_COLOR_TABLE_SGI
-	use SGI_color_table PROXY_COLOR_TABLE_SGI
-	use SGI_color_table PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI
-	use SGI_color_table PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI
-	use SGI_texture_color_table TEXTURE_COLOR_TABLE_SGI
-	use SGI_texture_color_table PROXY_TEXTURE_COLOR_TABLE_SGI
-
-###############################################################################
-
-ConvolutionBorderModeEXT enum:
-	use EXT_convolution REDUCE_EXT
-
-###############################################################################
-
-ConvolutionParameterEXT enum:
-	use EXT_convolution CONVOLUTION_BORDER_MODE_EXT
-	use EXT_convolution CONVOLUTION_FILTER_SCALE_EXT
-	use EXT_convolution CONVOLUTION_FILTER_BIAS_EXT
-
-###############################################################################
-
-ConvolutionTargetEXT enum:
-	use EXT_convolution CONVOLUTION_1D_EXT
-	use EXT_convolution CONVOLUTION_2D_EXT
-
-###############################################################################
-
-CullFaceMode enum:
-	use DrawBufferMode FRONT
-	use DrawBufferMode BACK
-	use DrawBufferMode FRONT_AND_BACK
-
-###############################################################################
-
-DepthFunction enum:
-	use AlphaFunction NEVER
-	use AlphaFunction LESS
-	use AlphaFunction EQUAL
-	use AlphaFunction LEQUAL
-	use AlphaFunction GREATER
-	use AlphaFunction NOTEQUAL
-	use AlphaFunction GEQUAL
-	use AlphaFunction ALWAYS
-
-###############################################################################
-
-DrawBufferMode enum:
-	NONE						= 0
-	FRONT_LEFT					= 0x0400
-	FRONT_RIGHT					= 0x0401
-	BACK_LEFT					= 0x0402
-	BACK_RIGHT					= 0x0403
-	FRONT						= 0x0404
-	BACK						= 0x0405
-	LEFT						= 0x0406
-	RIGHT						= 0x0407
-	FRONT_AND_BACK					= 0x0408
-	AUX0						= 0x0409
-	AUX1						= 0x040A
-	AUX2						= 0x040B
-	AUX3						= 0x040C
-
-# Aliases DrawBufferMode enum above
-OES_framebuffer_object enum: (OpenGL ES only; additional; see below)
-#	NONE_OES					= 0
-
-###############################################################################
-
-EnableCap enum:
-	use GetPName FOG
-	use GetPName LIGHTING
-	use GetPName TEXTURE_1D
-	use GetPName TEXTURE_2D
-	use GetPName LINE_STIPPLE
-	use GetPName POLYGON_STIPPLE
-	use GetPName CULL_FACE
-	use GetPName ALPHA_TEST
-	use GetPName BLEND
-	use GetPName INDEX_LOGIC_OP
-	use GetPName COLOR_LOGIC_OP
-	use GetPName DITHER
-	use GetPName STENCIL_TEST
-	use GetPName DEPTH_TEST
-	use GetPName CLIP_PLANE0
-	use GetPName CLIP_PLANE1
-	use GetPName CLIP_PLANE2
-	use GetPName CLIP_PLANE3
-	use GetPName CLIP_PLANE4
-	use GetPName CLIP_PLANE5
-	use GetPName LIGHT0
-	use GetPName LIGHT1
-	use GetPName LIGHT2
-	use GetPName LIGHT3
-	use GetPName LIGHT4
-	use GetPName LIGHT5
-	use GetPName LIGHT6
-	use GetPName LIGHT7
-	use GetPName TEXTURE_GEN_S
-	use GetPName TEXTURE_GEN_T
-	use GetPName TEXTURE_GEN_R
-	use GetPName TEXTURE_GEN_Q
-	use GetPName MAP1_VERTEX_3
-	use GetPName MAP1_VERTEX_4
-	use GetPName MAP1_COLOR_4
-	use GetPName MAP1_INDEX
-	use GetPName MAP1_NORMAL
-	use GetPName MAP1_TEXTURE_COORD_1
-	use GetPName MAP1_TEXTURE_COORD_2
-	use GetPName MAP1_TEXTURE_COORD_3
-	use GetPName MAP1_TEXTURE_COORD_4
-	use GetPName MAP2_VERTEX_3
-	use GetPName MAP2_VERTEX_4
-	use GetPName MAP2_COLOR_4
-	use GetPName MAP2_INDEX
-	use GetPName MAP2_NORMAL
-	use GetPName MAP2_TEXTURE_COORD_1
-	use GetPName MAP2_TEXTURE_COORD_2
-	use GetPName MAP2_TEXTURE_COORD_3
-	use GetPName MAP2_TEXTURE_COORD_4
-	use GetPName POINT_SMOOTH
-	use GetPName LINE_SMOOTH
-	use GetPName POLYGON_SMOOTH
-	use GetPName SCISSOR_TEST
-	use GetPName COLOR_MATERIAL
-	use GetPName NORMALIZE
-	use GetPName AUTO_NORMAL
-	use GetPName POLYGON_OFFSET_POINT
-	use GetPName POLYGON_OFFSET_LINE
-	use GetPName POLYGON_OFFSET_FILL
-	use GetPName VERTEX_ARRAY
-	use GetPName NORMAL_ARRAY
-	use GetPName COLOR_ARRAY
-	use GetPName INDEX_ARRAY
-	use GetPName TEXTURE_COORD_ARRAY
-	use GetPName EDGE_FLAG_ARRAY
-	use EXT_convolution CONVOLUTION_1D_EXT
-	use EXT_convolution CONVOLUTION_2D_EXT
-	use EXT_convolution SEPARABLE_2D_EXT
-	use EXT_histogram HISTOGRAM_EXT
-	use EXT_histogram MINMAX_EXT
-	use EXT_rescale_normal RESCALE_NORMAL_EXT
-	use EXT_shared_texture_palette SHARED_TEXTURE_PALETTE_EXT
-	use EXT_texture3D TEXTURE_3D_EXT
-	use SGIS_multisample MULTISAMPLE_SGIS
-	use SGIS_multisample SAMPLE_ALPHA_TO_MASK_SGIS
-	use SGIS_multisample SAMPLE_ALPHA_TO_ONE_SGIS
-	use SGIS_multisample SAMPLE_MASK_SGIS
-	use SGIS_texture4D TEXTURE_4D_SGIS
-	use SGIX_async_histogram ASYNC_HISTOGRAM_SGIX
-	use SGIX_async_pixel ASYNC_TEX_IMAGE_SGIX
-	use SGIX_async_pixel ASYNC_DRAW_PIXELS_SGIX
-	use SGIX_async_pixel ASYNC_READ_PIXELS_SGIX
-	use SGIX_calligraphic_fragment CALLIGRAPHIC_FRAGMENT_SGIX
-	use SGIX_fog_offset FOG_OFFSET_SGIX
-	use SGIX_fragment_lighting FRAGMENT_LIGHTING_SGIX
-	use SGIX_fragment_lighting FRAGMENT_COLOR_MATERIAL_SGIX
-	use SGIX_fragment_lighting FRAGMENT_LIGHT0_SGIX
-	use SGIX_fragment_lighting FRAGMENT_LIGHT1_SGIX
-	use SGIX_fragment_lighting FRAGMENT_LIGHT2_SGIX
-	use SGIX_fragment_lighting FRAGMENT_LIGHT3_SGIX
-	use SGIX_fragment_lighting FRAGMENT_LIGHT4_SGIX
-	use SGIX_fragment_lighting FRAGMENT_LIGHT5_SGIX
-	use SGIX_fragment_lighting FRAGMENT_LIGHT6_SGIX
-	use SGIX_fragment_lighting FRAGMENT_LIGHT7_SGIX
-	use SGIX_framezoom FRAMEZOOM_SGIX
-	use SGIX_interlace INTERLACE_SGIX
-	use SGIX_ir_instrument1 IR_INSTRUMENT1_SGIX
-	use SGIX_pixel_texture PIXEL_TEX_GEN_SGIX
-	use SGIS_pixel_texture PIXEL_TEXTURE_SGIS
-	use SGIX_reference_plane REFERENCE_PLANE_SGIX
-	use SGIX_sprite SPRITE_SGIX
-	use SGI_color_table COLOR_TABLE_SGI
-	use SGI_color_table POST_CONVOLUTION_COLOR_TABLE_SGI
-	use SGI_color_table POST_COLOR_MATRIX_COLOR_TABLE_SGI
-	use SGI_texture_color_table TEXTURE_COLOR_TABLE_SGI
-
-###############################################################################
-
-ErrorCode enum:
-	NO_ERROR					= 0
-	INVALID_ENUM					= 0x0500
-	INVALID_VALUE					= 0x0501
-	INVALID_OPERATION				= 0x0502
-	STACK_OVERFLOW					= 0x0503
-	STACK_UNDERFLOW					= 0x0504
-	OUT_OF_MEMORY					= 0x0505
-	use EXT_histogram TABLE_TOO_LARGE_EXT
-	use EXT_texture TEXTURE_TOO_LARGE_EXT
-
-# Additional error codes
-
-VERSION_3_0 enum:
-#	use ARB_framebuffer_object	    INVALID_FRAMEBUFFER_OPERATION
-
-ARB_framebuffer_object enum: (note: no ARB suffixes)
-	INVALID_FRAMEBUFFER_OPERATION			= 0x0506    # VERSION_3_0 / ARB_fbo
-
-EXT_framebuffer_object enum:
-	INVALID_FRAMEBUFFER_OPERATION_EXT		= 0x0506
-
-# Aliases EXT_fbo enum above
-OES_framebuffer_object enum: (OpenGL ES only; additional; see below)
-	INVALID_FRAMEBUFFER_OPERATION_OES		= 0x0506
-
-###############################################################################
-
-FeedbackType enum:
-	2D						= 0x0600
-	3D						= 0x0601
-	3D_COLOR					= 0x0602
-	3D_COLOR_TEXTURE				= 0x0603
-	4D_COLOR_TEXTURE				= 0x0604
-
-###############################################################################
-
-FeedBackToken enum:
-	PASS_THROUGH_TOKEN				= 0x0700
-	POINT_TOKEN					= 0x0701
-	LINE_TOKEN					= 0x0702
-	POLYGON_TOKEN					= 0x0703
-	BITMAP_TOKEN					= 0x0704
-	DRAW_PIXEL_TOKEN				= 0x0705
-	COPY_PIXEL_TOKEN				= 0x0706
-	LINE_RESET_TOKEN				= 0x0707
-
-###############################################################################
-
-FfdMaskSGIX enum:
-	TEXTURE_DEFORMATION_BIT_SGIX			= 0x00000001
-	GEOMETRY_DEFORMATION_BIT_SGIX			= 0x00000002
-
-###############################################################################
-
-FfdTargetSGIX enum:
-	use SGIX_polynomial_ffd GEOMETRY_DEFORMATION_SGIX
-	use SGIX_polynomial_ffd TEXTURE_DEFORMATION_SGIX
-
-###############################################################################
-
-FogMode enum:
-	use TextureMagFilter LINEAR
-	EXP						= 0x0800
-	EXP2						= 0x0801
-	use SGIS_fog_function FOG_FUNC_SGIS
-
-###############################################################################
-
-FogParameter enum:
-	use GetPName FOG_COLOR
-	use GetPName FOG_DENSITY
-	use GetPName FOG_END
-	use GetPName FOG_INDEX
-	use GetPName FOG_MODE
-	use GetPName FOG_START
-	use SGIX_fog_offset FOG_OFFSET_VALUE_SGIX
-
-###############################################################################
-
-FragmentLightModelParameterSGIX enum:
-	use SGIX_fragment_lighting FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX
-	use SGIX_fragment_lighting FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX
-	use SGIX_fragment_lighting FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX
-	use SGIX_fragment_lighting FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX
-
-###############################################################################
-
-FrontFaceDirection enum:
-	CW						= 0x0900
-	CCW						= 0x0901
-
-###############################################################################
-
-GetColorTableParameterPNameSGI enum:
-	use SGI_color_table COLOR_TABLE_SCALE_SGI
-	use SGI_color_table COLOR_TABLE_BIAS_SGI
-	use SGI_color_table COLOR_TABLE_FORMAT_SGI
-	use SGI_color_table COLOR_TABLE_WIDTH_SGI
-	use SGI_color_table COLOR_TABLE_RED_SIZE_SGI
-	use SGI_color_table COLOR_TABLE_GREEN_SIZE_SGI
-	use SGI_color_table COLOR_TABLE_BLUE_SIZE_SGI
-	use SGI_color_table COLOR_TABLE_ALPHA_SIZE_SGI
-	use SGI_color_table COLOR_TABLE_LUMINANCE_SIZE_SGI
-	use SGI_color_table COLOR_TABLE_INTENSITY_SIZE_SGI
-
-###############################################################################
-
-GetConvolutionParameter enum:
-	use EXT_convolution CONVOLUTION_BORDER_MODE_EXT
-	use EXT_convolution CONVOLUTION_FILTER_SCALE_EXT
-	use EXT_convolution CONVOLUTION_FILTER_BIAS_EXT
-	use EXT_convolution CONVOLUTION_FORMAT_EXT
-	use EXT_convolution CONVOLUTION_WIDTH_EXT
-	use EXT_convolution CONVOLUTION_HEIGHT_EXT
-	use EXT_convolution MAX_CONVOLUTION_WIDTH_EXT
-	use EXT_convolution MAX_CONVOLUTION_HEIGHT_EXT
-
-###############################################################################
-
-GetHistogramParameterPNameEXT enum:
-	use EXT_histogram HISTOGRAM_WIDTH_EXT
-	use EXT_histogram HISTOGRAM_FORMAT_EXT
-	use EXT_histogram HISTOGRAM_RED_SIZE_EXT
-	use EXT_histogram HISTOGRAM_GREEN_SIZE_EXT
-	use EXT_histogram HISTOGRAM_BLUE_SIZE_EXT
-	use EXT_histogram HISTOGRAM_ALPHA_SIZE_EXT
-	use EXT_histogram HISTOGRAM_LUMINANCE_SIZE_EXT
-	use EXT_histogram HISTOGRAM_SINK_EXT
-
-###############################################################################
-
-GetMapQuery enum:
-	COEFF						= 0x0A00
-	ORDER						= 0x0A01
-	DOMAIN						= 0x0A02
-
-###############################################################################
-
-GetMinmaxParameterPNameEXT enum:
-	use EXT_histogram MINMAX_FORMAT_EXT
-	use EXT_histogram MINMAX_SINK_EXT
-
-###############################################################################
-
-GetPixelMap enum:
-	PIXEL_MAP_I_TO_I				= 0x0C70
-	PIXEL_MAP_S_TO_S				= 0x0C71
-	PIXEL_MAP_I_TO_R				= 0x0C72
-	PIXEL_MAP_I_TO_G				= 0x0C73
-	PIXEL_MAP_I_TO_B				= 0x0C74
-	PIXEL_MAP_I_TO_A				= 0x0C75
-	PIXEL_MAP_R_TO_R				= 0x0C76
-	PIXEL_MAP_G_TO_G				= 0x0C77
-	PIXEL_MAP_B_TO_B				= 0x0C78
-	PIXEL_MAP_A_TO_A				= 0x0C79
-
-###############################################################################
-
-GetPointervPName enum:
-	VERTEX_ARRAY_POINTER				= 0x808E
-	NORMAL_ARRAY_POINTER				= 0x808F
-	COLOR_ARRAY_POINTER				= 0x8090
-	INDEX_ARRAY_POINTER				= 0x8091
-	TEXTURE_COORD_ARRAY_POINTER			= 0x8092
-	EDGE_FLAG_ARRAY_POINTER				= 0x8093
-	FEEDBACK_BUFFER_POINTER				= 0x0DF0
-	SELECTION_BUFFER_POINTER			= 0x0DF3
-	use SGIX_instruments INSTRUMENT_BUFFER_POINTER_SGIX
-
-###############################################################################
-
-# the columns after the comment symbol (#) indicate: number of params, type
-# (F - float, D - double, I - integer) for the returned values
-GetPName enum:
-	CURRENT_COLOR					= 0x0B00 # 4 F
-	CURRENT_INDEX					= 0x0B01 # 1 F
-	CURRENT_NORMAL					= 0x0B02 # 3 F
-	CURRENT_TEXTURE_COORDS				= 0x0B03 # 4 F
-	CURRENT_RASTER_COLOR				= 0x0B04 # 4 F
-	CURRENT_RASTER_INDEX				= 0x0B05 # 1 F
-	CURRENT_RASTER_TEXTURE_COORDS			= 0x0B06 # 4 F
-	CURRENT_RASTER_POSITION				= 0x0B07 # 4 F
-	CURRENT_RASTER_POSITION_VALID			= 0x0B08 # 1 I
-	CURRENT_RASTER_DISTANCE				= 0x0B09 # 1 F
-
-	POINT_SMOOTH					= 0x0B10 # 1 I
-	POINT_SIZE					= 0x0B11 # 1 F
-	POINT_SIZE_RANGE				= 0x0B12 # 2 F
-	POINT_SIZE_GRANULARITY				= 0x0B13 # 1 F
-
-	LINE_SMOOTH					= 0x0B20 # 1 I
-	LINE_WIDTH					= 0x0B21 # 1 F
-	LINE_WIDTH_RANGE				= 0x0B22 # 2 F
-	LINE_WIDTH_GRANULARITY				= 0x0B23 # 1 F
-	LINE_STIPPLE					= 0x0B24 # 1 I
-	LINE_STIPPLE_PATTERN				= 0x0B25 # 1 I
-	LINE_STIPPLE_REPEAT				= 0x0B26 # 1 I
-	use VERSION_1_2 SMOOTH_POINT_SIZE_RANGE
-	use VERSION_1_2 SMOOTH_POINT_SIZE_GRANULARITY
-	use VERSION_1_2 SMOOTH_LINE_WIDTH_RANGE
-	use VERSION_1_2 SMOOTH_LINE_WIDTH_GRANULARITY
-	use VERSION_1_2 ALIASED_POINT_SIZE_RANGE
-	use VERSION_1_2 ALIASED_LINE_WIDTH_RANGE
-
-	LIST_MODE					= 0x0B30 # 1 I
-	MAX_LIST_NESTING				= 0x0B31 # 1 I
-	LIST_BASE					= 0x0B32 # 1 I
-	LIST_INDEX					= 0x0B33 # 1 I
-
-	POLYGON_MODE					= 0x0B40 # 2 I
-	POLYGON_SMOOTH					= 0x0B41 # 1 I
-	POLYGON_STIPPLE					= 0x0B42 # 1 I
-	EDGE_FLAG					= 0x0B43 # 1 I
-	CULL_FACE					= 0x0B44 # 1 I
-	CULL_FACE_MODE					= 0x0B45 # 1 I
-	FRONT_FACE					= 0x0B46 # 1 I
-
-	LIGHTING					= 0x0B50 # 1 I
-	LIGHT_MODEL_LOCAL_VIEWER			= 0x0B51 # 1 I
-	LIGHT_MODEL_TWO_SIDE				= 0x0B52 # 1 I
-	LIGHT_MODEL_AMBIENT				= 0x0B53 # 4 F
-	SHADE_MODEL					= 0x0B54 # 1 I
-	COLOR_MATERIAL_FACE				= 0x0B55 # 1 I
-	COLOR_MATERIAL_PARAMETER			= 0x0B56 # 1 I
-	COLOR_MATERIAL					= 0x0B57 # 1 I
-
-	FOG						= 0x0B60 # 1 I
-	FOG_INDEX					= 0x0B61 # 1 I
-	FOG_DENSITY					= 0x0B62 # 1 F
-	FOG_START					= 0x0B63 # 1 F
-	FOG_END						= 0x0B64 # 1 F
-	FOG_MODE					= 0x0B65 # 1 I
-	FOG_COLOR					= 0x0B66 # 4 F
-
-	DEPTH_RANGE					= 0x0B70 # 2 F
-	DEPTH_TEST					= 0x0B71 # 1 I
-	DEPTH_WRITEMASK					= 0x0B72 # 1 I
-	DEPTH_CLEAR_VALUE				= 0x0B73 # 1 F
-	DEPTH_FUNC					= 0x0B74 # 1 I
-
-	ACCUM_CLEAR_VALUE				= 0x0B80 # 4 F
-
-	STENCIL_TEST					= 0x0B90 # 1 I
-	STENCIL_CLEAR_VALUE				= 0x0B91 # 1 I
-	STENCIL_FUNC					= 0x0B92 # 1 I
-	STENCIL_VALUE_MASK				= 0x0B93 # 1 I
-	STENCIL_FAIL					= 0x0B94 # 1 I
-	STENCIL_PASS_DEPTH_FAIL				= 0x0B95 # 1 I
-	STENCIL_PASS_DEPTH_PASS				= 0x0B96 # 1 I
-	STENCIL_REF					= 0x0B97 # 1 I
-	STENCIL_WRITEMASK				= 0x0B98 # 1 I
-
-	MATRIX_MODE					= 0x0BA0 # 1 I
-	NORMALIZE					= 0x0BA1 # 1 I
-	VIEWPORT					= 0x0BA2 # 4 I
-	MODELVIEW_STACK_DEPTH				= 0x0BA3 # 1 I
-	PROJECTION_STACK_DEPTH				= 0x0BA4 # 1 I
-	TEXTURE_STACK_DEPTH				= 0x0BA5 # 1 I
-	MODELVIEW_MATRIX				= 0x0BA6 # 16 F
-	PROJECTION_MATRIX				= 0x0BA7 # 16 F
-	TEXTURE_MATRIX					= 0x0BA8 # 16 F
-
-	ATTRIB_STACK_DEPTH				= 0x0BB0 # 1 I
-	CLIENT_ATTRIB_STACK_DEPTH			= 0x0BB1 # 1 I
-
-	ALPHA_TEST					= 0x0BC0 # 1 I
-	ALPHA_TEST_FUNC					= 0x0BC1 # 1 I
-	ALPHA_TEST_REF					= 0x0BC2 # 1 F
-
-	DITHER						= 0x0BD0 # 1 I
-
-	BLEND_DST					= 0x0BE0 # 1 I
-	BLEND_SRC					= 0x0BE1 # 1 I
-	BLEND						= 0x0BE2 # 1 I
-
-	LOGIC_OP_MODE					= 0x0BF0 # 1 I
-	INDEX_LOGIC_OP					= 0x0BF1 # 1 I
-	LOGIC_OP					= 0x0BF1 # 1 I
-	COLOR_LOGIC_OP					= 0x0BF2 # 1 I
-
-	AUX_BUFFERS					= 0x0C00 # 1 I
-	DRAW_BUFFER					= 0x0C01 # 1 I
-	READ_BUFFER					= 0x0C02 # 1 I
-
-	SCISSOR_BOX					= 0x0C10 # 4 I
-	SCISSOR_TEST					= 0x0C11 # 1 I
-
-	INDEX_CLEAR_VALUE				= 0x0C20 # 1 I
-	INDEX_WRITEMASK					= 0x0C21 # 1 I
-	COLOR_CLEAR_VALUE				= 0x0C22 # 4 F
-	COLOR_WRITEMASK					= 0x0C23 # 4 I
-
-	INDEX_MODE					= 0x0C30 # 1 I
-	RGBA_MODE					= 0x0C31 # 1 I
-	DOUBLEBUFFER					= 0x0C32 # 1 I
-	STEREO						= 0x0C33 # 1 I
-
-	RENDER_MODE					= 0x0C40 # 1 I
-
-	PERSPECTIVE_CORRECTION_HINT			= 0x0C50 # 1 I
-	POINT_SMOOTH_HINT				= 0x0C51 # 1 I
-	LINE_SMOOTH_HINT				= 0x0C52 # 1 I
-	POLYGON_SMOOTH_HINT				= 0x0C53 # 1 I
-	FOG_HINT					= 0x0C54 # 1 I
-
-	TEXTURE_GEN_S					= 0x0C60 # 1 I
-	TEXTURE_GEN_T					= 0x0C61 # 1 I
-	TEXTURE_GEN_R					= 0x0C62 # 1 I
-	TEXTURE_GEN_Q					= 0x0C63 # 1 I
-
-	PIXEL_MAP_I_TO_I_SIZE				= 0x0CB0 # 1 I
-	PIXEL_MAP_S_TO_S_SIZE				= 0x0CB1 # 1 I
-	PIXEL_MAP_I_TO_R_SIZE				= 0x0CB2 # 1 I
-	PIXEL_MAP_I_TO_G_SIZE				= 0x0CB3 # 1 I
-	PIXEL_MAP_I_TO_B_SIZE				= 0x0CB4 # 1 I
-	PIXEL_MAP_I_TO_A_SIZE				= 0x0CB5 # 1 I
-	PIXEL_MAP_R_TO_R_SIZE				= 0x0CB6 # 1 I
-	PIXEL_MAP_G_TO_G_SIZE				= 0x0CB7 # 1 I
-	PIXEL_MAP_B_TO_B_SIZE				= 0x0CB8 # 1 I
-	PIXEL_MAP_A_TO_A_SIZE				= 0x0CB9 # 1 I
-
-	UNPACK_SWAP_BYTES				= 0x0CF0 # 1 I
-	UNPACK_LSB_FIRST				= 0x0CF1 # 1 I
-	UNPACK_ROW_LENGTH				= 0x0CF2 # 1 I
-	UNPACK_SKIP_ROWS				= 0x0CF3 # 1 I
-	UNPACK_SKIP_PIXELS				= 0x0CF4 # 1 I
-	UNPACK_ALIGNMENT				= 0x0CF5 # 1 I
-
-	PACK_SWAP_BYTES					= 0x0D00 # 1 I
-	PACK_LSB_FIRST					= 0x0D01 # 1 I
-	PACK_ROW_LENGTH					= 0x0D02 # 1 I
-	PACK_SKIP_ROWS					= 0x0D03 # 1 I
-	PACK_SKIP_PIXELS				= 0x0D04 # 1 I
-	PACK_ALIGNMENT					= 0x0D05 # 1 I
-
-	MAP_COLOR					= 0x0D10 # 1 I
-	MAP_STENCIL					= 0x0D11 # 1 I
-	INDEX_SHIFT					= 0x0D12 # 1 I
-	INDEX_OFFSET					= 0x0D13 # 1 I
-	RED_SCALE					= 0x0D14 # 1 F
-	RED_BIAS					= 0x0D15 # 1 F
-	ZOOM_X						= 0x0D16 # 1 F
-	ZOOM_Y						= 0x0D17 # 1 F
-	GREEN_SCALE					= 0x0D18 # 1 F
-	GREEN_BIAS					= 0x0D19 # 1 F
-	BLUE_SCALE					= 0x0D1A # 1 F
-	BLUE_BIAS					= 0x0D1B # 1 F
-	ALPHA_SCALE					= 0x0D1C # 1 F
-	ALPHA_BIAS					= 0x0D1D # 1 F
-	DEPTH_SCALE					= 0x0D1E # 1 F
-	DEPTH_BIAS					= 0x0D1F # 1 F
-
-	MAX_EVAL_ORDER					= 0x0D30 # 1 I
-	MAX_LIGHTS					= 0x0D31 # 1 I
-
-# VERSION_3_0 enum: (aliases)
-	MAX_CLIP_DISTANCES				= 0x0D32    # VERSION_3_0   # alias GL_MAX_CLIP_PLANES
-
-	MAX_CLIP_PLANES					= 0x0D32 # 1 I
-	MAX_TEXTURE_SIZE				= 0x0D33 # 1 I
-	MAX_PIXEL_MAP_TABLE				= 0x0D34 # 1 I
-	MAX_ATTRIB_STACK_DEPTH				= 0x0D35 # 1 I
-	MAX_MODELVIEW_STACK_DEPTH			= 0x0D36 # 1 I
-	MAX_NAME_STACK_DEPTH				= 0x0D37 # 1 I
-	MAX_PROJECTION_STACK_DEPTH			= 0x0D38 # 1 I
-	MAX_TEXTURE_STACK_DEPTH				= 0x0D39 # 1 I
-	MAX_VIEWPORT_DIMS				= 0x0D3A # 2 F
-	MAX_CLIENT_ATTRIB_STACK_DEPTH			= 0x0D3B # 1 I
-
-	SUBPIXEL_BITS					= 0x0D50 # 1 I
-	INDEX_BITS					= 0x0D51 # 1 I
-	RED_BITS					= 0x0D52 # 1 I
-	GREEN_BITS					= 0x0D53 # 1 I
-	BLUE_BITS					= 0x0D54 # 1 I
-	ALPHA_BITS					= 0x0D55 # 1 I
-	DEPTH_BITS					= 0x0D56 # 1 I
-	STENCIL_BITS					= 0x0D57 # 1 I
-	ACCUM_RED_BITS					= 0x0D58 # 1 I
-	ACCUM_GREEN_BITS				= 0x0D59 # 1 I
-	ACCUM_BLUE_BITS					= 0x0D5A # 1 I
-	ACCUM_ALPHA_BITS				= 0x0D5B # 1 I
-
-	NAME_STACK_DEPTH				= 0x0D70 # 1 I
-
-	AUTO_NORMAL					= 0x0D80 # 1 I
-
-	MAP1_COLOR_4					= 0x0D90 # 1 I
-	MAP1_INDEX					= 0x0D91 # 1 I
-	MAP1_NORMAL					= 0x0D92 # 1 I
-	MAP1_TEXTURE_COORD_1				= 0x0D93 # 1 I
-	MAP1_TEXTURE_COORD_2				= 0x0D94 # 1 I
-	MAP1_TEXTURE_COORD_3				= 0x0D95 # 1 I
-	MAP1_TEXTURE_COORD_4				= 0x0D96 # 1 I
-	MAP1_VERTEX_3					= 0x0D97 # 1 I
-	MAP1_VERTEX_4					= 0x0D98 # 1 I
-
-	MAP2_COLOR_4					= 0x0DB0 # 1 I
-	MAP2_INDEX					= 0x0DB1 # 1 I
-	MAP2_NORMAL					= 0x0DB2 # 1 I
-	MAP2_TEXTURE_COORD_1				= 0x0DB3 # 1 I
-	MAP2_TEXTURE_COORD_2				= 0x0DB4 # 1 I
-	MAP2_TEXTURE_COORD_3				= 0x0DB5 # 1 I
-	MAP2_TEXTURE_COORD_4				= 0x0DB6 # 1 I
-	MAP2_VERTEX_3					= 0x0DB7 # 1 I
-	MAP2_VERTEX_4					= 0x0DB8 # 1 I
-
-	MAP1_GRID_DOMAIN				= 0x0DD0 # 2 F
-	MAP1_GRID_SEGMENTS				= 0x0DD1 # 1 I
-	MAP2_GRID_DOMAIN				= 0x0DD2 # 4 F
-	MAP2_GRID_SEGMENTS				= 0x0DD3 # 2 I
-
-	TEXTURE_1D					= 0x0DE0 # 1 I
-	TEXTURE_2D					= 0x0DE1 # 1 I
-
-	FEEDBACK_BUFFER_SIZE				= 0x0DF1 # 1 I
-	FEEDBACK_BUFFER_TYPE				= 0x0DF2 # 1 I
-
-	SELECTION_BUFFER_SIZE				= 0x0DF4 # 1 I
-
-	POLYGON_OFFSET_UNITS				= 0x2A00 # 1 F
-	POLYGON_OFFSET_POINT				= 0x2A01 # 1 I
-	POLYGON_OFFSET_LINE				= 0x2A02 # 1 I
-	POLYGON_OFFSET_FILL				= 0x8037 # 1 I
-	POLYGON_OFFSET_FACTOR				= 0x8038 # 1 F
-
-	TEXTURE_BINDING_1D				= 0x8068 # 1 I
-	TEXTURE_BINDING_2D				= 0x8069 # 1 I
-	TEXTURE_BINDING_3D				= 0x806A # 1 I
-
-	VERTEX_ARRAY					= 0x8074 # 1 I
-	NORMAL_ARRAY					= 0x8075 # 1 I
-	COLOR_ARRAY					= 0x8076 # 1 I
-	INDEX_ARRAY					= 0x8077 # 1 I
-	TEXTURE_COORD_ARRAY				= 0x8078 # 1 I
-	EDGE_FLAG_ARRAY					= 0x8079 # 1 I
-
-	VERTEX_ARRAY_SIZE				= 0x807A # 1 I
-	VERTEX_ARRAY_TYPE				= 0x807B # 1 I
-	VERTEX_ARRAY_STRIDE				= 0x807C # 1 I
-
-	NORMAL_ARRAY_TYPE				= 0x807E # 1 I
-	NORMAL_ARRAY_STRIDE				= 0x807F # 1 I
-
-	COLOR_ARRAY_SIZE				= 0x8081 # 1 I
-	COLOR_ARRAY_TYPE				= 0x8082 # 1 I
-	COLOR_ARRAY_STRIDE				= 0x8083 # 1 I
-
-	INDEX_ARRAY_TYPE				= 0x8085 # 1 I
-	INDEX_ARRAY_STRIDE				= 0x8086 # 1 I
-
-	TEXTURE_COORD_ARRAY_SIZE			= 0x8088 # 1 I
-	TEXTURE_COORD_ARRAY_TYPE			= 0x8089 # 1 I
-	TEXTURE_COORD_ARRAY_STRIDE			= 0x808A # 1 I
-
-	EDGE_FLAG_ARRAY_STRIDE				= 0x808C # 1 I
-
-	use ClipPlaneName CLIP_PLANE0
-	use ClipPlaneName CLIP_PLANE1
-	use ClipPlaneName CLIP_PLANE2
-	use ClipPlaneName CLIP_PLANE3
-	use ClipPlaneName CLIP_PLANE4
-	use ClipPlaneName CLIP_PLANE5
-
-	use LightName LIGHT0
-	use LightName LIGHT1
-	use LightName LIGHT2
-	use LightName LIGHT3
-	use LightName LIGHT4
-	use LightName LIGHT5
-	use LightName LIGHT6
-	use LightName LIGHT7
-
-#	use ARB_transpose_matrix	    TRANSPOSE_MODELVIEW_MATRIX_ARB
-#	use ARB_transpose_matrix	    TRANSPOSE_PROJECTION_MATRIX_ARB
-#	use ARB_transpose_matrix	    TRANSPOSE_TEXTURE_MATRIX_ARB
-#	use ARB_transpose_matrix	    TRANSPOSE_COLOR_MATRIX_ARB
-
-	use VERSION_1_2 LIGHT_MODEL_COLOR_CONTROL
-
-	use EXT_blend_color BLEND_COLOR_EXT
-
-	use EXT_blend_minmax BLEND_EQUATION_EXT
-
-	use EXT_cmyka PACK_CMYK_HINT_EXT
-	use EXT_cmyka UNPACK_CMYK_HINT_EXT
-
-	use EXT_convolution CONVOLUTION_1D_EXT
-	use EXT_convolution CONVOLUTION_2D_EXT
-	use EXT_convolution SEPARABLE_2D_EXT
-	use EXT_convolution POST_CONVOLUTION_RED_SCALE_EXT
-	use EXT_convolution POST_CONVOLUTION_GREEN_SCALE_EXT
-	use EXT_convolution POST_CONVOLUTION_BLUE_SCALE_EXT
-	use EXT_convolution POST_CONVOLUTION_ALPHA_SCALE_EXT
-	use EXT_convolution POST_CONVOLUTION_RED_BIAS_EXT
-	use EXT_convolution POST_CONVOLUTION_GREEN_BIAS_EXT
-	use EXT_convolution POST_CONVOLUTION_BLUE_BIAS_EXT
-	use EXT_convolution POST_CONVOLUTION_ALPHA_BIAS_EXT
-
-	use EXT_histogram HISTOGRAM_EXT
-	use EXT_histogram MINMAX_EXT
-
-	use EXT_polygon_offset POLYGON_OFFSET_BIAS_EXT
-
-	use EXT_rescale_normal RESCALE_NORMAL_EXT
-
-	use EXT_shared_texture_palette SHARED_TEXTURE_PALETTE_EXT
-
-	use EXT_texture_object TEXTURE_3D_BINDING_EXT
-
-	use EXT_texture3D PACK_SKIP_IMAGES_EXT
-	use EXT_texture3D PACK_IMAGE_HEIGHT_EXT
-	use EXT_texture3D UNPACK_SKIP_IMAGES_EXT
-	use EXT_texture3D UNPACK_IMAGE_HEIGHT_EXT
-	use EXT_texture3D TEXTURE_3D_EXT
-	use EXT_texture3D MAX_3D_TEXTURE_SIZE_EXT
-
-	use EXT_vertex_array VERTEX_ARRAY_COUNT_EXT
-	use EXT_vertex_array NORMAL_ARRAY_COUNT_EXT
-	use EXT_vertex_array COLOR_ARRAY_COUNT_EXT
-	use EXT_vertex_array INDEX_ARRAY_COUNT_EXT
-	use EXT_vertex_array TEXTURE_COORD_ARRAY_COUNT_EXT
-	use EXT_vertex_array EDGE_FLAG_ARRAY_COUNT_EXT
-
-	use SGIS_detail_texture DETAIL_TEXTURE_2D_BINDING_SGIS
-
-	use SGIS_fog_function FOG_FUNC_POINTS_SGIS
-	use SGIS_fog_function MAX_FOG_FUNC_POINTS_SGIS
-
-	use SGIS_generate_mipmap GENERATE_MIPMAP_HINT_SGIS
-
-	use SGIS_multisample MULTISAMPLE_SGIS
-	use SGIS_multisample SAMPLE_ALPHA_TO_MASK_SGIS
-	use SGIS_multisample SAMPLE_ALPHA_TO_ONE_SGIS
-	use SGIS_multisample SAMPLE_MASK_SGIS
-	use SGIS_multisample SAMPLE_BUFFERS_SGIS
-	use SGIS_multisample SAMPLES_SGIS
-	use SGIS_multisample SAMPLE_MASK_VALUE_SGIS
-	use SGIS_multisample SAMPLE_MASK_INVERT_SGIS
-	use SGIS_multisample SAMPLE_PATTERN_SGIS
-
-	use SGIS_pixel_texture PIXEL_TEXTURE_SGIS
-
-	use SGIS_point_parameters POINT_SIZE_MIN_SGIS
-	use SGIS_point_parameters POINT_SIZE_MAX_SGIS
-	use SGIS_point_parameters POINT_FADE_THRESHOLD_SIZE_SGIS
-	use SGIS_point_parameters DISTANCE_ATTENUATION_SGIS
-
-	use SGIS_texture4D PACK_SKIP_VOLUMES_SGIS
-	use SGIS_texture4D PACK_IMAGE_DEPTH_SGIS
-	use SGIS_texture4D UNPACK_SKIP_VOLUMES_SGIS
-	use SGIS_texture4D UNPACK_IMAGE_DEPTH_SGIS
-	use SGIS_texture4D TEXTURE_4D_SGIS
-	use SGIS_texture4D MAX_4D_TEXTURE_SIZE_SGIS
-	use SGIS_texture4D TEXTURE_4D_BINDING_SGIS
-
-	use SGIX_async ASYNC_MARKER_SGIX
-
-	use SGIX_async_histogram ASYNC_HISTOGRAM_SGIX
-	use SGIX_async_histogram MAX_ASYNC_HISTOGRAM_SGIX
-
-	use SGIX_async_pixel ASYNC_TEX_IMAGE_SGIX
-	use SGIX_async_pixel ASYNC_DRAW_PIXELS_SGIX
-	use SGIX_async_pixel ASYNC_READ_PIXELS_SGIX
-	use SGIX_async_pixel MAX_ASYNC_TEX_IMAGE_SGIX
-	use SGIX_async_pixel MAX_ASYNC_DRAW_PIXELS_SGIX
-	use SGIX_async_pixel MAX_ASYNC_READ_PIXELS_SGIX
-
-	use SGIX_calligraphic_fragment CALLIGRAPHIC_FRAGMENT_SGIX
-
-	use SGIX_clipmap MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX
-	use SGIX_clipmap MAX_CLIPMAP_DEPTH_SGIX
-
-	use SGIX_convolution_accuracy CONVOLUTION_HINT_SGIX
-
-	use SGIX_fog_offset FOG_OFFSET_SGIX
-	use SGIX_fog_offset FOG_OFFSET_VALUE_SGIX
-
-	use SGIX_fragment_lighting FRAGMENT_LIGHTING_SGIX
-	use SGIX_fragment_lighting FRAGMENT_COLOR_MATERIAL_SGIX
-	use SGIX_fragment_lighting FRAGMENT_COLOR_MATERIAL_FACE_SGIX
-	use SGIX_fragment_lighting FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX
-	use SGIX_fragment_lighting MAX_FRAGMENT_LIGHTS_SGIX
-	use SGIX_fragment_lighting MAX_ACTIVE_LIGHTS_SGIX
-	use SGIX_fragment_lighting LIGHT_ENV_MODE_SGIX
-	use SGIX_fragment_lighting FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX
-	use SGIX_fragment_lighting FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX
-	use SGIX_fragment_lighting FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX
-	use SGIX_fragment_lighting FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX
-	use SGIX_fragment_lighting FRAGMENT_LIGHT0_SGIX
-
-	use SGIX_framezoom FRAMEZOOM_SGIX
-	use SGIX_framezoom FRAMEZOOM_FACTOR_SGIX
-	use SGIX_framezoom MAX_FRAMEZOOM_FACTOR_SGIX
-
-	use SGIX_instruments INSTRUMENT_MEASUREMENTS_SGIX
-
-	use SGIX_interlace INTERLACE_SGIX
-
-	use SGIX_ir_instrument1 IR_INSTRUMENT1_SGIX
-
-	use SGIX_pixel_texture PIXEL_TEX_GEN_SGIX
-	use SGIX_pixel_texture PIXEL_TEX_GEN_MODE_SGIX
-
-	use SGIX_pixel_tiles PIXEL_TILE_BEST_ALIGNMENT_SGIX
-	use SGIX_pixel_tiles PIXEL_TILE_CACHE_INCREMENT_SGIX
-	use SGIX_pixel_tiles PIXEL_TILE_WIDTH_SGIX
-	use SGIX_pixel_tiles PIXEL_TILE_HEIGHT_SGIX
-	use SGIX_pixel_tiles PIXEL_TILE_GRID_WIDTH_SGIX
-	use SGIX_pixel_tiles PIXEL_TILE_GRID_HEIGHT_SGIX
-	use SGIX_pixel_tiles PIXEL_TILE_GRID_DEPTH_SGIX
-	use SGIX_pixel_tiles PIXEL_TILE_CACHE_SIZE_SGIX
-
-	use SGIX_polynomial_ffd DEFORMATIONS_MASK_SGIX
-
-	use SGIX_reference_plane REFERENCE_PLANE_EQUATION_SGIX
-	use SGIX_reference_plane REFERENCE_PLANE_SGIX
-
-	use SGIX_sprite SPRITE_SGIX
-	use SGIX_sprite SPRITE_MODE_SGIX
-	use SGIX_sprite SPRITE_AXIS_SGIX
-	use SGIX_sprite SPRITE_TRANSLATION_SGIX
-
-	use SGIX_subsample PACK_SUBSAMPLE_RATE_SGIX
-	use SGIX_subsample UNPACK_SUBSAMPLE_RATE_SGIX
-	use SGIX_resample PACK_RESAMPLE_SGIX
-	use SGIX_resample UNPACK_RESAMPLE_SGIX
-
-	use SGIX_texture_scale_bias POST_TEXTURE_FILTER_BIAS_RANGE_SGIX
-	use SGIX_texture_scale_bias POST_TEXTURE_FILTER_SCALE_RANGE_SGIX
-
-	use SGIX_vertex_preclip VERTEX_PRECLIP_SGIX
-	use SGIX_vertex_preclip VERTEX_PRECLIP_HINT_SGIX
-
-	use SGI_color_matrix COLOR_MATRIX_SGI
-	use SGI_color_matrix COLOR_MATRIX_STACK_DEPTH_SGI
-	use SGI_color_matrix MAX_COLOR_MATRIX_STACK_DEPTH_SGI
-	use SGI_color_matrix POST_COLOR_MATRIX_RED_SCALE_SGI
-	use SGI_color_matrix POST_COLOR_MATRIX_GREEN_SCALE_SGI
-	use SGI_color_matrix POST_COLOR_MATRIX_BLUE_SCALE_SGI
-	use SGI_color_matrix POST_COLOR_MATRIX_ALPHA_SCALE_SGI
-	use SGI_color_matrix POST_COLOR_MATRIX_RED_BIAS_SGI
-	use SGI_color_matrix POST_COLOR_MATRIX_GREEN_BIAS_SGI
-	use SGI_color_matrix POST_COLOR_MATRIX_BLUE_BIAS_SGI
-	use SGI_color_matrix POST_COLOR_MATRIX_ALPHA_BIAS_SGI
-
-	use SGI_color_table COLOR_TABLE_SGI
-	use SGI_color_table POST_CONVOLUTION_COLOR_TABLE_SGI
-	use SGI_color_table POST_COLOR_MATRIX_COLOR_TABLE_SGI
-
-	use SGI_texture_color_table TEXTURE_COLOR_TABLE_SGI
-
-# Aliases OpenGL 1.0 core enums above
-EXT_vertex_weighting enum: (additional)
-	MODELVIEW0_STACK_DEPTH_EXT			= 0x0BA3 # GL_MODELVIEW_STACK_DEPTH
-	MODELVIEW0_MATRIX_EXT				= 0x0BA6 # GL_MODELVIEW_MATRIX
-
-QCOM_alpha_test enum: (OpenGL ES only)
-	ALPHA_TEST_QCOM					= 0x0BC0
-	ALPHA_TEST_FUNC_QCOM				= 0x0BC1
-	ALPHA_TEST_REF_QCOM				= 0x0BC2
-
-# These may need EXT suffixes added instead of 'use' directives
-EXT_unpack_subimage enum: (OpenGL ES only)
-	use GetPName UNPACK_ROW_LENGTH
-	use GetPName UNPACK_SKIP_ROWS
-	use GetPName UNPACK_SKIP_PIXELS
-
-EXT_multiview_draw_buffers enum: (OpenGL ES only; additional; see below)
-	DRAW_BUFFER_EXT					= 0x0C01
-	READ_BUFFER_EXT					= 0x0C02
-
-NV_read_buffer enum: (OpenGL ES only)
-	READ_BUFFER_NV					= 0x0C02
-
-###############################################################################
-
-GetTextureParameter enum:
-	use TextureParameterName TEXTURE_MAG_FILTER
-	use TextureParameterName TEXTURE_MIN_FILTER
-	use TextureParameterName TEXTURE_WRAP_S
-	use TextureParameterName TEXTURE_WRAP_T
-	TEXTURE_WIDTH					= 0x1000
-	TEXTURE_HEIGHT					= 0x1001
-	TEXTURE_INTERNAL_FORMAT				= 0x1003
-	TEXTURE_COMPONENTS				= 0x1003
-	TEXTURE_BORDER_COLOR				= 0x1004
-	TEXTURE_BORDER					= 0x1005
-	TEXTURE_RED_SIZE				= 0x805C
-	TEXTURE_GREEN_SIZE				= 0x805D
-	TEXTURE_BLUE_SIZE				= 0x805E
-	TEXTURE_ALPHA_SIZE				= 0x805F
-	TEXTURE_LUMINANCE_SIZE				= 0x8060
-	TEXTURE_INTENSITY_SIZE				= 0x8061
-	TEXTURE_PRIORITY				= 0x8066
-	TEXTURE_RESIDENT				= 0x8067
-	use EXT_texture3D TEXTURE_DEPTH_EXT
-	use EXT_texture3D TEXTURE_WRAP_R_EXT
-	use SGIS_detail_texture DETAIL_TEXTURE_LEVEL_SGIS
-	use SGIS_detail_texture DETAIL_TEXTURE_MODE_SGIS
-	use SGIS_detail_texture DETAIL_TEXTURE_FUNC_POINTS_SGIS
-	use SGIS_generate_mipmap GENERATE_MIPMAP_SGIS
-	use SGIS_sharpen_texture SHARPEN_TEXTURE_FUNC_POINTS_SGIS
-	use SGIS_texture_filter4 TEXTURE_FILTER4_SIZE_SGIS
-	use SGIS_texture_lod TEXTURE_MIN_LOD_SGIS
-	use SGIS_texture_lod TEXTURE_MAX_LOD_SGIS
-	use SGIS_texture_lod TEXTURE_BASE_LEVEL_SGIS
-	use SGIS_texture_lod TEXTURE_MAX_LEVEL_SGIS
-	use SGIS_texture_select DUAL_TEXTURE_SELECT_SGIS
-	use SGIS_texture_select QUAD_TEXTURE_SELECT_SGIS
-	use SGIS_texture4D TEXTURE_4DSIZE_SGIS
-	use SGIS_texture4D TEXTURE_WRAP_Q_SGIS
-	use SGIX_clipmap TEXTURE_CLIPMAP_CENTER_SGIX
-	use SGIX_clipmap TEXTURE_CLIPMAP_FRAME_SGIX
-	use SGIX_clipmap TEXTURE_CLIPMAP_OFFSET_SGIX
-	use SGIX_clipmap TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX
-	use SGIX_clipmap TEXTURE_CLIPMAP_LOD_OFFSET_SGIX
-	use SGIX_clipmap TEXTURE_CLIPMAP_DEPTH_SGIX
-	use SGIX_shadow TEXTURE_COMPARE_SGIX
-	use SGIX_shadow TEXTURE_COMPARE_OPERATOR_SGIX
-	use SGIX_shadow TEXTURE_LEQUAL_R_SGIX
-	use SGIX_shadow TEXTURE_GEQUAL_R_SGIX
-	use SGIX_shadow_ambient SHADOW_AMBIENT_SGIX
-	use SGIX_texture_coordinate_clamp TEXTURE_MAX_CLAMP_S_SGIX
-	use SGIX_texture_coordinate_clamp TEXTURE_MAX_CLAMP_T_SGIX
-	use SGIX_texture_coordinate_clamp TEXTURE_MAX_CLAMP_R_SGIX
-	use SGIX_texture_lod_bias TEXTURE_LOD_BIAS_S_SGIX
-	use SGIX_texture_lod_bias TEXTURE_LOD_BIAS_T_SGIX
-	use SGIX_texture_lod_bias TEXTURE_LOD_BIAS_R_SGIX
-	use SGIX_texture_scale_bias POST_TEXTURE_FILTER_BIAS_SGIX
-	use SGIX_texture_scale_bias POST_TEXTURE_FILTER_SCALE_SGIX
-
-# Aliases OpenGL 1.0 core enum above
-NV_texture_border_clamp enum: (OpenGL ES only; additional; see below)
-	TEXTURE_BORDER_COLOR_NV				= 0x1004
-
-###############################################################################
-
-HintMode enum:
-	DONT_CARE					= 0x1100
-	FASTEST						= 0x1101
-	NICEST						= 0x1102
-
-###############################################################################
-
-HintTarget enum:
-	use GetPName PERSPECTIVE_CORRECTION_HINT
-	use GetPName POINT_SMOOTH_HINT
-	use GetPName LINE_SMOOTH_HINT
-	use GetPName POLYGON_SMOOTH_HINT
-	use GetPName FOG_HINT
-	use EXT_cmyka PACK_CMYK_HINT_EXT
-	use EXT_cmyka UNPACK_CMYK_HINT_EXT
-	use SGIS_generate_mipmap GENERATE_MIPMAP_HINT_SGIS
-	use SGIX_convolution_accuracy CONVOLUTION_HINT_SGIX
-	use SGIX_texture_multi_buffer TEXTURE_MULTI_BUFFER_HINT_SGIX
-	use SGIX_vertex_preclip VERTEX_PRECLIP_HINT_SGIX
-
-###############################################################################
-
-HistogramTargetEXT enum:
-	use EXT_histogram HISTOGRAM_EXT
-	use EXT_histogram PROXY_HISTOGRAM_EXT
-
-###############################################################################
-
-IndexPointerType enum:
-	use DataType SHORT
-	use DataType INT
-	use DataType FLOAT
-	use DataType DOUBLE
-
-###############################################################################
-
-LightEnvModeSGIX enum:
-	use StencilOp REPLACE
-	use TextureEnvMode MODULATE
-	use AccumOp ADD
-
-###############################################################################
-
-LightEnvParameterSGIX enum:
-	use SGIX_fragment_lighting LIGHT_ENV_MODE_SGIX
-
-###############################################################################
-
-LightModelColorControl enum:
-	use VERSION_1_2 SINGLE_COLOR
-	use VERSION_1_2 SEPARATE_SPECULAR_COLOR
-
-###############################################################################
-
-LightModelParameter enum:
-	use GetPName LIGHT_MODEL_AMBIENT
-	use GetPName LIGHT_MODEL_LOCAL_VIEWER
-	use GetPName LIGHT_MODEL_TWO_SIDE
-	use VERSION_1_2 LIGHT_MODEL_COLOR_CONTROL
-
-###############################################################################
-
-LightParameter enum:
-	AMBIENT						= 0x1200
-	DIFFUSE						= 0x1201
-	SPECULAR					= 0x1202
-	POSITION					= 0x1203
-	SPOT_DIRECTION					= 0x1204
-	SPOT_EXPONENT					= 0x1205
-	SPOT_CUTOFF					= 0x1206
-	CONSTANT_ATTENUATION				= 0x1207
-	LINEAR_ATTENUATION				= 0x1208
-	QUADRATIC_ATTENUATION				= 0x1209
-
-###############################################################################
-
-ListMode enum:
-	COMPILE						= 0x1300
-	COMPILE_AND_EXECUTE				= 0x1301
-
-###############################################################################
-
-DataType enum:
-	BYTE						= 0x1400
-	UNSIGNED_BYTE					= 0x1401
-	SHORT						= 0x1402
-	UNSIGNED_SHORT					= 0x1403
-	INT						= 0x1404
-	UNSIGNED_INT					= 0x1405
-	FLOAT						= 0x1406
-	2_BYTES						= 0x1407
-	3_BYTES						= 0x1408
-	4_BYTES						= 0x1409
-	DOUBLE						= 0x140A
-	DOUBLE_EXT					= 0x140A
-
-# OES_byte_coordinates: (OpenGL ES only)
-#	use DataType BYTE
-
-OES_element_index_uint enum: (OpenGL ES only)
-#	use DataType UNSIGNED_INT
-
-OES_texture_float enum: (OpenGL ES only; additional; see below)
-#	use DataType FLOAT
-
-EXT_vertex_attrib_64bit enum:
-	use VERSION_1_1			    DOUBLE
-
-VERSION_3_0 enum:
-#	use ARB_half_float_vertex	    HALF_FLOAT
-
-ARB_half_float_vertex enum: (note: no ARB suffixes)
-	HALF_FLOAT					= 0x140B    # VERSION_3_0 / ARB_half_float_vertex
-
-ARB_half_float_pixel enum:
-	HALF_FLOAT_ARB					= 0x140B
-
-NV_half_float enum:
-	HALF_FLOAT_NV					= 0x140B
-
-APPLE_float_pixels enum: (additional; see below)
-	HALF_APPLE					= 0x140B
-
-ARB_ES2_compatibility enum: (additional; see below)
-	FIXED						= 0x140C
-
-OES_fixed_point enum: (OpenGL ES only)
-	FIXED_OES					= 0x140C
-
-# Leave a gap to preserve even/odd int/uint token values
-# ARB_future_use: 0x140D
-
-NV_gpu_shader5 enum:
-	INT64_NV					= 0x140E
-	UNSIGNED_INT64_NV				= 0x140F
-
-NV_vertex_attrib_integer_64bit enum:
-	use NV_gpu_shader5		    INT64_NV
-	use NV_gpu_shader5		    UNSIGNED_INT64_NV
-
-###############################################################################
-
-ListNameType enum:
-	use DataType BYTE
-	use DataType UNSIGNED_BYTE
-	use DataType SHORT
-	use DataType UNSIGNED_SHORT
-	use DataType INT
-	use DataType UNSIGNED_INT
-	use DataType FLOAT
-	use DataType 2_BYTES
-	use DataType 3_BYTES
-	use DataType 4_BYTES
-
-###############################################################################
-
-ListParameterName enum:
-	use SGIX_list_priority LIST_PRIORITY_SGIX
-
-###############################################################################
-
-LogicOp enum:
-	CLEAR						= 0x1500
-	AND						= 0x1501
-	AND_REVERSE					= 0x1502
-	COPY						= 0x1503
-	AND_INVERTED					= 0x1504
-	NOOP						= 0x1505
-	XOR						= 0x1506
-	OR						= 0x1507
-	NOR						= 0x1508
-	EQUIV						= 0x1509
-	INVERT						= 0x150A
-	OR_REVERSE					= 0x150B
-	COPY_INVERTED					= 0x150C
-	OR_INVERTED					= 0x150D
-	NAND						= 0x150E
-	SET						= 0x150F
-
-###############################################################################
-
-MapTarget enum:
-	use GetPName MAP1_COLOR_4
-	use GetPName MAP1_INDEX
-	use GetPName MAP1_NORMAL
-	use GetPName MAP1_TEXTURE_COORD_1
-	use GetPName MAP1_TEXTURE_COORD_2
-	use GetPName MAP1_TEXTURE_COORD_3
-	use GetPName MAP1_TEXTURE_COORD_4
-	use GetPName MAP1_VERTEX_3
-	use GetPName MAP1_VERTEX_4
-	use GetPName MAP2_COLOR_4
-	use GetPName MAP2_INDEX
-	use GetPName MAP2_NORMAL
-	use GetPName MAP2_TEXTURE_COORD_1
-	use GetPName MAP2_TEXTURE_COORD_2
-	use GetPName MAP2_TEXTURE_COORD_3
-	use GetPName MAP2_TEXTURE_COORD_4
-	use GetPName MAP2_VERTEX_3
-	use GetPName MAP2_VERTEX_4
-	use SGIX_polynomial_ffd GEOMETRY_DEFORMATION_SGIX
-	use SGIX_polynomial_ffd TEXTURE_DEFORMATION_SGIX
-
-###############################################################################
-
-MaterialFace enum:
-	use DrawBufferMode FRONT
-	use DrawBufferMode BACK
-	use DrawBufferMode FRONT_AND_BACK
-
-
-###############################################################################
-
-MaterialParameter enum:
-	EMISSION					= 0x1600
-	SHININESS					= 0x1601
-	AMBIENT_AND_DIFFUSE				= 0x1602
-	COLOR_INDEXES					= 0x1603
-	use LightParameter AMBIENT
-	use LightParameter DIFFUSE
-	use LightParameter SPECULAR
-
-###############################################################################
-
-MatrixMode enum:
-	MODELVIEW					= 0x1700
-	PROJECTION					= 0x1701
-	TEXTURE						= 0x1702
-
-# Aliases OpenGL 1.0 core enums above
-EXT_vertex_weighting enum: (additional)
-	MODELVIEW0_EXT					= 0x1700 # GL_MODELVIEW
-
-###############################################################################
-
-MeshMode1 enum:
-	use PolygonMode POINT
-	use PolygonMode LINE
-
-###############################################################################
-
-MeshMode2 enum:
-	use PolygonMode POINT
-	use PolygonMode LINE
-	use PolygonMode FILL
-
-###############################################################################
-
-MinmaxTargetEXT enum:
-	use EXT_histogram MINMAX_EXT
-
-###############################################################################
-
-NormalPointerType enum:
-	use DataType BYTE
-	use DataType SHORT
-	use DataType INT
-	use DataType FLOAT
-	use DataType DOUBLE
-
-###############################################################################
-
-PixelCopyType enum:
-	COLOR						= 0x1800
-	DEPTH						= 0x1801
-	STENCIL						= 0x1802
-
-EXT_discard_framebuffer enum: (OpenGL ES only)
-	COLOR_EXT					= 0x1800
-	DEPTH_EXT					= 0x1801
-	STENCIL_EXT					= 0x1802
-
-###############################################################################
-
-PixelFormat enum:
-	COLOR_INDEX					= 0x1900
-	STENCIL_INDEX					= 0x1901
-	DEPTH_COMPONENT					= 0x1902
-	RED						= 0x1903
-	GREEN						= 0x1904
-	BLUE						= 0x1905
-	ALPHA						= 0x1906
-	RGB						= 0x1907
-	RGBA						= 0x1908
-	LUMINANCE					= 0x1909
-	LUMINANCE_ALPHA					= 0x190A
-	use EXT_abgr ABGR_EXT
-	use EXT_cmyka CMYK_EXT
-	use EXT_cmyka CMYKA_EXT
-	use SGIX_icc_texture R5_G6_B5_ICC_SGIX
-	use SGIX_icc_texture R5_G6_B5_A8_ICC_SGIX
-	use SGIX_icc_texture ALPHA16_ICC_SGIX
-	use SGIX_icc_texture LUMINANCE16_ICC_SGIX
-	use SGIX_icc_texture LUMINANCE16_ALPHA8_ICC_SGIX
-	use SGIX_ycrcb YCRCB_422_SGIX
-	use SGIX_ycrcb YCRCB_444_SGIX
-
-OES_depth_texture enum: (OpenGL ES only)
-#	use DataType UNSIGNED_SHORT
-#	use DataType UNSIGNED_INT
-#	use PixelFormat DEPTH_COMPONENT
-
-# Aliases PixelFormat enum above
-EXT_texture_rg enum: (OpenGL ES only)
-	RED_EXT						= 0x1903
-
-###############################################################################
-
-PixelMap enum:
-	use GetPixelMap PIXEL_MAP_I_TO_I
-	use GetPixelMap PIXEL_MAP_S_TO_S
-	use GetPixelMap PIXEL_MAP_I_TO_R
-	use GetPixelMap PIXEL_MAP_I_TO_G
-	use GetPixelMap PIXEL_MAP_I_TO_B
-	use GetPixelMap PIXEL_MAP_I_TO_A
-	use GetPixelMap PIXEL_MAP_R_TO_R
-	use GetPixelMap PIXEL_MAP_G_TO_G
-	use GetPixelMap PIXEL_MAP_B_TO_B
-	use GetPixelMap PIXEL_MAP_A_TO_A
-
-###############################################################################
-
-PixelStoreParameter enum:
-	use GetPName UNPACK_SWAP_BYTES
-	use GetPName UNPACK_LSB_FIRST
-	use GetPName UNPACK_ROW_LENGTH
-	use GetPName UNPACK_SKIP_ROWS
-	use GetPName UNPACK_SKIP_PIXELS
-	use GetPName UNPACK_ALIGNMENT
-	use GetPName PACK_SWAP_BYTES
-	use GetPName PACK_LSB_FIRST
-	use GetPName PACK_ROW_LENGTH
-	use GetPName PACK_SKIP_ROWS
-	use GetPName PACK_SKIP_PIXELS
-	use GetPName PACK_ALIGNMENT
-	use EXT_texture3D PACK_SKIP_IMAGES_EXT
-	use EXT_texture3D PACK_IMAGE_HEIGHT_EXT
-	use EXT_texture3D UNPACK_SKIP_IMAGES_EXT
-	use EXT_texture3D UNPACK_IMAGE_HEIGHT_EXT
-	use SGIS_texture4D PACK_SKIP_VOLUMES_SGIS
-	use SGIS_texture4D PACK_IMAGE_DEPTH_SGIS
-	use SGIS_texture4D UNPACK_SKIP_VOLUMES_SGIS
-	use SGIS_texture4D UNPACK_IMAGE_DEPTH_SGIS
-	use SGIX_pixel_tiles PIXEL_TILE_WIDTH_SGIX
-	use SGIX_pixel_tiles PIXEL_TILE_HEIGHT_SGIX
-	use SGIX_pixel_tiles PIXEL_TILE_GRID_WIDTH_SGIX
-	use SGIX_pixel_tiles PIXEL_TILE_GRID_HEIGHT_SGIX
-	use SGIX_pixel_tiles PIXEL_TILE_GRID_DEPTH_SGIX
-	use SGIX_pixel_tiles PIXEL_TILE_CACHE_SIZE_SGIX
-	use SGIX_subsample PACK_SUBSAMPLE_RATE_SGIX
-	use SGIX_subsample UNPACK_SUBSAMPLE_RATE_SGIX
-	use SGIX_resample PACK_RESAMPLE_SGIX
-	use SGIX_resample UNPACK_RESAMPLE_SGIX
-
-###############################################################################
-
-PixelStoreResampleMode enum:
-	use SGIX_resample RESAMPLE_REPLICATE_SGIX
-	use SGIX_resample RESAMPLE_ZERO_FILL_SGIX
-	use SGIX_resample RESAMPLE_DECIMATE_SGIX
-
-###############################################################################
-
-PixelStoreSubsampleRate enum:
-	use SGIX_subsample PIXEL_SUBSAMPLE_4444_SGIX
-	use SGIX_subsample PIXEL_SUBSAMPLE_2424_SGIX
-	use SGIX_subsample PIXEL_SUBSAMPLE_4242_SGIX
-
-###############################################################################
-
-PixelTexGenMode enum:
-	use DrawBufferMode NONE
-	use PixelFormat RGB
-	use PixelFormat RGBA
-	use PixelFormat LUMINANCE
-	use PixelFormat LUMINANCE_ALPHA
-	use SGIX_impact_pixel_texture PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX
-	use SGIX_impact_pixel_texture PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX
-	use SGIX_impact_pixel_texture PIXEL_TEX_GEN_ALPHA_MS_SGIX
-	use SGIX_impact_pixel_texture PIXEL_TEX_GEN_ALPHA_LS_SGIX
-
-###############################################################################
-
-PixelTexGenParameterNameSGIS enum:
-	use SGIS_pixel_texture PIXEL_FRAGMENT_RGB_SOURCE_SGIS
-	use SGIS_pixel_texture PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS
-
-###############################################################################
-
-PixelTransferParameter enum:
-	use GetPName MAP_COLOR
-	use GetPName MAP_STENCIL
-	use GetPName INDEX_SHIFT
-	use GetPName INDEX_OFFSET
-	use GetPName RED_SCALE
-	use GetPName RED_BIAS
-	use GetPName GREEN_SCALE
-	use GetPName GREEN_BIAS
-	use GetPName BLUE_SCALE
-	use GetPName BLUE_BIAS
-	use GetPName ALPHA_SCALE
-	use GetPName ALPHA_BIAS
-	use GetPName DEPTH_SCALE
-	use GetPName DEPTH_BIAS
-	use EXT_convolution POST_CONVOLUTION_RED_SCALE_EXT
-	use EXT_convolution POST_CONVOLUTION_GREEN_SCALE_EXT
-	use EXT_convolution POST_CONVOLUTION_BLUE_SCALE_EXT
-	use EXT_convolution POST_CONVOLUTION_ALPHA_SCALE_EXT
-	use EXT_convolution POST_CONVOLUTION_RED_BIAS_EXT
-	use EXT_convolution POST_CONVOLUTION_GREEN_BIAS_EXT
-	use EXT_convolution POST_CONVOLUTION_BLUE_BIAS_EXT
-	use EXT_convolution POST_CONVOLUTION_ALPHA_BIAS_EXT
-	use SGI_color_matrix POST_COLOR_MATRIX_RED_SCALE_SGI
-	use SGI_color_matrix POST_COLOR_MATRIX_GREEN_SCALE_SGI
-	use SGI_color_matrix POST_COLOR_MATRIX_BLUE_SCALE_SGI
-	use SGI_color_matrix POST_COLOR_MATRIX_ALPHA_SCALE_SGI
-	use SGI_color_matrix POST_COLOR_MATRIX_RED_BIAS_SGI
-	use SGI_color_matrix POST_COLOR_MATRIX_GREEN_BIAS_SGI
-	use SGI_color_matrix POST_COLOR_MATRIX_BLUE_BIAS_SGI
-	use SGI_color_matrix POST_COLOR_MATRIX_ALPHA_BIAS_SGI
-
-###############################################################################
-
-PixelType enum:
-	BITMAP						= 0x1A00
-	use DataType BYTE
-	use DataType UNSIGNED_BYTE
-	use DataType SHORT
-	use DataType UNSIGNED_SHORT
-	use DataType INT
-	use DataType UNSIGNED_INT
-	use DataType FLOAT
-	use EXT_packed_pixels UNSIGNED_BYTE_3_3_2_EXT
-	use EXT_packed_pixels UNSIGNED_SHORT_4_4_4_4_EXT
-	use EXT_packed_pixels UNSIGNED_SHORT_5_5_5_1_EXT
-	use EXT_packed_pixels UNSIGNED_INT_8_8_8_8_EXT
-	use EXT_packed_pixels UNSIGNED_INT_10_10_10_2_EXT
-
-###############################################################################
-
-PointParameterNameSGIS enum:
-	use SGIS_point_parameters POINT_SIZE_MIN_SGIS
-	use SGIS_point_parameters POINT_SIZE_MAX_SGIS
-	use SGIS_point_parameters POINT_FADE_THRESHOLD_SIZE_SGIS
-	use SGIS_point_parameters DISTANCE_ATTENUATION_SGIS
-
-###############################################################################
-
-PolygonMode enum:
-	POINT						= 0x1B00
-	LINE						= 0x1B01
-	FILL						= 0x1B02
-
-###############################################################################
-
-ReadBufferMode enum:
-	use DrawBufferMode FRONT_LEFT
-	use DrawBufferMode FRONT_RIGHT
-	use DrawBufferMode BACK_LEFT
-	use DrawBufferMode BACK_RIGHT
-	use DrawBufferMode FRONT
-	use DrawBufferMode BACK
-	use DrawBufferMode LEFT
-	use DrawBufferMode RIGHT
-	use DrawBufferMode AUX0
-	use DrawBufferMode AUX1
-	use DrawBufferMode AUX2
-	use DrawBufferMode AUX3
-
-###############################################################################
-
-RenderingMode enum:
-	RENDER						= 0x1C00
-	FEEDBACK					= 0x1C01
-	SELECT						= 0x1C02
-
-###############################################################################
-
-SamplePatternSGIS enum:
-	use SGIS_multisample 1PASS_SGIS
-	use SGIS_multisample 2PASS_0_SGIS
-	use SGIS_multisample 2PASS_1_SGIS
-	use SGIS_multisample 4PASS_0_SGIS
-	use SGIS_multisample 4PASS_1_SGIS
-	use SGIS_multisample 4PASS_2_SGIS
-	use SGIS_multisample 4PASS_3_SGIS
-
-###############################################################################
-
-SeparableTargetEXT enum:
-	use EXT_convolution SEPARABLE_2D_EXT
-
-###############################################################################
-
-ShadingModel enum:
-	FLAT						= 0x1D00
-	SMOOTH						= 0x1D01
-
-###############################################################################
-
-StencilFunction enum:
-	use AlphaFunction NEVER
-	use AlphaFunction LESS
-	use AlphaFunction EQUAL
-	use AlphaFunction LEQUAL
-	use AlphaFunction GREATER
-	use AlphaFunction NOTEQUAL
-	use AlphaFunction GEQUAL
-	use AlphaFunction ALWAYS
-
-###############################################################################
-
-StencilOp enum:
-	use BlendingFactorDest ZERO
-	KEEP						= 0x1E00
-	REPLACE						= 0x1E01
-	INCR						= 0x1E02
-	DECR						= 0x1E03
-	use LogicOp INVERT
-
-###############################################################################
-
-StringName enum:
-	VENDOR						= 0x1F00
-	RENDERER					= 0x1F01
-	VERSION						= 0x1F02
-	EXTENSIONS					= 0x1F03
-
-###############################################################################
-
-TexCoordPointerType enum:
-	use DataType SHORT
-	use DataType INT
-	use DataType FLOAT
-	use DataType DOUBLE
-
-###############################################################################
-
-TextureCoordName enum:
-	S						= 0x2000
-	T						= 0x2001
-	R						= 0x2002
-	Q						= 0x2003
-
-###############################################################################
-
-TextureEnvMode enum:
-	MODULATE					= 0x2100
-	DECAL						= 0x2101
-	use GetPName BLEND
-	use EXT_texture REPLACE_EXT
-	use AccumOp ADD
-	use SGIX_texture_add_env TEXTURE_ENV_BIAS_SGIX
-
-###############################################################################
-
-TextureEnvParameter enum:
-	TEXTURE_ENV_MODE				= 0x2200
-	TEXTURE_ENV_COLOR				= 0x2201
-
-###############################################################################
-
-TextureEnvTarget enum:
-	TEXTURE_ENV					= 0x2300
-
-###############################################################################
-
-TextureFilterFuncSGIS enum:
-	use SGIS_texture_filter4 FILTER4_SGIS
-
-###############################################################################
-
-TextureGenMode enum:
-	EYE_LINEAR					= 0x2400
-	OBJECT_LINEAR					= 0x2401
-	SPHERE_MAP					= 0x2402
-	use SGIS_point_line_texgen EYE_DISTANCE_TO_POINT_SGIS
-	use SGIS_point_line_texgen OBJECT_DISTANCE_TO_POINT_SGIS
-	use SGIS_point_line_texgen EYE_DISTANCE_TO_LINE_SGIS
-	use SGIS_point_line_texgen OBJECT_DISTANCE_TO_LINE_SGIS
-
-###############################################################################
-
-TextureGenParameter enum:
-	TEXTURE_GEN_MODE				= 0x2500
-	OBJECT_PLANE					= 0x2501
-	EYE_PLANE					= 0x2502
-	use SGIS_point_line_texgen EYE_POINT_SGIS
-	use SGIS_point_line_texgen OBJECT_POINT_SGIS
-	use SGIS_point_line_texgen EYE_LINE_SGIS
-	use SGIS_point_line_texgen OBJECT_LINE_SGIS
-
-# Aliases TextureGenParameter enum above
-OES_texture_cube_map enum: (OpenGL ES only; additional; see below)
-	TEXTURE_GEN_MODE				= 0x2500
-
-###############################################################################
-
-TextureMagFilter enum:
-	NEAREST						= 0x2600
-	LINEAR						= 0x2601
-	use SGIS_detail_texture LINEAR_DETAIL_SGIS
-	use SGIS_detail_texture LINEAR_DETAIL_ALPHA_SGIS
-	use SGIS_detail_texture LINEAR_DETAIL_COLOR_SGIS
-	use SGIS_sharpen_texture LINEAR_SHARPEN_SGIS
-	use SGIS_sharpen_texture LINEAR_SHARPEN_ALPHA_SGIS
-	use SGIS_sharpen_texture LINEAR_SHARPEN_COLOR_SGIS
-	use SGIS_texture_filter4 FILTER4_SGIS
-	use SGIX_impact_pixel_texture PIXEL_TEX_GEN_Q_CEILING_SGIX
-	use SGIX_impact_pixel_texture PIXEL_TEX_GEN_Q_ROUND_SGIX
-	use SGIX_impact_pixel_texture PIXEL_TEX_GEN_Q_FLOOR_SGIX
-
-###############################################################################
-
-TextureMinFilter enum:
-	use TextureMagFilter NEAREST
-	use TextureMagFilter LINEAR
-	NEAREST_MIPMAP_NEAREST				= 0x2700
-	LINEAR_MIPMAP_NEAREST				= 0x2701
-	NEAREST_MIPMAP_LINEAR				= 0x2702
-	LINEAR_MIPMAP_LINEAR				= 0x2703
-	use SGIS_texture_filter4 FILTER4_SGIS
-	use SGIX_clipmap LINEAR_CLIPMAP_LINEAR_SGIX
-	use SGIX_clipmap NEAREST_CLIPMAP_NEAREST_SGIX
-	use SGIX_clipmap NEAREST_CLIPMAP_LINEAR_SGIX
-	use SGIX_clipmap LINEAR_CLIPMAP_NEAREST_SGIX
-	use SGIX_impact_pixel_texture PIXEL_TEX_GEN_Q_CEILING_SGIX
-	use SGIX_impact_pixel_texture PIXEL_TEX_GEN_Q_ROUND_SGIX
-	use SGIX_impact_pixel_texture PIXEL_TEX_GEN_Q_FLOOR_SGIX
-
-###############################################################################
-
-TextureParameterName enum:
-	TEXTURE_MAG_FILTER				= 0x2800
-	TEXTURE_MIN_FILTER				= 0x2801
-	TEXTURE_WRAP_S					= 0x2802
-	TEXTURE_WRAP_T					= 0x2803
-	use GetTextureParameter TEXTURE_BORDER_COLOR
-	use GetTextureParameter TEXTURE_PRIORITY
-	use EXT_texture3D TEXTURE_WRAP_R_EXT
-	use SGIS_detail_texture DETAIL_TEXTURE_LEVEL_SGIS
-	use SGIS_detail_texture DETAIL_TEXTURE_MODE_SGIS
-	use SGIS_generate_mipmap GENERATE_MIPMAP_SGIS
-	use SGIS_texture_select DUAL_TEXTURE_SELECT_SGIS
-	use SGIS_texture_select QUAD_TEXTURE_SELECT_SGIS
-	use SGIS_texture4D TEXTURE_WRAP_Q_SGIS
-	use SGIX_clipmap TEXTURE_CLIPMAP_CENTER_SGIX
-	use SGIX_clipmap TEXTURE_CLIPMAP_FRAME_SGIX
-	use SGIX_clipmap TEXTURE_CLIPMAP_OFFSET_SGIX
-	use SGIX_clipmap TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX
-	use SGIX_clipmap TEXTURE_CLIPMAP_LOD_OFFSET_SGIX
-	use SGIX_clipmap TEXTURE_CLIPMAP_DEPTH_SGIX
-	use SGIX_shadow TEXTURE_COMPARE_SGIX
-	use SGIX_shadow TEXTURE_COMPARE_OPERATOR_SGIX
-	use SGIX_shadow_ambient SHADOW_AMBIENT_SGIX
-	use SGIX_texture_coordinate_clamp TEXTURE_MAX_CLAMP_S_SGIX
-	use SGIX_texture_coordinate_clamp TEXTURE_MAX_CLAMP_T_SGIX
-	use SGIX_texture_coordinate_clamp TEXTURE_MAX_CLAMP_R_SGIX
-	use SGIX_texture_lod_bias TEXTURE_LOD_BIAS_S_SGIX
-	use SGIX_texture_lod_bias TEXTURE_LOD_BIAS_T_SGIX
-	use SGIX_texture_lod_bias TEXTURE_LOD_BIAS_R_SGIX
-	use SGIX_texture_scale_bias POST_TEXTURE_FILTER_BIAS_SGIX
-	use SGIX_texture_scale_bias POST_TEXTURE_FILTER_SCALE_SGIX
-
-###############################################################################
-
-TextureTarget enum:
-	use GetPName TEXTURE_1D
-	use GetPName TEXTURE_2D
-	PROXY_TEXTURE_1D				= 0x8063
-	PROXY_TEXTURE_2D				= 0x8064
-	use EXT_texture3D TEXTURE_3D_EXT
-	use EXT_texture3D PROXY_TEXTURE_3D_EXT
-	use SGIS_detail_texture DETAIL_TEXTURE_2D_SGIS
-	use SGIS_texture4D TEXTURE_4D_SGIS
-	use SGIS_texture4D PROXY_TEXTURE_4D_SGIS
-	use SGIS_texture_lod TEXTURE_MIN_LOD_SGIS
-	use SGIS_texture_lod TEXTURE_MAX_LOD_SGIS
-	use SGIS_texture_lod TEXTURE_BASE_LEVEL_SGIS
-	use SGIS_texture_lod TEXTURE_MAX_LEVEL_SGIS
-
-###############################################################################
-
-TextureWrapMode enum:
-	CLAMP						= 0x2900