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

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: Update expectations 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
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/paint/DeprecatedPaintLayer.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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 493
494 void updateOrRemoveFilterEffectBuilder(); 494 void updateOrRemoveFilterEffectBuilder();
495 495
496 void updateSelfPaintingLayer(); 496 void updateSelfPaintingLayer();
497 497
498 DeprecatedPaintLayer* enclosingTransformedAncestor() const; 498 DeprecatedPaintLayer* enclosingTransformedAncestor() const;
499 LayoutPoint computeOffsetFromTransformedAncestor() const; 499 LayoutPoint computeOffsetFromTransformedAncestor() const;
500 500
501 void didUpdateNeedsCompositedScrolling(); 501 void didUpdateNeedsCompositedScrolling();
502 502
503 void setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants();
504
505 bool hasSelfPaintingLayerDescendant() const 503 bool hasSelfPaintingLayerDescendant() const
506 { 504 {
507 if (m_hasSelfPaintingLayerDescendantDirty) 505 if (m_hasSelfPaintingLayerDescendantDirty)
508 updateHasSelfPaintingLayerDescendant(); 506 updateHasSelfPaintingLayerDescendant();
509 ASSERT(!m_hasSelfPaintingLayerDescendantDirty); 507 ASSERT(!m_hasSelfPaintingLayerDescendantDirty);
510 return m_hasSelfPaintingLayerDescendant; 508 return m_hasSelfPaintingLayerDescendant;
511 } 509 }
512 LayoutRect paintingExtent(const DeprecatedPaintLayer* rootLayer, const Layou tRect& paintDirtyRect, const LayoutSize& subPixelAccumulation, PaintBehavior); 510 LayoutRect paintingExtent(const DeprecatedPaintLayer* rootLayer, const Layou tRect& paintDirtyRect, const LayoutSize& subPixelAccumulation, PaintBehavior);
513 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()); 511 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());
514 void collectFragments(DeprecatedPaintLayerFragments&, const DeprecatedPaintL ayer* rootLayer, const LayoutRect& dirtyRect, 512 void collectFragments(DeprecatedPaintLayerFragments&, const DeprecatedPaintL ayer* rootLayer, const LayoutRect& dirtyRect,
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 710
713 } // namespace blink 711 } // namespace blink
714 712
715 #ifndef NDEBUG 713 #ifndef NDEBUG
716 // Outside the WebCore namespace for ease of invocation from gdb. 714 // Outside the WebCore namespace for ease of invocation from gdb.
717 void showLayerTree(const blink::DeprecatedPaintLayer*); 715 void showLayerTree(const blink::DeprecatedPaintLayer*);
718 void showLayerTree(const blink::LayoutObject*); 716 void showLayerTree(const blink::LayoutObject*);
719 #endif 717 #endif
720 718
721 #endif // Layer_h 719 #endif // Layer_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/paint/DeprecatedPaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698