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

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

Issue 2285633005: Reland of Skip PaintLayer empty paint phases if it previously painted nothing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: - Created 4 years, 3 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 , m_needsAncestorDependentCompositingInputsUpdate(true) 149 , m_needsAncestorDependentCompositingInputsUpdate(true)
150 , m_needsDescendantDependentCompositingInputsUpdate(true) 150 , m_needsDescendantDependentCompositingInputsUpdate(true)
151 , m_childNeedsCompositingInputsUpdate(true) 151 , m_childNeedsCompositingInputsUpdate(true)
152 , m_hasCompositingDescendant(false) 152 , m_hasCompositingDescendant(false)
153 , m_isAllScrollingContentComposited(false) 153 , m_isAllScrollingContentComposited(false)
154 , m_shouldIsolateCompositedDescendants(false) 154 , m_shouldIsolateCompositedDescendants(false)
155 , m_lostGroupedMapping(false) 155 , m_lostGroupedMapping(false)
156 , m_needsRepaint(false) 156 , m_needsRepaint(false)
157 , m_previousPaintResult(PaintLayerPainter::FullyPainted) 157 , m_previousPaintResult(PaintLayerPainter::FullyPainted)
158 , m_needsPaintPhaseDescendantOutlines(false) 158 , m_needsPaintPhaseDescendantOutlines(false)
159 , m_previousPaintPhaseDescendantOutlinesWasEmpty(false)
159 , m_needsPaintPhaseFloat(false) 160 , m_needsPaintPhaseFloat(false)
161 , m_previousPaintPhaseFloatWasEmpty(false)
160 , m_needsPaintPhaseDescendantBlockBackgrounds(false) 162 , m_needsPaintPhaseDescendantBlockBackgrounds(false)
163 , m_previousPaintPhaseDescendantBlockBackgroundsWasEmpty(false)
161 , m_hasDescendantWithClipPath(false) 164 , m_hasDescendantWithClipPath(false)
162 , m_hasNonIsolatedDescendantWithBlendMode(false) 165 , m_hasNonIsolatedDescendantWithBlendMode(false)
163 , m_hasAncestorWithClipPath(false) 166 , m_hasAncestorWithClipPath(false)
164 , m_layoutObject(layoutObject) 167 , m_layoutObject(layoutObject)
165 , m_parent(0) 168 , m_parent(0)
166 , m_previous(0) 169 , m_previous(0)
167 , m_next(0) 170 , m_next(0)
168 , m_first(0) 171 , m_first(0)
169 , m_last(0) 172 , m_last(0)
170 , m_staticInlinePosition(0) 173 , m_staticInlinePosition(0)
(...skipping 2777 matching lines...) Expand 10 before | Expand all | Expand 10 after
2948 2951
2949 void showLayerTree(const blink::LayoutObject* layoutObject) 2952 void showLayerTree(const blink::LayoutObject* layoutObject)
2950 { 2953 {
2951 if (!layoutObject) { 2954 if (!layoutObject) {
2952 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); 2955 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n");
2953 return; 2956 return;
2954 } 2957 }
2955 showLayerTree(layoutObject->enclosingLayer()); 2958 showLayerTree(layoutObject->enclosingLayer());
2956 } 2959 }
2957 #endif 2960 #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