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

Unified Diff: Source/core/paint/ViewDisplayList.h

Issue 697543002: First implementation of the paint slimming update algorithm (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « no previous file | Source/core/paint/ViewDisplayList.cpp » ('j') | Source/core/paint/ViewDisplayList.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/ViewDisplayList.h
diff --git a/Source/core/paint/ViewDisplayList.h b/Source/core/paint/ViewDisplayList.h
index 03e13ba8bcc122acb6fdaecf70484ee9d604658b..fd726b7b31de86e4241f91c29aa41b8a989ecd56 100644
--- a/Source/core/paint/ViewDisplayList.h
+++ b/Source/core/paint/ViewDisplayList.h
@@ -93,11 +93,12 @@ public:
#endif
private:
- bool isRepaint(PaintList::iterator, const DisplayItem&);
- // Update m_paintList with any invalidations or new paints.
+ PaintList::iterator wasUninvalidatedRepaint(PaintList::iterator, const DisplayItem&);
+ bool wasInvalidated(const DisplayItem&) const;
void updatePaintList();
PaintList m_paintList;
+ HashSet<const RenderObject*> m_paintListRenderers;
HashSet<const RenderObject*> m_invalidated;
PaintList m_newPaints;
};
« no previous file with comments | « no previous file | Source/core/paint/ViewDisplayList.cpp » ('j') | Source/core/paint/ViewDisplayList.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698