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

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: Use kTopLeft 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
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 20 matching lines...) Expand all
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 // Enable solid tile color and transparent tile metrics. 38 // Enable solid tile color and transparent tile metrics.
39 const char kEnablePredictionBenchmarking[] = "enable-prediction-benchmarking"; 39 const char kEnablePredictionBenchmarking[] = "enable-prediction-benchmarking";
40 40
41 // For any layers that can get drawn directly to screen, draw them with Ganesh.
42 // Only valid with gl rendering / threaded compositing / impl-side painting.
danakj 2013/05/15 20:33:16 nit: s!/!+! (and not or)
enne (OOO) 2013/05/15 22:34:38 Done.
43 const char kForceDirectLayerDrawing[] = "force-direct-layer-drawing";
44
41 // The height of the movable top controls. 45 // The height of the movable top controls.
42 const char kTopControlsHeight[] = "top-controls-height"; 46 const char kTopControlsHeight[] = "top-controls-height";
43 47
44 // Percentage of the top controls need to be hidden before they will auto hide. 48 // Percentage of the top controls need to be hidden before they will auto hide.
45 const char kTopControlsHideThreshold[] = "top-controls-hide-threshold"; 49 const char kTopControlsHideThreshold[] = "top-controls-hide-threshold";
46 50
47 // Percentage of the top controls need to be shown before they will auto show. 51 // Percentage of the top controls need to be shown before they will auto show.
48 const char kTopControlsShowThreshold[] = "top-controls-show-threshold"; 52 const char kTopControlsShowThreshold[] = "top-controls-show-threshold";
49 53
50 // Number of worker threads used to rasterize content. 54 // Number of worker threads used to rasterize content.
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 return false; 163 return false;
160 #elif defined(OS_ANDROID) 164 #elif defined(OS_ANDROID)
161 return true; 165 return true;
162 #else 166 #else
163 return false; 167 return false;
164 #endif 168 #endif
165 } 169 }
166 170
167 } // namespace switches 171 } // namespace switches
168 } // namespace cc 172 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/switches.h ('k') | cc/layers/layer_impl.h » ('j') | cc/layers/layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698