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

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

Issue 2612123002: cc: Add a flag to check for tile priority inversion in AssignGpuMemory. (Closed)
Patch Set: master: compile_fix Created 3 years, 11 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 ManagedMemoryPolicy software_memory_policy; 96 ManagedMemoryPolicy software_memory_policy;
97 size_t gpu_decoded_image_budget_bytes = 96 * 1024 * 1024; 97 size_t gpu_decoded_image_budget_bytes = 96 * 1024 * 1024;
98 size_t software_decoded_image_budget_bytes = 128 * 1024 * 1024; 98 size_t software_decoded_image_budget_bytes = 128 * 1024 * 1024;
99 int max_preraster_distance_in_screen_pixels = 1000; 99 int max_preraster_distance_in_screen_pixels = 1000;
100 100
101 // If set to true, the display item list will internally cache a SkPicture for 101 // If set to true, the display item list will internally cache a SkPicture for
102 // raster rather than directly using the display items. 102 // raster rather than directly using the display items.
103 bool use_cached_picture_raster = true; 103 bool use_cached_picture_raster = true;
104 bool enable_color_correct_rendering = false; 104 bool enable_color_correct_rendering = false;
105 105
106 // If set to true, this causes TileManager to verify that all required and NOW
107 // tiles come before lower priority tiles.
108 bool check_tile_priority_inversion = false;
109
106 LayerTreeDebugState initial_debug_state; 110 LayerTreeDebugState initial_debug_state;
107 }; 111 };
108 112
109 } // namespace cc 113 } // namespace cc
110 114
111 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 115 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698