| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 // Returns true if the assignment actually changed the assigned squashing la
yer. | 141 // Returns true if the assignment actually changed the assigned squashing la
yer. |
| 142 bool updateSquashingLayerAssignment(PaintLayer* squashedLayer, size_t nextSq
uashedLayerIndex); | 142 bool updateSquashingLayerAssignment(PaintLayer* squashedLayer, size_t nextSq
uashedLayerIndex); |
| 143 void removeLayerFromSquashingGraphicsLayer(const PaintLayer*); | 143 void removeLayerFromSquashingGraphicsLayer(const PaintLayer*); |
| 144 #if ENABLE(ASSERT) | 144 #if ENABLE(ASSERT) |
| 145 bool verifyLayerInSquashingVector(const PaintLayer*); | 145 bool verifyLayerInSquashingVector(const PaintLayer*); |
| 146 #endif | 146 #endif |
| 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 void updateElementIdAndCompositorMutableProperties(); |
| 151 | 152 |
| 152 // GraphicsLayerClient interface | 153 // GraphicsLayerClient interface |
| 153 void notifyAnimationStarted(const GraphicsLayer*, double monotonicTime, int
group) override; | 154 void notifyAnimationStarted(const GraphicsLayer*, double monotonicTime, int
group) override; |
| 154 void notifyFirstPaint() override; | 155 void notifyFirstPaint() override; |
| 155 void notifyFirstTextPaint() override; | 156 void notifyFirstTextPaint() override; |
| 156 void notifyFirstImagePaint() override; | 157 void notifyFirstImagePaint() override; |
| 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; |
| (...skipping 282 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 |