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

Side by Side Diff: cc/layer_tree_settings.h

Issue 11316128: Send compositor frame IPC with metadata. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix compile errors on mac/win Created 8 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
« no previous file with comments | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/layer_tree_settings.cc » ('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 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 implSidePainting; 22 bool implSidePainting;
22 bool renderVSyncEnabled; 23 bool renderVSyncEnabled;
23 bool perTilePaintingEnabled; 24 bool perTilePaintingEnabled;
24 bool partialSwapEnabled; 25 bool partialSwapEnabled;
25 bool acceleratedAnimationEnabled; 26 bool acceleratedAnimationEnabled;
26 bool pageScalePinchZoomEnabled; 27 bool pageScalePinchZoomEnabled;
27 bool backgroundColorInsteadOfCheckerboard; 28 bool backgroundColorInsteadOfCheckerboard;
28 bool showOverdrawInTracing; 29 bool showOverdrawInTracing;
29 bool canUseLCDText; 30 bool canUseLCDText;
30 bool shouldClearRootRenderPass; 31 bool shouldClearRootRenderPass;
31 double refreshRate; 32 double refreshRate;
32 size_t maxPartialTextureUpdates; 33 size_t maxPartialTextureUpdates;
33 size_t numRasterThreads; 34 size_t numRasterThreads;
34 gfx::Size defaultTileSize; 35 gfx::Size defaultTileSize;
35 gfx::Size maxUntiledLayerSize; 36 gfx::Size maxUntiledLayerSize;
36 gfx::Size minimumOcclusionTrackingSize; 37 gfx::Size minimumOcclusionTrackingSize;
37 38
38 LayerTreeDebugState initialDebugState; 39 LayerTreeDebugState initialDebugState;
39 }; 40 };
40 41
41 } // namespace cc 42 } // namespace cc
42 43
43 #endif // CC_LAYER_TREE_SETTINGS_H_ 44 #endif // CC_LAYER_TREE_SETTINGS_H_
OLDNEW
« no previous file with comments | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/layer_tree_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698