From d00f36ac25b25402c4d81a0229a703a1b84fc40c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 18 Feb 2020 23:13:50 -0500 Subject: [PATCH] glthread: add/update count and marshal fields for many GL functions Reviewed-by: Timothy Arceri Part-of: --- .../glapi/gen/AMD_performance_monitor.xml | 4 +- src/mapi/glapi/gen/ARB_ES2_compatibility.xml | 4 +- src/mapi/glapi/gen/ARB_base_instance.xml | 3 +- src/mapi/glapi/gen/ARB_bindless_texture.xml | 6 +- .../glapi/gen/ARB_direct_state_access.xml | 12 ++-- .../gen/ARB_draw_elements_base_vertex.xml | 6 +- src/mapi/glapi/gen/ARB_draw_indirect.xml | 14 +++-- src/mapi/glapi/gen/ARB_get_program_binary.xml | 2 +- src/mapi/glapi/gen/ARB_sampler_objects.xml | 2 +- .../glapi/gen/ARB_separate_shader_objects.xml | 2 +- src/mapi/glapi/gen/ARB_shader_subroutine.xml | 2 +- .../gen/ARB_shading_language_include.xml | 14 ++--- .../glapi/gen/ARB_vertex_attrib_64bit.xml | 11 ++-- .../gen/ARB_vertex_type_2_10_10_10_rev.xml | 38 +++++------ .../glapi/gen/EXT_direct_state_access.xml | 29 ++++----- src/mapi/glapi/gen/EXT_external_objects.xml | 16 ++--- src/mapi/glapi/gen/EXT_gpu_shader4.xml | 12 ++-- src/mapi/glapi/gen/EXT_transform_feedback.xml | 2 +- src/mapi/glapi/gen/EXT_window_rectangles.xml | 2 +- src/mapi/glapi/gen/GL3x.xml | 12 ++-- src/mapi/glapi/gen/KHR_debug.xml | 8 +-- src/mapi/glapi/gen/NV_vdpau_interop.xml | 4 +- src/mapi/glapi/gen/es_EXT.xml | 5 +- src/mapi/glapi/gen/gl_API.xml | 63 ++++++++++--------- 24 files changed, 141 insertions(+), 132 deletions(-) diff --git a/src/mapi/glapi/gen/AMD_performance_monitor.xml b/src/mapi/glapi/gen/AMD_performance_monitor.xml index 785ea076c6f..24d177c5a85 100644 --- a/src/mapi/glapi/gen/AMD_performance_monitor.xml +++ b/src/mapi/glapi/gen/AMD_performance_monitor.xml @@ -48,7 +48,7 @@ - + @@ -56,7 +56,7 @@ - + diff --git a/src/mapi/glapi/gen/ARB_ES2_compatibility.xml b/src/mapi/glapi/gen/ARB_ES2_compatibility.xml index c96e71c44f2..f1112ac57be 100644 --- a/src/mapi/glapi/gen/ARB_ES2_compatibility.xml +++ b/src/mapi/glapi/gen/ARB_ES2_compatibility.xml @@ -30,9 +30,9 @@ - + - + diff --git a/src/mapi/glapi/gen/ARB_base_instance.xml b/src/mapi/glapi/gen/ARB_base_instance.xml index e3bbcd198e8..92892c29078 100644 --- a/src/mapi/glapi/gen/ARB_base_instance.xml +++ b/src/mapi/glapi/gen/ARB_base_instance.xml @@ -8,8 +8,7 @@ - + diff --git a/src/mapi/glapi/gen/ARB_bindless_texture.xml b/src/mapi/glapi/gen/ARB_bindless_texture.xml index 762cadf6fea..2de4493c6c0 100644 --- a/src/mapi/glapi/gen/ARB_bindless_texture.xml +++ b/src/mapi/glapi/gen/ARB_bindless_texture.xml @@ -53,7 +53,7 @@ - + @@ -66,7 +66,7 @@ - + @@ -86,7 +86,7 @@ - + diff --git a/src/mapi/glapi/gen/ARB_direct_state_access.xml b/src/mapi/glapi/gen/ARB_direct_state_access.xml index 84ba14153d1..42ed70a7633 100644 --- a/src/mapi/glapi/gen/ARB_direct_state_access.xml +++ b/src/mapi/glapi/gen/ARB_direct_state_access.xml @@ -194,7 +194,7 @@ - + @@ -205,13 +205,13 @@ - + - + @@ -611,9 +611,9 @@ - - - + + + diff --git a/src/mapi/glapi/gen/ARB_draw_elements_base_vertex.xml b/src/mapi/glapi/gen/ARB_draw_elements_base_vertex.xml index 2f1a93dc8a7..9f18cacd1e6 100644 --- a/src/mapi/glapi/gen/ARB_draw_elements_base_vertex.xml +++ b/src/mapi/glapi/gen/ARB_draw_elements_base_vertex.xml @@ -31,11 +31,11 @@ - + - + - + - + - + @@ -24,14 +28,16 @@ - + - + diff --git a/src/mapi/glapi/gen/ARB_get_program_binary.xml b/src/mapi/glapi/gen/ARB_get_program_binary.xml index c521c04de42..00fede82d19 100644 --- a/src/mapi/glapi/gen/ARB_get_program_binary.xml +++ b/src/mapi/glapi/gen/ARB_get_program_binary.xml @@ -22,7 +22,7 @@ - + diff --git a/src/mapi/glapi/gen/ARB_sampler_objects.xml b/src/mapi/glapi/gen/ARB_sampler_objects.xml index e10984b3f76..b8fdd125e24 100644 --- a/src/mapi/glapi/gen/ARB_sampler_objects.xml +++ b/src/mapi/glapi/gen/ARB_sampler_objects.xml @@ -14,7 +14,7 @@ - + diff --git a/src/mapi/glapi/gen/ARB_separate_shader_objects.xml b/src/mapi/glapi/gen/ARB_separate_shader_objects.xml index 2273b4875d7..c9737e74a06 100644 --- a/src/mapi/glapi/gen/ARB_separate_shader_objects.xml +++ b/src/mapi/glapi/gen/ARB_separate_shader_objects.xml @@ -35,7 +35,7 @@ - + diff --git a/src/mapi/glapi/gen/ARB_shader_subroutine.xml b/src/mapi/glapi/gen/ARB_shader_subroutine.xml index 8a7d08c7f71..9c537e4d20b 100644 --- a/src/mapi/glapi/gen/ARB_shader_subroutine.xml +++ b/src/mapi/glapi/gen/ARB_shader_subroutine.xml @@ -50,7 +50,7 @@ - + diff --git a/src/mapi/glapi/gen/ARB_shading_language_include.xml b/src/mapi/glapi/gen/ARB_shading_language_include.xml index c305a7e2294..acfe39ac1b9 100644 --- a/src/mapi/glapi/gen/ARB_shading_language_include.xml +++ b/src/mapi/glapi/gen/ARB_shading_language_include.xml @@ -6,13 +6,13 @@ - + - + - + @@ -22,19 +22,19 @@ - + - + - + - + diff --git a/src/mapi/glapi/gen/ARB_vertex_attrib_64bit.xml b/src/mapi/glapi/gen/ARB_vertex_attrib_64bit.xml index 4d66ee50c80..d96729be3ac 100644 --- a/src/mapi/glapi/gen/ARB_vertex_attrib_64bit.xml +++ b/src/mapi/glapi/gen/ARB_vertex_attrib_64bit.xml @@ -33,25 +33,26 @@ - + - + - + - + - + diff --git a/src/mapi/glapi/gen/ARB_vertex_type_2_10_10_10_rev.xml b/src/mapi/glapi/gen/ARB_vertex_type_2_10_10_10_rev.xml index 92ec6e167cb..df225b91109 100644 --- a/src/mapi/glapi/gen/ARB_vertex_type_2_10_10_10_rev.xml +++ b/src/mapi/glapi/gen/ARB_vertex_type_2_10_10_10_rev.xml @@ -24,17 +24,17 @@ - + - + - + @@ -59,22 +59,22 @@ - + - + - + - + @@ -104,25 +104,25 @@ - + - + - + - + @@ -132,7 +132,7 @@ - + @@ -147,12 +147,12 @@ - + - + @@ -162,7 +162,7 @@ - + @@ -197,28 +197,28 @@ - + - + - + - + diff --git a/src/mapi/glapi/gen/EXT_direct_state_access.xml b/src/mapi/glapi/gen/EXT_direct_state_access.xml index bcabf7d29ca..0d29282d293 100644 --- a/src/mapi/glapi/gen/EXT_direct_state_access.xml +++ b/src/mapi/glapi/gen/EXT_direct_state_access.xml @@ -20,19 +20,19 @@ - + - + - + - + @@ -657,7 +657,8 @@ - + @@ -669,22 +670,22 @@ - + - + - + - + @@ -926,7 +927,7 @@ - + @@ -1202,7 +1203,7 @@ - + @@ -1226,7 +1227,7 @@ - + @@ -1250,7 +1251,7 @@ - + @@ -1351,7 +1352,7 @@ - + diff --git a/src/mapi/glapi/gen/EXT_external_objects.xml b/src/mapi/glapi/gen/EXT_external_objects.xml index 25e6879ec7b..ebcf6d7a4ac 100644 --- a/src/mapi/glapi/gen/EXT_external_objects.xml +++ b/src/mapi/glapi/gen/EXT_external_objects.xml @@ -39,7 +39,7 @@ - + @@ -191,7 +191,7 @@ - + @@ -214,19 +214,19 @@ - + - - + + - + - - + + diff --git a/src/mapi/glapi/gen/EXT_gpu_shader4.xml b/src/mapi/glapi/gen/EXT_gpu_shader4.xml index 55437c0de2c..8febbcf7f7f 100644 --- a/src/mapi/glapi/gen/EXT_gpu_shader4.xml +++ b/src/mapi/glapi/gen/EXT_gpu_shader4.xml @@ -99,17 +99,17 @@ - + - + - + @@ -119,17 +119,17 @@ - + - + - + diff --git a/src/mapi/glapi/gen/EXT_transform_feedback.xml b/src/mapi/glapi/gen/EXT_transform_feedback.xml index 26948cc7bdd..9982a3f81a5 100644 --- a/src/mapi/glapi/gen/EXT_transform_feedback.xml +++ b/src/mapi/glapi/gen/EXT_transform_feedback.xml @@ -89,7 +89,7 @@ - + diff --git a/src/mapi/glapi/gen/EXT_window_rectangles.xml b/src/mapi/glapi/gen/EXT_window_rectangles.xml index 7c85e55cf29..cceaeca0968 100644 --- a/src/mapi/glapi/gen/EXT_window_rectangles.xml +++ b/src/mapi/glapi/gen/EXT_window_rectangles.xml @@ -22,7 +22,7 @@ - + diff --git a/src/mapi/glapi/gen/GL3x.xml b/src/mapi/glapi/gen/GL3x.xml index 750bc023033..cd3987e0ceb 100644 --- a/src/mapi/glapi/gen/GL3x.xml +++ b/src/mapi/glapi/gen/GL3x.xml @@ -332,7 +332,7 @@ - + @@ -352,7 +352,7 @@ - + @@ -372,22 +372,22 @@ - + - + - + - + diff --git a/src/mapi/glapi/gen/KHR_debug.xml b/src/mapi/glapi/gen/KHR_debug.xml index 21b7e58c321..af31347d54e 100644 --- a/src/mapi/glapi/gen/KHR_debug.xml +++ b/src/mapi/glapi/gen/KHR_debug.xml @@ -88,7 +88,7 @@ - + @@ -112,7 +112,7 @@ - + @@ -121,7 +121,7 @@ - + @@ -135,7 +135,7 @@ - + diff --git a/src/mapi/glapi/gen/NV_vdpau_interop.xml b/src/mapi/glapi/gen/NV_vdpau_interop.xml index ceef7bdc9ac..7bf8fdfb4f1 100644 --- a/src/mapi/glapi/gen/NV_vdpau_interop.xml +++ b/src/mapi/glapi/gen/NV_vdpau_interop.xml @@ -52,12 +52,12 @@ - + - + diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml index adbcba1ed2a..c30ad56c75d 100644 --- a/src/mapi/glapi/gen/es_EXT.xml +++ b/src/mapi/glapi/gen/es_EXT.xml @@ -319,7 +319,8 @@ + no_error="true" marshal="async" + marshal_fail="_mesa_glthread_is_non_vbo_vertex_attrib_pointer(ctx)"> @@ -1463,7 +1464,7 @@ - + diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index 154f85cd4d5..2bec492f7d1 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -4482,22 +4482,22 @@ - + - + - + - + @@ -4745,8 +4745,8 @@ - - + + @@ -4889,7 +4889,7 @@ - + @@ -4900,7 +4900,7 @@ - + @@ -4911,7 +4911,7 @@ - + @@ -4922,7 +4922,7 @@ - + @@ -4934,7 +4934,7 @@ - + @@ -4957,7 +4957,7 @@ - + @@ -4969,7 +4969,7 @@ - + @@ -10264,9 +10264,9 @@ - + - + @@ -10945,14 +10945,14 @@ - + - + @@ -11324,7 +11324,7 @@ - + @@ -11337,7 +11337,7 @@ - + @@ -11350,7 +11350,7 @@ - + @@ -11363,7 +11363,7 @@ - + @@ -11376,10 +11376,11 @@ - - - - + + + + @@ -11387,10 +11388,10 @@ - - + + - + @@ -12553,7 +12554,7 @@ - + @@ -13143,14 +13144,14 @@ - + - + -- 2.30.2