OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 void recursiveRepaintLayer(RenderLayer*); | 265 void recursiveRepaintLayer(RenderLayer*); |
266 | 266 |
267 void computeCompositingRequirements(RenderLayer* ancestorLayer, RenderLayer*
, OverlapMap&, struct CompositingRecursionData&, bool& descendantHas3DTransform,
Vector<RenderLayer*>& unclippedDescendants, IntRect& absoluteDecendantBoundingB
ox); | 267 void computeCompositingRequirements(RenderLayer* ancestorLayer, RenderLayer*
, OverlapMap&, struct CompositingRecursionData&, bool& descendantHas3DTransform,
Vector<RenderLayer*>& unclippedDescendants, IntRect& absoluteDecendantBoundingB
ox); |
268 | 268 |
269 // Defines which RenderLayers will paint into which composited backings, by
allocating and destroying CompositedLayerMappings as needed. | 269 // Defines which RenderLayers will paint into which composited backings, by
allocating and destroying CompositedLayerMappings as needed. |
270 void assignLayersToBackings(RenderLayer*, bool& layersChanged); | 270 void assignLayersToBackings(RenderLayer*, bool& layersChanged); |
271 void assignLayersToBackingsInternal(RenderLayer*, SquashingState&, bool& lay
ersChanged); | 271 void assignLayersToBackingsInternal(RenderLayer*, SquashingState&, bool& lay
ersChanged); |
272 | 272 |
273 // Hook compositing layers together | 273 // Hook compositing layers together |
274 void setCompositingParent(RenderLayer* childLayer, RenderLayer* parentLayer)
; | 274 void setCompositingParent(RenderLayer* childLayer, RenderLayer* parentLayer)
; |
275 void removeCompositedChildren(RenderLayer*); | |
276 | 275 |
277 bool hasAnyAdditionalCompositedLayers(const RenderLayer* rootLayer) const; | 276 bool hasAnyAdditionalCompositedLayers(const RenderLayer* rootLayer) const; |
278 | 277 |
279 void ensureRootLayer(); | 278 void ensureRootLayer(); |
280 void destroyRootLayer(); | 279 void destroyRootLayer(); |
281 | 280 |
282 void attachRootLayer(RootLayerAttachment); | 281 void attachRootLayer(RootLayerAttachment); |
283 void detachRootLayer(); | 282 void detachRootLayer(); |
284 | 283 |
285 void updateOverflowControlsLayers(); | 284 void updateOverflowControlsLayers(); |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; | 349 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; |
351 OwnPtr<GraphicsLayer> m_layerForScrollCorner; | 350 OwnPtr<GraphicsLayer> m_layerForScrollCorner; |
352 #if USE(RUBBER_BANDING) | 351 #if USE(RUBBER_BANDING) |
353 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; | 352 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; |
354 #endif | 353 #endif |
355 }; | 354 }; |
356 | 355 |
357 } // namespace WebCore | 356 } // namespace WebCore |
358 | 357 |
359 #endif // RenderLayerCompositor_h | 358 #endif // RenderLayerCompositor_h |
OLD | NEW |