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

Unified Diff: cc/CCPrioritizedTexture.h

Issue 11074009: cc: Remove LayerTextureUpdater::Texture::updateRect() callback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/CCPrioritizedTexture.h
diff --git a/cc/CCPrioritizedTexture.h b/cc/CCPrioritizedTexture.h
index 519934f15c523e344186b815d351cbf0d62a6d90..3d2076b668fbc724e0165a126a78c355e2dd32be 100644
--- a/cc/CCPrioritizedTexture.h
+++ b/cc/CCPrioritizedTexture.h
@@ -70,6 +70,9 @@ public:
// Uploads pixels into the backing resource. This functions will aquire the backing if needed.
void upload(CCResourceProvider*, const uint8_t* image, const IntRect& imageRect, const IntRect& sourceRect, const IntSize& destOffset);
+ // Playback picture into the backing resource. This functions will aquire the backing if needed.
+ void acceleratedUpdate(CCResourceProvider*, SkPicture*, const IntRect& pictureRect, const IntRect& sourceRect, const IntSize& destOffset);
+
CCResourceProvider::ResourceId resourceId() const;
// Self-managed textures are accounted for when prioritizing other textures,
« no previous file with comments | « cc/CCLayerTreeHostTest.cpp ('k') | cc/CCPrioritizedTexture.cpp » ('j') | cc/CCResourceProvider.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698