| 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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
| 10 #include "cc/debug/layer_tree_debug_state.h" | 10 #include "cc/debug/layer_tree_debug_state.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 class CC_EXPORT LayerTreeSettings { | 26 class CC_EXPORT LayerTreeSettings { |
| 27 public: | 27 public: |
| 28 LayerTreeSettings(); | 28 LayerTreeSettings(); |
| 29 ~LayerTreeSettings(); | 29 ~LayerTreeSettings(); |
| 30 | 30 |
| 31 RendererSettings renderer_settings; | 31 RendererSettings renderer_settings; |
| 32 bool single_thread_proxy_scheduler; | 32 bool single_thread_proxy_scheduler; |
| 33 bool use_external_begin_frame_source; | 33 bool use_external_begin_frame_source; |
| 34 bool main_frame_before_activation_enabled; | 34 bool main_frame_before_activation_enabled; |
| 35 bool using_synchronous_renderer_compositor; | 35 bool using_synchronous_renderer_compositor; |
| 36 bool report_overscroll_only_for_scrollable_axes; | |
| 37 bool accelerated_animation_enabled; | 36 bool accelerated_animation_enabled; |
| 38 bool can_use_lcd_text; | 37 bool can_use_lcd_text; |
| 39 bool use_distance_field_text; | 38 bool use_distance_field_text; |
| 40 bool gpu_rasterization_enabled; | 39 bool gpu_rasterization_enabled; |
| 41 bool gpu_rasterization_forced; | 40 bool gpu_rasterization_forced; |
| 42 int gpu_rasterization_msaa_sample_count; | 41 int gpu_rasterization_msaa_sample_count; |
| 43 float gpu_rasterization_skewport_target_time_in_seconds; | 42 float gpu_rasterization_skewport_target_time_in_seconds; |
| 44 bool create_low_res_tiling; | 43 bool create_low_res_tiling; |
| 45 | 44 |
| 46 enum ScrollbarAnimator { | 45 enum ScrollbarAnimator { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 bool wait_for_beginframe_interval; | 89 bool wait_for_beginframe_interval; |
| 91 | 90 |
| 92 LayerTreeDebugState initial_debug_state; | 91 LayerTreeDebugState initial_debug_state; |
| 93 | 92 |
| 94 SchedulerSettings ToSchedulerSettings() const; | 93 SchedulerSettings ToSchedulerSettings() const; |
| 95 }; | 94 }; |
| 96 | 95 |
| 97 } // namespace cc | 96 } // namespace cc |
| 98 | 97 |
| 99 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 98 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
| OLD | NEW |