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

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

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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: content/public/browser/gpu_utils.cc
diff --git a/content/public/browser/gpu_utils.cc b/content/public/browser/gpu_utils.cc
index 2741e46a582fbb15697574e2a44c92160844f7d5..d8b70417c8313c50f0136e017a95b00a3bae7855 100644
--- a/content/public/browser/gpu_utils.cc
+++ b/content/public/browser/gpu_utils.cc
@@ -58,6 +58,8 @@ const gpu::GpuPreferences GetGpuPreferencesFromCommandLine() {
static_cast<gpu::GpuPreferences::VpxDecodeVendors>(
enable_accelerated_vpx_decode_val);
}
+ gpu_preferences.enable_low_latency_dxva =
+ !command_line->HasSwitch(switches::kDisableLowLatencyDxva);
gpu_preferences.enable_zero_copy_dxgi_video =
!command_line->HasSwitch(switches::kDisableZeroCopyDxgiVideo);
gpu_preferences.enable_nv12_dxgi_video =
« no previous file with comments | « content/public/browser/android/provision_fetcher_factory.h ('k') | content/public/browser/provision_fetcher_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698