| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 | 147 |
| 148 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex); | 148 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex); |
| 149 void updateRenderingContext(); | 149 void updateRenderingContext(); |
| 150 void updateShouldFlattenTransform(); | 150 void updateShouldFlattenTransform(); |
| 151 | 151 |
| 152 // GraphicsLayerClient interface | 152 // GraphicsLayerClient interface |
| 153 void notifyAnimationStarted(const GraphicsLayer*, double monotonicTime, int
group) override; | 153 void notifyAnimationStarted(const GraphicsLayer*, double monotonicTime, int
group) override; |
| 154 void notifyFirstPaint() override; | 154 void notifyFirstPaint() override; |
| 155 void notifyFirstTextPaint() override; | 155 void notifyFirstTextPaint() override; |
| 156 void notifyFirstImagePaint() override; | 156 void notifyFirstImagePaint() override; |
| 157 void notifyPaintInvalidation(const IntRect* visualRect, int paintCount) over
ride; |
| 157 | 158 |
| 158 IntRect computeInterestRect(const GraphicsLayer*, const IntRect& previousInt
erestRect) const override; | 159 IntRect computeInterestRect(const GraphicsLayer*, const IntRect& previousInt
erestRect) const override; |
| 159 bool needsRepaint() const override; | 160 bool needsRepaint() const override; |
| 160 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain
tingPhase, const IntRect& interestRect) const override; | 161 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain
tingPhase, const IntRect& interestRect) const override; |
| 161 | 162 |
| 162 bool isTrackingPaintInvalidations() const override; | 163 bool isTrackingPaintInvalidations() const override; |
| 163 | 164 |
| 164 #if ENABLE(ASSERT) | 165 #if ENABLE(ASSERT) |
| 165 void verifyNotPainting() override; | 166 void verifyNotPainting() override; |
| 166 #endif | 167 #endif |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 | 444 |
| 444 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 445 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 445 unsigned m_scrollingContentsAreEmpty : 1; | 446 unsigned m_scrollingContentsAreEmpty : 1; |
| 446 | 447 |
| 447 friend class CompositedLayerMappingTest; | 448 friend class CompositedLayerMappingTest; |
| 448 }; | 449 }; |
| 449 | 450 |
| 450 } // namespace blink | 451 } // namespace blink |
| 451 | 452 |
| 452 #endif // CompositedLayerMapping_h | 453 #endif // CompositedLayerMapping_h |
| OLD | NEW |