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

Side by Side Diff: content/public/common/content_switches.cc

Issue 1743543004: Enable Accelerated Video Decode in Linux Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use std::tie 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after
967 const char kEnableAggressiveDOMStorageFlushing[] = 967 const char kEnableAggressiveDOMStorageFlushing[] =
968 "enable-aggressive-domstorage-flushing"; 968 "enable-aggressive-domstorage-flushing";
969 969
970 // Enable audio for desktop share. 970 // Enable audio for desktop share.
971 const char kEnableAudioSupportForDesktopShare[] = 971 const char kEnableAudioSupportForDesktopShare[] =
972 "enable-audio-support-for-desktop-share"; 972 "enable-audio-support-for-desktop-share";
973 973
974 #if defined(OS_CHROMEOS) 974 #if defined(OS_CHROMEOS)
975 // Disables panel fitting (used for mirror mode). 975 // Disables panel fitting (used for mirror mode).
976 const char kDisablePanelFitting[] = "disable-panel-fitting"; 976 const char kDisablePanelFitting[] = "disable-panel-fitting";
977 #endif
977 978
979 #if defined(OS_LINUX)
978 // Disables VA-API accelerated video encode. 980 // Disables VA-API accelerated video encode.
979 const char kDisableVaapiAcceleratedVideoEncode[] = 981 const char kDisableVaapiAcceleratedVideoEncode[] =
980 "disable-vaapi-accelerated-video-encode"; 982 "disable-vaapi-accelerated-video-encode";
981 #endif 983 #endif
982 984
983 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) 985 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
984 // Allows sending text-to-speech requests to speech-dispatcher, a common 986 // Allows sending text-to-speech requests to speech-dispatcher, a common
985 // Linux speech service. Because it's buggy, the user must explicitly 987 // Linux speech service. Because it's buggy, the user must explicitly
986 // enable it so that visiting a random webpage can't cause instability. 988 // enable it so that visiting a random webpage can't cause instability.
987 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; 989 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher";
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
1049 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1051 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1050 1052
1051 // Enables the exporting of the tracing events to ETW. This is only supported on 1053 // Enables the exporting of the tracing events to ETW. This is only supported on
1052 // Windows Vista and later. 1054 // Windows Vista and later.
1053 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1055 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1054 #endif 1056 #endif
1055 1057
1056 // Don't dump stuff here, follow the same order as the header. 1058 // Don't dump stuff here, follow the same order as the header.
1057 1059
1058 } // namespace switches 1060 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698