| 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 | 231 |
| 232 void clearBackingForLayerIncludingDescendants(RenderLayer*); | 232 void clearBackingForLayerIncludingDescendants(RenderLayer*); |
| 233 | 233 |
| 234 // Repaint the given rect (which is layer's coords), and regions of child la
yers that intersect that rect. | 234 // Repaint the given rect (which is layer's coords), and regions of child la
yers that intersect that rect. |
| 235 void recursiveRepaintLayer(RenderLayer*, const IntRect* = 0); | 235 void recursiveRepaintLayer(RenderLayer*, const IntRect* = 0); |
| 236 | 236 |
| 237 void addToOverlapMap(OverlapMap&, RenderLayer*, IntRect& layerBounds, bool&
boundsComputed); | 237 void addToOverlapMap(OverlapMap&, RenderLayer*, IntRect& layerBounds, bool&
boundsComputed); |
| 238 void addToOverlapMapRecursive(OverlapMap&, RenderLayer*, RenderLayer* ancest
orLayer = 0); | 238 void addToOverlapMapRecursive(OverlapMap&, RenderLayer*, RenderLayer* ancest
orLayer = 0); |
| 239 | 239 |
| 240 // Returns true if any layer's compositing changed | 240 // Returns true if any layer's compositing changed |
| 241 void computeCompositingRequirements(RenderLayer* ancestorLayer, RenderLayer*
, OverlapMap*, struct CompositingState&, bool& layersChanged, bool& descendantHa
s3DTransform, Vector<RenderLayer*>& unclippedDescendants); | 241 void computeCompositingRequirements(RenderLayer* ancestorLayer, RenderLayer*
, OverlapMap*, struct CompositingRecursionData&, bool& layersChanged, bool& desc
endantHas3DTransform, Vector<RenderLayer*>& unclippedDescendants); |
| 242 | 242 |
| 243 // Recurses down the tree, parenting descendant compositing layers and colle
cting an array of child layers for the current compositing layer. | 243 // Recurses down the tree, parenting descendant compositing layers and colle
cting an array of child layers for the current compositing layer. |
| 244 void rebuildCompositingLayerTree(RenderLayer*, Vector<GraphicsLayer*>& child
GraphicsLayersOfEnclosingLayer, int depth); | 244 void rebuildCompositingLayerTree(RenderLayer*, Vector<GraphicsLayer*>& child
GraphicsLayersOfEnclosingLayer, int depth); |
| 245 | 245 |
| 246 // Recurses down the tree, updating layer geometry only. | 246 // Recurses down the tree, updating layer geometry only. |
| 247 void updateLayerTreeGeometry(RenderLayer*, int depth); | 247 void updateLayerTreeGeometry(RenderLayer*, int depth); |
| 248 | 248 |
| 249 // Hook compositing layers together | 249 // Hook compositing layers together |
| 250 void setCompositingParent(RenderLayer* childLayer, RenderLayer* parentLayer)
; | 250 void setCompositingParent(RenderLayer* childLayer, RenderLayer* parentLayer)
; |
| 251 void removeCompositedChildren(RenderLayer*); | 251 void removeCompositedChildren(RenderLayer*); |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. | 360 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. |
| 361 double m_obligatoryBackingStoreBytes; | 361 double m_obligatoryBackingStoreBytes; |
| 362 double m_secondaryBackingStoreBytes; | 362 double m_secondaryBackingStoreBytes; |
| 363 #endif | 363 #endif |
| 364 }; | 364 }; |
| 365 | 365 |
| 366 | 366 |
| 367 } // namespace WebCore | 367 } // namespace WebCore |
| 368 | 368 |
| 369 #endif // RenderLayerCompositor_h | 369 #endif // RenderLayerCompositor_h |
| OLD | NEW |