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
Radar WebKit Bug Importer
Comment 1 2024-01-08 21:57:57 PST
Said Abou-Hallawa
Comment 2 2024-01-08 22:39:05 PST
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.