dawn-cmake/generator
Corentin Wallez 2ce4b905b2 dawn_native: Prefix all API methods with API
This means that calling wgpu::Object::DoStuff will translate to a call
to dawn_native::ObjectBase::APIDoStuff. This will clarify the
difference between reentrant calls and internal calls in dawn_native.
Avoiding issues in the future.

This CL only changes the code generator to prefix with "API", performs
renames needed to make the code compile, and adds TODOs for things that
should be fixed in follow-up CLs.

Bug: dawn:723

Change-Id: Ie24471fa093adc4179d33d13323429847d076ecb
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45921
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
2021-03-29 14:02:05 +00:00
..
templates dawn_native: Prefix all API methods with API 2021-03-29 14:02:05 +00:00
BUILD.gn Add .clang-format files and format more files 2020-07-15 19:51:17 +00:00
CMakeLists.txt CMakeLists: make DAWN_THIRD_PARTY_DIR an option. 2020-10-20 14:26:10 +00:00
dawn_generator.gni BUILD.gn: Delete stale generated files in Dawn's gen dir. 2019-09-19 23:30:42 +00:00
dawn_json_generator.py Add ability to generate typedefs from dawn.json 2021-02-08 19:48:06 +00:00
extract_json.py Avoid unnecessary recompiles with code generators. 2021-03-23 19:06:02 +00:00
generator_lib.gni Add .clang-format files and format more files 2020-07-15 19:51:17 +00:00
generator_lib.py Skip None paths when looking for modules 2020-10-20 14:46:10 +00:00
opengl_loader_generator.py Add .clang-format files and format more files 2020-07-15 19:51:17 +00:00
remove_files.py Add .clang-format files and format more files 2020-07-15 19:51:17 +00:00