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

Unified Diff: cc/resources/resource_provider.h

Issue 12642010: Implement on demand quad rasterization for PicturePiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit fixes & adding ResizeResource unit test. Created 7 years, 9 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/resources/resource_provider.h
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
index acd404f56151a9cfc5f93cdff3bf613f7ab793c6..bc09d7d0258c90f7f6fe4c8166ecb63e9a302deb 100644
--- a/cc/resources/resource_provider.h
+++ b/cc/resources/resource_provider.h
@@ -101,6 +101,9 @@ class CC_EXPORT ResourceProvider {
// Wraps an external texture mailbox into a GL resource.
ResourceId CreateResourceFromTextureMailbox(const TextureMailbox& mailbox);
+ // Resizes an existing resource.
+ void ResizeResource(ResourceId id, gfx::Size size);
+
void DeleteResource(ResourceId id);
// Update pixels from image, copying source_rect (in image) to dest_offset (in

Powered by Google App Engine
This is Rietveld 408576698