mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 06:50:11 +01:00
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:
parent
9cef21e33f
commit
6e4238f99a
3 changed files with 7 additions and 7 deletions
|
|
@ -20,7 +20,7 @@
|
||||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
# IN THE SOFTWARE.
|
# 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
|
# _mesa_initialize_exec_table(). It is responsible for populating all
|
||||||
# entries in the "exec" dispatch table that aren't dynamic.
|
# entries in the "exec" dispatch table that aren't dynamic.
|
||||||
|
|
||||||
|
|
@ -40,7 +40,7 @@ exec_flavor_map = {
|
||||||
|
|
||||||
|
|
||||||
header = """/**
|
header = """/**
|
||||||
* \\file api_exec.c
|
* \\file api_exec_init.c
|
||||||
* Initialize dispatch table.
|
* Initialize dispatch table.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
@ -160,7 +160,7 @@ class PrintCode(gl_XML.gl_print_base):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
gl_XML.gl_print_base.__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 % (
|
self.license = license.bsd_license_template % (
|
||||||
'Copyright (C) 2012 Intel Corporation',
|
'Copyright (C) 2012 Intel Corporation',
|
||||||
'Intel Corporation')
|
'Intel Corporation')
|
||||||
|
|
@ -216,9 +216,9 @@ main_enums_c = custom_target(
|
||||||
)
|
)
|
||||||
|
|
||||||
main_api_exec_c = custom_target(
|
main_api_exec_c = custom_target(
|
||||||
'api_exec.c',
|
'api_exec_init.c',
|
||||||
input : ['gl_genexec.py', 'gl_and_es_API.xml'],
|
input : ['api_exec_init.py', 'gl_and_es_API.xml'],
|
||||||
output : 'api_exec.c',
|
output : 'api_exec_init.c',
|
||||||
command : [prog_python, '@INPUT0@', '-f', '@INPUT1@'],
|
command : [prog_python, '@INPUT0@', '-f', '@INPUT1@'],
|
||||||
depend_files : files('apiexec.py') + glapi_gen_depends,
|
depend_files : files('apiexec.py') + glapi_gen_depends,
|
||||||
capture : true,
|
capture : true,
|
||||||
|
|
|
||||||
|
|
@ -1067,7 +1067,7 @@ create_beginend_table(const struct gl_context *ctx)
|
||||||
void
|
void
|
||||||
_mesa_initialize_dispatch_tables(struct gl_context *ctx)
|
_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);
|
_mesa_initialize_exec_table(ctx);
|
||||||
|
|
||||||
if (ctx->Save)
|
if (ctx->Save)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue