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

Side by Side Diff: cc/layer_tree_settings.h

Issue 11414308: Add vsync notification command line switch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 10 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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 #ifndef CC_LAYER_TREE_SETTINGS_H_ 5 #ifndef CC_LAYER_TREE_SETTINGS_H_
6 #define CC_LAYER_TREE_SETTINGS_H_ 6 #define CC_LAYER_TREE_SETTINGS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "cc/cc_export.h" 9 #include "cc/cc_export.h"
10 #include "cc/layer_tree_debug_state.h" 10 #include "cc/layer_tree_debug_state.h"
11 #include "ui/gfx/size.h" 11 #include "ui/gfx/size.h"
12 12
13 namespace cc { 13 namespace cc {
14 14
15 class CC_EXPORT LayerTreeSettings { 15 class CC_EXPORT LayerTreeSettings {
16 public: 16 public:
17 LayerTreeSettings(); 17 LayerTreeSettings();
18 ~LayerTreeSettings(); 18 ~LayerTreeSettings();
19 19
20 bool acceleratePainting; 20 bool acceleratePainting;
21 bool compositorFrameMessage; 21 bool compositorFrameMessage;
22 bool implSidePainting; 22 bool implSidePainting;
23 bool renderVSyncEnabled; 23 bool renderVSyncEnabled;
24 bool renderVSyncNotificationEnabled;
24 bool perTilePaintingEnabled; 25 bool perTilePaintingEnabled;
25 bool partialSwapEnabled; 26 bool partialSwapEnabled;
26 bool rightAlignedSchedulingEnabled; 27 bool rightAlignedSchedulingEnabled;
27 bool acceleratedAnimationEnabled; 28 bool acceleratedAnimationEnabled;
28 bool pageScalePinchZoomEnabled; 29 bool pageScalePinchZoomEnabled;
29 bool backgroundColorInsteadOfCheckerboard; 30 bool backgroundColorInsteadOfCheckerboard;
30 bool showOverdrawInTracing; 31 bool showOverdrawInTracing;
31 bool canUseLCDText; 32 bool canUseLCDText;
32 bool shouldClearRootRenderPass; 33 bool shouldClearRootRenderPass;
33 bool useLinearFadeScrollbarAnimator; 34 bool useLinearFadeScrollbarAnimator;
34 bool calculateTopControlsPosition; 35 bool calculateTopControlsPosition;
35 bool useCheapnessEstimator; 36 bool useCheapnessEstimator;
36 float minimumContentsScale; 37 float minimumContentsScale;
37 float lowResContentsScaleFactor; 38 float lowResContentsScaleFactor;
38 float topControlsHeight; 39 float topControlsHeight;
39 double refreshRate; 40 double refreshRate;
40 size_t maxPartialTextureUpdates; 41 size_t maxPartialTextureUpdates;
41 size_t numRasterThreads; 42 size_t numRasterThreads;
42 gfx::Size defaultTileSize; 43 gfx::Size defaultTileSize;
43 gfx::Size maxUntiledLayerSize; 44 gfx::Size maxUntiledLayerSize;
44 gfx::Size minimumOcclusionTrackingSize; 45 gfx::Size minimumOcclusionTrackingSize;
45 46
46 LayerTreeDebugState initialDebugState; 47 LayerTreeDebugState initialDebugState;
47 }; 48 };
48 49
49 } // namespace cc 50 } // namespace cc
50 51
51 #endif // CC_LAYER_TREE_SETTINGS_H_ 52 #endif // CC_LAYER_TREE_SETTINGS_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layer_tree_settings.cc » ('j') | webkit/compositor_bindings/web_layer_tree_view_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698