dawn-cmake/generator
Corentin Wallez 2c8b5c6370 Introduce the webgpu[_cpp].h headers.
webgpu.h is the "official" header for WebGPU in native and is being
developed in https://github.com/webgpu-native/webgpu-headers

dawn.h and dawncpp.h are changed to become webgpu.h and webgpu_cpp.h
respectively and use the new naming convention. New dawn.h and dawncpp.h
headers are created that just proxy the types, constants and functions
to their WebGPU counterpart.

Almost no naming change is done in Dawn in this commit, which help check
that the proxying headers work correctly. A couple changes were
necessary, in particular for tests of the internal of dawncpp.h, and a
workaround for a standard library bug for std::underlying_type was
removed because it is no longer needed and got in the way.

Finally since some templates were renamed to match the name of the file
they create instead of using the generic "api" name.

BUG=dawn:22

Change-Id: I12ee22d0b02ccb5b8a52ceccabb3e63ce74da007
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12480
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2019-10-21 20:04:10 +00:00
..
templates Introduce the webgpu[_cpp].h headers. 2019-10-21 20:04:10 +00:00
BUILD.gn BUILD.gn: Delete stale generated files in Dawn's gen dir. 2019-09-19 23:30:42 +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 Introduce the webgpu[_cpp].h headers. 2019-10-21 20:04:10 +00:00
extract_json.py BUILD.gn: Remove use of exec_script 2018-08-20 07:24:55 -04:00
generator_lib.gni BUILD.gn: Delete stale generated files in Dawn's gen dir. 2019-09-19 23:30:42 +00:00
generator_lib.py BUILD.gn: Add a check generated files are in allowed dirs. 2019-09-18 23:19:31 +00:00
opengl_loader_generator.py Normalize generated file paths to match main tree. 2019-09-18 04:33:12 +00:00
remove_files.py BUILD.gn: Delete stale generated files in Dawn's gen dir. 2019-09-19 23:30:42 +00:00