Title: [140455] trunk/Source/WebCore
Revision
140455
Author
jsc...@chromium.org
Date
2013-01-22 13:20:05 -0800 (Tue, 22 Jan 2013)

Log Message

TRANSFORMATION_MATRIX_USE_X86_64_SSE2 broken for 64-bit Windows builds
https://bugs.webkit.org/show_bug.cgi?id=107498

Reviewed by James Robinson.

Enable TRANSFORMATION_MATRIX_USE_X86_64_SSE2 for 64-bit Windows.

No new tests. Covered by existing tests.

* platform/graphics/transforms/TransformationMatrix.h:
(WebCore):
(TransformationMatrix):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (140454 => 140455)


--- trunk/Source/WebCore/ChangeLog	2013-01-22 21:09:07 UTC (rev 140454)
+++ trunk/Source/WebCore/ChangeLog	2013-01-22 21:20:05 UTC (rev 140455)
@@ -1,3 +1,18 @@
+2013-01-22  Justin Schuh  <jsc...@chromium.org>
+
+        TRANSFORMATION_MATRIX_USE_X86_64_SSE2 broken for 64-bit Windows builds
+        https://bugs.webkit.org/show_bug.cgi?id=107498
+
+        Reviewed by James Robinson.
+        
+        Enable TRANSFORMATION_MATRIX_USE_X86_64_SSE2 for 64-bit Windows.
+
+        No new tests. Covered by existing tests.
+
+        * platform/graphics/transforms/TransformationMatrix.h:
+        (WebCore):
+        (TransformationMatrix):
+
 2013-01-22  Min Qin  <qin...@chromium.org>
 
         Fix a race condition on SkBitmap::lockPixels()/unlockPixels() for lazy image decoding

Modified: trunk/Source/WebCore/platform/graphics/transforms/TransformationMatrix.h (140454 => 140455)


--- trunk/Source/WebCore/platform/graphics/transforms/TransformationMatrix.h	2013-01-22 21:09:07 UTC (rev 140454)
+++ trunk/Source/WebCore/platform/graphics/transforms/TransformationMatrix.h	2013-01-22 21:20:05 UTC (rev 140455)
@@ -69,15 +69,20 @@
 class FloatRect;
 class FloatQuad;
 
-#if CPU(X86_64) && !PLATFORM(WINDOWS)
+#if CPU(X86_64)
 #define TRANSFORMATION_MATRIX_USE_X86_64_SSE2
 #endif
 
 class TransformationMatrix {
     WTF_MAKE_FAST_ALLOCATED;
 public:
+
 #if CPU(APPLE_ARMV7S) || defined(TRANSFORMATION_MATRIX_USE_X86_64_SSE2)
+#if COMPILER(MSVC)
+    __declspec(align(16)) typedef double Matrix4[4][4];
+#else
     typedef double Matrix4[4][4] __attribute__((aligned (16)));
+#endif
 #else
     typedef double Matrix4[4][4];
 #endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to