| 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 #if ENABLE(ASSERT) | 145 #if ENABLE(ASSERT) |
| 146 bool verifyLayerInSquashingVector(const PaintLayer*); | 146 bool verifyLayerInSquashingVector(const PaintLayer*); |
| 147 #endif | 147 #endif |
| 148 | 148 |
| 149 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex, Vector
<PaintLayer*>& layersNeedingPaintInvalidation); | 149 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex, Vector
<PaintLayer*>& layersNeedingPaintInvalidation); |
| 150 void updateRenderingContext(); | 150 void updateRenderingContext(); |
| 151 void updateShouldFlattenTransform(); | 151 void updateShouldFlattenTransform(); |
| 152 void updateElementIdAndCompositorMutableProperties(); | 152 void updateElementIdAndCompositorMutableProperties(); |
| 153 | 153 |
| 154 // GraphicsLayerClient interface | 154 // GraphicsLayerClient interface |
| 155 void notifyAnimationStarted(const GraphicsLayer*, double monotonicTime, int
group) override; | |
| 156 void notifyFirstPaint() override; | 155 void notifyFirstPaint() override; |
| 157 void notifyFirstTextPaint() override; | 156 void notifyFirstTextPaint() override; |
| 158 void notifyFirstImagePaint() override; | 157 void notifyFirstImagePaint() override; |
| 159 | 158 |
| 160 IntRect computeInterestRect(const GraphicsLayer*, const IntRect& previousInt
erestRect) const override; | 159 IntRect computeInterestRect(const GraphicsLayer*, const IntRect& previousInt
erestRect) const override; |
| 161 LayoutSize subpixelAccumulation() const final; | 160 LayoutSize subpixelAccumulation() const final; |
| 162 bool needsRepaint() const override; | 161 bool needsRepaint() const override; |
| 163 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain
tingPhase, const IntRect& interestRect) const override; | 162 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain
tingPhase, const IntRect& interestRect) const override; |
| 164 | 163 |
| 165 bool isTrackingPaintInvalidations() const override; | 164 bool isTrackingPaintInvalidations() const override; |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 | 440 |
| 442 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 441 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 443 unsigned m_scrollingContentsAreEmpty : 1; | 442 unsigned m_scrollingContentsAreEmpty : 1; |
| 444 | 443 |
| 445 friend class CompositedLayerMappingTest; | 444 friend class CompositedLayerMappingTest; |
| 446 }; | 445 }; |
| 447 | 446 |
| 448 } // namespace blink | 447 } // namespace blink |
| 449 | 448 |
| 450 #endif // CompositedLayerMapping_h | 449 #endif // CompositedLayerMapping_h |
| OLD | NEW |