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

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

Issue 13863015: Add flag for drawing layers to screen with Ganesh (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/base/switches.h ('k') | cc/debug/debug_colors.h » ('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 17 matching lines...) Expand all
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 32 // Try to finish display pipeline before vsync tick
33 const char kEnableRightAlignedScheduling[] = "enable-right-aligned-scheduling"; 33 const char kEnableRightAlignedScheduling[] = "enable-right-aligned-scheduling";
34 34
35 const char kEnableTopControlsPositionCalculation[] = 35 const char kEnableTopControlsPositionCalculation[] =
36 "enable-top-controls-position-calculation"; 36 "enable-top-controls-position-calculation";
37 37
38 // 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
40 // painting.
41 const char kForceDirectLayerDrawing[] = "force-direct-layer-drawing";
42
38 // The height of the movable top controls. 43 // The height of the movable top controls.
39 const char kTopControlsHeight[] = "top-controls-height"; 44 const char kTopControlsHeight[] = "top-controls-height";
40 45
41 // Percentage of the top controls need to be hidden before they will auto hide. 46 // Percentage of the top controls need to be hidden before they will auto hide.
42 const char kTopControlsHideThreshold[] = "top-controls-hide-threshold"; 47 const char kTopControlsHideThreshold[] = "top-controls-hide-threshold";
43 48
44 // Percentage of the top controls need to be shown before they will auto show. 49 // Percentage of the top controls need to be shown before they will auto show.
45 const char kTopControlsShowThreshold[] = "top-controls-show-threshold"; 50 const char kTopControlsShowThreshold[] = "top-controls-show-threshold";
46 51
47 // Number of worker threads used to rasterize content. 52 // Number of worker threads used to rasterize content.
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 return false; 154 return false;
150 #elif defined(OS_ANDROID) 155 #elif defined(OS_ANDROID)
151 return true; 156 return true;
152 #else 157 #else
153 return false; 158 return false;
154 #endif 159 #endif
155 } 160 }
156 161
157 } // namespace switches 162 } // namespace switches
158 } // namespace cc 163 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/switches.h ('k') | cc/debug/debug_colors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698