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

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

Issue 775143003: cc: Implement unified BeginFrame on aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move common logic to DelegatedFrameHost Created 6 years 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Virtual viewport for fixed-position elements, scrollbars during pinch. 57 // Virtual viewport for fixed-position elements, scrollbars during pinch.
58 const char kEnablePinchVirtualViewport[] = "enable-pinch-virtual-viewport"; 58 const char kEnablePinchVirtualViewport[] = "enable-pinch-virtual-viewport";
59 const char kDisablePinchVirtualViewport[] = "disable-pinch-virtual-viewport"; 59 const char kDisablePinchVirtualViewport[] = "disable-pinch-virtual-viewport";
60 60
61 // Disable partial swap which is needed for some OpenGL drivers / emulators. 61 // Disable partial swap which is needed for some OpenGL drivers / emulators.
62 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap"; 62 const char kUIDisablePartialSwap[] = "ui-disable-partial-swap";
63 63
64 // Enables the GPU benchmarking extension 64 // Enables the GPU benchmarking extension
65 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; 65 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking";
66 66
67 // Use a BeginFrame signal from browser to renderer to schedule rendering.
68 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling";
69
67 // Renders a border around compositor layers to help debug and study 70 // Renders a border around compositor layers to help debug and study
68 // layer compositing. 71 // layer compositing.
69 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; 72 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders";
70 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; 73 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders";
71 74
72 // Draws a heads-up-display showing Frames Per Second as well as GPU memory 75 // Draws a heads-up-display showing Frames Per Second as well as GPU memory
73 // usage. If you also use --vmodule="head*=1" then FPS will also be output to 76 // usage. If you also use --vmodule="head*=1" then FPS will also be output to
74 // the console log. 77 // the console log.
75 const char kShowFPSCounter[] = "show-fps-counter"; 78 const char kShowFPSCounter[] = "show-fps-counter";
76 const char kUIShowFPSCounter[] = "ui-show-fps-counter"; 79 const char kUIShowFPSCounter[] = "ui-show-fps-counter";
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 const char kUIShowNonOccludingRects[] = "ui-show-nonoccluding-rects"; 113 const char kUIShowNonOccludingRects[] = "ui-show-nonoccluding-rects";
111 114
112 // Prevents the layer tree unit tests from timing out. 115 // Prevents the layer tree unit tests from timing out.
113 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; 116 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout";
114 117
115 // Makes pixel tests write their output instead of read it. 118 // Makes pixel tests write their output instead of read it.
116 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; 119 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests";
117 120
118 } // namespace switches 121 } // namespace switches
119 } // namespace cc 122 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/switches.h ('k') | cc/output/begin_frame_args.h » ('j') | cc/output/begin_frame_args.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698