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

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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 , m_needsDescendantDependentCompositingInputsUpdate(true) 122 , m_needsDescendantDependentCompositingInputsUpdate(true)
123 , m_childNeedsCompositingInputsUpdate(true) 123 , m_childNeedsCompositingInputsUpdate(true)
124 , m_hasCompositingDescendant(false) 124 , m_hasCompositingDescendant(false)
125 , m_hasNonCompositedChild(false) 125 , m_hasNonCompositedChild(false)
126 , m_shouldIsolateCompositedDescendants(false) 126 , m_shouldIsolateCompositedDescendants(false)
127 , m_lostGroupedMapping(false) 127 , m_lostGroupedMapping(false)
128 , m_needsRepaint(false) 128 , m_needsRepaint(false)
129 , m_previousPaintResult(PaintLayerPainter::FullyPainted) 129 , m_previousPaintResult(PaintLayerPainter::FullyPainted)
130 , m_needsPaintPhaseDescendantOutlines(false) 130 , m_needsPaintPhaseDescendantOutlines(false)
131 , m_needsPaintPhaseFloat(false) 131 , m_needsPaintPhaseFloat(false)
132 , m_needsPaintPhaseDescendantBlockBackgrounds(false)
132 , m_layoutObject(layoutObject) 133 , m_layoutObject(layoutObject)
133 , m_parent(0) 134 , m_parent(0)
134 , m_previous(0) 135 , m_previous(0)
135 , m_next(0) 136 , m_next(0)
136 , m_first(0) 137 , m_first(0)
137 , m_last(0) 138 , m_last(0)
138 , m_staticInlinePosition(0) 139 , m_staticInlinePosition(0)
139 , m_staticBlockPosition(0) 140 , m_staticBlockPosition(0)
140 , m_enclosingPaginationLayer(0) 141 , m_enclosingPaginationLayer(0)
141 , m_potentialCompositingReasonsFromStyle(CompositingReasonNone) 142 , m_potentialCompositingReasonsFromStyle(CompositingReasonNone)
(...skipping 2691 matching lines...) Expand 10 before | Expand all | Expand 10 after
2833 2834
2834 void showLayerTree(const blink::LayoutObject* layoutObject) 2835 void showLayerTree(const blink::LayoutObject* layoutObject)
2835 { 2836 {
2836 if (!layoutObject) { 2837 if (!layoutObject) {
2837 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); 2838 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n");
2838 return; 2839 return;
2839 } 2840 }
2840 showLayerTree(layoutObject->enclosingLayer()); 2841 showLayerTree(layoutObject->enclosingLayer());
2841 } 2842 }
2842 #endif 2843 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698