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

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

Issue 1991363003: cc: Plumb gpu/sw image decode limits as layer tree settings. (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.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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 size_t scheduled_raster_task_limit; 87 size_t scheduled_raster_task_limit;
88 bool use_occlusion_for_tile_prioritization; 88 bool use_occlusion_for_tile_prioritization;
89 bool verify_clip_tree_calculations; 89 bool verify_clip_tree_calculations;
90 bool image_decode_tasks_enabled; 90 bool image_decode_tasks_enabled;
91 bool wait_for_beginframe_interval; 91 bool wait_for_beginframe_interval;
92 bool abort_commit_before_output_surface_creation; 92 bool abort_commit_before_output_surface_creation;
93 bool use_mouse_wheel_gestures; 93 bool use_mouse_wheel_gestures;
94 bool use_layer_lists; 94 bool use_layer_lists;
95 int max_staging_buffer_usage_in_bytes; 95 int max_staging_buffer_usage_in_bytes;
96 ManagedMemoryPolicy memory_policy_; 96 ManagedMemoryPolicy memory_policy_;
97 size_t gpu_decoded_image_budget_bytes;
98 size_t software_decoded_image_budget_bytes;
97 99
98 // If set to true, the display item list will internally cache a SkPicture for 100 // If set to true, the display item list will internally cache a SkPicture for
99 // raster rather than directly using the display items. 101 // raster rather than directly using the display items.
100 bool use_cached_picture_raster; 102 bool use_cached_picture_raster;
101 103
102 LayerTreeDebugState initial_debug_state; 104 LayerTreeDebugState initial_debug_state;
103 }; 105 };
104 106
105 } // namespace cc 107 } // namespace cc
106 108
107 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 109 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/layer_tree_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698