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

Unified Diff: cc/resources/resource_pool.h

Issue 1379783002: Allow one-copy task tile worker pool to use compressed textures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use memory_efficient_format* settings and revert allocation modifications Created 5 years, 1 month 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/resources/resource_pool.h
diff --git a/cc/resources/resource_pool.h b/cc/resources/resource_pool.h
index e17032b4f81c9b4fafd29740b2ee3ce335e80427..0b151614a30a5a0c59633bc61eab0112e62c2393 100644
--- a/cc/resources/resource_pool.h
+++ b/cc/resources/resource_pool.h
@@ -36,7 +36,8 @@ class CC_EXPORT ResourcePool : public base::trace_event::MemoryDumpProvider {
~ResourcePool() override;
- Resource* AcquireResource(const gfx::Size& size, ResourceFormat format);
+ Resource* AcquireResource(const gfx::Size& desired_size,
+ ResourceFormat format);
Resource* TryAcquireResourceWithContentId(uint64 content_id);
void ReleaseResource(Resource* resource, uint64_t content_id);

Powered by Google App Engine
This is Rietveld 408576698