| 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 23 matching lines...) Expand all Loading... |
| 34 * applicable instead of those above. If you wish to allow use of your | 34 * applicable instead of those above. If you wish to allow use of your |
| 35 * version of this file only under the terms of one of those two | 35 * version of this file only under the terms of one of those two |
| 36 * licenses (the MPL or the GPL) and not to allow others to use your | 36 * licenses (the MPL or the GPL) and not to allow others to use your |
| 37 * version of this file under the LGPL, indicate your decision by | 37 * version of this file under the LGPL, indicate your decision by |
| 38 * deletingthe provisions above and replace them with the notice and | 38 * deletingthe provisions above and replace them with the notice and |
| 39 * other provisions required by the MPL or the GPL, as the case may be. | 39 * other provisions required by the MPL or the GPL, as the case may be. |
| 40 * If you do not delete the provisions above, a recipient may use your | 40 * If you do not delete the provisions above, a recipient may use your |
| 41 * version of this file under any of the LGPL, the MPL or the GPL. | 41 * version of this file under any of the LGPL, the MPL or the GPL. |
| 42 */ | 42 */ |
| 43 | 43 |
| 44 #include "config.h" | 44 #include "sky/engine/config.h" |
| 45 #include "core/rendering/RenderLayerRepainter.h" | 45 #include "sky/engine/core/rendering/RenderLayerRepainter.h" |
| 46 | 46 |
| 47 #include "core/rendering/FilterEffectRenderer.h" | 47 #include "sky/engine/core/rendering/FilterEffectRenderer.h" |
| 48 #include "core/rendering/RenderLayer.h" | 48 #include "sky/engine/core/rendering/RenderLayer.h" |
| 49 #include "core/rendering/RenderView.h" | 49 #include "sky/engine/core/rendering/RenderView.h" |
| 50 #include "core/rendering/compositing/CompositedLayerMapping.h" | 50 #include "sky/engine/core/rendering/compositing/CompositedLayerMapping.h" |
| 51 | 51 |
| 52 namespace blink { | 52 namespace blink { |
| 53 | 53 |
| 54 RenderLayerRepainter::RenderLayerRepainter(RenderLayerModelObject& renderer) | 54 RenderLayerRepainter::RenderLayerRepainter(RenderLayerModelObject& renderer) |
| 55 : m_renderer(renderer) | 55 : m_renderer(renderer) |
| 56 { | 56 { |
| 57 } | 57 } |
| 58 | 58 |
| 59 void RenderLayerRepainter::computePaintInvalidationRectsIncludingNonCompositingD
escendants() | 59 void RenderLayerRepainter::computePaintInvalidationRectsIncludingNonCompositingD
escendants() |
| 60 { | 60 { |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 RenderLayer* RenderLayerRepainter::enclosingFilterPaintInvalidationLayer() const | 159 RenderLayer* RenderLayerRepainter::enclosingFilterPaintInvalidationLayer() const |
| 160 { | 160 { |
| 161 for (const RenderLayer* curr = m_renderer.layer(); curr; curr = curr->parent
()) { | 161 for (const RenderLayer* curr = m_renderer.layer(); curr; curr = curr->parent
()) { |
| 162 if ((curr != m_renderer.layer() && curr->requiresFullLayerImageForFilter
s()) || curr->compositingState() == PaintsIntoOwnBacking || curr->isRootLayer()) | 162 if ((curr != m_renderer.layer() && curr->requiresFullLayerImageForFilter
s()) || curr->compositingState() == PaintsIntoOwnBacking || curr->isRootLayer()) |
| 163 return const_cast<RenderLayer*>(curr); | 163 return const_cast<RenderLayer*>(curr); |
| 164 } | 164 } |
| 165 return 0; | 165 return 0; |
| 166 } | 166 } |
| 167 | 167 |
| 168 } // namespace blink | 168 } // namespace blink |
| OLD | NEW |