dawn-cmake/generator
Austin Eng f0d7cc4f5a dawn_wire: Make all objects owned by the client
This removes the logic where the Client owns the Device and the
Device owns all other objects. Ownership should be tracked in
dawn_native either with refcounting or validation to disallow
operations after an object's parent has been destroyed.

This simplifies the wire client code in that the client only
tracks allocated handles and does not manage parent/child lifetimes.
This is an important simplification so we can support multiple WebGPU
instances, adapters, and devices on a single wire.

Bug: dawn:384
Change-Id: I8ecc7c368130b8917202150c467b5f0e7d4b753e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/37000
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-01-13 18:31:47 +00:00
..
templates dawn_wire: Make all objects owned by the client 2021-01-13 18:31:47 +00:00
BUILD.gn Add .clang-format files and format more files 2020-07-15 19:51:17 +00:00
CMakeLists.txt CMakeLists: make DAWN_THIRD_PARTY_DIR an option. 2020-10-20 14:26:10 +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 Track and destroy all child objects on wire client destruction 2020-11-11 19:46:18 +00:00
extract_json.py Use python3 for all of Dawn's python scripts 2020-04-17 20:43:07 +00:00
generator_lib.gni Add .clang-format files and format more files 2020-07-15 19:51:17 +00:00
generator_lib.py Skip None paths when looking for modules 2020-10-20 14:46:10 +00:00
opengl_loader_generator.py Add .clang-format files and format more files 2020-07-15 19:51:17 +00:00
remove_files.py Add .clang-format files and format more files 2020-07-15 19:51:17 +00:00