OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 | 197 |
198 void finishAccumulatingSquashingLayers( | 198 void finishAccumulatingSquashingLayers( |
199 size_t nextSquashedLayerIndex, | 199 size_t nextSquashedLayerIndex, |
200 Vector<PaintLayer*>& layersNeedingPaintInvalidation); | 200 Vector<PaintLayer*>& layersNeedingPaintInvalidation); |
201 void updateRenderingContext(); | 201 void updateRenderingContext(); |
202 void updateShouldFlattenTransform(); | 202 void updateShouldFlattenTransform(); |
203 void updateElementIdAndCompositorMutableProperties(); | 203 void updateElementIdAndCompositorMutableProperties(); |
204 | 204 |
205 // GraphicsLayerClient interface | 205 // GraphicsLayerClient interface |
206 void invalidateTargetElementForTesting() override; | 206 void invalidateTargetElementForTesting() override; |
207 void notifyPaint(bool isFirstPaint, | |
208 bool textPainted, | |
209 bool imagePainted) override; | |
210 | |
211 IntRect computeInterestRect( | 207 IntRect computeInterestRect( |
212 const GraphicsLayer*, | 208 const GraphicsLayer*, |
213 const IntRect& previousInterestRect) const override; | 209 const IntRect& previousInterestRect) const override; |
214 LayoutSize subpixelAccumulation() const final; | 210 LayoutSize subpixelAccumulation() const final; |
215 bool needsRepaint(const GraphicsLayer&) const override; | 211 bool needsRepaint(const GraphicsLayer&) const override; |
216 void paintContents(const GraphicsLayer*, | 212 void paintContents(const GraphicsLayer*, |
217 GraphicsContext&, | 213 GraphicsContext&, |
218 GraphicsLayerPaintingPhase, | 214 GraphicsLayerPaintingPhase, |
219 const IntRect& interestRect) const override; | 215 const IntRect& interestRect) const override; |
220 | 216 |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
691 // layer and the graphics layer because the scrolling contents layer is | 687 // layer and the graphics layer because the scrolling contents layer is |
692 // clipped by the padding box. | 688 // clipped by the padding box. |
693 unsigned m_backgroundPaintsOntoGraphicsLayer : 1; | 689 unsigned m_backgroundPaintsOntoGraphicsLayer : 1; |
694 | 690 |
695 friend class CompositedLayerMappingTest; | 691 friend class CompositedLayerMappingTest; |
696 }; | 692 }; |
697 | 693 |
698 } // namespace blink | 694 } // namespace blink |
699 | 695 |
700 #endif // CompositedLayerMapping_h | 696 #endif // CompositedLayerMapping_h |
OLD | NEW |