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

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: 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 , m_needsDescendantDependentCompositingInputsUpdate(true) 153 , m_needsDescendantDependentCompositingInputsUpdate(true)
154 , m_childNeedsCompositingInputsUpdate(true) 154 , m_childNeedsCompositingInputsUpdate(true)
155 , m_hasCompositingDescendant(false) 155 , m_hasCompositingDescendant(false)
156 , m_hasNonCompositedChild(false) 156 , m_hasNonCompositedChild(false)
157 , m_shouldIsolateCompositedDescendants(false) 157 , m_shouldIsolateCompositedDescendants(false)
158 , m_lostGroupedMapping(false) 158 , m_lostGroupedMapping(false)
159 , m_needsRepaint(false) 159 , m_needsRepaint(false)
160 , m_previousPaintResult(PaintLayerPainter::FullyPainted) 160 , m_previousPaintResult(PaintLayerPainter::FullyPainted)
161 , m_needsPaintPhaseDescendantOutlines(false) 161 , m_needsPaintPhaseDescendantOutlines(false)
162 , m_needsPaintPhaseFloat(false) 162 , m_needsPaintPhaseFloat(false)
163 , m_needsPaintPhaseDescendantBlockBackgrounds(false)
163 , m_hasDescendantWithClipPath(false) 164 , m_hasDescendantWithClipPath(false)
164 , m_hasNonIsolatedDescendantWithBlendMode(false) 165 , m_hasNonIsolatedDescendantWithBlendMode(false)
165 , m_hasAncestorWithClipPath(false) 166 , m_hasAncestorWithClipPath(false)
166 , m_layoutObject(layoutObject) 167 , m_layoutObject(layoutObject)
167 , m_parent(0) 168 , m_parent(0)
168 , m_previous(0) 169 , m_previous(0)
169 , m_next(0) 170 , m_next(0)
170 , m_first(0) 171 , m_first(0)
171 , m_last(0) 172 , m_last(0)
172 , m_staticInlinePosition(0) 173 , m_staticInlinePosition(0)
(...skipping 2617 matching lines...) Expand 10 before | Expand all | Expand 10 after
2790 2791
2791 void showLayerTree(const blink::LayoutObject* layoutObject) 2792 void showLayerTree(const blink::LayoutObject* layoutObject)
2792 { 2793 {
2793 if (!layoutObject) { 2794 if (!layoutObject) {
2794 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); 2795 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n");
2795 return; 2796 return;
2796 } 2797 }
2797 showLayerTree(layoutObject->enclosingLayer()); 2798 showLayerTree(layoutObject->enclosingLayer());
2798 } 2799 }
2799 #endif 2800 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.h ('k') | third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698