X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=specs%2Fglparams.py;h=2a6c38d3ff1a4c394d0f85811bb264c0e6ea8d7f;hb=6d953b4f49f893cc26cc1aa4e419d1eae7da65bf;hp=d2f5644127541e1ba16a1047c3e891cff60407d5;hpb=62f856fade87b8e9ebe96700f9b3e7b383e372c7;p=apitrace diff --git a/specs/glparams.py b/specs/glparams.py index d2f5644..2a6c38d 100644 --- a/specs/glparams.py +++ b/specs/glparams.py @@ -343,7 +343,7 @@ parameters = [ ("glGetTexLevelParameter", I, 1, "GL_TEXTURE_WIDTH"), # 0x1000 ("glGetTexLevelParameter", I, 1, "GL_TEXTURE_HEIGHT"), # 0x1001 ("glGetTexLevelParameter", E, 1, "GL_TEXTURE_INTERNAL_FORMAT"), # 0x1003 - ("glGetTexParameter", F, 4, "GL_TEXTURE_BORDER_COLOR"), # 0x1004 + ("glGetTexParameter,glGetSamplerParameter", F, 4, "GL_TEXTURE_BORDER_COLOR"), # 0x1004 ("glGetTexLevelParameter", I, 1, "GL_TEXTURE_BORDER"), # 0x1005 ("", X, 1, "GL_DONT_CARE"), # 0x1100 ("", X, 1, "GL_FASTEST"), # 0x1101 @@ -475,10 +475,10 @@ parameters = [ ("", X, 1, "GL_LINEAR_MIPMAP_NEAREST"), # 0x2701 ("", X, 1, "GL_NEAREST_MIPMAP_LINEAR"), # 0x2702 ("", X, 1, "GL_LINEAR_MIPMAP_LINEAR"), # 0x2703 - ("glGetTexParameter", E, 1, "GL_TEXTURE_MAG_FILTER"), # 0x2800 - ("glGetTexParameter", E, 1, "GL_TEXTURE_MIN_FILTER"), # 0x2801 - ("glGetTexParameter", E, 1, "GL_TEXTURE_WRAP_S"), # 0x2802 - ("glGetTexParameter", E, 1, "GL_TEXTURE_WRAP_T"), # 0x2803 + ("glGetTexParameter,glGetSamplerParameter", E, 1, "GL_TEXTURE_MAG_FILTER"), # 0x2800 + ("glGetTexParameter,glGetSamplerParameter", E, 1, "GL_TEXTURE_MIN_FILTER"), # 0x2801 + ("glGetTexParameter,glGetSamplerParameter", E, 1, "GL_TEXTURE_WRAP_S"), # 0x2802 + ("glGetTexParameter,glGetSamplerParameter", E, 1, "GL_TEXTURE_WRAP_T"), # 0x2803 ("", X, 1, "GL_CLAMP"), # 0x2900 ("", X, 1, "GL_REPEAT"), # 0x2901 ("glGet", F, 1, "GL_POLYGON_OFFSET_UNITS"), # 0x2A00 @@ -629,7 +629,7 @@ parameters = [ ("glGet", B, 1, "GL_TEXTURE_3D"), # 0x806F ("", X, 1, "GL_PROXY_TEXTURE_3D"), # 0x8070 ("glGetTexLevelParameter", I, 1, "GL_TEXTURE_DEPTH"), # 0x8071 - ("glGetTexParameter", E, 1, "GL_TEXTURE_WRAP_R"), # 0x8072 + ("glGetTexParameter,glGetSamplerParameter", E, 1, "GL_TEXTURE_WRAP_R"), # 0x8072 ("glGet", I, 1, "GL_MAX_3D_TEXTURE_SIZE"), # 0x8073 ("glGet", B, 1, "GL_VERTEX_ARRAY"), # 0x8074 ("glGet", B, 1, "GL_NORMAL_ARRAY"), # 0x8075 @@ -788,8 +788,8 @@ parameters = [ ("", X, 1, "GL_TEXTURE_WRAP_Q_SGIS"), # 0x8137 ("glGet", I, 1, "GL_MAX_4D_TEXTURE_SIZE_SGIS"), # 0x8138 ("glGet", I, 1, "GL_PIXEL_TEX_GEN_SGIX"), # 0x8139 - ("glGetTexParameter", F, 1, "GL_TEXTURE_MIN_LOD"), # 0x813A - ("glGetTexParameter", F, 1, "GL_TEXTURE_MAX_LOD"), # 0x813B + ("glGetTexParameter,glGetSamplerParameter", F, 1, "GL_TEXTURE_MIN_LOD"), # 0x813A + ("glGetTexParameter,glGetSamplerParameter", F, 1, "GL_TEXTURE_MAX_LOD"), # 0x813B ("glGetTexParameter", F, 1, "GL_TEXTURE_BASE_LEVEL"), # 0x813C ("glGetTexParameter", F, 1, "GL_TEXTURE_MAX_LEVEL"), # 0x813D ("glGet", I, 1, "GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX"), # 0x813E @@ -1955,8 +1955,8 @@ parameters = [ ("glGet", P, 1, "GL_MATRIX_INDEX_ARRAY_POINTER_ARB"), # 0x8849 ("glGetTexLevelParameter", I, 1, "GL_TEXTURE_DEPTH_SIZE"), # 0x884A ("glGetTexParameter", E, 1, "GL_DEPTH_TEXTURE_MODE"), # 0x884B - ("glGetTexParameter", E, 1, "GL_TEXTURE_COMPARE_MODE"), # 0x884C - ("glGetTexParameter", E, 1, "GL_TEXTURE_COMPARE_FUNC"), # 0x884D + ("glGetTexParameter,glGetSamplerParameter", E, 1, "GL_TEXTURE_COMPARE_MODE"), # 0x884C + ("glGetTexParameter,glGetSamplerParameter", E, 1, "GL_TEXTURE_COMPARE_FUNC"), # 0x884D ("", X, 1, "GL_COMPARE_REF_TO_TEXTURE"), # 0x884E ("glGet", B, 1, "GL_TEXTURE_CUBE_MAP_SEAMLESS"), # 0x884F ("", X, 1, "GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV"), # 0x8850 @@ -2142,7 +2142,7 @@ parameters = [ ("", X, 1, "GL_GEOMETRY_VERTICES_OUT"), # 0x8916 ("", X, 1, "GL_GEOMETRY_INPUT_TYPE"), # 0x8917 ("", X, 1, "GL_GEOMETRY_OUTPUT_TYPE"), # 0x8918 - ("glGet", I, 1, "GL_SAMPLER_BINDING"), # 0x8919 + ("_glGet", I, 1, "GL_SAMPLER_BINDING"), # 0x8919 ("glGet", B, 1, "GL_CLAMP_VERTEX_COLOR"), # 0x891A ("glGet", B, 1, "GL_CLAMP_FRAGMENT_COLOR"), # 0x891B ("glGet", B, 1, "GL_CLAMP_READ_COLOR"), # 0x891C @@ -2738,8 +2738,8 @@ parameters = [ ("", X, 1, "GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS"), # 0x8E47 ("", X, 1, "GL_ACTIVE_SUBROUTINE_MAX_LENGTH"), # 0x8E48 ("", X, 1, "GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH"), # 0x8E49 - ("", X, 1, "GL_NUM_COMPATIBLE_SUBROUTINES"), # 0x8E4A - ("", X, 1, "GL_COMPATIBLE_SUBROUTINES"), # 0x8E4B + ("", I, 1, "GL_NUM_COMPATIBLE_SUBROUTINES"), # 0x8E4A + ("", I, 1, "GL_COMPATIBLE_SUBROUTINES"), # 0x8E4B ("glGet", B, 1, "GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION"), # 0x8E4C ("", X, 1, "GL_FIRST_VERTEX_CONVENTION"), # 0x8E4D ("", X, 1, "GL_LAST_VERTEX_CONVENTION"), # 0x8E4E @@ -3241,7 +3241,7 @@ parameters = [ ("", X, 1, "GL_PROGRAM_OUTPUT"), # 0x92E4 ("", X, 1, "GL_BUFFER_VARIABLE"), # 0x92E5 ("", X, 1, "GL_SHADER_STORAGE_BLOCK"), # 0x92E6 - ("", X, 1, "GL_IS_PER_PATCH"), # 0x92E7 + ("", I, 1, "GL_IS_PER_PATCH"), # 0x92E7 ("", X, 1, "GL_VERTEX_SUBROUTINE"), # 0x92E8 ("", X, 1, "GL_TESS_CONTROL_SUBROUTINE"), # 0x92E9 ("", X, 1, "GL_TESS_EVALUATION_SUBROUTINE"), # 0x92EA @@ -3255,33 +3255,33 @@ parameters = [ ("", X, 1, "GL_FRAGMENT_SUBROUTINE_UNIFORM"), # 0x92F2 ("", X, 1, "GL_COMPUTE_SUBROUTINE_UNIFORM"), # 0x92F3 ("", X, 1, "GL_TRANSFORM_FEEDBACK_VARYING"), # 0x92F4 - ("", X, 1, "GL_ACTIVE_RESOURCES"), # 0x92F5 - ("", X, 1, "GL_MAX_NAME_LENGTH"), # 0x92F6 - ("", X, 1, "GL_MAX_NUM_ACTIVE_VARIABLES"), # 0x92F7 - ("", X, 1, "GL_MAX_NUM_COMPATIBLE_SUBROUTINES"), # 0x92F8 - ("", X, 1, "GL_NAME_LENGTH"), # 0x92F9 - ("", X, 1, "GL_TYPE"), # 0x92FA - ("", X, 1, "GL_ARRAY_SIZE"), # 0x92FB - ("", X, 1, "GL_OFFSET"), # 0x92FC - ("", X, 1, "GL_BLOCK_INDEX"), # 0x92FD - ("", X, 1, "GL_ARRAY_STRIDE"), # 0x92FE - ("", X, 1, "GL_MATRIX_STRIDE"), # 0x92FF - ("", X, 1, "GL_IS_ROW_MAJOR"), # 0x9300 - ("", X, 1, "GL_ATOMIC_COUNTER_BUFFER_INDEX"), # 0x9301 - ("", X, 1, "GL_BUFFER_BINDING"), # 0x9302 - ("", X, 1, "GL_BUFFER_DATA_SIZE"), # 0x9303 - ("", X, 1, "GL_NUM_ACTIVE_VARIABLES"), # 0x9304 - ("", X, 1, "GL_ACTIVE_VARIABLES"), # 0x9305 - ("", X, 1, "GL_REFERENCED_BY_VERTEX_SHADER"), # 0x9306 - ("", X, 1, "GL_REFERENCED_BY_TESS_CONTROL_SHADER"), # 0x9307 - ("", X, 1, "GL_REFERENCED_BY_TESS_EVALUATION_SHADER"), # 0x9308 - ("", X, 1, "GL_REFERENCED_BY_GEOMETRY_SHADER"), # 0x9309 - ("", X, 1, "GL_REFERENCED_BY_FRAGMENT_SHADER"), # 0x930A - ("", X, 1, "GL_REFERENCED_BY_COMPUTE_SHADER"), # 0x930B - ("", X, 1, "GL_TOP_LEVEL_ARRAY_SIZE"), # 0x930C - ("", X, 1, "GL_TOP_LEVEL_ARRAY_STRIDE"), # 0x930D - ("", X, 1, "GL_LOCATION"), # 0x930E - ("", X, 1, "GL_LOCATION_INDEX"), # 0x930F + ("", I, 1, "GL_ACTIVE_RESOURCES"), # 0x92F5 + ("", I, 1, "GL_MAX_NAME_LENGTH"), # 0x92F6 + ("", I, 1, "GL_MAX_NUM_ACTIVE_VARIABLES"), # 0x92F7 + ("", I, 1, "GL_MAX_NUM_COMPATIBLE_SUBROUTINES"), # 0x92F8 + ("", I, 1, "GL_NAME_LENGTH"), # 0x92F9 + ("", I, 1, "GL_TYPE"), # 0x92FA + ("", I, 1, "GL_ARRAY_SIZE"), # 0x92FB + ("", I, 1, "GL_OFFSET"), # 0x92FC + ("", I, 1, "GL_BLOCK_INDEX"), # 0x92FD + ("", I, 1, "GL_ARRAY_STRIDE"), # 0x92FE + ("", I, 1, "GL_MATRIX_STRIDE"), # 0x92FF + ("", I, 1, "GL_IS_ROW_MAJOR"), # 0x9300 + ("", I, 1, "GL_ATOMIC_COUNTER_BUFFER_INDEX"), # 0x9301 + ("", I, 1, "GL_BUFFER_BINDING"), # 0x9302 + ("", I, 1, "GL_BUFFER_DATA_SIZE"), # 0x9303 + ("", I, 1, "GL_NUM_ACTIVE_VARIABLES"), # 0x9304 + ("", I, 1, "GL_ACTIVE_VARIABLES"), # 0x9305 + ("", I, 1, "GL_REFERENCED_BY_VERTEX_SHADER"), # 0x9306 + ("", I, 1, "GL_REFERENCED_BY_TESS_CONTROL_SHADER"), # 0x9307 + ("", I, 1, "GL_REFERENCED_BY_TESS_EVALUATION_SHADER"), # 0x9308 + ("", I, 1, "GL_REFERENCED_BY_GEOMETRY_SHADER"), # 0x9309 + ("", I, 1, "GL_REFERENCED_BY_FRAGMENT_SHADER"), # 0x930A + ("", I, 1, "GL_REFERENCED_BY_COMPUTE_SHADER"), # 0x930B + ("", I, 1, "GL_TOP_LEVEL_ARRAY_SIZE"), # 0x930C + ("", I, 1, "GL_TOP_LEVEL_ARRAY_STRIDE"), # 0x930D + ("", I, 1, "GL_LOCATION"), # 0x930E + ("", I, 1, "GL_LOCATION_INDEX"), # 0x930F ("", I, 1, "GL_FRAMEBUFFER_DEFAULT_WIDTH"), # 0x9310 ("", I, 1, "GL_FRAMEBUFFER_DEFAULT_HEIGHT"), # 0x9311 ("", I, 1, "GL_FRAMEBUFFER_DEFAULT_LAYERS"), # 0x9312