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; | 23 bool compositor_frame_message; |
24 bool impl_side_painting; | 24 bool impl_side_painting; |
25 bool throttle_frame_production; | 25 bool throttle_frame_production; |
26 bool render_parent_drives_begin_frame_; | 26 bool begin_frame_scheduling_enabled; |
27 bool using_synchronous_renderer_compositor; | 27 bool using_synchronous_renderer_compositor; |
28 bool per_tile_painting_enabled; | 28 bool per_tile_painting_enabled; |
29 bool partial_swap_enabled; | 29 bool partial_swap_enabled; |
30 bool cache_render_pass_contents; | 30 bool cache_render_pass_contents; |
31 bool right_aligned_scheduling_enabled; | |
32 bool accelerated_animation_enabled; | 31 bool accelerated_animation_enabled; |
33 bool background_color_instead_of_checkerboard; | 32 bool background_color_instead_of_checkerboard; |
34 bool show_overdraw_in_tracing; | 33 bool show_overdraw_in_tracing; |
35 bool can_use_lcd_text; | 34 bool can_use_lcd_text; |
36 bool should_clear_root_render_pass; | 35 bool should_clear_root_render_pass; |
37 bool use_linear_fade_scrollbar_animator; | 36 bool use_linear_fade_scrollbar_animator; |
38 bool solid_color_scrollbars; | 37 bool solid_color_scrollbars; |
39 SkColor solid_color_scrollbar_color; | 38 SkColor solid_color_scrollbar_color; |
40 int solid_color_scrollbar_thickness_dip; | 39 int solid_color_scrollbar_thickness_dip; |
41 bool calculate_top_controls_position; | 40 bool calculate_top_controls_position; |
(...skipping 21 matching lines...) Expand all Loading... |
63 bool strict_layer_property_change_checking; | 62 bool strict_layer_property_change_checking; |
64 bool use_map_image; | 63 bool use_map_image; |
65 std::string compositor_name; | 64 std::string compositor_name; |
66 | 65 |
67 LayerTreeDebugState initial_debug_state; | 66 LayerTreeDebugState initial_debug_state; |
68 }; | 67 }; |
69 | 68 |
70 } // namespace cc | 69 } // namespace cc |
71 | 70 |
72 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 71 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |