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

Unified Diff: cc/LayerTextureUpdater.cpp

Issue 11044003: Reduce texture uploads during scrollbar invalidations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert use of hash; address texture eviction. 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/LayerTextureUpdater.cpp
diff --git a/cc/LayerTextureUpdater.cpp b/cc/LayerTextureUpdater.cpp
index ed61a35b1986cdcaf3cd9ba00c375d38d049d98c..f3c1e00e5130894f28b2438e2420140f08e119a9 100644
--- a/cc/LayerTextureUpdater.cpp
+++ b/cc/LayerTextureUpdater.cpp
@@ -22,4 +22,10 @@ bool LayerTextureUpdater::Texture::backingResourceWasEvicted() const
return m_texture->backingResourceWasEvicted();
}
+bool LayerTextureUpdater::pixelsDidChange() const
+{
+ // Be conservative by always saying pixels changed.
+ return true;
+}
+
}

Powered by Google App Engine
This is Rietveld 408576698