dawn-cmake/generator/templates/dawn_wire/server
Austin Eng 8bcde8e394 dawn_wire: Add Reserve/InjectDevice
Now that the wire does enough tracking to prevent a malicious client
from freeing a device before its child objects, and the device is no
longer a "special" object with regard to reference/release, it is
safe to support multiple devices on the wire. The simplest way to
use this in WebGPU (to fix createReadyRenderPipeline validation)
is to add a reserve/inject device API similar to the one we use for
swapchain textures.

Bug: dawn:565
Change-Id: Ie956aff528c5610c9ecc5c189dab2d22185cb572
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/37800
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2021-01-19 19:27:52 +00:00
..
ServerBase.h Ensure all wire child objects are destroyed before their device 2021-01-13 20:58:18 +00:00
ServerDoers.cpp dawn_wire: Add Reserve/InjectDevice 2021-01-19 19:27:52 +00:00
ServerHandlers.cpp Ensure all wire child objects are destroyed before their device 2021-01-13 20:58:18 +00:00
ServerPrototypes.inc Introduce a "callback" type in dawn.json 2019-11-22 13:18:22 +00:00