DescriptionUse IDXGIKeyedMutex to synchronize between DXVA decoder and main context
When EGL_ANGLE_keyed_mutex is available, DXVAVideoDecodeAccelerator will create the picture buffer with D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX and use that instead of a fence to synchronize between the decoder context and GPU context. This has saved up to 0.2W in my testing (out of 5W), though the number is not entirely consistent.
Chrome will create the texture itself and share it into ANGLE (rather than vice versa) so it can choose whether or not to use a keyed mutex. This helps in particular with D3D9Ex, which is incompatible with keyed mutexes.
EGL_ANGLE_keyed_mutex is not yet enabled in ANGLE for chrome, so this won't do anything yet.
BUG=337606
Committed: https://crrev.com/ca5b9de50edf9f8d00cbfd43d593691d259818dc
Cr-Commit-Position: refs/heads/master@{#371998}
Patch Set 1 #Patch Set 2 : #
Total comments: 1
Patch Set 3 : #
Total comments: 2
Patch Set 4 : #
Total comments: 1
Patch Set 5 : #
Messages
Total messages: 17 (7 generated)
|