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

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

Issue 2681183002: cc: Add flag to disable future mask tiling. (Closed)
Patch Set: Change comments accordingly. Created 3 years, 10 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 size_t gpu_decoded_image_budget_bytes = 96 * 1024 * 1024; 88 size_t gpu_decoded_image_budget_bytes = 96 * 1024 * 1024;
89 size_t software_decoded_image_budget_bytes = 128 * 1024 * 1024; 89 size_t software_decoded_image_budget_bytes = 128 * 1024 * 1024;
90 int max_preraster_distance_in_screen_pixels = 1000; 90 int max_preraster_distance_in_screen_pixels = 1000;
91 91
92 bool enable_color_correct_rendering = false; 92 bool enable_color_correct_rendering = false;
93 93
94 // If set to true, this causes TileManager to verify that all required and NOW 94 // If set to true, this causes TileManager to verify that all required and NOW
95 // tiles come before lower priority tiles. 95 // tiles come before lower priority tiles.
96 bool check_tile_priority_inversion = false; 96 bool check_tile_priority_inversion = false;
97 97
98 // TODO(sunxd): remove this flag when filter demoting and aa of mask layers
99 // are implemented.
100 bool enable_mask_tiling = false;
enne (OOO) 2017/02/10 22:24:34 = false?
sunxd 2017/02/13 18:13:42 I think we want to disable mask tiling until we ar
101
98 LayerTreeDebugState initial_debug_state; 102 LayerTreeDebugState initial_debug_state;
99 }; 103 };
100 104
101 } // namespace cc 105 } // namespace cc
102 106
103 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 107 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698