[Webkit-unassigned] [Bug 274399] New: [CG] Optimize getting the ImageFrame metadata
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 20 10:48:43 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=274399
Bug ID: 274399
Summary: [CG] Optimize getting the ImageFrame metadata
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
CC: sabouhallawa at apple.com
BitmapImageSource::cacheMetadataAtIndex() currently makes separate calls to ImageDecoder functions. Some of them calls CGImageSourceCopyPropertiesAtIndex() and we end up calling CGImageSourceCopyPropertiesAtIndex() multiple times.
This can be optimized by having a single function in ImageDecoder to fill in the ImageFrame metadata. So we can make a single call to CGImageSourceCopyPropertiesAtIndex() and use its CFDictionary to retrieve all the ImageFrame metadata.
--
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/20240520/47167c60/attachment.htm>
More information about the webkit-unassigned
mailing list