dawn-cmake/generator
Corentin Wallez 0ebe86d1ca dawn::wire::client: Merge object allocators, add variadic Make.
This commit changes all the [Object]Allocators from the Client into a
PerType<ObjectStore> member that contains a bunch of ObjectStore acting
on ObjectBase.

Adds a new (template) member functions to the client, Make/Get/Free that
act on any object type, and update all the uses of previous
[Object]Allocator to use these new methods.

Also removes generated code that was generated per object type in favor
of using the type-generic ObjectAllocator.

Bug: dawn:1451
Change-Id: I6463b2fc4a827e3000c2a666abf08aa1a71c3b3b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/93141
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2022-06-17 21:21:39 +00:00
..
templates dawn::wire::client: Merge object allocators, add variadic Make. 2022-06-17 21:21:39 +00:00
BUILD.gn tint->dawn: Move src/dawn_native -> src/dawn/native 2022-02-04 17:07:46 +00:00
CMakeLists.txt CMake: tweak third-party imports. 2022-05-16 09:11:21 +00:00
dawn_generator.gni Adds a generated file with the dawn git hash encoded at build time. 2022-03-31 05:09:04 +00:00
dawn_gpu_info_generator.py Begin auto generating GPUInfo utilities 2022-05-26 23:47:39 +00:00
dawn_json_generator.py Adds device-side cache key generation. 2022-04-12 23:50:56 +00:00
dawn_version_generator.py Wrap get_gitHash in try-catch to prevent failures in tarball builds. 2022-05-03 00:28:53 +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 Adds strformat code-gen for helping auto-generate readable strings for structs. 2022-03-19 00:21:48 +00:00
opengl_loader_generator.py tint->dawn: Move src/dawn_native -> src/dawn/native 2022-02-04 17:07:46 +00:00
remove_files.py Revert "remove_files.py: Print warnings on removals" 2022-06-14 00:04:55 +00:00