| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
| 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "core/rendering/svg/RenderSVGResourceContainer.h" | 27 #include "core/rendering/svg/RenderSVGResourceContainer.h" |
| 28 #include "core/svg/SVGFilterElement.h" | 28 #include "core/svg/SVGFilterElement.h" |
| 29 #include "core/svg/graphics/filters/SVGFilter.h" | 29 #include "core/svg/graphics/filters/SVGFilter.h" |
| 30 #include "core/svg/graphics/filters/SVGFilterBuilder.h" | 30 #include "core/svg/graphics/filters/SVGFilterBuilder.h" |
| 31 | 31 |
| 32 namespace blink { | 32 namespace blink { |
| 33 | 33 |
| 34 struct FilterData { | 34 struct FilterData { |
| 35 WTF_MAKE_FAST_ALLOCATED; | 35 WTF_MAKE_FAST_ALLOCATED; |
| 36 public: | 36 public: |
| 37 enum FilterDataState { PaintingSource, Applying, Built, CycleDetected }; | 37 enum FilterDataState { PaintingSource, Built, CycleDetected }; |
| 38 | 38 |
| 39 FilterData() | 39 FilterData() |
| 40 : state(PaintingSource) | 40 : state(PaintingSource) |
| 41 { | 41 { |
| 42 } | 42 } |
| 43 | 43 |
| 44 RefPtr<SVGFilter> filter; | 44 RefPtr<SVGFilter> filter; |
| 45 RefPtr<SVGFilterBuilder> builder; | 45 RefPtr<SVGFilterBuilder> builder; |
| 46 FloatRect boundaries; | 46 FloatRect boundaries; |
| 47 FloatRect drawingRegion; | 47 FloatRect drawingRegion; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 private: | 83 private: |
| 84 typedef HashMap<RenderObject*, OwnPtr<FilterData> > FilterMap; | 84 typedef HashMap<RenderObject*, OwnPtr<FilterData> > FilterMap; |
| 85 FilterMap m_filter; | 85 FilterMap m_filter; |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGResourceFilter, isSVGResourceFilter()); | 88 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGResourceFilter, isSVGResourceFilter()); |
| 89 | 89 |
| 90 } | 90 } |
| 91 | 91 |
| 92 #endif | 92 #endif |
| OLD | NEW |