OLD | NEW |
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_TREES_LAYER_TREE_SETTINGS_H_ | 5 #ifndef CC_TREES_LAYER_TREE_SETTINGS_H_ |
6 #define CC_TREES_LAYER_TREE_SETTINGS_H_ | 6 #define CC_TREES_LAYER_TREE_SETTINGS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
12 #include "cc/debug/layer_tree_debug_state.h" | 12 #include "cc/debug/layer_tree_debug_state.h" |
13 #include "third_party/skia/include/core/SkColor.h" | 13 #include "third_party/skia/include/core/SkColor.h" |
14 #include "ui/gfx/size.h" | 14 #include "ui/gfx/size.h" |
15 | 15 |
16 namespace cc { | 16 namespace cc { |
17 | 17 |
18 class CC_EXPORT LayerTreeSettings { | 18 class CC_EXPORT LayerTreeSettings { |
19 public: | 19 public: |
20 LayerTreeSettings(); | 20 LayerTreeSettings(); |
21 ~LayerTreeSettings(); | 21 ~LayerTreeSettings(); |
22 | 22 |
23 bool compositor_frame_message; | |
24 bool impl_side_painting; | 23 bool impl_side_painting; |
25 bool throttle_frame_production; | 24 bool throttle_frame_production; |
26 bool begin_frame_scheduling_enabled; | 25 bool begin_frame_scheduling_enabled; |
27 bool using_synchronous_renderer_compositor; | 26 bool using_synchronous_renderer_compositor; |
28 bool per_tile_painting_enabled; | 27 bool per_tile_painting_enabled; |
29 bool partial_swap_enabled; | 28 bool partial_swap_enabled; |
30 bool cache_render_pass_contents; | 29 bool cache_render_pass_contents; |
31 bool accelerated_animation_enabled; | 30 bool accelerated_animation_enabled; |
32 bool background_color_instead_of_checkerboard; | 31 bool background_color_instead_of_checkerboard; |
33 bool show_overdraw_in_tracing; | 32 bool show_overdraw_in_tracing; |
(...skipping 28 matching lines...) Expand all Loading... |
62 bool strict_layer_property_change_checking; | 61 bool strict_layer_property_change_checking; |
63 bool use_map_image; | 62 bool use_map_image; |
64 std::string compositor_name; | 63 std::string compositor_name; |
65 | 64 |
66 LayerTreeDebugState initial_debug_state; | 65 LayerTreeDebugState initial_debug_state; |
67 }; | 66 }; |
68 | 67 |
69 } // namespace cc | 68 } // namespace cc |
70 | 69 |
71 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 70 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |