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

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

Issue 2859483006: cc: Enable composited border-radius scrolling.
Patch Set: Do not skip solid color mask layer quads. Created 3 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
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 ManagedMemoryPolicy gpu_memory_policy; 84 ManagedMemoryPolicy gpu_memory_policy;
85 ManagedMemoryPolicy software_memory_policy; 85 ManagedMemoryPolicy software_memory_policy;
86 size_t decoded_image_cache_budget_bytes = 128 * 1024 * 1024; 86 size_t decoded_image_cache_budget_bytes = 128 * 1024 * 1024;
87 size_t decoded_image_working_set_budget_bytes = 128 * 1024 * 1024; 87 size_t decoded_image_working_set_budget_bytes = 128 * 1024 * 1024;
88 int max_preraster_distance_in_screen_pixels = 1000; 88 int max_preraster_distance_in_screen_pixels = 1000;
89 89
90 bool enable_color_correct_rasterization = false; 90 bool enable_color_correct_rasterization = false;
91 91
92 // TODO(sunxd): remove this flag when filter demoting and aa of mask layers 92 // TODO(sunxd): remove this flag when filter demoting and aa of mask layers
93 // are implemented. 93 // are implemented.
94 bool enable_mask_tiling = false; 94 bool enable_mask_tiling = true;
chrishtr 2017/05/19 00:28:15 You could also turn this on without border-radius
95 95
96 // If set to true, the compositor may selectively defer image decodes to the 96 // If set to true, the compositor may selectively defer image decodes to the
97 // Image Decode Service and raster tiles without images until the decode is 97 // Image Decode Service and raster tiles without images until the decode is
98 // ready. 98 // ready.
99 bool enable_checker_imaging = false; 99 bool enable_checker_imaging = false;
100 100
101 LayerTreeDebugState initial_debug_state; 101 LayerTreeDebugState initial_debug_state;
102 102
103 // Indicates that the LayerTreeHost should defer commits unless it has a valid 103 // Indicates that the LayerTreeHost should defer commits unless it has a valid
104 // LocalSurfaceId set. 104 // LocalSurfaceId set.
105 bool enable_surface_synchronization = false; 105 bool enable_surface_synchronization = false;
106 106
107 // Indicates the case when a sub-frame gets its own LayerTree because it's 107 // Indicates the case when a sub-frame gets its own LayerTree because it's
108 // rendered in a different process from its ancestor frames. 108 // rendered in a different process from its ancestor frames.
109 bool is_layer_tree_for_subframe = false; 109 bool is_layer_tree_for_subframe = false;
110 110
111 // Determines whether we disallow non-exact matches when finding resources 111 // Determines whether we disallow non-exact matches when finding resources
112 // in ResourcePool. Only used for layout or pixel tests, as non-deterministic 112 // in ResourcePool. Only used for layout or pixel tests, as non-deterministic
113 // resource sizes can lead to floating point error and noise in these tests. 113 // resource sizes can lead to floating point error and noise in these tests.
114 bool disallow_non_exact_resource_reuse = false; 114 bool disallow_non_exact_resource_reuse = false;
115 }; 115 };
116 116
117 } // namespace cc 117 } // namespace cc
118 118
119 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 119 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698