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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h

Issue 1393083003: Implement interest rects for synchronized paint. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
index 2bfed5c507b93cc749a1e5b2d08abde17e22f680..0763cc5c0e6e68adbd5d512cdcc72d9d127957bf 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
@@ -246,6 +246,7 @@ public:
// GraphicsContextPainter implementation.
void paint(GraphicsContext&, const IntRect& clip) override;
+ void paintIfNeeded(GraphicsContext&) override;
// WebCompositorAnimationDelegate implementation.
void notifyAnimationStarted(double monotonicTime, int group) override;
@@ -277,9 +278,6 @@ protected:
friend class FakeGraphicsLayerFactory;
private:
- // Callback from the underlying graphics system to draw layer contents.
- void paintGraphicsLayerContents(GraphicsContext&, const IntRect& clip);
-
// Sets m_needsDisplay, but without invalidating the DisplayItemList. This allows us to test
// scenarios where paint needs to be re-calculated, but no DisplayItemClients were invalidated
// (such as re-paints due to change of interest rect).

Powered by Google App Engine
This is Rietveld 408576698