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 | 27 |
28 #include "core/frame/Settings.h" | 28 #include "core/frame/Settings.h" |
29 #include "core/rendering/svg/RenderSVGResourceFilterPrimitive.h" | 29 #include "core/rendering/svg/RenderSVGResourceFilterPrimitive.h" |
30 #include "core/rendering/svg/SVGRenderingContext.h" | 30 #include "core/rendering/svg/SVGRenderingContext.h" |
31 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" | 31 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" |
32 #include "platform/graphics/UnacceleratedImageBufferSurface.h" | 32 #include "platform/graphics/UnacceleratedImageBufferSurface.h" |
33 #include "platform/graphics/filters/SkiaImageFilterBuilder.h" | 33 #include "platform/graphics/filters/SkiaImageFilterBuilder.h" |
34 #include "platform/graphics/filters/SourceAlpha.h" | 34 #include "platform/graphics/filters/SourceAlpha.h" |
35 #include "platform/graphics/filters/SourceGraphic.h" | 35 #include "platform/graphics/filters/SourceGraphic.h" |
36 | 36 |
37 using namespace std; | |
38 | |
39 namespace WebCore { | 37 namespace WebCore { |
40 | 38 |
41 const RenderSVGResourceType RenderSVGResourceFilter::s_resourceType = FilterReso
urceType; | 39 const RenderSVGResourceType RenderSVGResourceFilter::s_resourceType = FilterReso
urceType; |
42 | 40 |
43 RenderSVGResourceFilter::RenderSVGResourceFilter(SVGFilterElement* node) | 41 RenderSVGResourceFilter::RenderSVGResourceFilter(SVGFilterElement* node) |
44 : RenderSVGResourceContainer(node) | 42 : RenderSVGResourceContainer(node) |
45 { | 43 { |
46 } | 44 } |
47 | 45 |
48 RenderSVGResourceFilter::~RenderSVGResourceFilter() | 46 RenderSVGResourceFilter::~RenderSVGResourceFilter() |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 markAllClientLayersForInvalidation(); | 416 markAllClientLayersForInvalidation(); |
419 } | 417 } |
420 | 418 |
421 FloatRect RenderSVGResourceFilter::drawingRegion(RenderObject* object) const | 419 FloatRect RenderSVGResourceFilter::drawingRegion(RenderObject* object) const |
422 { | 420 { |
423 FilterData* filterData = m_filter.get(object); | 421 FilterData* filterData = m_filter.get(object); |
424 return filterData ? filterData->drawingRegion : FloatRect(); | 422 return filterData ? filterData->drawingRegion : FloatRect(); |
425 } | 423 } |
426 | 424 |
427 } | 425 } |
OLD | NEW |