[Webkit-unassigned] [Bug 174479] New: Make the decision for asynchronously decoding an image be in one place
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 13 16:00:49 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=174479
Bug ID: 174479
Summary: Make the decision for asynchronously decoding an image
be in one place
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Images
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sabouhallawa at apple.com
Currently RenderBoxModelObject::decodingModeForImageDraw() chooses the DecodingMode based on the view type and whether the FrameView is printing or not. BitmapImage::draw() consults both the DecodingMode and the settings to make the final decision. What looks weird also is BitmapImage::draw() does not use the DecodingMode, it receives, for animated images.
We need to have the decision of whether an image should be asynchronously decoded or not be in one place. The DecodingMode received by BitmapImage::draw() should be used by both the animated and the large image cases. This will make it easy for future changes.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170713/7a009550/attachment.html>
More information about the webkit-unassigned
mailing list