http://test-results.appspot.com/dashboards/flakiness_dashboard.html#useWebKitCanary=true&tests=fast%2Fcanvas%2Fwebgl%2Fgl-teximage.html
Add the test to test_expectations.txt (see r66922).
This test passes on my Snow Leopard machine, so I assume that Leopard (which the bot is running) is doing something different with the image data. The test output indicates that the color channels are swapped, so we are probably misinterpreting the image data obtained from CGImageGetDataProvider / CGDataProviderCopyData. I suspect we need to call CGImageGetBitmapInfo and pay attention to the byte order bits.
If you don't mind, I'd like to take this bug since it's originally my code.
(In reply to comment #3) > If you don't mind, I'd like to take this bug since it's originally my code. Thanks, I definitely appreciate that.
Created attachment 68790 [details] patch It's confirmed that in Mac OS 10.5 (possibly up to Mac OS 10.6.3), CG's decoder outputs alpha-first pixel format, and from 10.6.4, it's alpha last pixel formats. This patch adds path to deal with alpha first formats. Tested on 10.5 machine.
Comment on attachment 68790 [details] patch Looks good.
Committed r68399: <http://trac.webkit.org/changeset/68399>