Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1593)

Unified Diff: media/gpu/dxva_video_decode_accelerator_win.cc

Issue 2188423002: Disable NV12 texture sharing with VP9 hardware video decoding. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/dxva_video_decode_accelerator_win.cc
diff --git a/media/gpu/dxva_video_decode_accelerator_win.cc b/media/gpu/dxva_video_decode_accelerator_win.cc
index 280f681b827c1918a18ceb80ef8963c49c09fff1..c5ec2b7d164c59925c761ccc2a45acaf117980fb 100644
--- a/media/gpu/dxva_video_decode_accelerator_win.cc
+++ b/media/gpu/dxva_video_decode_accelerator_win.cc
@@ -1413,6 +1413,12 @@ bool DXVAVideoDecodeAccelerator::CheckDecoderDxvaSupport() {
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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698