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

Unified Diff: gpu/command_buffer/service/gpu_preferences.h

Issue 1784193003: content gpu refactor: get rid of gpu related content switches. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the compile problem on windows Created 4 years, 9 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 | « content/public/browser/gpu_utils.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gpu_preferences.h
diff --git a/gpu/command_buffer/service/gpu_preferences.h b/gpu/command_buffer/service/gpu_preferences.h
index 2721e272aab36002e4a51cefb66082097465f672..69b43e112f9eab6b58eade3a89e29c9e214ad375 100644
--- a/gpu/command_buffer/service/gpu_preferences.h
+++ b/gpu/command_buffer/service/gpu_preferences.h
@@ -32,6 +32,24 @@ struct GPU_EXPORT GpuPreferences {
// Prioritizes the UI's command stream in the GPU process.
bool ui_prioritize_in_gpu_process = false;
+ // Disables hardware acceleration of video decode, where available.
+ bool disable_accelerated_video_decode = false;
+
+#if defined(OS_CHROMEOS)
+ // Disables VA-API accelerated video encode.
+ bool disable_vaapi_accelerated_video_encode = false;
+#endif
+
+#if defined(ENABLE_WEBRTC)
+ // Disables HW encode acceleration for WebRTC.
+ bool disable_web_rtc_hw_encoding = false;
+#endif
+
+#if defined(OS_WIN)
+ // Enables experimental hardware acceleration for VP8/VP9 video decoding.
+ bool enable_accelerated_vpx_decode = false;
+#endif
+
// ===================================
// Settings from //gpu/command_buffer/service/gpu_switches.cc
« no previous file with comments | « content/public/browser/gpu_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698