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

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

Issue 398343003: Use unified invalidation path for repaint-only style changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Also handle layers Created 6 years, 4 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 | « no previous file | 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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 void updateSelfPaintingLayer(); 546 void updateSelfPaintingLayer();
547 547
548 // paintLayerContents() assumes that the caller will clip to the bounds of t he painting dirty rect if necessary. 548 // paintLayerContents() assumes that the caller will clip to the bounds of t he painting dirty rect if necessary.
549 void paintLayerContents(GraphicsContext*, const LayerPaintingInfo&, PaintLay erFlags); 549 void paintLayerContents(GraphicsContext*, const LayerPaintingInfo&, PaintLay erFlags);
550 550
551 RenderLayer* enclosingTransformedAncestor() const; 551 RenderLayer* enclosingTransformedAncestor() const;
552 LayoutPoint computeOffsetFromTransformedAncestor() const; 552 LayoutPoint computeOffsetFromTransformedAncestor() const;
553 553
554 void didUpdateNeedsCompositedScrolling(); 554 void didUpdateNeedsCompositedScrolling();
555 555
556 void setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants();
557
556 private: 558 private:
557 // Bounding box in the coordinates of this layer. 559 // Bounding box in the coordinates of this layer.
558 LayoutRect logicalBoundingBox() const; 560 LayoutRect logicalBoundingBox() const;
559 561
560 bool hasOverflowControls() const; 562 bool hasOverflowControls() const;
561 563
562 void setAncestorChainHasSelfPaintingLayerDescendant(); 564 void setAncestorChainHasSelfPaintingLayerDescendant();
563 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); 565 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus();
564 566
565 void clipToRect(const LayerPaintingInfo&, GraphicsContext*, const ClipRect&, PaintLayerFlags, BorderRadiusClippingRule = IncludeSelfForBorderRadius); 567 void clipToRect(const LayerPaintingInfo&, GraphicsContext*, const ClipRect&, PaintLayerFlags, BorderRadiusClippingRule = IncludeSelfForBorderRadius);
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 779
778 } // namespace blink 780 } // namespace blink
779 781
780 #ifndef NDEBUG 782 #ifndef NDEBUG
781 // Outside the WebCore namespace for ease of invocation from gdb. 783 // Outside the WebCore namespace for ease of invocation from gdb.
782 void showLayerTree(const blink::RenderLayer*); 784 void showLayerTree(const blink::RenderLayer*);
783 void showLayerTree(const blink::RenderObject*); 785 void showLayerTree(const blink::RenderObject*);
784 #endif 786 #endif
785 787
786 #endif // RenderLayer_h 788 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698