Chromium Code Reviews
DescriptionLock the decoder device (Angle) device from the decoder thread before copying the decoded frame to the target texture.
It appears that the change to use the angle device in the dxva decoder has caused the webgl conformance tests to fail
intermittently. The reason that this may be happening is because the device is accessed from multiple threads. The critical
code path here seems to be the copying of the decoded texture to the target texture created by angle.
Proposed fix is to lock the device prior to the copy. If this works, then we can look at alternative approaches like moving
the copy back to the main thread, or do away with the copy altogether.
BUG=548383
R=dalecurtis
Committed: https://crrev.com/378834484abf86953f242dc6c9e6135ef2424e7c
Cr-Commit-Position: refs/heads/master@{#357487}
Patch Set 1 #Patch Set 2 : Fix locking #
Total comments: 2
Patch Set 3 : Fix member order #
Total comments: 4
Patch Set 4 : Remove the wait for Flush for dx11 and disable-d3d11 #
Total comments: 2
Patch Set 5 : Remove disable-d3d11 command line check #Patch Set 6 : Rename member variable #
Messages
Total messages: 18 (2 generated)
|
||||||||||||||||||||||||||||