| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. |
| 3 * | 3 * |
| 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 5 * | 5 * |
| 6 * Other contributors: | 6 * Other contributors: |
| 7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
| 9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
| 10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
| (...skipping 3539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3550 if (RenderLayer* compositingParent = enclosingCompositingLayer(ExcludeSe
lf)) | 3550 if (RenderLayer* compositingParent = enclosingCompositingLayer(ExcludeSe
lf)) |
| 3551 compositingParent->compositedLayerMapping()->setNeedsGeometryUpdate(
); | 3551 compositingParent->compositedLayerMapping()->setNeedsGeometryUpdate(
); |
| 3552 } | 3552 } |
| 3553 | 3553 |
| 3554 m_compositedLayerMapping.clear(); | 3554 m_compositedLayerMapping.clear(); |
| 3555 | 3555 |
| 3556 if (!layerBeingDestroyed) | 3556 if (!layerBeingDestroyed) |
| 3557 updateOrRemoveFilterEffectRenderer(); | 3557 updateOrRemoveFilterEffectRenderer(); |
| 3558 } | 3558 } |
| 3559 | 3559 |
| 3560 void RenderLayer::setGroupedMapping(CompositedLayerMapping* groupedMapping, bool
layerBeingDestroyed) | |
| 3561 { | |
| 3562 if (!layerBeingDestroyed && m_groupedMapping) | |
| 3563 m_groupedMapping->setNeedsGeometryUpdate(); | |
| 3564 m_groupedMapping = groupedMapping; | |
| 3565 if (!layerBeingDestroyed && m_groupedMapping) | |
| 3566 m_groupedMapping->setNeedsGeometryUpdate(); | |
| 3567 } | |
| 3568 | |
| 3569 bool RenderLayer::hasCompositedMask() const | 3560 bool RenderLayer::hasCompositedMask() const |
| 3570 { | 3561 { |
| 3571 return m_compositedLayerMapping && m_compositedLayerMapping->hasMaskLayer(); | 3562 return m_compositedLayerMapping && m_compositedLayerMapping->hasMaskLayer(); |
| 3572 } | 3563 } |
| 3573 | 3564 |
| 3574 bool RenderLayer::hasCompositedClippingMask() const | 3565 bool RenderLayer::hasCompositedClippingMask() const |
| 3575 { | 3566 { |
| 3576 return m_compositedLayerMapping && m_compositedLayerMapping->hasChildClippin
gMaskLayer(); | 3567 return m_compositedLayerMapping && m_compositedLayerMapping->hasChildClippin
gMaskLayer(); |
| 3577 } | 3568 } |
| 3578 | 3569 |
| (...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4073 } | 4064 } |
| 4074 } | 4065 } |
| 4075 | 4066 |
| 4076 void showLayerTree(const WebCore::RenderObject* renderer) | 4067 void showLayerTree(const WebCore::RenderObject* renderer) |
| 4077 { | 4068 { |
| 4078 if (!renderer) | 4069 if (!renderer) |
| 4079 return; | 4070 return; |
| 4080 showLayerTree(renderer->enclosingLayer()); | 4071 showLayerTree(renderer->enclosingLayer()); |
| 4081 } | 4072 } |
| 4082 #endif | 4073 #endif |
| OLD | NEW |