dawn-cmake/generator/templates
Corentin Wallez 97231682d0 Make dawn.h closer to webgpu.h
This includes several changes to make dawn.h closer to webgpu.h (apart
from the renames and copyright changes):

 - Make nextInChain follow the same type convention as the rest of the
   header.
 - Add defines that allow skipping the procs definition or the functions
   declaration part of the header.
 - Sort the methods by name for each object.
 - Put the callback definition inside extern "C"
 - Make the enums typedef have the name of the enum twice.

BUG=dawn:22

Change-Id: I36e4587d60ca43886636ebd19d54752004f4696d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/11903
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2019-10-08 07:38:01 +00:00
..
dawn_native Remove Bit from TextureUsageBit and BufferUsageBit 2019-08-27 08:21:39 +00:00
dawn_wire dawn_wire: Tag deserialize commands with volatile pointer 2019-10-07 20:38:47 +00:00
opengl Rename ContextLost to DeviceLost 2019-08-27 18:10:03 +00:00
api.c Capitalize C types dawn -> Dawn 2019-03-11 16:52:42 +00:00
api.h Make dawn.h closer to webgpu.h 2019-10-08 07:38:01 +00:00
apicpp.cpp Make dawn.h closer to webgpu.h 2019-10-08 07:38:01 +00:00
apicpp.h Use whole size of buffer if binding buffer size is UINT64_MAX 2019-07-17 08:54:19 +00:00
mock_api.cpp Add empty implementations of Push/PopErrorScope 2019-09-04 22:54:03 +00:00
mock_api.h Add empty implementations of Push/PopErrorScope 2019-09-04 22:54:03 +00:00