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

Side by Side Diff: Source/core/paint/DeprecatedPaintLayer.h

Issue 1164713010: Invalidate non-composited subtree on needsPaintInvalidationLayer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
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 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 494
495 void updateOrRemoveFilterEffectBuilder(); 495 void updateOrRemoveFilterEffectBuilder();
496 496
497 void updateSelfPaintingLayer(); 497 void updateSelfPaintingLayer();
498 498
499 DeprecatedPaintLayer* enclosingTransformedAncestor() const; 499 DeprecatedPaintLayer* enclosingTransformedAncestor() const;
500 LayoutPoint computeOffsetFromTransformedAncestor() const; 500 LayoutPoint computeOffsetFromTransformedAncestor() const;
501 501
502 void didUpdateNeedsCompositedScrolling(); 502 void didUpdateNeedsCompositedScrolling();
503 503
504 void setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants();
505
506 bool hasSelfPaintingLayerDescendant() const 504 bool hasSelfPaintingLayerDescendant() const
507 { 505 {
508 if (m_hasSelfPaintingLayerDescendantDirty) 506 if (m_hasSelfPaintingLayerDescendantDirty)
509 updateHasSelfPaintingLayerDescendant(); 507 updateHasSelfPaintingLayerDescendant();
510 ASSERT(!m_hasSelfPaintingLayerDescendantDirty); 508 ASSERT(!m_hasSelfPaintingLayerDescendantDirty);
511 return m_hasSelfPaintingLayerDescendant; 509 return m_hasSelfPaintingLayerDescendant;
512 } 510 }
513 LayoutRect paintingExtent(const DeprecatedPaintLayer* rootLayer, const Layou tRect& paintDirtyRect, const LayoutSize& subPixelAccumulation, PaintBehavior); 511 LayoutRect paintingExtent(const DeprecatedPaintLayer* rootLayer, const Layou tRect& paintDirtyRect, const LayoutSize& subPixelAccumulation, PaintBehavior);
514 void appendSingleFragmentIgnoringPagination(DeprecatedPaintLayerFragments&, const DeprecatedPaintLayer* rootLayer, const LayoutRect& dirtyRect, ClipRectsCac heSlot, OverlayScrollbarSizeRelevancy = IgnoreOverlayScrollbarSize, ShouldRespec tOverflowClip = RespectOverflowClip, const LayoutPoint* offsetFromRoot = 0, cons t LayoutSize& subPixelAccumulation = LayoutSize()); 512 void appendSingleFragmentIgnoringPagination(DeprecatedPaintLayerFragments&, const DeprecatedPaintLayer* rootLayer, const LayoutRect& dirtyRect, ClipRectsCac heSlot, OverlayScrollbarSizeRelevancy = IgnoreOverlayScrollbarSize, ShouldRespec tOverflowClip = RespectOverflowClip, const LayoutPoint* offsetFromRoot = 0, cons t LayoutSize& subPixelAccumulation = LayoutSize());
515 void collectFragments(DeprecatedPaintLayerFragments&, const DeprecatedPaintL ayer* rootLayer, const LayoutRect& dirtyRect, 513 void collectFragments(DeprecatedPaintLayerFragments&, const DeprecatedPaintL ayer* rootLayer, const LayoutRect& dirtyRect,
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 720
723 } // namespace blink 721 } // namespace blink
724 722
725 #ifndef NDEBUG 723 #ifndef NDEBUG
726 // Outside the WebCore namespace for ease of invocation from gdb. 724 // Outside the WebCore namespace for ease of invocation from gdb.
727 void showLayerTree(const blink::DeprecatedPaintLayer*); 725 void showLayerTree(const blink::DeprecatedPaintLayer*);
728 void showLayerTree(const blink::LayoutObject*); 726 void showLayerTree(const blink::LayoutObject*);
729 #endif 727 #endif
730 728
731 #endif // Layer_h 729 #endif // Layer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698