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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: cc/output/renderer_settings.h
diff --git a/cc/output/renderer_settings.h b/cc/output/renderer_settings.h
index f6afb55467a51fdc3b0429e1e20aeb69c33c172e..dc4553e005ada9ab0095c65e16e6a061928a708f 100644
--- a/cc/output/renderer_settings.h
+++ b/cc/output/renderer_settings.h
@@ -37,6 +37,12 @@ class CC_EXPORT RendererSettings {
bool use_gpu_memory_buffer_resources = false;
ResourceFormat preferred_tile_format;
BufferToTextureTargetMap buffer_to_texture_target_map;
+
+ // Determines whether we disallow non-exact matches when finding tile
+ // 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.
+ // non-deterministic resource sizes lead to floating point error and noise in
+ // these tests.
+ bool disallow_non_exact_resource_reuse = false;
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698