dawn-cmake/generator/templates
Austin Eng 3120d5ea0d Track and destroy all child objects on wire client destruction
This is needed so that:
 1. We can support multiple devices in the wire. The device will need
    to know how to destroy its child objects.
 2. The wire needs to be aware of all objects and their in-flight
    callbacks so that it can reject them if the wire is disconnnected.
    A future change will handle this.
 3. Fix leaks of objects on page teardown. When the page is torn down,
    the wire client is destroyed, and we skip calling release() for all
    objects since the object holding the proc table was also destroyed.

Bug: dawn:384, dawn:556

Change-Id: Ie23afe4e515b02e924fcfc2db92b749fd2257c9c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/31160
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2020-11-11 19:46:18 +00:00
..
dawn_native Fix RPDesc::occlusionQuerySet not defaulting to nullptr 2020-10-29 13:09:12 +00:00
dawn_wire Track and destroy all child objects on wire client destruction 2020-11-11 19:46:18 +00:00
opengl Separate device lost from internal errors. 2020-04-01 12:07:43 +00:00
.clang-format Add .clang-format files and format more files 2020-07-15 19:51:17 +00:00
dawn_proc.c Add Instance and CreateInstance to webgpu.h 2020-01-10 13:06:48 +00:00
dawn_proc_table.h Reland "Add a per-thread proc table using thread local storage" 2020-10-06 16:13:42 +00:00
dawn_thread_dispatch_proc.cpp Reland "Add a per-thread proc table using thread local storage" 2020-10-06 16:13:42 +00:00
library_webgpu_enum_tables.js Generators for Emscripten 2020-01-28 23:54:38 +00:00
mock_webgpu.cpp Add the entry point of CreateReadyRenderPipeline 2020-10-21 04:37:41 +00:00
mock_webgpu.h Add the entry point of CreateReadyRenderPipeline 2020-10-21 04:37:41 +00:00
webgpu.h Remove deprecated names of texture formats. 2020-11-09 21:19:25 +00:00
webgpu_cpp.cpp Niceify formatting in webgpu_cpp 2020-07-30 19:02:43 +00:00
webgpu_cpp.h Remove deprecated names of texture formats. 2020-11-09 21:19:25 +00:00
webgpu_struct_info.json Fixes for Emscripten generators 2020-07-15 08:57:49 +00:00