Summary: | [CG] ImageBuffer: check getPremultipliedImageData() error return | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | noel gordon <noel.gordon> | ||||||
Component: | New Bugs | Assignee: | noel gordon <noel.gordon> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | eric, mitz, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
noel gordon
2012-04-16 05:05:02 PDT
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 ... |