Title: [134611] trunk/Source/WebCore
Revision
134611
Author
[email protected]
Date
2012-11-14 08:02:43 -0800 (Wed, 14 Nov 2012)

Log Message

Fix [-Wmissing-braces] warnings in graphics/cpu/arm/GraphicsContext3DNEON.h
https://bugs.webkit.org/show_bug.cgi?id=102205

Reviewed by Csaba Osztrogonác.

Fixing some warnings in GraphicsContext3DNEON.h which have been caused by missing braces.

* platform/graphics/cpu/arm/GraphicsContext3DNEON.h:
(WebCore::ARM::unpackOneRowOfRGBA4444ToRGBA8NEON):
(WebCore::ARM::unpackOneRowOfRGBA5551ToRGBA8NEON):
(WebCore::ARM::unpackOneRowOfRGB565ToRGBA8NEON):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (134610 => 134611)


--- trunk/Source/WebCore/ChangeLog	2012-11-14 15:55:48 UTC (rev 134610)
+++ trunk/Source/WebCore/ChangeLog	2012-11-14 16:02:43 UTC (rev 134611)
@@ -1,3 +1,17 @@
+2012-11-14  Gabor Rapcsanyi  <[email protected]>
+
+        Fix [-Wmissing-braces] warnings in graphics/cpu/arm/GraphicsContext3DNEON.h
+        https://bugs.webkit.org/show_bug.cgi?id=102205
+
+        Reviewed by Csaba Osztrogonác.
+
+        Fixing some warnings in GraphicsContext3DNEON.h which have been caused by missing braces.
+
+        * platform/graphics/cpu/arm/GraphicsContext3DNEON.h:
+        (WebCore::ARM::unpackOneRowOfRGBA4444ToRGBA8NEON):
+        (WebCore::ARM::unpackOneRowOfRGBA5551ToRGBA8NEON):
+        (WebCore::ARM::unpackOneRowOfRGB565ToRGBA8NEON):
+
 2012-11-14  Erik Arvidsson  <[email protected]>
 
         Update DOMException name: NoDataAllowedError

Modified: trunk/Source/WebCore/platform/graphics/cpu/arm/GraphicsContext3DNEON.h (134610 => 134611)


--- trunk/Source/WebCore/platform/graphics/cpu/arm/GraphicsContext3DNEON.h	2012-11-14 15:55:48 UTC (rev 134610)
+++ trunk/Source/WebCore/platform/graphics/cpu/arm/GraphicsContext3DNEON.h	2012-11-14 16:02:43 UTC (rev 134611)
@@ -50,7 +50,7 @@
         componentB = vorr_u8(vshl_n_u8(componentB, 4), componentB);
         componentA = vorr_u8(vshl_n_u8(componentA, 4), componentA);
 
-        uint8x8x4_t destComponents = {componentR, componentG, componentB, componentA};
+        uint8x8x4_t destComponents = {{componentR, componentG, componentB, componentA}};
         vst4_u8(destination, destComponents);
         destination += 32;
     }
@@ -96,7 +96,7 @@
         componentB = vorr_u8(vshl_n_u8(componentB, 3), vand_u8(componentB, immediate0x7));
         componentA = vmul_u8(componentA, immediate0xff);
 
-        uint8x8x4_t destComponents = {componentR, componentG, componentB, componentA};
+        uint8x8x4_t destComponents = {{componentR, componentG, componentB, componentA}};
         vst4_u8(destination, destComponents);
         destination += 32;
     }
@@ -146,7 +146,7 @@
         componentG = vorr_u8(vshl_n_u8(componentG, 2), vand_u8(componentG, immediate0x3));
         componentB = vorr_u8(vshl_n_u8(componentB, 3), vand_u8(componentB, immediate0x7));
 
-        uint8x8x4_t destComponents = {componentR, componentG, componentB, componentA};
+        uint8x8x4_t destComponents = {{componentR, componentG, componentB, componentA}};
         vst4_u8(destination, destComponents);
         destination += 32;
     }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to