Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: Source/platform/graphics/filters/FEGaussianBlur.cpp

Issue 604373003: [WIP] Supporting arm_neon_optional flag for blink platform. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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) 2010 Igalia, S.L. 6 * Copyright (C) 2010 Igalia, S.L.
7 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 7 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
8 * Copyright (C) 2013 Google Inc. All rights reserved. 8 * Copyright (C) 2013 Google Inc. All rights reserved.
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 10 matching lines...) Expand all
21 * along with this library; see the file COPYING.LIB. If not, write to 21 * along with this library; see the file COPYING.LIB. If not, write to
22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23 * Boston, MA 02110-1301, USA. 23 * Boston, MA 02110-1301, USA.
24 */ 24 */
25 25
26 #include "config.h" 26 #include "config.h"
27 27
28 #include "platform/graphics/filters/FEGaussianBlur.h" 28 #include "platform/graphics/filters/FEGaussianBlur.h"
29 29
30 #include "platform/graphics/GraphicsContext.h" 30 #include "platform/graphics/GraphicsContext.h"
31 #if HAVE(ARM_NEON_INTRINSICS)
31 #include "platform/graphics/cpu/arm/filters/FEGaussianBlurNEON.h" 32 #include "platform/graphics/cpu/arm/filters/FEGaussianBlurNEON.h"
33 #endif
32 #include "platform/graphics/filters/ParallelJobs.h" 34 #include "platform/graphics/filters/ParallelJobs.h"
33 #include "platform/graphics/filters/SkiaImageFilterBuilder.h" 35 #include "platform/graphics/filters/SkiaImageFilterBuilder.h"
34 #include "platform/text/TextStream.h" 36 #include "platform/text/TextStream.h"
35 #include "wtf/MathExtras.h" 37 #include "wtf/MathExtras.h"
36 #include "wtf/Uint8ClampedArray.h" 38 #include "wtf/Uint8ClampedArray.h"
37 39
38 #include "SkBlurImageFilter.h" 40 #include "SkBlurImageFilter.h"
39 41
40 static inline float gaussianKernelFactor() 42 static inline float gaussianKernelFactor()
41 { 43 {
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 { 179 {
178 writeIndent(ts, indent); 180 writeIndent(ts, indent);
179 ts << "[feGaussianBlur"; 181 ts << "[feGaussianBlur";
180 FilterEffect::externalRepresentation(ts); 182 FilterEffect::externalRepresentation(ts);
181 ts << " stdDeviation=\"" << m_stdX << ", " << m_stdY << "\"]\n"; 183 ts << " stdDeviation=\"" << m_stdX << ", " << m_stdY << "\"]\n";
182 inputEffect(0)->externalRepresentation(ts, indent + 1); 184 inputEffect(0)->externalRepresentation(ts, indent + 1);
183 return ts; 185 return ts;
184 } 186 }
185 187
186 } // namespace blink 188 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/graphics/filters/FEComposite.cpp ('k') | Source/platform/graphics/filters/FilterEffect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698