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

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

Issue 2726263003: cc::ResourcePool - Re-use larger resources for smaller requests (Closed)
Patch Set: fix compile 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
111 // Determines whether we disallow non-exact matches when finding resources
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.
114 bool disallow_non_exact_resource_reuse = false;
110 }; 115 };
111 116
112 } // namespace cc 117 } // namespace cc
113 118
114 #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_impl.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698