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 14 matching lines...) Expand all Loading... |
25 #include "config.h" | 25 #include "config.h" |
26 | 26 |
27 #include "core/platform/graphics/filters/FEComposite.h" | 27 #include "core/platform/graphics/filters/FEComposite.h" |
28 | 28 |
29 #include "SkArithmeticMode.h" | 29 #include "SkArithmeticMode.h" |
30 #include "SkFlattenableBuffers.h" | 30 #include "SkFlattenableBuffers.h" |
31 #include "SkXfermodeImageFilter.h" | 31 #include "SkXfermodeImageFilter.h" |
32 | 32 |
33 #include "core/platform/graphics/GraphicsContext.h" | 33 #include "core/platform/graphics/GraphicsContext.h" |
34 #include "core/platform/graphics/cpu/arm/filters/FECompositeArithmeticNEON.h" | 34 #include "core/platform/graphics/cpu/arm/filters/FECompositeArithmeticNEON.h" |
35 #include "core/platform/graphics/filters/Filter.h" | |
36 #include "platform/text/TextStream.h" | 35 #include "platform/text/TextStream.h" |
37 #include "third_party/skia/include/core/SkDevice.h" | 36 #include "third_party/skia/include/core/SkDevice.h" |
38 | 37 |
39 #include "wtf/Uint8ClampedArray.h" | 38 #include "wtf/Uint8ClampedArray.h" |
40 | 39 |
41 #include "core/platform/graphics/filters/SkiaImageFilterBuilder.h" | 40 #include "core/platform/graphics/filters/SkiaImageFilterBuilder.h" |
42 | 41 |
43 namespace WebCore { | 42 namespace WebCore { |
44 | 43 |
45 FEComposite::FEComposite(Filter* filter, const CompositeOperationType& type, flo
at k1, float k2, float k3, float k4) | 44 FEComposite::FEComposite(Filter* filter, const CompositeOperationType& type, flo
at k1, float k2, float k3, float k4) |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 ts << " operation=\"" << m_type << "\""; | 390 ts << " operation=\"" << m_type << "\""; |
392 if (m_type == FECOMPOSITE_OPERATOR_ARITHMETIC) | 391 if (m_type == FECOMPOSITE_OPERATOR_ARITHMETIC) |
393 ts << " k1=\"" << m_k1 << "\" k2=\"" << m_k2 << "\" k3=\"" << m_k3 << "\
" k4=\"" << m_k4 << "\""; | 392 ts << " k1=\"" << m_k1 << "\" k2=\"" << m_k2 << "\" k3=\"" << m_k3 << "\
" k4=\"" << m_k4 << "\""; |
394 ts << "]\n"; | 393 ts << "]\n"; |
395 inputEffect(0)->externalRepresentation(ts, indent + 1); | 394 inputEffect(0)->externalRepresentation(ts, indent + 1); |
396 inputEffect(1)->externalRepresentation(ts, indent + 1); | 395 inputEffect(1)->externalRepresentation(ts, indent + 1); |
397 return ts; | 396 return ts; |
398 } | 397 } |
399 | 398 |
400 } // namespace WebCore | 399 } // namespace WebCore |
OLD | NEW |