Bug 169396 - Calculate the right sizeForDrawing for image async decoding taking ancestor transforms into account, including ancestor SVG transforms.
Summary: Calculate the right sizeForDrawing for image async decoding taking ancestor t...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 155322
  Show dependency treegraph
 
Reported: 2017-03-08 17:22 PST by Said Abou-Hallawa
Modified: 2017-03-08 17:27 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 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.
Comment 1 Said Abou-Hallawa 2017-03-08 17:27:34 PST
<rdar://problem/30903403>