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 * Copyright (C) 2013 Google Inc. All rights reserved. | 7 * Copyright (C) 2013 Google Inc. All rights reserved. |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 10 matching lines...) Expand all Loading... |
21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
22 * Boston, MA 02110-1301, USA. | 22 * Boston, MA 02110-1301, USA. |
23 */ | 23 */ |
24 | 24 |
25 #include "config.h" | 25 #include "config.h" |
26 | 26 |
27 #include "core/platform/graphics/filters/FEDisplacementMap.h" | 27 #include "core/platform/graphics/filters/FEDisplacementMap.h" |
28 | 28 |
29 #include "core/platform/graphics/GraphicsContext.h" | 29 #include "core/platform/graphics/GraphicsContext.h" |
30 #include "core/platform/graphics/filters/Filter.h" | 30 #include "core/platform/graphics/filters/Filter.h" |
31 #include "core/rendering/RenderTreeAsText.h" | |
32 #include "platform/text/TextStream.h" | 31 #include "platform/text/TextStream.h" |
33 #include "wtf/Uint8ClampedArray.h" | 32 #include "wtf/Uint8ClampedArray.h" |
34 | 33 |
35 #include "SkBitmapSource.h" | 34 #include "SkBitmapSource.h" |
36 #include "SkDisplacementMapEffect.h" | 35 #include "SkDisplacementMapEffect.h" |
37 #include "core/platform/graphics/filters/SkiaImageFilterBuilder.h" | 36 #include "core/platform/graphics/filters/SkiaImageFilterBuilder.h" |
38 #include "core/platform/graphics/skia/NativeImageSkia.h" | 37 #include "core/platform/graphics/skia/NativeImageSkia.h" |
39 | 38 |
40 namespace WebCore { | 39 namespace WebCore { |
41 | 40 |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 FilterEffect::externalRepresentation(ts); | 254 FilterEffect::externalRepresentation(ts); |
256 ts << " scale=\"" << m_scale << "\" " | 255 ts << " scale=\"" << m_scale << "\" " |
257 << "xChannelSelector=\"" << m_xChannelSelector << "\" " | 256 << "xChannelSelector=\"" << m_xChannelSelector << "\" " |
258 << "yChannelSelector=\"" << m_yChannelSelector << "\"]\n"; | 257 << "yChannelSelector=\"" << m_yChannelSelector << "\"]\n"; |
259 inputEffect(0)->externalRepresentation(ts, indent + 1); | 258 inputEffect(0)->externalRepresentation(ts, indent + 1); |
260 inputEffect(1)->externalRepresentation(ts, indent + 1); | 259 inputEffect(1)->externalRepresentation(ts, indent + 1); |
261 return ts; | 260 return ts; |
262 } | 261 } |
263 | 262 |
264 } // namespace WebCore | 263 } // namespace WebCore |
OLD | NEW |