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

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

Issue 1616953003: content: Improve thread priority for raster threads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no ThreadPriority::BACKGROUND on mac Created 4 years, 10 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 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 824
825 // Texture target for CHROMIUM_image backed content textures. 825 // Texture target for CHROMIUM_image backed content textures.
826 const char kContentImageTextureTarget[] = "content-image-texture-target"; 826 const char kContentImageTextureTarget[] = "content-image-texture-target";
827 827
828 // Texture target for CHROMIUM_image backed video frame textures. 828 // Texture target for CHROMIUM_image backed video frame textures.
829 const char kVideoImageTextureTarget[] = "video-image-texture-target"; 829 const char kVideoImageTextureTarget[] = "video-image-texture-target";
830 830
831 // Set when Chromium should use a mobile user agent. 831 // Set when Chromium should use a mobile user agent.
832 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; 832 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
833 833
834 // Use normal priority for tile task worker threads. Otherwise they may
835 // be run at background priority on some platforms.
836 const char kUseNormalPriorityForTileTaskWorkerThreads[] =
837 "use-normal-priority-for-tile-task-worker-threads";
838
839 // Use remote compositor for the renderer. 834 // Use remote compositor for the renderer.
840 const char kUseRemoteCompositing[] = "use-remote-compositing"; 835 const char kUseRemoteCompositing[] = "use-remote-compositing";
841 836
842 // The contents of this flag are prepended to the utility process command line. 837 // The contents of this flag are prepended to the utility process command line.
843 // Useful values might be "valgrind" or "xterm -e gdb --args". 838 // Useful values might be "valgrind" or "xterm -e gdb --args".
844 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; 839 const char kUtilityCmdPrefix[] = "utility-cmd-prefix";
845 840
846 // Causes the process to run as a utility subprocess. 841 // Causes the process to run as a utility subprocess.
847 const char kUtilityProcess[] = "utility"; 842 const char kUtilityProcess[] = "utility";
848 843
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
1031 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1026 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1032 1027
1033 // Enables the exporting of the tracing events to ETW. This is only supported on 1028 // Enables the exporting of the tracing events to ETW. This is only supported on
1034 // Windows Vista and later. 1029 // Windows Vista and later.
1035 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1030 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1036 #endif 1031 #endif
1037 1032
1038 // Don't dump stuff here, follow the same order as the header. 1033 // Don't dump stuff here, follow the same order as the header.
1039 1034
1040 } // namespace switches 1035 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698