Commit 5ad89d56 authored by jbauman's avatar jbauman Committed by Commit bot

Disable NV12 texture sharing with VP9 hardware video decoding.

The Microsoft MFT we're using doesn't pass through the bind flags
correctly so sharing textures with ANGLE doesn't work.

Review-Url: https://codereview.chromium.org/2188423002
Cr-Commit-Position: refs/heads/master@{#408791}
parent 74a5912f
...@@ -1413,6 +1413,12 @@ bool DXVAVideoDecodeAccelerator::CheckDecoderDxvaSupport() { ...@@ -1413,6 +1413,12 @@ bool DXVAVideoDecodeAccelerator::CheckDecoderDxvaSupport() {
copy_nv12_textures_ = false; copy_nv12_textures_ = false;
} }
// The MS VP9 MFT doesn't pass through the bind flags we specify, so
// textures aren't created with D3D11_BIND_SHADER_RESOURCE and can't be used
// from ANGLE.
if (using_ms_vp9_mft_)
share_nv12_textures_ = false;
return true; return true;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment