From e31d8fa0ad614af16d2111cd80b422c82132ae63 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 23 Dec 2020 07:10:06 -0500 Subject: mesa: remove _mesa_initialize_exec_dispatch from draw.c by autogenerating it The glapi scripts are fully capable of generating this correctly for all GL APIs if we don't set exec="dynamic". exec="dynamic" should only be used for glBegin, glEnd, and all functions that are legal inside Begin/End. Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- .../glapi/gen/ARB_draw_elements_base_vertex.xml | 6 ++--- src/mapi/glapi/gen/es_EXT.xml | 10 ++++----- src/mapi/glapi/gen/gl_API.xml | 26 +++++++++++----------- src/mapi/glapi/gen/gl_genexec.py | 2 -- 4 files changed, 21 insertions(+), 23 deletions(-) (limited to 'src/mapi/glapi') 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 0350dd735a7..08ea7a31ca0 100644 --- a/src/mapi/glapi/gen/ARB_draw_elements_base_vertex.xml +++ b/src/mapi/glapi/gen/ARB_draw_elements_base_vertex.xml @@ -8,7 +8,7 @@ - + @@ -16,7 +16,7 @@ - + @@ -26,7 +26,7 @@ - + diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml index 4386375940f..929b40bbd4a 100644 --- a/src/mapi/glapi/gen/es_EXT.xml +++ b/src/mapi/glapi/gen/es_EXT.xml @@ -1076,7 +1076,7 @@ + es2="2.0"> @@ -1085,7 +1085,7 @@ + es2="3.0"> @@ -1096,7 +1096,7 @@ + es2="2.0"> @@ -1228,7 +1228,7 @@ + es2="2.0"> @@ -1237,7 +1237,7 @@ + es2="3.0"> diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index 9abc045ce87..f97aea70061 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -1598,53 +1598,53 @@ - + - + - + - + - + - + - + - + @@ -3199,14 +3199,14 @@ - + - + @@ -3777,7 +3777,7 @@ - + @@ -10298,14 +10298,14 @@ - + - + diff --git a/src/mapi/glapi/gen/gl_genexec.py b/src/mapi/glapi/gen/gl_genexec.py index 9f7c8ca8baa..8bca9ed6904 100644 --- a/src/mapi/glapi/gen/gl_genexec.py +++ b/src/mapi/glapi/gen/gl_genexec.py @@ -149,8 +149,6 @@ _mesa_initialize_exec_table(struct gl_context *ctx) assert(exec != NULL); assert(ctx->Version > 0); - - _mesa_initialize_exec_dispatch(ctx, exec); """ -- cgit v1.2.3