| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 #if ENABLE(ASSERT) | 148 #if ENABLE(ASSERT) |
| 149 bool verifyLayerInSquashingVector(const PaintLayer*); | 149 bool verifyLayerInSquashingVector(const PaintLayer*); |
| 150 #endif | 150 #endif |
| 151 | 151 |
| 152 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex, Vector
<PaintLayer*>& layersNeedingPaintInvalidation); | 152 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex, Vector
<PaintLayer*>& layersNeedingPaintInvalidation); |
| 153 void updateRenderingContext(); | 153 void updateRenderingContext(); |
| 154 void updateShouldFlattenTransform(); | 154 void updateShouldFlattenTransform(); |
| 155 void updateElementIdAndCompositorMutableProperties(); | 155 void updateElementIdAndCompositorMutableProperties(); |
| 156 | 156 |
| 157 // GraphicsLayerClient interface | 157 // GraphicsLayerClient interface |
| 158 void notifyFirstPaint() override; | 158 void notifyPaint(bool isFirstPaint, bool textPainted, bool imagePainted) ove
rride; |
| 159 void notifyFirstTextPaint() override; | |
| 160 void notifyFirstImagePaint() override; | |
| 161 | 159 |
| 162 IntRect computeInterestRect(const GraphicsLayer*, const IntRect& previousInt
erestRect) const override; | 160 IntRect computeInterestRect(const GraphicsLayer*, const IntRect& previousInt
erestRect) const override; |
| 163 LayoutSize subpixelAccumulation() const final; | 161 LayoutSize subpixelAccumulation() const final; |
| 164 bool needsRepaint(const GraphicsLayer&) const override; | 162 bool needsRepaint(const GraphicsLayer&) const override; |
| 165 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain
tingPhase, const IntRect& interestRect) const override; | 163 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain
tingPhase, const IntRect& interestRect) const override; |
| 166 | 164 |
| 167 bool isTrackingPaintInvalidations() const override; | 165 bool isTrackingPaintInvalidations() const override; |
| 168 | 166 |
| 169 #if ENABLE(ASSERT) | 167 #if ENABLE(ASSERT) |
| 170 void verifyNotPainting() override; | 168 void verifyNotPainting() override; |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 | 453 |
| 456 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 454 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 457 unsigned m_scrollingContentsAreEmpty : 1; | 455 unsigned m_scrollingContentsAreEmpty : 1; |
| 458 | 456 |
| 459 friend class CompositedLayerMappingTest; | 457 friend class CompositedLayerMappingTest; |
| 460 }; | 458 }; |
| 461 | 459 |
| 462 } // namespace blink | 460 } // namespace blink |
| 463 | 461 |
| 464 #endif // CompositedLayerMapping_h | 462 #endif // CompositedLayerMapping_h |
| OLD | NEW |