dawn-cmake/generator/templates
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
..
dawn_native Introduce the webgpu[_cpp].h headers. 2019-10-21 20:04:10 +00:00
dawn_wire Introduce the webgpu[_cpp].h headers. 2019-10-21 20:04:10 +00:00
opengl Rename ContextLost to DeviceLost 2019-08-27 18:10:03 +00:00
dawn.h Introduce the webgpu[_cpp].h headers. 2019-10-21 20:04:10 +00:00
dawn_proc.c Introduce the webgpu[_cpp].h headers. 2019-10-21 20:04:10 +00:00
dawn_proc_table.h Introduce the webgpu[_cpp].h headers. 2019-10-21 20:04:10 +00:00
dawncpp.h Introduce the webgpu[_cpp].h headers. 2019-10-21 20:04:10 +00:00
mock_api.cpp Add empty implementations of Push/PopErrorScope 2019-09-04 22:54:03 +00:00
mock_api.h Split the libdawn target in components with a single purpose. 2019-10-15 11:44:38 +00:00
webgpu.h Introduce the webgpu[_cpp].h headers. 2019-10-21 20:04:10 +00:00
webgpu_cpp.cpp Introduce the webgpu[_cpp].h headers. 2019-10-21 20:04:10 +00:00
webgpu_cpp.h Introduce the webgpu[_cpp].h headers. 2019-10-21 20:04:10 +00:00