| 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 #include "cc/trees/layer_tree_settings.h" | 5 #include "cc/trees/layer_tree_settings.h" |
| 6 | 6 |
| 7 #include <GLES2/gl2.h> | 7 #include <GLES2/gl2.h> |
| 8 #include <limits> | 8 #include <limits> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 minimum_occlusion_tracking_size(gfx::Size(160, 160)), | 59 minimum_occlusion_tracking_size(gfx::Size(160, 160)), |
| 60 use_pinch_virtual_viewport(false), | 60 use_pinch_virtual_viewport(false), |
| 61 tiling_interest_area_viewport_multiplier(9.0f), | 61 tiling_interest_area_viewport_multiplier(9.0f), |
| 62 skewport_target_time_in_seconds(1.0f), | 62 skewport_target_time_in_seconds(1.0f), |
| 63 skewport_extrapolation_limit_in_content_pixels(2000), | 63 skewport_extrapolation_limit_in_content_pixels(2000), |
| 64 max_unused_resource_memory_percentage(100), | 64 max_unused_resource_memory_percentage(100), |
| 65 max_memory_for_prepaint_percentage(100), | 65 max_memory_for_prepaint_percentage(100), |
| 66 strict_layer_property_change_checking(false), | 66 strict_layer_property_change_checking(false), |
| 67 use_one_copy(false), | 67 use_one_copy(false), |
| 68 use_zero_copy(false), | 68 use_zero_copy(false), |
| 69 use_persistent_map_gpu_memory_buffer_usage(false), |
| 69 enable_elastic_overscroll(false), | 70 enable_elastic_overscroll(false), |
| 70 use_image_texture_target(GL_TEXTURE_2D), | 71 use_image_texture_target(GL_TEXTURE_2D), |
| 71 ignore_root_layer_flings(false), | 72 ignore_root_layer_flings(false), |
| 72 scheduled_raster_task_limit(32), | 73 scheduled_raster_task_limit(32), |
| 73 use_occlusion_for_tile_prioritization(false), | 74 use_occlusion_for_tile_prioritization(false), |
| 74 record_full_layer(false), | 75 record_full_layer(false), |
| 75 use_display_lists(false), | 76 use_display_lists(false), |
| 76 use_cached_picture_in_display_list(true), | 77 use_cached_picture_in_display_list(true), |
| 77 verify_property_trees(false), | 78 verify_property_trees(false), |
| 78 gather_pixel_refs(false), | 79 gather_pixel_refs(false), |
| (...skipping 16 matching lines...) Expand all Loading... |
| 95 scheduler_settings.using_synchronous_renderer_compositor = | 96 scheduler_settings.using_synchronous_renderer_compositor = |
| 96 using_synchronous_renderer_compositor; | 97 using_synchronous_renderer_compositor; |
| 97 scheduler_settings.throttle_frame_production = throttle_frame_production; | 98 scheduler_settings.throttle_frame_production = throttle_frame_production; |
| 98 scheduler_settings.main_thread_should_always_be_low_latency = false; | 99 scheduler_settings.main_thread_should_always_be_low_latency = false; |
| 99 scheduler_settings.background_frame_interval = | 100 scheduler_settings.background_frame_interval = |
| 100 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); | 101 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); |
| 101 return scheduler_settings; | 102 return scheduler_settings; |
| 102 } | 103 } |
| 103 | 104 |
| 104 } // namespace cc | 105 } // namespace cc |
| OLD | NEW |