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

Unified Diff: media/base/media_switches.cc

Issue 2859723002: Copy NV12 picture buffers on demand on the main thread. (Closed)
Patch Set: share video processors Created 3 years, 7 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
Index: media/base/media_switches.cc
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
index 71b3bc71a63ae03cdbb45b0383b43548ed578ca7..5086663008b0e746d54f47e2a83474057bf18bf4 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -277,6 +277,11 @@ const base::Feature kMediaDrmPersistentLicense{
const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding",
base::FEATURE_DISABLED_BY_DEFAULT};
+// Does NV12->NV12 video copy on the main thread right before the texture's
+// used by GL.
+const base::Feature kDelayCopyNV12Textures{"DelayCopyNV12Textures",
+ base::FEATURE_ENABLED_BY_DEFAULT};
+
// Enables H264 HW encode acceleration using Media Foundation for Windows.
const base::Feature kMediaFoundationH264Encoding{
"MediaFoundationH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT};

Powered by Google App Engine
This is Rietveld 408576698