dawn-cmake/docs
Austin Eng 2f218e2b21 Implement upstream RequestDevice, add native-only CreateDevice
This CL implements RequestDevice and also has changes for
Dawn to internally use wgpu::FeatureName enums, instead of
strings. Some of the string handling is kept for now to
support the deprecated creation path. GetFeatureInfo is added
to the instance to get a name and description of the feature,
for reporting in about://gpu.

Dawn device toggles are now passed in an extension struct off
of the device descriptor. This is only supported in dawn_native,
and not dawn_wire, for now, since dawn_wire doesn't have a way
to serialize lists of null-terminated const char*.

To enable the client to check whether the toggle descriptor is
supported, a `dawn-native` feature is added which is supported
all the time with dawn_native, but not supported with dawn_wire.

Feature `dawn-native` also enables a synchronous version of
CreateDevice for convenience.

Bug: dawn:160
Change-Id: Ifc195e7ea808c6c319021528ef4b36bd65583bff
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72020
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2021-12-22 19:02:23 +00:00
..
features Implement upstream RequestDevice, add native-only CreateDevice 2021-12-22 19:02:23 +00:00
logo Add Dawn's logo and use it in README.md 2021-09-02 09:51:40 +00:00
OWNERS Add more / finer-grained OWNERS 2021-11-02 09:30:52 +00:00
buffer_mapping.md Add buffer_mapping.md in docs 2021-09-17 01:50:00 +00:00
building.md Fix build failures of new APIs on old macOS SDK 2021-08-18 16:16:57 +00:00
codegen.md Configure the namespace of native implementation in api.json 2021-12-16 04:54:38 +00:00
contributing.md docs/contributing.md: Explain how to start a review. 2021-06-01 16:08:22 +00:00
debug_markers.md Vulkan: use VK_EXT_debug_utils instead of deprecated extensions. 2021-01-20 19:19:08 +00:00
debugging.md docs: write an overview of Dawn and split README.md 2019-12-05 11:01:41 +00:00
device_facilities.md Adds remaining setup logic to implement destroy in Device and ObjectBase. 2021-10-12 17:46:26 +00:00
errors.md Make validation error formatting more consistent 2021-11-03 01:31:19 +00:00
external_resources.md Add docs/external_resources.md to put links to google docs etc. 2021-07-29 20:26:27 +00:00
fuzzing.md Update the wire-based fuzzers to always assume an injected error 2021-03-23 16:47:50 +00:00
infra.md [docs] Add documentation for Dawn's testing infrastructure 2020-01-31 03:28:56 +00:00
overview.md Add documentation for the codegen. 2021-03-24 20:29:42 +00:00
testing.md Remove MapRead/WriteAsync and CreateBufferMapped 2020-08-20 14:22:29 +00:00