| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 | 224 |
| 225 // Whether the given RL needs to paint into its own separate backing (and he
nce would need its own CompositedLayerMapping). | 225 // Whether the given RL needs to paint into its own separate backing (and he
nce would need its own CompositedLayerMapping). |
| 226 bool needsOwnBacking(const RenderLayer*) const; | 226 bool needsOwnBacking(const RenderLayer*) const; |
| 227 | 227 |
| 228 void updateIfNeeded(); | 228 void updateIfNeeded(); |
| 229 | 229 |
| 230 void recursiveRepaintLayer(RenderLayer*); | 230 void recursiveRepaintLayer(RenderLayer*); |
| 231 | 231 |
| 232 void computeCompositingRequirements(RenderLayer* ancestorLayer, RenderLayer*
, OverlapMap&, struct CompositingRecursionData&, bool& descendantHas3DTransform,
Vector<RenderLayer*>& unclippedDescendants, IntRect& absoluteDecendantBoundingB
ox); | 232 void computeCompositingRequirements(RenderLayer* ancestorLayer, RenderLayer*
, OverlapMap&, struct CompositingRecursionData&, bool& descendantHas3DTransform,
Vector<RenderLayer*>& unclippedDescendants, IntRect& absoluteDecendantBoundingB
ox); |
| 233 | 233 |
| 234 // Hook compositing layers together | |
| 235 void setCompositingParent(RenderLayer* childLayer, RenderLayer* parentLayer)
; | |
| 236 | |
| 237 bool hasAnyAdditionalCompositedLayers(const RenderLayer* rootLayer) const; | 234 bool hasAnyAdditionalCompositedLayers(const RenderLayer* rootLayer) const; |
| 238 | 235 |
| 239 void ensureRootLayer(); | 236 void ensureRootLayer(); |
| 240 void destroyRootLayer(); | 237 void destroyRootLayer(); |
| 241 | 238 |
| 242 void attachRootLayer(RootLayerAttachment); | 239 void attachRootLayer(RootLayerAttachment); |
| 243 void detachRootLayer(); | 240 void detachRootLayer(); |
| 244 | 241 |
| 245 void updateOverflowControlsLayers(); | 242 void updateOverflowControlsLayers(); |
| 246 | 243 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; | 306 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; |
| 310 OwnPtr<GraphicsLayer> m_layerForScrollCorner; | 307 OwnPtr<GraphicsLayer> m_layerForScrollCorner; |
| 311 #if USE(RUBBER_BANDING) | 308 #if USE(RUBBER_BANDING) |
| 312 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; | 309 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; |
| 313 #endif | 310 #endif |
| 314 }; | 311 }; |
| 315 | 312 |
| 316 } // namespace WebCore | 313 } // namespace WebCore |
| 317 | 314 |
| 318 #endif // RenderLayerCompositor_h | 315 #endif // RenderLayerCompositor_h |
| OLD | NEW |