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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h

Issue 2033513003: (NOT FOR COMMIT) Testing layer invalidation speedups. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/core/layout/compositing/CompositedLayerMapping.h
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
index 60ab32b2621572b2d6e2b05bb9ece996ccce9eb5..c0404a20a24f51a7c0cc87d3ae271b5dbc765feb 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
@@ -126,8 +126,10 @@ public:
void setSquashingContentsNeedDisplay();
void setContentsNeedDisplay();
+
// LayoutRect is in the coordinate space of the layer's layout object.
void setContentsNeedDisplayInRect(const LayoutRect&, PaintInvalidationReason, const DisplayItemClient&);
+ void finalizeInvalidations();
void invalidateDisplayItemClient(const DisplayItemClient&, PaintInvalidationReason);
@@ -435,6 +437,8 @@ private:
Vector<GraphicsLayerPaintInfo> m_squashedLayers;
LayoutPoint m_squashingLayerOffsetFromTransformedAncestor;
+ Vector<NeedsDisplayRecord> m_needsDisplayInRects;
+
LayoutRect m_compositedBounds;
LayoutSize m_contentOffsetInCompositingLayer;

Powered by Google App Engine
This is Rietveld 408576698