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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 | 166 |
167 // Returns true if the assignment actually changed the assigned squashing la
yer. | 167 // Returns true if the assignment actually changed the assigned squashing la
yer. |
168 bool updateSquashingLayerAssignment(RenderLayer*, IntSize offsetFromSquashin
gCLM, size_t nextSquashedLayerIndex); | 168 bool updateSquashingLayerAssignment(RenderLayer*, IntSize offsetFromSquashin
gCLM, size_t nextSquashedLayerIndex); |
169 void removeRenderLayerFromSquashingGraphicsLayer(const RenderLayer*); | 169 void removeRenderLayerFromSquashingGraphicsLayer(const RenderLayer*); |
170 | 170 |
171 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex); | 171 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex); |
172 void updateRenderingContext(); | 172 void updateRenderingContext(); |
173 void updateShouldFlattenTransform(); | 173 void updateShouldFlattenTransform(); |
174 | 174 |
175 // GraphicsLayerClient interface | 175 // GraphicsLayerClient interface |
176 virtual void notifyAnimationStarted(const GraphicsLayer*, double wallClockTi
me, double monotonicTime) OVERRIDE; | 176 virtual void notifyAnimationStarted(const GraphicsLayer*, double monotonicTi
me) OVERRIDE; |
177 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL
ayerPaintingPhase, const IntRect& clip) OVERRIDE; | 177 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL
ayerPaintingPhase, const IntRect& clip) OVERRIDE; |
178 virtual bool isTrackingRepaints() const OVERRIDE; | 178 virtual bool isTrackingRepaints() const OVERRIDE; |
179 | 179 |
180 PassOwnPtr<Vector<FloatRect> > collectTrackedRepaintRects() const; | 180 PassOwnPtr<Vector<FloatRect> > collectTrackedRepaintRects() const; |
181 | 181 |
182 #ifndef NDEBUG | 182 #ifndef NDEBUG |
183 virtual void verifyNotPainting() OVERRIDE; | 183 virtual void verifyNotPainting() OVERRIDE; |
184 #endif | 184 #endif |
185 | 185 |
186 LayoutRect contentsBox() const; | 186 LayoutRect contentsBox() const; |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 bool m_isMainFrameRenderViewLayer; | 357 bool m_isMainFrameRenderViewLayer; |
358 bool m_requiresOwnBackingStoreForIntrinsicReasons; | 358 bool m_requiresOwnBackingStoreForIntrinsicReasons; |
359 bool m_requiresOwnBackingStoreForAncestorReasons; | 359 bool m_requiresOwnBackingStoreForAncestorReasons; |
360 bool m_canCompositeFilters; | 360 bool m_canCompositeFilters; |
361 bool m_backgroundLayerPaintsFixedRootBackground; | 361 bool m_backgroundLayerPaintsFixedRootBackground; |
362 }; | 362 }; |
363 | 363 |
364 } // namespace WebCore | 364 } // namespace WebCore |
365 | 365 |
366 #endif // CompositedLayerMapping_h | 366 #endif // CompositedLayerMapping_h |
OLD | NEW |