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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayer.cpp

Issue 1739893006: Skip PaintLayer empty paint phases if it previously painted nothing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 , m_needsAncestorDependentCompositingInputsUpdate(true) 153 , m_needsAncestorDependentCompositingInputsUpdate(true)
154 , m_needsDescendantDependentCompositingInputsUpdate(true) 154 , m_needsDescendantDependentCompositingInputsUpdate(true)
155 , m_childNeedsCompositingInputsUpdate(true) 155 , m_childNeedsCompositingInputsUpdate(true)
156 , m_hasCompositingDescendant(false) 156 , m_hasCompositingDescendant(false)
157 , m_hasNonCompositedChild(false) 157 , m_hasNonCompositedChild(false)
158 , m_shouldIsolateCompositedDescendants(false) 158 , m_shouldIsolateCompositedDescendants(false)
159 , m_lostGroupedMapping(false) 159 , m_lostGroupedMapping(false)
160 , m_needsRepaint(false) 160 , m_needsRepaint(false)
161 , m_previousPaintResult(PaintLayerPainter::FullyPainted) 161 , m_previousPaintResult(PaintLayerPainter::FullyPainted)
162 , m_needsPaintPhaseDescendantOutlines(false) 162 , m_needsPaintPhaseDescendantOutlines(false)
163 , m_previousPaintPhaseDescendantOutlinesWasEmpty(false)
163 , m_needsPaintPhaseFloat(false) 164 , m_needsPaintPhaseFloat(false)
165 , m_previousPaintPhaseFloatWasEmpty(false)
164 , m_needsPaintPhaseDescendantBlockBackgrounds(false) 166 , m_needsPaintPhaseDescendantBlockBackgrounds(false)
167 , m_previousPaintPhaseDescendantBlockBackgroundsWasEmpty(false)
165 , m_hasDescendantWithClipPath(false) 168 , m_hasDescendantWithClipPath(false)
166 , m_hasNonIsolatedDescendantWithBlendMode(false) 169 , m_hasNonIsolatedDescendantWithBlendMode(false)
167 , m_hasAncestorWithClipPath(false) 170 , m_hasAncestorWithClipPath(false)
168 , m_layoutObject(layoutObject) 171 , m_layoutObject(layoutObject)
169 , m_parent(0) 172 , m_parent(0)
170 , m_previous(0) 173 , m_previous(0)
171 , m_next(0) 174 , m_next(0)
172 , m_first(0) 175 , m_first(0)
173 , m_last(0) 176 , m_last(0)
174 , m_staticInlinePosition(0) 177 , m_staticInlinePosition(0)
(...skipping 2661 matching lines...) Expand 10 before | Expand all | Expand 10 after
2836 2839
2837 void showLayerTree(const blink::LayoutObject* layoutObject) 2840 void showLayerTree(const blink::LayoutObject* layoutObject)
2838 { 2841 {
2839 if (!layoutObject) { 2842 if (!layoutObject) {
2840 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); 2843 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n");
2841 return; 2844 return;
2842 } 2845 }
2843 showLayerTree(layoutObject->enclosingLayer()); 2846 showLayerTree(layoutObject->enclosingLayer());
2844 } 2847 }
2845 #endif 2848 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698