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

Side by Side Diff: cc/output/renderer_settings.h

Issue 2726263003: cc::ResourcePool - Re-use larger resources for smaller requests (Closed)
Patch Set: rebase 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_OUTPUT_RENDERER_SETTINGS_H_ 5 #ifndef CC_OUTPUT_RENDERER_SETTINGS_H_
6 #define CC_OUTPUT_RENDERER_SETTINGS_H_ 6 #define CC_OUTPUT_RENDERER_SETTINGS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "cc/cc_export.h" 10 #include "cc/cc_export.h"
(...skipping 19 matching lines...) Expand all
30 bool gl_composited_texture_quad_border = false; 30 bool gl_composited_texture_quad_border = false;
31 bool show_overdraw_feedback = false; 31 bool show_overdraw_feedback = false;
32 bool enable_color_correct_rendering = false; 32 bool enable_color_correct_rendering = false;
33 33
34 double refresh_rate = 60.0; 34 double refresh_rate = 60.0;
35 int highp_threshold_min = 0; 35 int highp_threshold_min = 0;
36 size_t texture_id_allocation_chunk_size = 64; 36 size_t texture_id_allocation_chunk_size = 64;
37 bool use_gpu_memory_buffer_resources = false; 37 bool use_gpu_memory_buffer_resources = false;
38 ResourceFormat preferred_tile_format; 38 ResourceFormat preferred_tile_format;
39 BufferToTextureTargetMap buffer_to_texture_target_map; 39 BufferToTextureTargetMap buffer_to_texture_target_map;
40
41 // Determines whether we disallow non-exact matches when finding tile
42 // resources in ResourcePool. Only used for layout tests, as the
danakj 2017/05/04 21:48:37 pixel tests?
ericrk 2017/05/05 23:18:38 Done.
43 // non-deterministic resource sizes lead to floating point error and noise in
44 // these tests.
45 bool disallow_non_exact_resource_reuse = false;
40 }; 46 };
41 47
42 } // namespace cc 48 } // namespace cc
43 49
44 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_ 50 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698