apple: Update GL specs
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
e8ea8793e3
commit
8e89d0bea7
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,6 @@
|
|||
# enumext.spec - list of GL enumerants for glext.h header
|
||||
#
|
||||
# $Revision: 10971 $ on $Date: 2010-04-09 02:45:33 -0700 (Fri, 09 Apr 2010) $
|
||||
# $Revision: 14384 $ on $Date: 2011-04-05 23:05:03 -0700 (Tue, 05 Apr 2011) $
|
||||
|
||||
# This is derived from the master GL enumerant registry (enum.spec).
|
||||
#
|
||||
|
@ -1380,7 +1380,7 @@ VERSION_3_1 enum:
|
|||
passthru: /* Reuse tokens from ARB_copy_buffer */
|
||||
use ARB_copy_buffer COPY_READ_BUFFER
|
||||
use ARB_copy_buffer COPY_WRITE_BUFFER
|
||||
passthru: /* Would reuse tokens from ARB_draw_instanced, but it has none */
|
||||
passthru: /* Reuse tokens from ARB_draw_instanced (none) */
|
||||
passthru: /* Reuse tokens from ARB_uniform_buffer_object */
|
||||
use ARB_uniform_buffer_object UNIFORM_BUFFER
|
||||
use ARB_uniform_buffer_object UNIFORM_BUFFER_BINDING
|
||||
|
@ -1447,8 +1447,8 @@ VERSION_3_2 enum:
|
|||
use ARB_framebuffer_object FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER
|
||||
passthru: /* Reuse tokens from ARB_depth_clamp */
|
||||
use ARB_depth_clamp DEPTH_CLAMP
|
||||
passthru: /* Would reuse tokens from ARB_draw_elements_base_vertex, but it has none */
|
||||
passthru: /* Would reuse tokens from ARB_fragment_coord_conventions, but it has none */
|
||||
passthru: /* Reuse tokens from ARB_draw_elements_base_vertex (none) */
|
||||
passthru: /* Reuse tokens from ARB_fragment_coord_conventions (none) */
|
||||
passthru: /* Reuse tokens from ARB_provoking_vertex */
|
||||
use ARB_provoking_vertex QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION
|
||||
use ARB_provoking_vertex FIRST_VERTEX_CONVENTION
|
||||
|
@ -1504,17 +1504,18 @@ passthru: /* Don't need to reuse tokens from ARB_vertex_array_bgra since they're
|
|||
###############################################################################
|
||||
|
||||
VERSION_3_3 enum:
|
||||
VERTEX_ATTRIB_ARRAY_DIVISOR = 0x88FE # ARB_instanced_arrays
|
||||
passthru: /* Reuse tokens from ARB_blend_func_extended */
|
||||
use ARB_blend_func_extended SRC1_COLOR
|
||||
use ARB_blend_func_extended ONE_MINUS_SRC1_COLOR
|
||||
use ARB_blend_func_extended ONE_MINUS_SRC1_ALPHA
|
||||
use ARB_blend_func_extended MAX_DUAL_SOURCE_DRAW_BUFFERS
|
||||
passthru: /* Would reuse tokens from ARB_explicit_attrib_location, but it has none */
|
||||
passthru: /* Reuse tokens from ARB_explicit_attrib_location (none) */
|
||||
passthru: /* Reuse tokens from ARB_occlusion_query2 */
|
||||
use ARB_occlusion_query2 ANY_SAMPLES_PASSED
|
||||
passthru: /* Reuse tokens from ARB_sampler_objects */
|
||||
use ARB_sampler_objects SAMPLER_BINDING
|
||||
passthru: /* Would reuse tokens from ARB_shader_bit_encoding, but it has none */
|
||||
passthru: /* Reuse tokens from ARB_shader_bit_encoding (none) */
|
||||
passthru: /* Reuse tokens from ARB_texture_rgb10_a2ui */
|
||||
use ARB_texture_rgb10_a2ui RGB10_A2UI
|
||||
passthru: /* Reuse tokens from ARB_texture_swizzle */
|
||||
|
@ -1536,6 +1537,19 @@ passthru: /* Reuse tokens from ARB_vertex_type_2_10_10_10_rev */
|
|||
###############################################################################
|
||||
|
||||
VERSION_4_0 enum:
|
||||
SAMPLE_SHADING = 0x8C36 # ARB_sample_shading
|
||||
MIN_SAMPLE_SHADING_VALUE = 0x8C37 # ARB_sample_shading
|
||||
MIN_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5E # ARB_texture_gather
|
||||
MAX_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5F # ARB_texture_gather
|
||||
TEXTURE_CUBE_MAP_ARRAY = 0x9009 # ARB_texture_cube_map_array
|
||||
TEXTURE_BINDING_CUBE_MAP_ARRAY = 0x900A # ARB_texture_cube_map_array
|
||||
PROXY_TEXTURE_CUBE_MAP_ARRAY = 0x900B # ARB_texture_cube_map_array
|
||||
SAMPLER_CUBE_MAP_ARRAY = 0x900C # ARB_texture_cube_map_array
|
||||
SAMPLER_CUBE_MAP_ARRAY_SHADOW = 0x900D # ARB_texture_cube_map_array
|
||||
INT_SAMPLER_CUBE_MAP_ARRAY = 0x900E # ARB_texture_cube_map_array
|
||||
UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY = 0x900F # ARB_texture_cube_map_array
|
||||
passthru: /* Reuse tokens from ARB_texture_query_lod (none) */
|
||||
passthru: /* Reuse tokens from ARB_draw_buffers_blend (none) */
|
||||
passthru: /* Reuse tokens from ARB_draw_indirect */
|
||||
use ARB_draw_indirect DRAW_INDIRECT_BUFFER
|
||||
use ARB_draw_indirect DRAW_INDIRECT_BUFFER_BINDING
|
||||
|
@ -1602,7 +1616,7 @@ passthru: /* Reuse tokens from ARB_tessellation_shader */
|
|||
use ARB_tessellation_shader UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER
|
||||
use ARB_tessellation_shader TESS_EVALUATION_SHADER
|
||||
use ARB_tessellation_shader TESS_CONTROL_SHADER
|
||||
passthru: /* Would reuse tokens from ARB_texture_buffer_object_rgb32, but it has none */
|
||||
passthru: /* Reuse tokens from ARB_texture_buffer_object_rgb32 (none) */
|
||||
passthru: /* Reuse tokens from ARB_transform_feedback2 */
|
||||
use ARB_tessellation_shader TRANSFORM_FEEDBACK
|
||||
use ARB_tessellation_shader TRANSFORM_FEEDBACK_BUFFER_PAUSED
|
||||
|
@ -1612,6 +1626,53 @@ passthru: /* Reuse tokens from ARB_transform_feedback3 */
|
|||
use ARB_tessellation_shader MAX_TRANSFORM_FEEDBACK_BUFFERS
|
||||
use ARB_tessellation_shader MAX_VERTEX_STREAMS
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# OpenGL 4.1 enums
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
VERSION_4_1 enum:
|
||||
passthru: /* Reuse tokens from ARB_ES2_compatibility */
|
||||
use ARB_ES2_compatibility FIXED
|
||||
use ARB_ES2_compatibility IMPLEMENTATION_COLOR_READ_TYPE
|
||||
use ARB_ES2_compatibility IMPLEMENTATION_COLOR_READ_FORMAT
|
||||
use ARB_ES2_compatibility LOW_FLOAT
|
||||
use ARB_ES2_compatibility MEDIUM_FLOAT
|
||||
use ARB_ES2_compatibility HIGH_FLOAT
|
||||
use ARB_ES2_compatibility LOW_INT
|
||||
use ARB_ES2_compatibility MEDIUM_INT
|
||||
use ARB_ES2_compatibility HIGH_INT
|
||||
use ARB_ES2_compatibility SHADER_COMPILER
|
||||
use ARB_ES2_compatibility NUM_SHADER_BINARY_FORMATS
|
||||
use ARB_ES2_compatibility MAX_VERTEX_UNIFORM_VECTORS
|
||||
use ARB_ES2_compatibility MAX_VARYING_VECTORS
|
||||
use ARB_ES2_compatibility MAX_FRAGMENT_UNIFORM_VECTORS
|
||||
passthru: /* Reuse tokens from ARB_get_program_binary */
|
||||
use ARB_get_program_binary PROGRAM_BINARY_RETRIEVABLE_HINT
|
||||
use ARB_get_program_binary PROGRAM_BINARY_LENGTH
|
||||
use ARB_get_program_binary NUM_PROGRAM_BINARY_FORMATS
|
||||
use ARB_get_program_binary PROGRAM_BINARY_FORMATS
|
||||
passthru: /* Reuse tokens from ARB_separate_shader_objects */
|
||||
use ARB_separate_shader_objects VERTEX_SHADER_BIT
|
||||
use ARB_separate_shader_objects FRAGMENT_SHADER_BIT
|
||||
use ARB_separate_shader_objects GEOMETRY_SHADER_BIT
|
||||
use ARB_separate_shader_objects TESS_CONTROL_SHADER_BIT
|
||||
use ARB_separate_shader_objects TESS_EVALUATION_SHADER_BIT
|
||||
use ARB_separate_shader_objects ALL_SHADER_BITS
|
||||
use ARB_separate_shader_objects PROGRAM_SEPARABLE
|
||||
use ARB_separate_shader_objects ACTIVE_PROGRAM
|
||||
use ARB_separate_shader_objects PROGRAM_PIPELINE_BINDING
|
||||
passthru: /* Reuse tokens from ARB_shader_precision (none) */
|
||||
passthru: /* Reuse tokens from ARB_vertex_attrib_64bit - all are in GL 3.0 and 4.0 already */
|
||||
passthru: /* Reuse tokens from ARB_viewport_array - some are in GL 1.1 and ARB_provoking_vertex already */
|
||||
use ARB_viewport_array MAX_VIEWPORTS
|
||||
use ARB_viewport_array VIEWPORT_SUBPIXEL_BITS
|
||||
use ARB_viewport_array VIEWPORT_BOUNDS_RANGE
|
||||
use ARB_viewport_array LAYER_PROVOKING_VERTEX
|
||||
use ARB_viewport_array VIEWPORT_INDEX_PROVOKING_VERTEX
|
||||
use ARB_viewport_array UNDEFINED_VERTEX
|
||||
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
|
@ -2433,7 +2494,7 @@ ARB_half_float_vertex enum:
|
|||
|
||||
# ARB Extension #49
|
||||
ARB_instanced_arrays enum:
|
||||
VERTEX_ATTRIB_ARRAY_DIVISOR_ARB = 0x88FE
|
||||
VERTEX_ATTRIB_ARRAY_DIVISOR_ARB = 0x88FE
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
@ -2652,33 +2713,29 @@ ARB_vertex_array_bgra enum:
|
|||
# No new tokens
|
||||
# ARB Extension #69
|
||||
ARB_draw_buffers_blend enum:
|
||||
#@@@ Add ARB suffixes here & functions!
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #70
|
||||
#@@@ Add ARB suffixes here & functions!
|
||||
ARB_sample_shading enum:
|
||||
SAMPLE_SHADING = 0x8C36
|
||||
MIN_SAMPLE_SHADING_VALUE = 0x8C37
|
||||
SAMPLE_SHADING_ARB = 0x8C36
|
||||
MIN_SAMPLE_SHADING_VALUE_ARB = 0x8C37
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #71
|
||||
#@@@ Add ARB suffixes here & functions!
|
||||
ARB_texture_cube_map_array enum:
|
||||
TEXTURE_CUBE_MAP_ARRAY = 0x9009
|
||||
TEXTURE_BINDING_CUBE_MAP_ARRAY = 0x900A
|
||||
PROXY_TEXTURE_CUBE_MAP_ARRAY = 0x900B
|
||||
SAMPLER_CUBE_MAP_ARRAY = 0x900C
|
||||
SAMPLER_CUBE_MAP_ARRAY_SHADOW = 0x900D
|
||||
INT_SAMPLER_CUBE_MAP_ARRAY = 0x900E
|
||||
UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY = 0x900F
|
||||
TEXTURE_CUBE_MAP_ARRAY_ARB = 0x9009
|
||||
TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB = 0x900A
|
||||
PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB = 0x900B
|
||||
SAMPLER_CUBE_MAP_ARRAY_ARB = 0x900C
|
||||
SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB = 0x900D
|
||||
INT_SAMPLER_CUBE_MAP_ARRAY_ARB = 0x900E
|
||||
UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB = 0x900F
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #72
|
||||
#@@@ Add ARB suffixes here & functions!
|
||||
ARB_texture_gather enum:
|
||||
MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB = 0x8E5E
|
||||
MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB = 0x8E5F
|
||||
|
@ -2792,7 +2849,7 @@ ARB_gpu_shader5 enum:
|
|||
MIN_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5B
|
||||
MAX_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5C
|
||||
FRAGMENT_INTERPOLATION_OFFSET_BITS = 0x8E5D
|
||||
MAX_VERTEX_STREAMS = 0x8E71
|
||||
use ARB_texture_multisample MAX_VERTEX_STREAMS
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
@ -2894,6 +2951,149 @@ ARB_transform_feedback3 enum:
|
|||
MAX_TRANSFORM_FEEDBACK_BUFFERS = 0x8E70
|
||||
MAX_VERTEX_STREAMS = 0x8E71
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #95
|
||||
ARB_ES2_compatibility enum:
|
||||
FIXED = 0x140C
|
||||
IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A
|
||||
IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B
|
||||
LOW_FLOAT = 0x8DF0
|
||||
MEDIUM_FLOAT = 0x8DF1
|
||||
HIGH_FLOAT = 0x8DF2
|
||||
LOW_INT = 0x8DF3
|
||||
MEDIUM_INT = 0x8DF4
|
||||
HIGH_INT = 0x8DF5
|
||||
SHADER_COMPILER = 0x8DFA
|
||||
NUM_SHADER_BINARY_FORMATS = 0x8DF9
|
||||
MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB
|
||||
MAX_VARYING_VECTORS = 0x8DFC
|
||||
MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #96
|
||||
ARB_get_program_binary enum:
|
||||
PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257
|
||||
PROGRAM_BINARY_LENGTH = 0x8741
|
||||
NUM_PROGRAM_BINARY_FORMATS = 0x87FE
|
||||
PROGRAM_BINARY_FORMATS = 0x87FF
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #97
|
||||
ARB_separate_shader_objects enum:
|
||||
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
|
||||
PROGRAM_SEPARABLE = 0x8258
|
||||
ACTIVE_PROGRAM = 0x8259
|
||||
PROGRAM_PIPELINE_BINDING = 0x825A
|
||||
|
||||
###############################################################################
|
||||
|
||||
# No new tokens
|
||||
# ARB Extension #98
|
||||
ARB_shader_precision enum:
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #99
|
||||
ARB_vertex_attrib_64bit enum:
|
||||
use VERSION_3_0 RGB32I
|
||||
use ARB_gpu_shader_fp64 DOUBLE_VEC2
|
||||
use ARB_gpu_shader_fp64 DOUBLE_VEC3
|
||||
use ARB_gpu_shader_fp64 DOUBLE_VEC4
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT2
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT3
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT4
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT2x3
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT2x4
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT3x2
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT3x4
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT4x2
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT4x3
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #100
|
||||
ARB_viewport_array enum:
|
||||
use VERSION_1_1 SCISSOR_BOX
|
||||
use VERSION_1_1 VIEWPORT
|
||||
use VERSION_1_1 DEPTH_RANGE
|
||||
use VERSION_1_1 SCISSOR_TEST
|
||||
MAX_VIEWPORTS = 0x825B
|
||||
VIEWPORT_SUBPIXEL_BITS = 0x825C
|
||||
VIEWPORT_BOUNDS_RANGE = 0x825D
|
||||
LAYER_PROVOKING_VERTEX = 0x825E
|
||||
VIEWPORT_INDEX_PROVOKING_VERTEX = 0x825F
|
||||
UNDEFINED_VERTEX = 0x8260
|
||||
use ARB_provoking_vertex FIRST_VERTEX_CONVENTION
|
||||
use ARB_provoking_vertex LAST_VERTEX_CONVENTION
|
||||
use ARB_provoking_vertex PROVOKING_VERTEX
|
||||
|
||||
###############################################################################
|
||||
|
||||
# No new tokens
|
||||
# ARB Extension #101 - GLX_ARB_create_context_robustness
|
||||
# ARB Extension #102 - WGL_ARB_create_context_robustness
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #103
|
||||
ARB_cl_event enum:
|
||||
SYNC_CL_EVENT_ARB = 0x8240
|
||||
SYNC_CL_EVENT_COMPLETE_ARB = 0x8241
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #104
|
||||
ARB_debug_output enum:
|
||||
DEBUG_OUTPUT_SYNCHRONOUS_ARB = 0x8242
|
||||
DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB = 0x8243
|
||||
DEBUG_CALLBACK_FUNCTION_ARB = 0x8244
|
||||
DEBUG_CALLBACK_USER_PARAM_ARB = 0x8245
|
||||
DEBUG_SOURCE_API_ARB = 0x8246
|
||||
DEBUG_SOURCE_WINDOW_SYSTEM_ARB = 0x8247
|
||||
DEBUG_SOURCE_SHADER_COMPILER_ARB = 0x8248
|
||||
DEBUG_SOURCE_THIRD_PARTY_ARB = 0x8249
|
||||
DEBUG_SOURCE_APPLICATION_ARB = 0x824A
|
||||
DEBUG_SOURCE_OTHER_ARB = 0x824B
|
||||
DEBUG_TYPE_ERROR_ARB = 0x824C
|
||||
DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB = 0x824D
|
||||
DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB = 0x824E
|
||||
DEBUG_TYPE_PORTABILITY_ARB = 0x824F
|
||||
DEBUG_TYPE_PERFORMANCE_ARB = 0x8250
|
||||
DEBUG_TYPE_OTHER_ARB = 0x8251
|
||||
MAX_DEBUG_MESSAGE_LENGTH_ARB = 0x9143
|
||||
MAX_DEBUG_LOGGED_MESSAGES_ARB = 0x9144
|
||||
DEBUG_LOGGED_MESSAGES_ARB = 0x9145
|
||||
DEBUG_SEVERITY_HIGH_ARB = 0x9146
|
||||
DEBUG_SEVERITY_MEDIUM_ARB = 0x9147
|
||||
DEBUG_SEVERITY_LOW_ARB = 0x9148
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #105
|
||||
ARB_robustness enum:
|
||||
use VERSION_1_1 NO_ERROR
|
||||
CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB = 0x00000004
|
||||
LOSE_CONTEXT_ON_RESET_ARB = 0x8252
|
||||
GUILTY_CONTEXT_RESET_ARB = 0x8253
|
||||
INNOCENT_CONTEXT_RESET_ARB = 0x8254
|
||||
UNKNOWN_CONTEXT_RESET_ARB = 0x8255
|
||||
RESET_NOTIFICATION_STRATEGY_ARB = 0x8256
|
||||
NO_RESET_NOTIFICATION_ARB = 0x8261
|
||||
|
||||
###############################################################################
|
||||
|
||||
# No new tokens
|
||||
# ARB Extension #106
|
||||
ARB_shader_stencil_export enum:
|
||||
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
|
@ -5362,11 +5562,10 @@ APPLE_client_storage enum:
|
|||
###############################################################################
|
||||
|
||||
# Extension #271
|
||||
# (extends ATI_element_array???)
|
||||
APPLE_element_array enum:
|
||||
ELEMENT_ARRAY_APPLE = 0x8768
|
||||
ELEMENT_ARRAY_TYPE_APPLE = 0x8769
|
||||
ELEMENT_ARRAY_POINTER_APPLE = 0x876A
|
||||
ELEMENT_ARRAY_APPLE = 0x8A0C
|
||||
ELEMENT_ARRAY_TYPE_APPLE = 0x8A0D
|
||||
ELEMENT_ARRAY_POINTER_APPLE = 0x8A0E
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
@ -5387,12 +5586,12 @@ APPLE_vertex_array_object enum:
|
|||
###############################################################################
|
||||
|
||||
# Extension #274
|
||||
# (How does this interact with NV_vertex_array_range???)
|
||||
APPLE_vertex_array_range enum:
|
||||
VERTEX_ARRAY_RANGE_APPLE = 0x851D
|
||||
VERTEX_ARRAY_RANGE_LENGTH_APPLE = 0x851E
|
||||
VERTEX_ARRAY_STORAGE_HINT_APPLE = 0x851F
|
||||
VERTEX_ARRAY_RANGE_POINTER_APPLE = 0x8521
|
||||
STORAGE_CLIENT_APPLE = 0x85B4
|
||||
STORAGE_CACHED_APPLE = 0x85BE
|
||||
STORAGE_SHARED_APPLE = 0x85BF
|
||||
|
||||
|
@ -6083,6 +6282,12 @@ NV_transform_feedback enum:
|
|||
SEPARATE_ATTRIBS_NV = 0x8C8D
|
||||
TRANSFORM_FEEDBACK_BUFFER_NV = 0x8C8E
|
||||
TRANSFORM_FEEDBACK_BUFFER_BINDING_NV = 0x8C8F
|
||||
LAYER_NV = 0x8DAA
|
||||
NEXT_BUFFER_NV = -2 # Requires ARB_transform_feedback3
|
||||
SKIP_COMPONENTS4_NV = -3 # Requires ARB_transform_feedback3
|
||||
SKIP_COMPONENTS3_NV = -4 # Requires ARB_transform_feedback3
|
||||
SKIP_COMPONENTS2_NV = -5 # Requires ARB_transform_feedback3
|
||||
SKIP_COMPONENTS1_NV = -6 # Requires ARB_transform_feedback3
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
@ -6511,6 +6716,9 @@ NV_vertex_buffer_unified_memory enum:
|
|||
SECONDARY_COLOR_ARRAY_LENGTH_NV = 0x8F31
|
||||
FOG_COORD_ARRAY_LENGTH_NV = 0x8F32
|
||||
ELEMENT_ARRAY_LENGTH_NV = 0x8F33
|
||||
DRAW_INDIRECT_UNIFIED_NV = 0x8F40 # Requires ARB_draw_indirect
|
||||
DRAW_INDIRECT_ADDRESS_NV = 0x8F41 # Requires ARB_draw_indirect
|
||||
DRAW_INDIRECT_LENGTH_NV = 0x8F42 # Requires ARB_draw_indirect
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
@ -6528,7 +6736,7 @@ AMD_shader_stencil_export enum:
|
|||
|
||||
# Extension #383
|
||||
AMD_seamless_cubemap_per_texture enum:
|
||||
use ARB_seamless_cube_map TEXTURE_CUBE_MAP_SEAMLESS_ARB
|
||||
use ARB_seamless_cube_map TEXTURE_CUBE_MAP_SEAMLESS
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
@ -6540,3 +6748,246 @@ AMD_seamless_cubemap_per_texture enum:
|
|||
# Extension #385
|
||||
AMD_conservative_depth enum:
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #386
|
||||
EXT_shader_image_load_store enum:
|
||||
MAX_IMAGE_UNITS_EXT = 0x8F38
|
||||
MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT = 0x8F39
|
||||
IMAGE_BINDING_NAME_EXT = 0x8F3A
|
||||
IMAGE_BINDING_LEVEL_EXT = 0x8F3B
|
||||
IMAGE_BINDING_LAYERED_EXT = 0x8F3C
|
||||
IMAGE_BINDING_LAYER_EXT = 0x8F3D
|
||||
IMAGE_BINDING_ACCESS_EXT = 0x8F3E
|
||||
IMAGE_1D_EXT = 0x904C
|
||||
IMAGE_2D_EXT = 0x904D
|
||||
IMAGE_3D_EXT = 0x904E
|
||||
IMAGE_2D_RECT_EXT = 0x904F
|
||||
IMAGE_CUBE_EXT = 0x9050
|
||||
IMAGE_BUFFER_EXT = 0x9051
|
||||
IMAGE_1D_ARRAY_EXT = 0x9052
|
||||
IMAGE_2D_ARRAY_EXT = 0x9053
|
||||
IMAGE_CUBE_MAP_ARRAY_EXT = 0x9054
|
||||
IMAGE_2D_MULTISAMPLE_EXT = 0x9055
|
||||
IMAGE_2D_MULTISAMPLE_ARRAY_EXT = 0x9056
|
||||
INT_IMAGE_1D_EXT = 0x9057
|
||||
INT_IMAGE_2D_EXT = 0x9058
|
||||
INT_IMAGE_3D_EXT = 0x9059
|
||||
INT_IMAGE_2D_RECT_EXT = 0x905A
|
||||
INT_IMAGE_CUBE_EXT = 0x905B
|
||||
INT_IMAGE_BUFFER_EXT = 0x905C
|
||||
INT_IMAGE_1D_ARRAY_EXT = 0x905D
|
||||
INT_IMAGE_2D_ARRAY_EXT = 0x905E
|
||||
INT_IMAGE_CUBE_MAP_ARRAY_EXT = 0x905F
|
||||
INT_IMAGE_2D_MULTISAMPLE_EXT = 0x9060
|
||||
INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT = 0x9061
|
||||
UNSIGNED_INT_IMAGE_1D_EXT = 0x9062
|
||||
UNSIGNED_INT_IMAGE_2D_EXT = 0x9063
|
||||
UNSIGNED_INT_IMAGE_3D_EXT = 0x9064
|
||||
UNSIGNED_INT_IMAGE_2D_RECT_EXT = 0x9065
|
||||
UNSIGNED_INT_IMAGE_CUBE_EXT = 0x9066
|
||||
UNSIGNED_INT_IMAGE_BUFFER_EXT = 0x9067
|
||||
UNSIGNED_INT_IMAGE_1D_ARRAY_EXT = 0x9068
|
||||
UNSIGNED_INT_IMAGE_2D_ARRAY_EXT = 0x9069
|
||||
UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT = 0x906A
|
||||
UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT = 0x906B
|
||||
UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT = 0x906C
|
||||
MAX_IMAGE_SAMPLES_EXT = 0x906D
|
||||
IMAGE_BINDING_FORMAT_EXT = 0x906E
|
||||
# ??? Not clear where to put new types of mask bits yet
|
||||
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
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #387
|
||||
EXT_vertex_attrib_64bit enum:
|
||||
use VERSION_1_1 DOUBLE
|
||||
DOUBLE_VEC2_EXT = 0x8FFC
|
||||
DOUBLE_VEC3_EXT = 0x8FFD
|
||||
DOUBLE_VEC4_EXT = 0x8FFE
|
||||
DOUBLE_MAT2_EXT = 0x8F46
|
||||
DOUBLE_MAT3_EXT = 0x8F47
|
||||
DOUBLE_MAT4_EXT = 0x8F48
|
||||
DOUBLE_MAT2x3_EXT = 0x8F49
|
||||
DOUBLE_MAT2x4_EXT = 0x8F4A
|
||||
DOUBLE_MAT3x2_EXT = 0x8F4B
|
||||
DOUBLE_MAT3x4_EXT = 0x8F4C
|
||||
DOUBLE_MAT4x2_EXT = 0x8F4D
|
||||
DOUBLE_MAT4x3_EXT = 0x8F4E
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #388
|
||||
NV_gpu_program5 enum:
|
||||
MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV = 0x8E5A
|
||||
MIN_FRAGMENT_INTERPOLATION_OFFSET_NV = 0x8E5B
|
||||
MAX_FRAGMENT_INTERPOLATION_OFFSET_NV = 0x8E5C
|
||||
FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV = 0x8E5D
|
||||
MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV = 0x8E5E
|
||||
MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV = 0x8E5F
|
||||
MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV = 0x8F44 # Requires ARB_shader_subroutine
|
||||
MAX_PROGRAM_SUBROUTINE_NUM_NV = 0x8F45 # Requires ARB_shader_subroutine
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #389
|
||||
NV_gpu_shader5 enum:
|
||||
INT64_NV = 0x140E
|
||||
UNSIGNED_INT64_NV = 0x140F
|
||||
INT8_NV = 0x8FE0
|
||||
INT8_VEC2_NV = 0x8FE1
|
||||
INT8_VEC3_NV = 0x8FE2
|
||||
INT8_VEC4_NV = 0x8FE3
|
||||
INT16_NV = 0x8FE4
|
||||
INT16_VEC2_NV = 0x8FE5
|
||||
INT16_VEC3_NV = 0x8FE6
|
||||
INT16_VEC4_NV = 0x8FE7
|
||||
INT64_VEC2_NV = 0x8FE9
|
||||
INT64_VEC3_NV = 0x8FEA
|
||||
INT64_VEC4_NV = 0x8FEB
|
||||
UNSIGNED_INT8_NV = 0x8FEC
|
||||
UNSIGNED_INT8_VEC2_NV = 0x8FED
|
||||
UNSIGNED_INT8_VEC3_NV = 0x8FEE
|
||||
UNSIGNED_INT8_VEC4_NV = 0x8FEF
|
||||
UNSIGNED_INT16_NV = 0x8FF0
|
||||
UNSIGNED_INT16_VEC2_NV = 0x8FF1
|
||||
UNSIGNED_INT16_VEC3_NV = 0x8FF2
|
||||
UNSIGNED_INT16_VEC4_NV = 0x8FF3
|
||||
UNSIGNED_INT64_VEC2_NV = 0x8FF5
|
||||
UNSIGNED_INT64_VEC3_NV = 0x8FF6
|
||||
UNSIGNED_INT64_VEC4_NV = 0x8FF7
|
||||
FLOAT16_NV = 0x8FF8
|
||||
FLOAT16_VEC2_NV = 0x8FF9
|
||||
FLOAT16_VEC3_NV = 0x8FFA
|
||||
FLOAT16_VEC4_NV = 0x8FFB
|
||||
use ARB_tessellation_shader PATCHES
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #390
|
||||
NV_shader_buffer_store enum:
|
||||
SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV = 0x00000010
|
||||
use VERSION_1_5 READ_WRITE
|
||||
use VERSION_1_5 WRITE_ONLY
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #391
|
||||
NV_tessellation_program5 enum:
|
||||
MAX_PROGRAM_PATCH_ATTRIBS_NV = 0x86D8
|
||||
TESS_CONTROL_PROGRAM_NV = 0x891E
|
||||
TESS_EVALUATION_PROGRAM_NV = 0x891F
|
||||
TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV = 0x8C74
|
||||
TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV = 0x8C75
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #392
|
||||
NV_vertex_attrib_integer_64bit enum:
|
||||
use NV_gpu_shader5 INT64_NV
|
||||
use NV_gpu_shader5 UNSIGNED_INT64_NV
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #393
|
||||
# Reuses SAMPLES enum as COVERAGE_SAMPLES
|
||||
NV_multisample_coverage enum:
|
||||
COVERAGE_SAMPLES_NV = 0x80A9
|
||||
COLOR_SAMPLES_NV = 0x8E20
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #394
|
||||
AMD_name_gen_delete enum:
|
||||
DATA_BUFFER_AMD = 0x9151
|
||||
PERFORMANCE_MONITOR_AMD = 0x9152
|
||||
QUERY_OBJECT_AMD = 0x9153
|
||||
VERTEX_ARRAY_OBJECT_AMD = 0x9154
|
||||
SAMPLER_OBJECT_AMD = 0x9155
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #395
|
||||
AMD_debug_output enum:
|
||||
MAX_DEBUG_LOGGED_MESSAGES_AMD = 0x9144
|
||||
DEBUG_LOGGED_MESSAGES_AMD = 0x9145
|
||||
DEBUG_SEVERITY_HIGH_AMD = 0x9146
|
||||
DEBUG_SEVERITY_MEDIUM_AMD = 0x9147
|
||||
DEBUG_SEVERITY_LOW_AMD = 0x9148
|
||||
DEBUG_CATEGORY_API_ERROR_AMD = 0x9149
|
||||
DEBUG_CATEGORY_WINDOW_SYSTEM_AMD = 0x914A
|
||||
DEBUG_CATEGORY_DEPRECATION_AMD = 0x914B
|
||||
DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD = 0x914C
|
||||
DEBUG_CATEGORY_PERFORMANCE_AMD = 0x914D
|
||||
DEBUG_CATEGORY_SHADER_COMPILER_AMD = 0x914E
|
||||
DEBUG_CATEGORY_APPLICATION_AMD = 0x914F
|
||||
DEBUG_CATEGORY_OTHER_AMD = 0x9150
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #396
|
||||
NV_vdpau_interop enum:
|
||||
SURFACE_STATE_NV = 0x86EB
|
||||
SURFACE_REGISTERED_NV = 0x86FD
|
||||
SURFACE_MAPPED_NV = 0x8700
|
||||
WRITE_DISCARD_NV = 0x88BE
|
||||
|
||||
###############################################################################
|
||||
|
||||
# No new tokens
|
||||
# Extension #397
|
||||
AMD_transform_feedback3_lines_triangles enum:
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #398 - GLX_AMD_gpu_association
|
||||
# Extension #399 - GLX_EXT_create_context_es2_profile
|
||||
# Extension #400 - WGL_EXT_create_context_es2_profile
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #401
|
||||
AMD_depth_clamp_separate enum:
|
||||
DEPTH_CLAMP_NEAR_AMD = 0x901E
|
||||
DEPTH_CLAMP_FAR_AMD = 0x901F
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #402
|
||||
EXT_texture_sRGB_decode enum:
|
||||
TEXTURE_SRGB_DECODE_EXT = 0x8A48
|
||||
DECODE_EXT = 0x8A49
|
||||
SKIP_DECODE_EXT = 0x8A4A
|
||||
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #403
|
||||
NV_texture_multisample enum:
|
||||
TEXTURE_COVERAGE_SAMPLES_NV = 0x9045
|
||||
TEXTURE_COLOR_SAMPLES_NV = 0x9046
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #404
|
||||
AMD_blend_minmax_factor enum:
|
||||
FACTOR_MIN_AMD = 0x901C
|
||||
FACTOR_MAX_AMD = 0x901D
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #505
|
||||
#AMD_sample_positions enum:
|
||||
# SUBSAMPLE_DISTANCE_AMD = 0x883F
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -297,17 +297,14 @@ sync,*,*, GLsync,*,*,
|
|||
Int64EXT,*,*, GLint64EXT,*,*
|
||||
UInt64EXT,*,*, GLuint64EXT,*,*
|
||||
# EXT_direct_state_access
|
||||
FramebufferAttachment,*,*, GLenum,*,*
|
||||
FramebufferAttachmentParameterName,*,*, GLenum,*,*
|
||||
Framebuffer,*,*, GLuint,*,*
|
||||
FramebufferStatus,*,*, GLenum,*,*
|
||||
FramebufferTarget,*,*, GLenum,*,*
|
||||
GetFramebufferParameter,*,*, GLenum,*,*
|
||||
Intptr,*,*, GLintptr,*,*
|
||||
ProgramFormat,*,*, GLenum,*,*
|
||||
ProgramProperty,*,*, GLenum,*,*
|
||||
ProgramStringProperty,*,*, GLenum,*,*
|
||||
ProgramTarget,*,*, GLenum,*,*
|
||||
Renderbuffer,*,*, GLuint,*,*
|
||||
RenderbufferParameterName,*,*, GLenum,*,*
|
||||
Sizeiptr,*,*, GLsizeiptr,*,*
|
||||
|
@ -320,3 +317,12 @@ BufferAccessMask,*,*, GLbitfield,*,*
|
|||
# NV_explicit_multisample
|
||||
GetMultisamplePNameNV,*,*, GLenum,*,*
|
||||
SampleMaskNV,*,*, GLbitfield,*,*
|
||||
# ARB_debug_output
|
||||
GLDEBUGPROCARB,*,*, GLDEBUGPROCARB,*,*
|
||||
# AMD_debug_output
|
||||
GLDEBUGPROCAMD,*,*, GLDEBUGPROCAMD,*,*
|
||||
# NV_vdpau_interop
|
||||
vdpauSurfaceNV,*,*, GLvdpauSurfaceNV,*,*,
|
||||
# External API types
|
||||
cl_context,*,*, struct _cl_context *,*,*
|
||||
cl_event,*,*, struct _cl_event *,*,*
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# This document is licensed under the SGI Free Software B License Version
|
||||
# 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
|
||||
#
|
||||
# $Revision: 10796 $ on $Date: 2010-03-19 17:31:10 -0700 (Fri, 19 Mar 2010) $
|
||||
# $Revision: 12183 $ on $Date: 2010-08-06 02:53:05 -0700 (Fri, 06 Aug 2010) $
|
||||
|
||||
# This is the GLX enumerant registry.
|
||||
#
|
||||
|
@ -126,15 +126,17 @@ GLXBindToTextureTargetMask enum:
|
|||
TEXTURE_2D_BIT_EXT = 0x00000002
|
||||
TEXTURE_RECTANGLE_BIT_EXT = 0x00000004
|
||||
|
||||
# CONTEXT_FLAGS_ARB bits
|
||||
# CONTEXT_FLAGS_ARB bits (shared with WGL and GL)
|
||||
GLXContextFlags enum:
|
||||
CONTEXT_DEBUG_BIT_ARB = 0x00000001 # ARB_create_context
|
||||
CONTEXT_FORWARD_COMPATIBLE_BIT_ARB = 0x00000002 # ARB_create_context
|
||||
CONTEXT_ROBUST_ACCESS_BIT_ARB = 0x00000004 # ARB_create_context_robustness
|
||||
|
||||
# CONTEXT_PROFILE_MASK_ARB bits
|
||||
GLXContextProfileMask enum:
|
||||
CONTEXT_CORE_PROFILE_BIT_ARB = 0x00000001 # ARB_create_context_profile
|
||||
CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB = 0x00000002 # ARB_create_context_profile
|
||||
CONTEXT_ES2_PROFILE_BIT_EXT = 0x00000004 # EXT_create_context_es2_profile
|
||||
|
||||
GLXAttribute enum:
|
||||
USE_GL = 1 # Visual attributes
|
||||
|
@ -250,16 +252,29 @@ GLXAttribute enum:
|
|||
SAMPLES_ARB = 100001 # "
|
||||
SAMPLE_BUFFERS = 100000 # Visual attribute (GLX 1.4 core - alias of SGIS_multisample)
|
||||
SAMPLES = 100001 # "
|
||||
COVERAGE_SAMPLES_NV = 100001 # Visual attribute (NV_multisample_coverage - reuse SAMPLES_ARB)
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB: 0x2070-0x209F (shared with WGL)
|
||||
# AMD: 0x1F00-0x1F02 (additional; see below; equivalent to corresponding WGL/GL tokens)
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB: 0x2070-0x209F
|
||||
|
||||
# Shared with WGL, synchronize create_context_* enums with wglenum.spec!
|
||||
|
||||
# Also includes a bitmask - see ContextFlags above
|
||||
# ARB_create_context enum:
|
||||
CONTEXT_MAJOR_VERSION_ARB = 0x2091
|
||||
CONTEXT_MINOR_VERSION_ARB = 0x2092
|
||||
# 0x2093 used for WGL_CONTEXT_LAYER_PLANE_ARB
|
||||
CONTEXT_FLAGS_ARB = 0x2094
|
||||
# 0x2095 collides with WGL_ERROR_INVALID_VERSION_ARB!
|
||||
CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB = 0x2095
|
||||
# 0x2096 used for WGL_ERROR_INVALID_PROFILE_ARB
|
||||
|
||||
# ARB_future_use: 0x2097-0x209F
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
@ -269,10 +284,14 @@ GLXAttribute enum:
|
|||
FLOAT_COMPONENTS_NV = 0x20B0
|
||||
# EXT_fbconfig_packed_float enum:
|
||||
RGBA_UNSIGNED_FLOAT_TYPE_EXT = 0x20B1
|
||||
# ARB_framebuffer_sRGB enum:
|
||||
FRAMEBUFFER_SRGB_CAPABLE_ARB = 0x20B2
|
||||
# EXT_framebuffer_sRGB enum:
|
||||
FRAMEBUFFER_SRGB_CAPABLE_EXT = 0x20B2
|
||||
# NV_multisample_coverage enum:
|
||||
COLOR_SAMPLES_NV = 0x20B3
|
||||
|
||||
# NV_future_use: 0x20B3-0x20B8
|
||||
# NV_future_use: 0x20B4-0x20B8
|
||||
|
||||
# ARB_fbconfig_float enum:
|
||||
RGBA_FLOAT_TYPE_ARB = 0x20B9
|
||||
|
@ -341,6 +360,28 @@ EXT_swap_control enum:
|
|||
|
||||
###############################################################################
|
||||
|
||||
# AMD: 0x21A0-0x21AF
|
||||
|
||||
# Shared with WGL, synchronize with wglenum.spec!
|
||||
|
||||
# WGL extensions: 0x21A0-0x21A1
|
||||
|
||||
GLX_AMD_gpu_association enum:
|
||||
GPU_VENDOR_AMD = 0x1F00
|
||||
GPU_RENDERER_STRING_AMD = 0x1F01
|
||||
GPU_OPENGL_VERSION_STRING_AMD = 0x1F02
|
||||
GPU_FASTEST_TARGET_GPUS_AMD = 0x21A2
|
||||
GPU_RAM_AMD = 0x21A3
|
||||
GPU_CLOCK_AMD = 0x21A4
|
||||
GPU_NUM_PIPES_AMD = 0x21A5
|
||||
GPU_NUM_SIMD_AMD = 0x21A6
|
||||
GPU_NUM_RB_AMD = 0x21A7
|
||||
GPU_NUM_SPI_AMD = 0x21A8
|
||||
|
||||
# AMD_future_use: 0x21A9-0x21AF
|
||||
|
||||
###############################################################################
|
||||
|
||||
# MESA (not in a reserved block)
|
||||
|
||||
# MESA_set_3dfx_mode enum:
|
||||
|
@ -404,17 +445,35 @@ INTEL_future_use: 0x8183-0x818F
|
|||
### Please remember that new GLX enum allocations must be obtained by request
|
||||
### to the Khronos API Registrar (see comments at the top of this file)
|
||||
### File requests in the Khronos Bugzilla, OpenGL project, Registry component.
|
||||
### Also note that some GLX enum values are shared with GL and WGL, and
|
||||
### new ranges should be allocated with such overlaps in mind.
|
||||
###############################################################################
|
||||
|
||||
# Any_vendor_future_use: 0x8180-0x9125
|
||||
# Any_vendor_future_use: 0x8190-0x824F
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB: 0x8250-0x826F
|
||||
# No additional values should be used from this range, which includes
|
||||
# the range used by GL_ARB_robustness rounded up to multiples of 16.
|
||||
|
||||
# Also includes a bitmask - see ContextFlags above
|
||||
# All values are shared with GLX and GL
|
||||
GLX_ARB_create_context_robustness enum:
|
||||
LOSE_CONTEXT_ON_RESET_ARB = 0x8252 # shared with GL_ARB_robustness
|
||||
CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB = 0x8256 # shared with GL_ARB_robustness
|
||||
NO_RESET_NOTIFICATION_ARB = 0x8261 # shared with GL_ARB_robustness
|
||||
|
||||
# Any_vendor_future_use: 0x8270-0x9125
|
||||
|
||||
# Also includes a bitmask - see ContextProfileMask above
|
||||
# ARB_create_context_profile enum: (equivalent to corresponding GL token)
|
||||
# All values are shared with GLX and GL
|
||||
ARB_create_context_profile enum:
|
||||
CONTEXT_PROFILE_MASK_ARB = 0x9126
|
||||
|
||||
# Any_vendor_future_use: 0x9127-0xFFFF
|
||||
#
|
||||
# This range must be the last range in the file. To generate a new
|
||||
# range, allocate multiples of 16 from the beginning of the
|
||||
# range, allocate multiples of 16 from the beginning of the first
|
||||
# Any_vendor_future_use range and update glxenum.spec, glxenumext.spec,
|
||||
# and extensions.reserved.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# This document is licensed under the SGI Free Software B License Version
|
||||
# 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
|
||||
#
|
||||
# $Revision: 10796 $ on $Date: 2010-03-19 17:31:10 -0700 (Fri, 19 Mar 2010) $
|
||||
# $Revision: 12183 $ on $Date: 2010-08-06 02:53:05 -0700 (Fri, 06 Aug 2010) $
|
||||
|
||||
# List of GLX enumerants for glxext.h header
|
||||
#
|
||||
|
@ -25,9 +25,9 @@
|
|||
|
||||
passthru:
|
||||
passthru: /* Header file version number, required by OpenGL ABI for Linux */
|
||||
passthru: /* glxext.h last updated 2010/02/10 */
|
||||
passthru: /* glxext.h last updated 2010/08/06 */
|
||||
passthru: /* Current version at http://www.opengl.org/registry/ */
|
||||
passthru: #define GLX_GLXEXT_VERSION 27
|
||||
passthru: #define GLX_GLXEXT_VERSION 32
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
|
@ -124,6 +124,12 @@ ARB_multisample enum:
|
|||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #28
|
||||
ARB_vertex_buffer_object enum:
|
||||
CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB = 0x2095
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #39
|
||||
ARB_fbconfig_float enum:
|
||||
RGBA_FLOAT_TYPE_ARB = 0x20B9
|
||||
|
@ -131,6 +137,12 @@ ARB_fbconfig_float enum:
|
|||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #46
|
||||
ARB_framebuffer_sRGB enum:
|
||||
FRAMEBUFFER_SRGB_CAPABLE_ARB = 0x20B2
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #56
|
||||
ARB_create_context enum:
|
||||
CONTEXT_DEBUG_BIT_ARB = 0x00000001
|
||||
|
@ -147,6 +159,15 @@ ARB_create_context_profile enum:
|
|||
CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB = 0x00000002
|
||||
CONTEXT_PROFILE_MASK_ARB = 0x9126
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #101
|
||||
# All values are shared with GLX and GL
|
||||
ARB_create_context_robustness enum:
|
||||
CONTEXT_ROBUST_ACCESS_BIT_ARB = 0x00000004
|
||||
LOSE_CONTEXT_ON_RESET_ARB = 0x8252
|
||||
CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB = 0x8256
|
||||
NO_RESET_NOTIFICATION_ARB = 0x8261
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
|
@ -513,3 +534,32 @@ INTEL_swap_event enum:
|
|||
EXCHANGE_COMPLETE_INTEL = 0x8180
|
||||
COPY_COMPLETE_INTEL = 0x8181
|
||||
FLIP_COMPLETE_INTEL = 0x8182
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #393
|
||||
NV_multisample_coverage enum:
|
||||
COVERAGE_SAMPLES_NV = 100001
|
||||
COLOR_SAMPLES_NV = 0x20B3
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #398
|
||||
AMD_gpu_association enum:
|
||||
GPU_VENDOR_AMD = 0x1F00
|
||||
GPU_RENDERER_STRING_AMD = 0x1F01
|
||||
GPU_OPENGL_VERSION_STRING_AMD = 0x1F02
|
||||
GPU_FASTEST_TARGET_GPUS_AMD = 0x21A2
|
||||
GPU_RAM_AMD = 0x21A3
|
||||
GPU_CLOCK_AMD = 0x21A4
|
||||
GPU_NUM_PIPES_AMD = 0x21A5
|
||||
GPU_NUM_SIMD_AMD = 0x21A6
|
||||
GPU_NUM_RB_AMD = 0x21A7
|
||||
GPU_NUM_SPI_AMD = 0x21A8
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #399
|
||||
# All values are shared with WGL and GL
|
||||
EXT_create_context_es2_profile enum:
|
||||
CONTEXT_ES2_PROFILE_BIT_EXT = 0x00000004
|
||||
|
|
|
@ -7,14 +7,14 @@
|
|||
# This document is licensed under the SGI Free Software B License Version
|
||||
# 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
|
||||
#
|
||||
# $Revision: 10796 $ on $Date: 2010-03-19 17:31:10 -0700 (Fri, 19 Mar 2010) $
|
||||
# $Revision: 12183 $ on $Date: 2010-08-06 02:53:05 -0700 (Fri, 06 Aug 2010) $
|
||||
|
||||
required-props:
|
||||
param: retval retained
|
||||
glxflags: client-handcode client-intercept server-handcode
|
||||
glxvendorglx: *
|
||||
vectorequiv: *
|
||||
category: VERSION_1_3 VERSION_1_4 ARB_get_proc_address ARB_multisample ARB_fbconfig_float EXT_import_context SGIX_dmbuffer SGIX_fbconfig SGIX_pbuffer SGIX_swap_barrier SGIX_swap_group SGIX_video_resize SGIX_video_source SGI_cushion SGI_make_current_read SGI_swap_control SGI_video_sync SUN_get_transparent_index MESA_agp_offset MESA_copy_sub_buffer MESA_pixmap_colormap MESA_release_buffers MESA_set_3dfx_mode SGIX_visual_select_group OML_sync_control SGIX_hyperpipe EXT_texture_from_pixmap NV_swap_group NV_video_output NV_present_video ARB_create_context NV_video_capture NV_copy_image EXT_swap_control
|
||||
category: VERSION_1_3 VERSION_1_4 ARB_get_proc_address ARB_multisample ARB_fbconfig_float EXT_import_context SGIX_dmbuffer SGIX_fbconfig SGIX_pbuffer SGIX_swap_barrier SGIX_swap_group SGIX_video_resize SGIX_video_source SGI_cushion SGI_make_current_read SGI_swap_control SGI_video_sync SUN_get_transparent_index MESA_agp_offset MESA_copy_sub_buffer MESA_pixmap_colormap MESA_release_buffers MESA_set_3dfx_mode SGIX_visual_select_group OML_sync_control SGIX_hyperpipe EXT_texture_from_pixmap NV_swap_group NV_video_output NV_present_video ARB_create_context NV_video_capture NV_copy_image EXT_swap_control ARB_framebuffer_sRGB
|
||||
glxopcode: *
|
||||
|
||||
#
|
||||
|
@ -312,6 +312,16 @@ newcategory: ARB_multisample
|
|||
# (none)
|
||||
newcategory: ARB_fbconfig_float
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# ARB Extension #46
|
||||
# ARB_framebuffer_sRGB commands
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
# (none)
|
||||
newcategory: ARB_framebuffer_sRGB
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# ARB Extension #56
|
||||
|
@ -340,6 +350,16 @@ CreateContextAttribsARB(dpy, config, share_context, direct, attrib_list)
|
|||
# (none)
|
||||
newcategory: ARB_create_context_profile
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# ARB Extension #101
|
||||
# ARB_create_context_robustness commands
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
# (none)
|
||||
newcategory: ARB_create_context_robustness
|
||||
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
|
@ -1328,3 +1348,145 @@ CopyImageSubDataNV(dpy, srcCtx, srcName, srcTarget, srcLevel, srcX, srcY, srcZ,
|
|||
|
||||
# (none)
|
||||
newcategory: INTEL_swap_event
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# Extension #393
|
||||
# NV_multisample_coverage commands
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
# (none)
|
||||
newcategory: NV_multisample_coverage
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# Extension #399
|
||||
# AMD_gpu_association commands
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
# These are a weird mishmash of X and Windows types - are they correct?
|
||||
# Leave out of glxext.h for the time being.
|
||||
|
||||
#@ UINT glXGetGPUIDsAMD(UINT maxCount, UINT *ids);
|
||||
#@ INT glXGetGPUInfoAMD(UINT id, INT property, GLenum dataType,
|
||||
#@ UINT size, void *data)
|
||||
#@ UINT glXGetContextGPUIDAMD(GLXContext ctx);
|
||||
#@ HGLRC glXCreateAssociatedContextAMD(UINT id, GLXContext share_list);
|
||||
#@ HGLRC glXCreateAssociatedContextAttribsAMD(UINT id, GLXContext share_context,
|
||||
#@ const int *attribList);
|
||||
#@ BOOL glXDeleteAssociatedContextAMD(GLXContext ctx);
|
||||
#@ BOOL glXMakeAssociatedContextCurrentAMD(GLXContext ctx);
|
||||
#@ HGLRC glXGetCurrentAssociatedContextAMD(void);
|
||||
#@ VOID glXBlitContextFramebufferAMD(GLXContext dstCtx, GLint srcX0, GLint srcY0,
|
||||
#@ GLint srcX1, GLint srcY1, GLint dstX0,
|
||||
#@ GLint dstY0, GLint dstX1, GLint dstY1,
|
||||
#@ GLbitfield mask, GLenum filter);
|
||||
|
||||
#@ glXGetGPUIDsAMD(maxCount, ids)
|
||||
#@ return UINT
|
||||
#@ param maxCount UINT in value
|
||||
#@ param ids UINT in array [???]
|
||||
#@ category AMD_gpu_association
|
||||
#@ version 4.1
|
||||
#@ extension
|
||||
#@ glxropcode ?
|
||||
#@ glxflags ignore
|
||||
#@ offset ?
|
||||
#@
|
||||
#@ glXGetGPUInfoAMD(id, property, dataType, size, data)
|
||||
#@ return INT
|
||||
#@ param id UINT in value
|
||||
#@ param property INT in value
|
||||
#@ param dataType GLenum in value
|
||||
#@ param size UINT in value
|
||||
#@ param data void in array [???]
|
||||
#@ category AMD_gpu_association
|
||||
#@ version 4.1
|
||||
#@ extension
|
||||
#@ glxropcode ?
|
||||
#@ glxflags ignore
|
||||
#@ offset ?
|
||||
#@
|
||||
#@ glXGetContextGPUIDAMD(ctx)
|
||||
#@ return UINT
|
||||
#@ param ctx GLXContext in value
|
||||
#@ category AMD_gpu_association
|
||||
#@ version 4.1
|
||||
#@ extension
|
||||
#@ glxropcode ?
|
||||
#@ glxflags ignore
|
||||
#@ offset ?
|
||||
#@
|
||||
#@ glXCreateAssociatedContextAMD(id, share_list)
|
||||
#@ return HGLRC
|
||||
#@ param id UINT in value
|
||||
#@ param share_list GLXContext in value
|
||||
#@ category AMD_gpu_association
|
||||
#@ version 4.1
|
||||
#@ extension
|
||||
#@ glxropcode ?
|
||||
#@ glxflags ignore
|
||||
#@ offset ?
|
||||
#@
|
||||
#@ glXCreateAssociatedContextAttribsAMD(id, share_context, attribList)
|
||||
#@ return HGLRC
|
||||
#@ param id UINT in value
|
||||
#@ param share_context GLXContext in value
|
||||
#@ param attribList Int32 in array [???]
|
||||
#@ category AMD_gpu_association
|
||||
#@ version 4.1
|
||||
#@ extension
|
||||
#@ glxropcode ?
|
||||
#@ glxflags ignore
|
||||
#@ offset ?
|
||||
#@
|
||||
#@ glXDeleteAssociatedContextAMD(ctx)
|
||||
#@ return BOOL
|
||||
#@ param ctx GLXContext in value
|
||||
#@ category AMD_gpu_association
|
||||
#@ version 4.1
|
||||
#@ extension
|
||||
#@ glxropcode ?
|
||||
#@ glxflags ignore
|
||||
#@ offset ?
|
||||
#@
|
||||
#@ glXMakeAssociatedContextCurrentAMD(ctx)
|
||||
#@ return BOOL
|
||||
#@ param ctx GLXContext in value
|
||||
#@ category AMD_gpu_association
|
||||
#@ version 4.1
|
||||
#@ extension
|
||||
#@ glxropcode ?
|
||||
#@ glxflags ignore
|
||||
#@ offset ?
|
||||
#@
|
||||
#@ glXGetCurrentAssociatedContextAMD()
|
||||
#@ return HGLRC
|
||||
#@ category AMD_gpu_association
|
||||
#@ version 4.1
|
||||
#@ extension
|
||||
#@ glxropcode ?
|
||||
#@ glxflags ignore
|
||||
#@ offset ?
|
||||
#@
|
||||
#@ glXBlitContextFramebufferAMD(dstCtx, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)
|
||||
#@ return VOID
|
||||
#@ param dstCtx GLXContext in value
|
||||
#@ param srcX0 GLint in value
|
||||
#@ param srcY0 GLint in value
|
||||
#@ param srcX1 GLint in value
|
||||
#@ param srcY1 GLint in value
|
||||
#@ param dstX0 GLint in value
|
||||
#@ param dstY0 GLint in value
|
||||
#@ param dstX1 GLint in value
|
||||
#@ param dstY1 GLint in value
|
||||
#@ param mask GLbitfield in value
|
||||
#@ param filter GLenum in value
|
||||
#@ category AMD_gpu_association
|
||||
#@ version 4.1
|
||||
#@ extension
|
||||
#@ glxropcode ?
|
||||
#@ glxflags ignore
|
||||
#@ offset ?
|
||||
|
|
Loading…
Reference in New Issue