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

Side by Side Diff: Source/core/rendering/RenderLayer.h

Issue 264183002: RAL: Eliminate n^2 walk to find repaint containers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: One more simple rebaseline... Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderBox.cpp ('k') | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
6 * 6 *
7 * Other contributors: 7 * Other contributors:
8 * Robert O'Callahan <roc+@cs.cmu.edu> 8 * Robert O'Callahan <roc+@cs.cmu.edu>
9 * David Baron <dbaron@fas.harvard.edu> 9 * David Baron <dbaron@fas.harvard.edu>
10 * Christian Biesinger <cbiesinger@web.de> 10 * Christian Biesinger <cbiesinger@web.de>
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 bool hasNonCompositedChild() const { ASSERT(isAllowedToQueryCompositingState ()); return m_hasNonCompositedChild; } 231 bool hasNonCompositedChild() const { ASSERT(isAllowedToQueryCompositingState ()); return m_hasNonCompositedChild; }
232 232
233 bool usedTransparency() const { return m_usedTransparency; } 233 bool usedTransparency() const { return m_usedTransparency; }
234 234
235 // Gets the nearest enclosing positioned ancestor layer (also includes 235 // Gets the nearest enclosing positioned ancestor layer (also includes
236 // the <html> layer and the root layer). 236 // the <html> layer and the root layer).
237 RenderLayer* enclosingPositionedAncestor() const; 237 RenderLayer* enclosingPositionedAncestor() const;
238 238
239 RenderLayer* enclosingOverflowClipLayer(IncludeSelfOrNot = IncludeSelf) cons t; 239 RenderLayer* enclosingOverflowClipLayer(IncludeSelfOrNot = IncludeSelf) cons t;
240 240
241 bool isRepaintContainer() const;
241 // Enclosing compositing layer; if includeSelf is true, may return this. 242 // Enclosing compositing layer; if includeSelf is true, may return this.
242 RenderLayer* enclosingCompositingLayer(IncludeSelfOrNot = IncludeSelf) const ; 243 RenderLayer* enclosingCompositingLayer(IncludeSelfOrNot = IncludeSelf) const ;
243 RenderLayer* enclosingCompositingLayerForRepaint(IncludeSelfOrNot = IncludeS elf) const; 244 RenderLayer* enclosingCompositingLayerForRepaint(IncludeSelfOrNot = IncludeS elf) const;
244 // Ancestor compositing layer, excluding this. 245 // Ancestor compositing layer, excluding this.
245 RenderLayer* ancestorCompositingLayer() const { return enclosingCompositingL ayer(ExcludeSelf); } 246 RenderLayer* ancestorCompositingLayer() const { return enclosingCompositingL ayer(ExcludeSelf); }
246 247
247 // Ancestor composited scrolling layer at or above our containing block. 248 // Ancestor composited scrolling layer at or above our containing block.
248 RenderLayer* ancestorCompositedScrollingLayer() const; 249 RenderLayer* ancestorCompositedScrollingLayer() const;
249 250
250 // Ancestor scrolling layer at or above our containing block. 251 // Ancestor scrolling layer at or above our containing block.
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 758
758 } // namespace WebCore 759 } // namespace WebCore
759 760
760 #ifndef NDEBUG 761 #ifndef NDEBUG
761 // Outside the WebCore namespace for ease of invocation from gdb. 762 // Outside the WebCore namespace for ease of invocation from gdb.
762 void showLayerTree(const WebCore::RenderLayer*); 763 void showLayerTree(const WebCore::RenderLayer*);
763 void showLayerTree(const WebCore::RenderObject*); 764 void showLayerTree(const WebCore::RenderObject*);
764 #endif 765 #endif
765 766
766 #endif // RenderLayer_h 767 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderBox.cpp ('k') | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698