0
Files
src/gpu
Sunny Sachanandani 45bb99bee7 gpu: Use correct synchronization in D3D overlay representation
Until now the D3D overlay representation was only used for D3D11 video
decoder images which don't have a keyed mutex and therefore don't need
synchronization. However, with MF video capture starting to use NV12
shared images, synchronization is now needed.

Change overlay Begin/EndReadAccess to call Begin/EndAccessD3D11 on the
backing.  Also includes a unit test that uses the overlay path.

Bug: 1214149
Change-Id: I51f045257ebb41663cd0a9ffd7ebac4ea2012acb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2971277
Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
Auto-Submit: Sunny Sachanandani <sunnyps@chromium.org>
Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#894345}
2021-06-21 19:23:16 +00:00
..