ladybird/Meta/gn/secondary
Zachary Huang e0bd42be95 ImageDecoder+LibGfx: Collate decoded bitmaps before sending over IPC
There is an issue where gifs with many frames cannot be loaded, as each
bitmap is sent over IPC using a separate file descriptor, and there is
limit on the maximum number of descriptors per IPC message. Thus, trying
to load gifs with more than 64 frames (the current limit) causes the
image decoder process to die.

This commit introduces the BitmapSequence class, which is a thin wrapper
around the type Vector<Optional<NonnullRefPtr<Gfx::Bitmap>>> and
provides an IPC encode/decode routine that collates all bitmap data into
a single buffer so that only a single file descriptor is required per
IPC transfer, even if multiple frames are being sent.
2024-10-02 15:57:41 -06:00
..
AK LibMedia+everywhere: Remove superfluous and unused audio code 2024-09-30 18:48:12 +02:00
Ladybird Meta: Update Ladybird and services to build again with gn 2024-09-27 10:15:08 -06:00
Meta/Lagom/Tools Meta: Remove unused code generate tools 2024-10-01 10:14:16 -06:00
Tests Meta: Handle removed and renamed libraries in gn build 2024-09-27 10:15:08 -06:00
Userland ImageDecoder+LibGfx: Collate decoded bitmaps before sending over IPC 2024-10-02 15:57:41 -06:00
BUILD.gn Meta: Remove base64 utility from the GN build 2024-06-04 07:45:42 +02:00