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 <limits> | 7 #include <limits> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // At 256x256 tiles, 128 tiles cover an area of 2048x4096 pixels. | 60 // At 256x256 tiles, 128 tiles cover an area of 2048x4096 pixels. |
61 max_tiles_for_interest_area(128), | 61 max_tiles_for_interest_area(128), |
62 skewport_target_time_multiplier(1.0f), | 62 skewport_target_time_multiplier(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 highp_threshold_min(0), | 66 highp_threshold_min(0), |
67 strict_layer_property_change_checking(false), | 67 strict_layer_property_change_checking(false), |
68 use_one_copy(false), | 68 use_one_copy(false), |
69 use_zero_copy(false), | 69 use_zero_copy(false), |
| 70 use_image_external(false), |
70 ignore_root_layer_flings(false), | 71 ignore_root_layer_flings(false), |
71 use_rgba_4444_textures(false), | 72 use_rgba_4444_textures(false), |
72 texture_id_allocation_chunk_size(64), | 73 texture_id_allocation_chunk_size(64), |
73 scheduled_raster_task_limit(32), | 74 scheduled_raster_task_limit(32), |
74 use_occlusion_for_tile_prioritization(false), | 75 use_occlusion_for_tile_prioritization(false), |
75 record_full_layer(false) { | 76 record_full_layer(false) { |
76 } | 77 } |
77 | 78 |
78 LayerTreeSettings::~LayerTreeSettings() {} | 79 LayerTreeSettings::~LayerTreeSettings() {} |
79 | 80 |
80 } // namespace cc | 81 } // namespace cc |
OLD | NEW |