| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 notifyFirstPaint() override; |
| 159 void notifyFirstTextPaint() override; | 159 void notifyFirstTextPaint() override; |
| 160 void notifyFirstImagePaint() override; | 160 void notifyFirstImagePaint() override; |
| 161 void notifyPaint() override; |
| 161 | 162 |
| 162 IntRect computeInterestRect(const GraphicsLayer*, const IntRect& previousInt
erestRect) const override; | 163 IntRect computeInterestRect(const GraphicsLayer*, const IntRect& previousInt
erestRect) const override; |
| 163 LayoutSize subpixelAccumulation() const final; | 164 LayoutSize subpixelAccumulation() const final; |
| 164 bool needsRepaint(const GraphicsLayer&) const override; | 165 bool needsRepaint(const GraphicsLayer&) const override; |
| 165 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain
tingPhase, const IntRect& interestRect) const override; | 166 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain
tingPhase, const IntRect& interestRect) const override; |
| 166 | 167 |
| 167 bool isTrackingPaintInvalidations() const override; | 168 bool isTrackingPaintInvalidations() const override; |
| 168 | 169 |
| 169 #if ENABLE(ASSERT) | 170 #if ENABLE(ASSERT) |
| 170 void verifyNotPainting() override; | 171 void verifyNotPainting() override; |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 | 456 |
| 456 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 457 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 457 unsigned m_scrollingContentsAreEmpty : 1; | 458 unsigned m_scrollingContentsAreEmpty : 1; |
| 458 | 459 |
| 459 friend class CompositedLayerMappingTest; | 460 friend class CompositedLayerMappingTest; |
| 460 }; | 461 }; |
| 461 | 462 |
| 462 } // namespace blink | 463 } // namespace blink |
| 463 | 464 |
| 464 #endif // CompositedLayerMapping_h | 465 #endif // CompositedLayerMapping_h |
| OLD | NEW |