mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-03 13:11:34 +00:00
Dawn creates a keyed shared mutex for all wrapped resources and acquires the mutex before the texture is used in an ExecuteCommandList call. To coordinate with external clients, backend API has been extended to allow clients to get and set the acquire key. Pending and queue command lists have now been merged into one. A future change will adjust GetPendingCommandContext to return a raw command context without the need for error handling. Bug:dawn:217 Change-Id: Ia96c449c305586407153f05ce75a40794b96027e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12220 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Rafael Cintron <rafael.cintron@microsoft.com>