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

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

Issue 1413153014: Add a flag for enabling compositor property trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 "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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // computed by CalcDrawProperties. 49 // computed by CalcDrawProperties.
50 const char kEnablePropertyTreeVerification[] = 50 const char kEnablePropertyTreeVerification[] =
51 "enable-property-tree-verification"; 51 "enable-property-tree-verification";
52 52
53 // Use a BeginFrame signal from browser to renderer to schedule rendering. 53 // Use a BeginFrame signal from browser to renderer to schedule rendering.
54 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; 54 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling";
55 55
56 // Enables the GPU benchmarking extension 56 // Enables the GPU benchmarking extension
57 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; 57 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking";
58 58
59 // Enables the use of property trees rather than CalcDrawProps for computing
60 // draw properties.
61 const char kEnableCompositorPropertyTrees[] =
62 "enable-compositor-property-trees";
63
59 // Renders a border around compositor layers to help debug and study 64 // Renders a border around compositor layers to help debug and study
60 // layer compositing. 65 // layer compositing.
61 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; 66 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders";
62 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; 67 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders";
63 68
64 // Draws a heads-up-display showing Frames Per Second as well as GPU memory 69 // Draws a heads-up-display showing Frames Per Second as well as GPU memory
65 // usage. If you also use --vmodule="head*=1" then FPS will also be output to 70 // usage. If you also use --vmodule="head*=1" then FPS will also be output to
66 // the console log. 71 // the console log.
67 const char kShowFPSCounter[] = "show-fps-counter"; 72 const char kShowFPSCounter[] = "show-fps-counter";
68 const char kUIShowFPSCounter[] = "ui-show-fps-counter"; 73 const char kUIShowFPSCounter[] = "ui-show-fps-counter";
(...skipping 23 matching lines...) Expand all
92 "ui-show-replica-screenspace-rects"; 97 "ui-show-replica-screenspace-rects";
93 98
94 // Prevents the layer tree unit tests from timing out. 99 // Prevents the layer tree unit tests from timing out.
95 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; 100 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout";
96 101
97 // Makes pixel tests write their output instead of read it. 102 // Makes pixel tests write their output instead of read it.
98 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; 103 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests";
99 104
100 } // namespace switches 105 } // namespace switches
101 } // namespace cc 106 } // namespace cc
OLDNEW
« cc/base/switches.h ('K') | « cc/base/switches.h ('k') | cc/trees/draw_property_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698