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

Unified Diff: content/public/browser/gpu_utils.cc

Issue 2111043002: Enable NV12 DXGI video copying path by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix flag Created 4 years, 6 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 | content/public/common/content_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/gpu_utils.cc
diff --git a/content/public/browser/gpu_utils.cc b/content/public/browser/gpu_utils.cc
index 0a14a3d26b59ef4a34a665515ca303d7e67676b5..69acbbff2bc239b929a519e7d338541de25a6cf8 100644
--- a/content/public/browser/gpu_utils.cc
+++ b/content/public/browser/gpu_utils.cc
@@ -53,7 +53,7 @@ const gpu::GpuPreferences GetGpuPreferencesFromCommandLine() {
gpu_preferences.enable_zero_copy_dxgi_video =
command_line->HasSwitch(switches::kEnableZeroCopyDxgiVideo);
gpu_preferences.enable_nv12_dxgi_video =
- command_line->HasSwitch(switches::kEnableNv12DxgiVideo);
+ !command_line->HasSwitch(switches::kDisableNv12DxgiVideo);
#endif
gpu_preferences.compile_shader_always_succeeds =
command_line->HasSwitch(switches::kCompileShaderAlwaysSucceeds);
« no previous file with comments | « no previous file | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698