Chromium Code Reviews
DescriptionMerging to M48
Ensure that the code in the DXVA DX11 decoder which can potentially access the DX11 device context on the decoder thread is locked with the ID3D10Multithread interface.
The ProcessInput call on the color converter does access the DX11 device context on the decoder thread to check states.
This currently executes outside the lock. Moving it inside the lock. With this change the color converter ProcessInput
and ProcessOutput calls are in the lock. Added a class AutoDX11DeviceLock to make the locking more seamless.
The other change is to get rid of the begin streaming calls for the converter and the Flush calls on the context.
These are not necessary now with the single device
If this does not fix the Win8 bot flakiness the last step to try would be to move the copy texture call to the main thread.
Failing that we need to go back to the two device model. All symptoms here point to an NVIDIA driver quirk.
BUG=548383
TBR=dalecurtis
Committed: https://chromium.googlesource.com/chromium/src/+/60f74b113dfe62404e80e0899beda85e4f7c538f
Patch Set 1 #
Messages
Total messages: 5 (3 generated)
|
||||||||||||||||||||||||||||