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

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

Issue 1626623002: Skip PaintPhaseDescendantBlockBackgroundsOnly phase if possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FloatPhase
Patch Set: Rebase Created 4 years, 10 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 , m_needsDescendantDependentCompositingInputsUpdate(true) 156 , m_needsDescendantDependentCompositingInputsUpdate(true)
157 , m_childNeedsCompositingInputsUpdate(true) 157 , m_childNeedsCompositingInputsUpdate(true)
158 , m_hasCompositingDescendant(false) 158 , m_hasCompositingDescendant(false)
159 , m_hasNonCompositedChild(false) 159 , m_hasNonCompositedChild(false)
160 , m_shouldIsolateCompositedDescendants(false) 160 , m_shouldIsolateCompositedDescendants(false)
161 , m_lostGroupedMapping(false) 161 , m_lostGroupedMapping(false)
162 , m_needsRepaint(false) 162 , m_needsRepaint(false)
163 , m_previousPaintResult(PaintLayerPainter::FullyPainted) 163 , m_previousPaintResult(PaintLayerPainter::FullyPainted)
164 , m_needsPaintPhaseDescendantOutlines(false) 164 , m_needsPaintPhaseDescendantOutlines(false)
165 , m_needsPaintPhaseFloat(false) 165 , m_needsPaintPhaseFloat(false)
166 , m_needsPaintPhaseDescendantBlockBackgrounds(false)
166 , m_hasDescendantWithClipPath(false) 167 , m_hasDescendantWithClipPath(false)
167 , m_hasNonIsolatedDescendantWithBlendMode(false) 168 , m_hasNonIsolatedDescendantWithBlendMode(false)
168 , m_hasAncestorWithClipPath(false) 169 , m_hasAncestorWithClipPath(false)
169 , m_layoutObject(layoutObject) 170 , m_layoutObject(layoutObject)
170 , m_parent(0) 171 , m_parent(0)
171 , m_previous(0) 172 , m_previous(0)
172 , m_next(0) 173 , m_next(0)
173 , m_first(0) 174 , m_first(0)
174 , m_last(0) 175 , m_last(0)
175 , m_staticInlinePosition(0) 176 , m_staticInlinePosition(0)
(...skipping 2705 matching lines...) Expand 10 before | Expand all | Expand 10 after
2881 2882
2882 void showLayerTree(const blink::LayoutObject* layoutObject) 2883 void showLayerTree(const blink::LayoutObject* layoutObject)
2883 { 2884 {
2884 if (!layoutObject) { 2885 if (!layoutObject) {
2885 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); 2886 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n");
2886 return; 2887 return;
2887 } 2888 }
2888 showLayerTree(layoutObject->enclosingLayer()); 2889 showLayerTree(layoutObject->enclosingLayer());
2889 } 2890 }
2890 #endif 2891 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698