dawn-cmake/src
Austin Eng cfc9c6e322 Make perf test tracing thread-safe
The Metal driver calls command buffer completion callbacks on a
separate thread so enqueueing these trace events needs to be made
thread-safe. In the future, Dawn will probably have other threads
that also require thread-safe tracing.

In this CL, each thread records trace events into its own buffer,
and all buffers concatenated when trace events are acquired.

Bug: dawn:254, dawn:208
Change-Id: I0f1abd404568d838091066a8f27a3bf98fa764b9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13080
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2019-11-11 23:15:56 +00:00
..
common Add Vulkan validation layers on Windows 2019-11-07 12:13:27 +00:00
dawn Introduce the webgpu[_cpp].h headers. 2019-10-21 20:04:10 +00:00
dawn_native Implement readonly storage buffer - validation at shader side 2019-11-11 20:05:28 +00:00
dawn_platform/tracing Use enums for trace event categories 2019-10-28 23:15:40 +00:00
dawn_wire Make dawn_wire use the webgpu.h header 2019-10-24 22:27:27 +00:00
fuzzers Another spvc API migration 2019-11-11 18:39:08 +00:00
include Add a GetInstanceProcAddr helper for the native Vulkan backend. 2019-11-01 01:10:09 +00:00
tests Make perf test tracing thread-safe 2019-11-11 23:15:56 +00:00
utils Update naming for vertex state 2019-11-07 22:23:29 +00:00