| 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 impl_side_painting; | 23 bool impl_side_painting; |
| 24 bool allow_antialiasing; | 24 bool allow_antialiasing; |
| 25 bool throttle_frame_production; | 25 bool throttle_frame_production; |
| 26 bool begin_frame_scheduling_enabled; | 26 bool begin_frame_scheduling_enabled; |
| 27 bool deadline_scheduling_enabled; |
| 27 bool using_synchronous_renderer_compositor; | 28 bool using_synchronous_renderer_compositor; |
| 28 bool per_tile_painting_enabled; | 29 bool per_tile_painting_enabled; |
| 29 bool partial_swap_enabled; | 30 bool partial_swap_enabled; |
| 30 bool cache_render_pass_contents; | 31 bool cache_render_pass_contents; |
| 31 bool accelerated_animation_enabled; | 32 bool accelerated_animation_enabled; |
| 32 bool background_color_instead_of_checkerboard; | 33 bool background_color_instead_of_checkerboard; |
| 33 bool show_overdraw_in_tracing; | 34 bool show_overdraw_in_tracing; |
| 34 bool can_use_lcd_text; | 35 bool can_use_lcd_text; |
| 35 bool should_clear_root_render_pass; | 36 bool should_clear_root_render_pass; |
| 36 | 37 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 bool use_map_image; | 71 bool use_map_image; |
| 71 std::string compositor_name; | 72 std::string compositor_name; |
| 72 bool ignore_root_layer_flings; | 73 bool ignore_root_layer_flings; |
| 73 | 74 |
| 74 LayerTreeDebugState initial_debug_state; | 75 LayerTreeDebugState initial_debug_state; |
| 75 }; | 76 }; |
| 76 | 77 |
| 77 } // namespace cc | 78 } // namespace cc |
| 78 | 79 |
| 79 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 80 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
| OLD | NEW |