Bug 156488

Summary: putImageData needs to premultiply input
Product: WebKit Reporter: Dean Jackson <dino>
Component: CanvasAssignee: Dean Jackson <dino>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, jonlee, sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch zalan: review+

Dean Jackson
Reported 2016-04-11 19:43:52 PDT
I made a mistake in r187534, where I updated putImageData to use the Accelerate framework. The iOS path accidentally unpremultiplied the incoming data, rather than premultiplying it.
Attachments
Patch (4.94 KB, patch)
2016-04-11 19:49 PDT, Dean Jackson
zalan: review+
Radar WebKit Bug Importer
Comment 1 2016-04-11 19:44:17 PDT
Dean Jackson
Comment 2 2016-04-11 19:45:11 PDT
Dean Jackson
Comment 3 2016-04-11 19:49:08 PDT
Jon Lee
Comment 4 2016-04-11 19:51:28 PDT
What's the impact on the Animometer Images test?
Dean Jackson
Comment 5 2016-04-11 19:52:36 PDT
(In reply to comment #4) > What's the impact on the Animometer Images test? Should be zero. We're still doing the same sets of operations, just multiplying rather than dividing. And this is iOS only.
Dean Jackson
Comment 6 2016-04-11 19:57:26 PDT
Note You need to log in before you can comment on or make changes to this bug.