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

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

Issue 337793004: Repaint squashing content in cases where the entire frame is repainting. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merged. Created 6 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/rendering/RenderLayer.cpp ('k') | Source/core/rendering/RenderLayerRepainter.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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 void repaintAfterLayout(bool shouldCheckForRepaint); 72 void repaintAfterLayout(bool shouldCheckForRepaint);
73 void repaintIncludingNonCompositingDescendants(); 73 void repaintIncludingNonCompositingDescendants();
74 74
75 void setRepaintStatus(RepaintStatus status) { m_repaintStatus = status; } 75 void setRepaintStatus(RepaintStatus status) { m_repaintStatus = status; }
76 76
77 void computeRepaintRects(); 77 void computeRepaintRects();
78 void computeRepaintRectsIncludingNonCompositingDescendants(); 78 void computeRepaintRectsIncludingNonCompositingDescendants();
79 79
80 // Indicate that the layer contents need to be repainted. Only has an effect 80 // Indicate that the layer contents need to be repainted. Only has an effect
81 // if layer compositing is being used, 81 // if layer compositing is being used,
82 void setBackingNeedsRepaint();
83 void setBackingNeedsRepaintInRect(const LayoutRect&); // r is in the coordin ate space of the layer's render object 82 void setBackingNeedsRepaintInRect(const LayoutRect&); // r is in the coordin ate space of the layer's render object
84 83
85 void setFilterBackendNeedsRepaintingInRect(const LayoutRect&); 84 void setFilterBackendNeedsRepaintingInRect(const LayoutRect&);
86 85
87 private: 86 private:
88 void repaintIncludingNonCompositingDescendantsInternal(const RenderLayerMode lObject* repaintContainer); 87 void repaintIncludingNonCompositingDescendantsInternal(const RenderLayerMode lObject* repaintContainer);
89 88
90 bool shouldRepaintLayer() const; 89 bool shouldRepaintLayer() const;
91 90
92 void clearRepaintRects(); 91 void clearRepaintRects();
93 92
94 RenderLayer* enclosingFilterRepaintLayer() const; 93 RenderLayer* enclosingFilterRepaintLayer() const;
95 94
96 RenderLayerModelObject& m_renderer; 95 RenderLayerModelObject& m_renderer;
97 96
98 unsigned m_repaintStatus; // RepaintStatus 97 unsigned m_repaintStatus; // RepaintStatus
99 98
100 LayoutRect m_repaintRect; // Cached repaint rects. Used by layout. 99 LayoutRect m_repaintRect; // Cached repaint rects. Used by layout.
101 LayoutPoint m_offset; 100 LayoutPoint m_offset;
102 }; 101 };
103 102
104 } // namespace WebCore 103 } // namespace WebCore
105 104
106 #endif // RenderLayerRepainter_h 105 #endif // RenderLayerRepainter_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/rendering/RenderLayerRepainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698