Bug 169396

Summary: Calculate the right sizeForDrawing for image async decoding taking ancestor transforms into account, including ancestor SVG transforms.
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 155322    

Said Abou-Hallawa
Reported 2017-03-08 17:22:39 PST
For async image decoding we have to decode for a specific size. Currently the request for async image decoding happens before the drawing starts. We can take the pageScaleFactor, the pageZoomFactor and the deviceScaleFactor into account easily. But the css and svg transformation both need more work to known before the drawing starts. Alternately the requests of async image decoding might be delayed till the drawing starts and all the transformations are applied to the graphics context.
Attachments
Said Abou-Hallawa
Comment 1 2017-03-08 17:27:34 PST
Note You need to log in before you can comment on or make changes to this bug.