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

Side by Side Diff: cc/base/switches.cc

Issue 16043002: Create content switches for frame scheduling and input manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 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 unified diff | Download patch
« no previous file with comments | « cc/base/switches.h ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "cc/base/switches.h" 5 #include "cc/base/switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace cc { 9 namespace cc {
10 namespace switches { 10 namespace switches {
(...skipping 11 matching lines...) Expand all
22 // Do not predict whether the tile will be either solid color or transparent. 22 // Do not predict whether the tile will be either solid color or transparent.
23 const char kDisableColorEstimator[] = "disable-color-estimator"; 23 const char kDisableColorEstimator[] = "disable-color-estimator";
24 24
25 // Paint content on the main thread instead of the compositor thread. 25 // Paint content on the main thread instead of the compositor thread.
26 // Overrides the kEnableImplSidePainting flag. 26 // Overrides the kEnableImplSidePainting flag.
27 const char kDisableImplSidePainting[] = "disable-impl-side-painting"; 27 const char kDisableImplSidePainting[] = "disable-impl-side-painting";
28 28
29 // Paint content on the compositor thread instead of the main thread. 29 // Paint content on the compositor thread instead of the main thread.
30 const char kEnableImplSidePainting[] = "enable-impl-side-painting"; 30 const char kEnableImplSidePainting[] = "enable-impl-side-painting";
31 31
32 // Try to finish display pipeline before vsync tick
33 const char kEnableRightAlignedScheduling[] = "enable-right-aligned-scheduling";
34
35 const char kEnableTopControlsPositionCalculation[] = 32 const char kEnableTopControlsPositionCalculation[] =
36 "enable-top-controls-position-calculation"; 33 "enable-top-controls-position-calculation";
37 34
38 // For any layers that can get drawn directly to screen, draw them with the Skia 35 // For any layers that can get drawn directly to screen, draw them with the Skia
39 // GPU backend. Only valid with gl rendering + threaded compositing + impl-side 36 // GPU backend. Only valid with gl rendering + threaded compositing + impl-side
40 // painting. 37 // painting.
41 const char kForceDirectLayerDrawing[] = "force-direct-layer-drawing"; 38 const char kForceDirectLayerDrawing[] = "force-direct-layer-drawing";
42 39
43 // The height of the movable top controls. 40 // The height of the movable top controls.
44 const char kTopControlsHeight[] = "top-controls-height"; 41 const char kTopControlsHeight[] = "top-controls-height";
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 return false; 157 return false;
161 #elif defined(OS_ANDROID) 158 #elif defined(OS_ANDROID)
162 return true; 159 return true;
163 #else 160 #else
164 return false; 161 return false;
165 #endif 162 #endif
166 } 163 }
167 164
168 } // namespace switches 165 } // namespace switches
169 } // namespace cc 166 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/switches.h ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698