Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1117)

Side by Side Diff: cc/trees/layer_tree_settings.h

Issue 2655233006: cc : Clean up cc clip tree (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_impl_unittest.cc ('k') | cc/trees/property_tree.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 int tiling_interest_area_padding = 3000; 73 int tiling_interest_area_padding = 3000;
74 float skewport_target_time_in_seconds = 1.0f; 74 float skewport_target_time_in_seconds = 1.0f;
75 int skewport_extrapolation_limit_in_screen_pixels = 2000; 75 int skewport_extrapolation_limit_in_screen_pixels = 2000;
76 size_t max_memory_for_prepaint_percentage = 100; 76 size_t max_memory_for_prepaint_percentage = 100;
77 bool use_zero_copy = false; 77 bool use_zero_copy = false;
78 bool use_partial_raster = false; 78 bool use_partial_raster = false;
79 bool enable_elastic_overscroll = false; 79 bool enable_elastic_overscroll = false;
80 bool ignore_root_layer_flings = false; 80 bool ignore_root_layer_flings = false;
81 size_t scheduled_raster_task_limit = 32; 81 size_t scheduled_raster_task_limit = 32;
82 bool use_occlusion_for_tile_prioritization = false; 82 bool use_occlusion_for_tile_prioritization = false;
83 bool verify_clip_tree_calculations = false;
84 83
85 // TODO(khushalsagar): Enable for all client and remove this flag if possible. 84 // TODO(khushalsagar): Enable for all client and remove this flag if possible.
86 // See crbug/com/696864. 85 // See crbug/com/696864.
87 bool image_decode_tasks_enabled = false; 86 bool image_decode_tasks_enabled = false;
88 87
89 bool use_layer_lists = false; 88 bool use_layer_lists = false;
90 int max_staging_buffer_usage_in_bytes = 32 * 1024 * 1024; 89 int max_staging_buffer_usage_in_bytes = 32 * 1024 * 1024;
91 ManagedMemoryPolicy gpu_memory_policy; 90 ManagedMemoryPolicy gpu_memory_policy;
92 ManagedMemoryPolicy software_memory_policy; 91 ManagedMemoryPolicy software_memory_policy;
93 size_t gpu_decoded_image_budget_bytes = 96 * 1024 * 1024; 92 size_t gpu_decoded_image_budget_bytes = 96 * 1024 * 1024;
(...skipping 14 matching lines...) Expand all
108 LayerTreeDebugState initial_debug_state; 107 LayerTreeDebugState initial_debug_state;
109 108
110 // Indicates that the LayerTreeHost should defer commits unless it has a valid 109 // Indicates that the LayerTreeHost should defer commits unless it has a valid
111 // LocalSurfaceId set. 110 // LocalSurfaceId set.
112 bool needs_valid_local_surface_id = false; 111 bool needs_valid_local_surface_id = false;
113 }; 112 };
114 113
115 } // namespace cc 114 } // namespace cc
116 115
117 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 116 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl_unittest.cc ('k') | cc/trees/property_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698