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

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

Issue 1939963002: cc: Move prepaint region calculations to the tiling set. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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_host_impl_unittest.cc ('k') | cc/trees/layer_tree_settings.cc » ('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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 bool layer_transforms_should_scale_layer_contents; 66 bool layer_transforms_should_scale_layer_contents;
67 bool layers_always_allowed_lcd_text; 67 bool layers_always_allowed_lcd_text;
68 float minimum_contents_scale; 68 float minimum_contents_scale;
69 float low_res_contents_scale_factor; 69 float low_res_contents_scale_factor;
70 float top_controls_show_threshold; 70 float top_controls_show_threshold;
71 float top_controls_hide_threshold; 71 float top_controls_hide_threshold;
72 double background_animation_rate; 72 double background_animation_rate;
73 gfx::Size default_tile_size; 73 gfx::Size default_tile_size;
74 gfx::Size max_untiled_layer_size; 74 gfx::Size max_untiled_layer_size;
75 gfx::Size minimum_occlusion_tracking_size; 75 gfx::Size minimum_occlusion_tracking_size;
76 size_t tiling_interest_area_padding; 76 int tiling_interest_area_padding;
77 float skewport_target_time_in_seconds; 77 float skewport_target_time_in_seconds;
78 int skewport_extrapolation_limit_in_content_pixels; 78 int skewport_extrapolation_limit_in_screen_pixels;
79 size_t max_memory_for_prepaint_percentage; 79 size_t max_memory_for_prepaint_percentage;
80 bool use_zero_copy; 80 bool use_zero_copy;
81 bool use_partial_raster; 81 bool use_partial_raster;
82 bool enable_elastic_overscroll; 82 bool enable_elastic_overscroll;
83 // An array of image texture targets for each GpuMemoryBuffer format. 83 // An array of image texture targets for each GpuMemoryBuffer format.
84 std::vector<unsigned> use_image_texture_targets; 84 std::vector<unsigned> use_image_texture_targets;
85 bool ignore_root_layer_flings; 85 bool ignore_root_layer_flings;
86 size_t scheduled_raster_task_limit; 86 size_t scheduled_raster_task_limit;
87 bool use_occlusion_for_tile_prioritization; 87 bool use_occlusion_for_tile_prioritization;
88 bool image_decode_tasks_enabled; 88 bool image_decode_tasks_enabled;
89 bool wait_for_beginframe_interval; 89 bool wait_for_beginframe_interval;
90 bool abort_commit_before_output_surface_creation; 90 bool abort_commit_before_output_surface_creation;
91 bool use_mouse_wheel_gestures; 91 bool use_mouse_wheel_gestures;
92 bool use_layer_lists; 92 bool use_layer_lists;
93 int max_staging_buffer_usage_in_bytes; 93 int max_staging_buffer_usage_in_bytes;
94 ManagedMemoryPolicy memory_policy_; 94 ManagedMemoryPolicy memory_policy_;
95 95
96 // If set to true, the display item list will internally cache a SkPicture for 96 // If set to true, the display item list will internally cache a SkPicture for
97 // raster rather than directly using the display items. 97 // raster rather than directly using the display items.
98 bool use_cached_picture_raster; 98 bool use_cached_picture_raster;
99 99
100 LayerTreeDebugState initial_debug_state; 100 LayerTreeDebugState initial_debug_state;
101 }; 101 };
102 102
103 } // namespace cc 103 } // namespace cc
104 104
105 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 105 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/layer_tree_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698