WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
274399
[CG] Optimize getting the ImageFrame metadata
https://bugs.webkit.org/show_bug.cgi?id=274399
Summary
[CG] Optimize getting the ImageFrame metadata
Said Abou-Hallawa
Reported
2024-05-20 10:48:43 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Said Abou-Hallawa
Comment 1
2024-05-20 10:49:12 PDT
rdar://126232516
Said Abou-Hallawa
Comment 2
2024-05-20 10:55:42 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/28799
EWS
Comment 3
2024-05-21 11:46:10 PDT
Committed
279069@main
(828ba37f8b03): <
https://commits.webkit.org/279069@main
> Reviewed commits have been landed. Closing PR #28799 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug