dawn-cmake/generator/templates/dawn_native
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
..
ProcTable.cpp dawn_native: Prefix all API methods with API 2021-03-29 14:02:05 +00:00
ValidationUtils.cpp Make dawn_native use the webgpu.h header 2019-10-23 11:57:41 +00:00
ValidationUtils.h Make dawn_native use the webgpu.h header 2019-10-23 11:57:41 +00:00
wgpu_structs.cpp Update WGPUChainedStruct usage to match webgpu.h 2020-01-25 09:30:40 +00:00
wgpu_structs.h Add ability to generate typedefs from dawn.json 2021-02-08 19:48:06 +00:00