WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
267254
Move BitmapImage format conversion to a new class name ImageAdapter
https://bugs.webkit.org/show_bug.cgi?id=267254
Summary
Move BitmapImage format conversion to a new class name ImageAdapter
Said Abou-Hallawa
Reported
2024-01-08 21:56:50 PST
The classes Image and BitmapImage are overloaded with many other functions. The platform-specific format conversion is not tied to BitmapImage or Image. It relies mostly on NativeImages. So move the format conversion to a new class named ImageAdapter. Move also BitmapImage::nativeImageOfSize() and BitmapImage::framesNativeImages() to this new class since they are only used by the format conversion.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-01-08 21:57:57 PST
<
rdar://problem/120690546
>
Said Abou-Hallawa
Comment 2
2024-01-08 22:39:05 PST
Pull request:
https://github.com/WebKit/WebKit/pull/22535
EWS
Comment 3
2024-01-30 11:15:42 PST
Committed
273772@main
(ab92c87e9f99): <
https://commits.webkit.org/273772@main
> Reviewed commits have been landed. Closing PR #22535 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