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

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

Issue 2655233006: cc : Clean up cc clip tree (Closed)
Patch Set: blink_tests 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
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 10 matching lines...) Expand all
104 // Image Decode Service and raster tiles without images until the decode is 103 // Image Decode Service and raster tiles without images until the decode is
105 // ready. 104 // ready.
106 bool enable_checker_imaging = false; 105 bool enable_checker_imaging = false;
107 106
108 LayerTreeDebugState initial_debug_state; 107 LayerTreeDebugState initial_debug_state;
109 }; 108 };
110 109
111 } // namespace cc 110 } // namespace cc
112 111
113 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 112 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698