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

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

Issue 2857363004: Add buffer_to_texture_target_map to LayerTreeSettings (Closed)
Patch Set: Address comments in CompositorImpl 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 bool ignore_root_layer_flings = false; 79 bool ignore_root_layer_flings = false;
80 size_t scheduled_raster_task_limit = 32; 80 size_t scheduled_raster_task_limit = 32;
81 bool use_occlusion_for_tile_prioritization = false; 81 bool use_occlusion_for_tile_prioritization = false;
82 bool use_layer_lists = false; 82 bool use_layer_lists = false;
83 int max_staging_buffer_usage_in_bytes = 32 * 1024 * 1024; 83 int max_staging_buffer_usage_in_bytes = 32 * 1024 * 1024;
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 BufferToTextureTargetMap buffer_to_texture_target_map;
89 90
90 bool enable_color_correct_rasterization = false; 91 bool enable_color_correct_rasterization = false;
91 92
92 // TODO(sunxd): remove this flag when filter demoting and aa of mask layers 93 // TODO(sunxd): remove this flag when filter demoting and aa of mask layers
93 // are implemented. 94 // are implemented.
94 bool enable_mask_tiling = false; 95 bool enable_mask_tiling = false;
95 96
96 // If set to true, the compositor may selectively defer image decodes to the 97 // 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 98 // Image Decode Service and raster tiles without images until the decode is
98 // ready. 99 // ready.
(...skipping 11 matching lines...) Expand all
110 111
111 // Determines whether we disallow non-exact matches when finding resources 112 // Determines whether we disallow non-exact matches when finding resources
112 // in ResourcePool. Only used for layout or pixel tests, as non-deterministic 113 // 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 // resource sizes can lead to floating point error and noise in these tests.
114 bool disallow_non_exact_resource_reuse = false; 115 bool disallow_non_exact_resource_reuse = false;
115 }; 116 };
116 117
117 } // namespace cc 118 } // namespace cc
118 119
119 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 120 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_copyrequest.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698