dawn-cmake/docs
Jiawei Shao 1f25ea94bb dawn_wire: Directly use the data in deserialized buffer when possible
This patch tries to use the data directly in deserialized buffer
when the data is "data-only" and doesn't affect the control flow instead
of allocating and copying into a temporary buffer. Due to the protection
of TOCTOU attacks, currently we only set "wire_is_data_only" on the
parameter "data" in Queue.WriteBuffer() and Queue.WriteTexture().

With this patch, the performance of dawn_perf_tests
BufferUploadPerf.Run/*_WriteBuffer_BufferSize_* with "-w" will
be greatly improved (~20%) when the upload buffer size is greater than
1MB.

BUG=chromium:1266727

Change-Id: I7a9d54c9b505975235ee37aa72ee97f082ad3aa3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72063
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
2021-12-10 02:05:28 +00:00
..
features Rename "extension" to "feature" 2021-10-04 11:30:02 +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 dawn_wire: Directly use the data in deserialized buffer when possible 2021-12-10 02:05:28 +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