Modified: trunk/Source/WebCore/ChangeLog (121950 => 121951)
--- trunk/Source/WebCore/ChangeLog 2012-07-06 10:04:56 UTC (rev 121950)
+++ trunk/Source/WebCore/ChangeLog 2012-07-06 10:05:07 UTC (rev 121951)
@@ -1,3 +1,17 @@
+2012-07-06 Gabor Rapcsanyi <[email protected]>
+
+ Fixing defines for NEON intrinsics.
+ https://bugs.webkit.org/show_bug.cgi?id=90666
+
+ Reviewed by Zoltan Herczeg.
+
+ Existing tests cover this issue.
+
+ * platform/graphics/filters/FEGaussianBlur.cpp:
+ (WebCore::FEGaussianBlur::platformApplyGeneric):
+ * platform/graphics/filters/arm/FEGaussianBlurNEON.h:
+ * platform/graphics/filters/arm/NEONHelpers.h:
+
2012-07-05 Vsevolod Vlasov <[email protected]>
Web Inspector: Workspace should dispatch WorkspaceReset event on navigation.
Modified: trunk/Source/WebCore/platform/graphics/filters/FEGaussianBlur.cpp (121950 => 121951)
--- trunk/Source/WebCore/platform/graphics/filters/FEGaussianBlur.cpp 2012-07-06 10:04:56 UTC (rev 121950)
+++ trunk/Source/WebCore/platform/graphics/filters/FEGaussianBlur.cpp 2012-07-06 10:05:07 UTC (rev 121951)
@@ -120,7 +120,7 @@
for (int i = 0; i < 3; ++i) {
if (kernelSizeX) {
kernelPosition(i, kernelSizeX, dxLeft, dxRight);
-#if CPU(ARM_NEON) && COMPILER(GCC)
+#if HAVE(ARM_NEON_INTRINSICS)
if (!isAlphaImage())
boxBlurNEON(src, dst, kernelSizeX, dxLeft, dxRight, 4, stride, paintSize.width(), paintSize.height());
else
@@ -133,7 +133,7 @@
if (kernelSizeY) {
kernelPosition(i, kernelSizeY, dyLeft, dyRight);
-#if CPU(ARM_NEON) && COMPILER(GCC)
+#if HAVE(ARM_NEON_INTRINSICS)
if (!isAlphaImage())
boxBlurNEON(src, dst, kernelSizeY, dyLeft, dyRight, stride, 4, paintSize.height(), paintSize.width());
else
Modified: trunk/Source/WebCore/platform/graphics/filters/arm/FEGaussianBlurNEON.h (121950 => 121951)
--- trunk/Source/WebCore/platform/graphics/filters/arm/FEGaussianBlurNEON.h 2012-07-06 10:04:56 UTC (rev 121950)
+++ trunk/Source/WebCore/platform/graphics/filters/arm/FEGaussianBlurNEON.h 2012-07-06 10:05:07 UTC (rev 121951)
@@ -29,7 +29,7 @@
#include <wtf/Platform.h>
-#if CPU(ARM_NEON) && COMPILER(GCC)
+#if ENABLE(FILTERS) && HAVE(ARM_NEON_INTRINSICS)
#include "FEGaussianBlur.h"
#include "NEONHelpers.h"
@@ -74,6 +74,6 @@
} // namespace WebCore
-#endif // CPU(ARM_NEON) && COMPILER(GCC)
+#endif // ENABLE(FILTERS) && HAVE(ARM_NEON_INTRINSICS)
#endif // FEGaussianBlurNEON_h
Modified: trunk/Source/WebCore/platform/graphics/filters/arm/NEONHelpers.h (121950 => 121951)
--- trunk/Source/WebCore/platform/graphics/filters/arm/NEONHelpers.h 2012-07-06 10:04:56 UTC (rev 121950)
+++ trunk/Source/WebCore/platform/graphics/filters/arm/NEONHelpers.h 2012-07-06 10:05:07 UTC (rev 121951)
@@ -29,7 +29,7 @@
#include <wtf/Platform.h>
-#if CPU(ARM_NEON) && COMPILER(GCC)
+#if ENABLE(FILTERS) && HAVE(ARM_NEON_INTRINSICS)
#include <arm_neon.h>
@@ -51,6 +51,6 @@
} // namespace WebCore
-#endif // CPU(ARM_NEON) && COMPILER(GCC)
+#endif // ENABLE(FILTERS) && HAVE(ARM_NEON_INTRINSICS)
#endif // NEONHelpers_h