angle/scripts
John Plate a7ae63e479 CL: Move object cast from entry points to stubs and front end
Move the OpenCl object cast from the generated entry points to the
stubs and front end, to make it possible to properly use static_cast.
This removes the limitation that the front end objects have to be
standard layout (and makes it possible to use virtual functions),
which is consistent with other front end objects.

Move the back end initialization from the stubs to the entry point
functions, which fixes a bug where the back ends were not initialized
during validation.

Move more code from the stubs to the front end, to keep the stubs
light.

Remove unused function `default_return_value` from
`generate_entry_points.py`.

Bug: angleproject:5904
Change-Id: Id999ad6c537888017bf3252c6f6e088b7d4c7984
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2897245
Commit-Queue: John Plate <jplate@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
2021-05-18 11:08:43 +00:00
..
code_generation_hashes CL: Move object cast from entry points to stubs and front end 2021-05-18 11:08:43 +00:00
angle_deqp_test_merge.py testing: Add dEQP test merge script. 2021-02-02 18:31:35 +00:00
angle_presubmit_utils.py Add unittests of ANGLE commit message format check 2020-08-14 17:24:18 +00:00
angle_presubmit_utils_unittest.py First pass at increasing inclusivity 2020-10-02 19:49:38 +00:00
apply_clang_format_on_all_sources.py Add script to apply clang-format on all sources 2019-07-19 20:10:28 +00:00
bmp_to_nv12.py Format all of ANGLE's python code. 2019-05-06 18:56:09 +00:00
bootstrap.py Scripts: Update bootstrap.py to python3 2021-04-07 17:07:02 +00:00
cl.xml Generate CL stubs in libGLESv2 2021-04-13 12:41:45 +00:00
egl.xml EGL: Update EGL headers/xml 2020-12-10 14:46:28 +00:00
egl_angle_ext.xml EGL: Update EGL headers/xml 2020-12-10 14:46:28 +00:00
entry_point_packed_egl_enums.json EGL: Generate entry points. 2020-11-30 21:29:39 +00:00
entry_point_packed_gl_enums.json Add 'UniformBlockIndex' struct 2021-01-28 01:15:47 +00:00
export_targets.py Scripts: Ignore robin_hood headers in VVL 2021-03-24 15:33:20 +00:00
file_exists.py Format all of ANGLE's python code. 2019-05-06 18:56:09 +00:00
gen_angle_gn_info_json.py Format all of ANGLE's python code. 2019-05-06 18:56:09 +00:00
gen_gl_enum_utils.py Generators: Use fixed year in license headers. 2021-02-23 17:17:12 +00:00
gen_proc_table.py CL: Add symbol version map to libOpenCL 2021-05-14 10:00:06 +00:00
gen_vk_gl_cts_build.py Clean ups to generate_entry_points. 2021-02-18 00:47:44 +00:00
generate_android_bp.py Remove Settings GUI from AOSP Builds and make product-specific 2021-05-10 16:40:41 +00:00
generate_entry_points.py CL: Move object cast from entry points to stubs and front end 2021-05-18 11:08:43 +00:00
generate_loader.py Add support for OpenCL ICD Loader 2021-05-03 17:27:16 +00:00
generate_new_renderer.py Generators: Use fixed year in license headers. 2021-02-23 17:17:12 +00:00
generate_stats.py Replace Win x86 dEQP GPU.FYI bot with chromium.angle bot 2021-03-30 20:33:42 +00:00
gl.xml gl.xml: Annotate glDiscardFramebufferEXT with param groups. 2021-02-26 00:16:15 +00:00
gl_angle_ext.xml gl_angle_ext: Add param groups to glGetTexLevelParameterivANGLE. 2021-02-26 16:16:09 +00:00
msvs_projects.py Format all of ANGLE's python code. 2019-05-06 18:56:09 +00:00
perf_test_runner.py Change perf_test_runner to accept extra args. 2021-04-28 18:46:36 +00:00
registry_xml.py EGL: setup extension EGL_EXT_protected_content 2021-05-11 21:09:22 +00:00
remove_files.py First pass at increasing inclusivity 2020-10-02 19:49:38 +00:00
roll_aosp.sh Fix Rolling ANGLE into AOSP 2021-05-03 17:29:36 +00:00
roll_chromium_deps.py DEPS: Add Android tombstone resolution dependencies. 2021-05-11 10:12:55 +00:00
run_code_generation.py Run test spec update as part of codegen. 2021-05-05 19:39:47 +00:00
run_gtest_angle_test.py Log dEQP QPA files as test artifacts. 2021-02-01 18:13:55 +00:00
trigger.bat Add a helper script for triggering tests on swarming. 2019-03-18 18:22:57 +00:00
trigger.py Remove -raw-cmd from scripts/trigger.py swarming call 2021-04-28 20:00:48 +00:00
update_canary_angle.py Format all of ANGLE's python code. 2019-05-06 18:56:09 +00:00
vk_mandatory_format_support_capture_to_json.js Vulkan: Autogen mandatory texture caps 2018-02-14 20:45:37 +00:00
wgl.xml First pass at increasing inclusivity 2020-10-02 19:49:38 +00:00