| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 #include "core/layout/FilterEffectRenderer.h" | 57 #include "core/layout/FilterEffectRenderer.h" |
| 58 #include "core/layout/HitTestRequest.h" | 58 #include "core/layout/HitTestRequest.h" |
| 59 #include "core/layout/HitTestResult.h" | 59 #include "core/layout/HitTestResult.h" |
| 60 #include "core/layout/HitTestingTransformState.h" | 60 #include "core/layout/HitTestingTransformState.h" |
| 61 #include "core/layout/LayoutFlowThread.h" | 61 #include "core/layout/LayoutFlowThread.h" |
| 62 #include "core/layout/LayoutGeometryMap.h" | 62 #include "core/layout/LayoutGeometryMap.h" |
| 63 #include "core/layout/LayoutPart.h" | 63 #include "core/layout/LayoutPart.h" |
| 64 #include "core/layout/LayoutTreeAsText.h" | 64 #include "core/layout/LayoutTreeAsText.h" |
| 65 #include "core/layout/compositing/CompositedLayerMapping.h" | 65 #include "core/layout/compositing/CompositedLayerMapping.h" |
| 66 #include "core/layout/compositing/LayerCompositor.h" | 66 #include "core/layout/compositing/LayerCompositor.h" |
| 67 #include "core/layout/svg/LayoutSVGRoot.h" |
| 67 #include "core/layout/svg/ReferenceFilterBuilder.h" | 68 #include "core/layout/svg/ReferenceFilterBuilder.h" |
| 68 #include "core/page/Page.h" | 69 #include "core/page/Page.h" |
| 69 #include "core/page/scrolling/ScrollingCoordinator.h" | 70 #include "core/page/scrolling/ScrollingCoordinator.h" |
| 70 #include "core/rendering/RenderInline.h" | 71 #include "core/rendering/RenderInline.h" |
| 71 #include "core/rendering/RenderReplica.h" | 72 #include "core/rendering/RenderReplica.h" |
| 72 #include "core/rendering/RenderScrollbar.h" | 73 #include "core/rendering/RenderScrollbar.h" |
| 73 #include "core/rendering/RenderScrollbarPart.h" | 74 #include "core/rendering/RenderScrollbarPart.h" |
| 74 #include "core/rendering/RenderView.h" | 75 #include "core/rendering/RenderView.h" |
| 75 #include "core/rendering/svg/RenderSVGRoot.h" | |
| 76 #include "platform/LengthFunctions.h" | 76 #include "platform/LengthFunctions.h" |
| 77 #include "platform/Partitions.h" | 77 #include "platform/Partitions.h" |
| 78 #include "platform/RuntimeEnabledFeatures.h" | 78 #include "platform/RuntimeEnabledFeatures.h" |
| 79 #include "platform/TraceEvent.h" | 79 #include "platform/TraceEvent.h" |
| 80 #include "platform/geometry/FloatPoint3D.h" | 80 #include "platform/geometry/FloatPoint3D.h" |
| 81 #include "platform/geometry/FloatRect.h" | 81 #include "platform/geometry/FloatRect.h" |
| 82 #include "platform/geometry/TransformState.h" | 82 #include "platform/geometry/TransformState.h" |
| 83 #include "platform/graphics/filters/ReferenceFilter.h" | 83 #include "platform/graphics/filters/ReferenceFilter.h" |
| 84 #include "platform/graphics/filters/SourceGraphic.h" | 84 #include "platform/graphics/filters/SourceGraphic.h" |
| 85 #include "platform/transforms/ScaleTransformOperation.h" | 85 #include "platform/transforms/ScaleTransformOperation.h" |
| (...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1063 m_childNeedsCompositingInputsUpdate = false; | 1063 m_childNeedsCompositingInputsUpdate = false; |
| 1064 if (m_scrollableArea) | 1064 if (m_scrollableArea) |
| 1065 m_scrollableArea->updateNeedsCompositedScrolling(); | 1065 m_scrollableArea->updateNeedsCompositedScrolling(); |
| 1066 } | 1066 } |
| 1067 | 1067 |
| 1068 bool Layer::hasNonIsolatedDescendantWithBlendMode() const | 1068 bool Layer::hasNonIsolatedDescendantWithBlendMode() const |
| 1069 { | 1069 { |
| 1070 if (descendantDependentCompositingInputs().hasNonIsolatedDescendantWithBlend
Mode) | 1070 if (descendantDependentCompositingInputs().hasNonIsolatedDescendantWithBlend
Mode) |
| 1071 return true; | 1071 return true; |
| 1072 if (renderer()->isSVGRoot()) | 1072 if (renderer()->isSVGRoot()) |
| 1073 return toRenderSVGRoot(renderer())->hasNonIsolatedBlendingDescendants(); | 1073 return toLayoutSVGRoot(renderer())->hasNonIsolatedBlendingDescendants(); |
| 1074 return false; | 1074 return false; |
| 1075 } | 1075 } |
| 1076 | 1076 |
| 1077 void Layer::setCompositingReasons(CompositingReasons reasons, CompositingReasons
mask) | 1077 void Layer::setCompositingReasons(CompositingReasons reasons, CompositingReasons
mask) |
| 1078 { | 1078 { |
| 1079 if ((compositingReasons() & mask) == (reasons & mask)) | 1079 if ((compositingReasons() & mask) == (reasons & mask)) |
| 1080 return; | 1080 return; |
| 1081 m_compositingReasons = (reasons & mask) | (compositingReasons() & ~mask); | 1081 m_compositingReasons = (reasons & mask) | (compositingReasons() & ~mask); |
| 1082 } | 1082 } |
| 1083 | 1083 |
| (...skipping 1866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2950 } | 2950 } |
| 2951 } | 2951 } |
| 2952 | 2952 |
| 2953 void showLayerTree(const blink::LayoutObject* renderer) | 2953 void showLayerTree(const blink::LayoutObject* renderer) |
| 2954 { | 2954 { |
| 2955 if (!renderer) | 2955 if (!renderer) |
| 2956 return; | 2956 return; |
| 2957 showLayerTree(renderer->enclosingLayer()); | 2957 showLayerTree(renderer->enclosingLayer()); |
| 2958 } | 2958 } |
| 2959 #endif | 2959 #endif |
| OLD | NEW |