dawn-cmake/generator
Brandon Jones 112b7fd856 Allow device lost callback to be passed at creation
This change updates the Device descriptor to allow a device lost
callback to be passed in at device creation time. This will be
important for allowing the API to return devices which have
already been lost in a future CL, which is the behavior required
by the spec.

This change does not yet deprecate the old method for setting the
callback, as there's still some tricky scenarios that will need to
be worked around to enable that and this CL is already fairly
large. (The uses in question pass the device or a value created
from the device as the userdata.)

Bug: chromium:1234617
Change-Id: I1adea5ceffdfdcfedff9fff4960f12303abba29c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/121041
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Brandon Jones <bajones@chromium.org>
2023-05-17 01:52:30 +00:00
..
templates Allow device lost callback to be passed at creation 2023-05-17 01:52:30 +00:00
CMakeLists.txt Allow setting markupsafe directory in CMake. 2023-04-07 07:52:36 +00:00
dawn_generator.gni Add Dawn Wire Server LPM Fuzzer [1/N] 2023-02-08 20:43:18 +00:00
dawn_gpu_info_generator.py Make adapter info device matching more flexible 2022-08-02 22:14:35 +00:00
dawn_json_generator.py Updates DawnInstanceDescriptor to pass in the Platform. 2023-05-16 04:50:32 +00:00
dawn_version_generator.py Fix incorrect indentation in version generator script. 2022-06-23 01:14:24 +00:00
extract_json.py Avoid unnecessary recompiles with code generators. 2021-03-23 19:06:02 +00:00
generator_lib.gni BUILD.gn: Make toolchain.ninja not contain system absolute paths. 2022-11-22 11:07:27 +00:00
generator_lib.py Allow setting markupsafe directory in CMake. 2023-04-07 07:52:36 +00:00
opengl_loader_generator.py Dawn: Break dependency on ANGLE 2023-03-16 14:31:25 +00:00