The JPEG images (on the left) on this URL, and the WEBP images (right), should look identical. On Chrome Android, the red and blue channels are reversed.
Skia android is LITTLE_ENDIAN, but it stores pixels RGBA, see https://bugs.webkit.org/show_bug.cgi?id=75861#c6
Created attachment 146476 [details] Patch
http://b/6311532
Tools/Scripts/new-run-webkit-tests --chromium --release fast/images/webp-image-decoding.html Works for me locally.
Comment on attachment 146476 [details] Patch rubber stamped.
shouldn't the test be on "SK_A32_SHIFT" instead of "SK_B32_SHIFT" ?
BGRA and RGBA -> the A shift is identical on a little-endian CPU, right?
Or for example, see bug 78540
i'm fine with either ways, it's just that i saw the test being #ifndef SK_A32_SHIFT ... #endif at skia/include/core/SkPostConfig.h:165 your pick!
Yes it's a little confusing, but but 78540 is your friend.
Comment on attachment 146476 [details] Patch Clearing flags on attachment: 146476 Committed r119807: <http://trac.webkit.org/changeset/119807>
All reviewed patches have been landed. Closing bug.
Fine with me, if just for the (important) sake of coherency. Thanks for fixing this Noel!
No worries.