glapi: rename gl_genexec.py to api_exec_init.py, api_exec.c to api_exec_init.c
this seems cleaner Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14000>
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
# IN THE SOFTWARE.
|
||||
|
||||
# This script generates the file api_exec.c, which contains
|
||||
# This script generates the file api_exec_init.c, which contains
|
||||
# _mesa_initialize_exec_table(). It is responsible for populating all
|
||||
# entries in the "exec" dispatch table that aren't dynamic.
|
||||
|
||||
@@ -40,7 +40,7 @@ exec_flavor_map = {
|
||||
|
||||
|
||||
header = """/**
|
||||
* \\file api_exec.c
|
||||
* \\file api_exec_init.c
|
||||
* Initialize dispatch table.
|
||||
*/
|
||||
|
||||
@@ -160,7 +160,7 @@ class PrintCode(gl_XML.gl_print_base):
|
||||
def __init__(self):
|
||||
gl_XML.gl_print_base.__init__(self)
|
||||
|
||||
self.name = 'gl_genexec.py'
|
||||
self.name = 'api_exec_init.py'
|
||||
self.license = license.bsd_license_template % (
|
||||
'Copyright (C) 2012 Intel Corporation',
|
||||
'Intel Corporation')
|
@@ -216,9 +216,9 @@ main_enums_c = custom_target(
|
||||
)
|
||||
|
||||
main_api_exec_c = custom_target(
|
||||
'api_exec.c',
|
||||
input : ['gl_genexec.py', 'gl_and_es_API.xml'],
|
||||
output : 'api_exec.c',
|
||||
'api_exec_init.c',
|
||||
input : ['api_exec_init.py', 'gl_and_es_API.xml'],
|
||||
output : 'api_exec_init.c',
|
||||
command : [prog_python, '@INPUT0@', '-f', '@INPUT1@'],
|
||||
depend_files : files('apiexec.py') + glapi_gen_depends,
|
||||
capture : true,
|
||||
|
@@ -1067,7 +1067,7 @@ create_beginend_table(const struct gl_context *ctx)
|
||||
void
|
||||
_mesa_initialize_dispatch_tables(struct gl_context *ctx)
|
||||
{
|
||||
/* Do the code-generated setup of the exec table in api_exec.c. */
|
||||
/* Do the code-generated setup of the exec table in api_exec_init.c. */
|
||||
_mesa_initialize_exec_table(ctx);
|
||||
|
||||
if (ctx->Save)
|
||||
|
Reference in New Issue
Block a user