[CG] ImageBufffer: check getPremultipliedImageData() error return
Created attachment 137321 [details] Patch
Reopening to attach new patch.
Created attachment 137327 [details] Patch
Comment on attachment 137327 [details] Patch So does this mean we now pass more of that test? I'm surprised not to see any expectation changes?
No change in behavior test-wise: we still pass canvas/philip/tests/toDataURL.jpeg.alpha.html, which covers this area of the code.
Comment on attachment 137327 [details] Patch Clearing flags on attachment: 137327 Committed r114491: <http://trac.webkit.org/changeset/114491>
All reviewed patches have been landed. Closing bug.
Oh and did we noticed that loop stuffing 255 into the alpha channel. The encoder is so fast that iterating over pixels to reformat them becomes a significant factor in overall encoding time. Surely the CG jpeg encoder can be told to ignore the alpha channel. Investigating ...
Filed bug 84319.