| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 SchedulerSettings ToSchedulerSettings() const; | 31 SchedulerSettings ToSchedulerSettings() const; |
| 32 | 32 |
| 33 RendererSettings renderer_settings; | 33 RendererSettings renderer_settings; |
| 34 bool single_thread_proxy_scheduler = true; | 34 bool single_thread_proxy_scheduler = true; |
| 35 bool main_frame_before_activation_enabled = false; | 35 bool main_frame_before_activation_enabled = false; |
| 36 bool using_synchronous_renderer_compositor = false; | 36 bool using_synchronous_renderer_compositor = false; |
| 37 bool enable_latency_recovery = true; | 37 bool enable_latency_recovery = true; |
| 38 bool can_use_lcd_text = true; | 38 bool can_use_lcd_text = true; |
| 39 bool use_distance_field_text = false; | 39 bool use_distance_field_text = false; |
| 40 bool gpu_rasterization_enabled = false; | |
| 41 bool gpu_rasterization_forced = false; | 40 bool gpu_rasterization_forced = false; |
| 42 bool async_worker_context_enabled = false; | 41 bool async_worker_context_enabled = false; |
| 43 int gpu_rasterization_msaa_sample_count = 0; | 42 int gpu_rasterization_msaa_sample_count = 0; |
| 44 float gpu_rasterization_skewport_target_time_in_seconds = 0.2f; | 43 float gpu_rasterization_skewport_target_time_in_seconds = 0.2f; |
| 45 bool create_low_res_tiling = false; | 44 bool create_low_res_tiling = false; |
| 46 | 45 |
| 47 enum ScrollbarAnimator { | 46 enum ScrollbarAnimator { |
| 48 NO_ANIMATOR, | 47 NO_ANIMATOR, |
| 49 LINEAR_FADE, | 48 LINEAR_FADE, |
| 50 THINNING, | 49 THINNING, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 // If set to true, this causes TileManager to verify that all required and NOW | 94 // If set to true, this causes TileManager to verify that all required and NOW |
| 96 // tiles come before lower priority tiles. | 95 // tiles come before lower priority tiles. |
| 97 bool check_tile_priority_inversion = false; | 96 bool check_tile_priority_inversion = false; |
| 98 | 97 |
| 99 LayerTreeDebugState initial_debug_state; | 98 LayerTreeDebugState initial_debug_state; |
| 100 }; | 99 }; |
| 101 | 100 |
| 102 } // namespace cc | 101 } // namespace cc |
| 103 | 102 |
| 104 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 103 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
| OLD | NEW |