serenity/Meta
Zachary Huang f341138c70 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.

(cherry picked from commit e0bd42be9590b967d0b5788ce7537a861a35ba74;
amended to fix conflict on build files since we still BitmapMixer.cpp
that upstream removed in LadybirdBrowser/ladybird#41, and
BitmapSequence.cpp conflicted with that. Also amended to not have
AlphaType in BitmapMetadata since we don't have that, and to have
scale instead, which we still do have. Also updated encode() and
decode() to send things in the order they're in in the struct.)
2024-11-04 19:29:13 -05:00
..
CMake LibWeb: Put CSS transitions debug spam behind CSS_TRANSITIONS_DEBUG 2024-11-04 13:15:58 -05:00
gn ImageDecoder+LibGfx: Collate decoded bitmaps before sending over IPC 2024-11-04 19:29:13 -05:00
HeaderCheck
Lagom LibWeb: Stub the ServiceWorkerContainer interface 2024-11-04 13:16:23 -05:00
Screenshots
ShellCompletions/zsh
Websites/man.serenityos.org Meta: Move SerenityOS.org website to separate repository 2024-11-02 02:02:57 +01:00
analyze-qemu-coverage.sh
build-image-extlinux.sh
build-image-grub.sh
build-image-limine.sh
build-image-qemu.sh Meta: Combine boot drive environment variables into SERENITY_BOOT_DRIVE 2024-08-07 18:30:06 -04:00
build-manpages-website.sh
build-native-partition.sh
build-root-filesystem.sh Meta: Remove /mod 2024-08-10 10:13:52 -04:00
check-ak-test-files.sh
check-debug-flags.sh
check-emoji.py
check-markdown.sh
check-newlines-at-eof.py
check-png-sizes.sh
check-style.py Kernel/HID: Add support for virtio input devices 2024-05-23 11:16:57 -06:00
convert-markdown-links.lua
debug-kernel.sh Meta: Unbreak kernel debugging script after Prekernel/Kernel merge 2024-07-26 14:25:49 -04:00
embed_as_string_view.py
emoji-file-list.txt Base: Add 3 emojis 2024-10-09 19:55:11 -04:00
export-argsparser-manpages.sh
extlinux.conf
find_compiler.sh Meta: Fix detection of default compiler versions 2024-05-23 00:56:37 -06:00
generate-embedded-resource-assembly.sh
generate-libwasm-spec-test.py LibWasm: Ignore tests that check that we don't support 2+ memories 2024-07-16 17:35:43 +02:00
generate-libwasm-spec-test.sh
grub-ebr.cfg Meta: Unbreak default grub configs after Prekernel/Kernel merge 2024-05-27 17:35:42 +02:00
grub-gpt.cfg Meta: Unbreak default grub configs after Prekernel/Kernel merge 2024-05-27 17:35:42 +02:00
grub-mbr.cfg Meta: Unbreak default grub configs after Prekernel/Kernel merge 2024-05-27 17:35:42 +02:00
install-ports-tree.sh
jbig2_to_pdf.py Meta/jbig2_to_pdf.py: Read jbig2 dimensions from file 2024-04-02 15:00:23 -04:00
label-pull-requests.js
limine.cfg
lint-ci.sh Meta: Remove check-symbols.sh 2024-05-08 09:54:41 -06:00
lint-clang-format.sh Kernel/HID: Add support for virtio input devices 2024-05-23 11:16:57 -06:00
lint-commit.sh
lint-executable-resources.sh
lint-gml-format.sh Meta: Show GML formatting issues after lint 2024-04-30 17:46:41 -06:00
lint-gn.sh
lint-keymaps.py
lint-ports.py Meta: Fix Ports table linter when there's only one space after the link 2024-10-04 10:46:42 -04:00
lint-prettier.sh Meta: Enforce Prettier formatting of Markdown files 2024-10-04 10:46:42 -04:00
lint-python.sh
lint-shell-scripts.sh Userland: Move Shell code to be in a library directory 2024-10-04 10:56:27 +02:00
new-project.sh
refresh-serenity-qtcreator.sh
run.py Meta: Enable qemu-vdagent (for copy/paste support) by default on Linux 2024-11-04 08:56:57 -05:00
run.sh
serenity.sh Meta: Allow ensure_jakt to fail 2024-10-04 12:42:11 +02:00
serenity_gdb.py
shell_include.sh Meta: Make disk_usage() not depend on GNU du 2024-07-01 23:26:18 +02:00
test_pdf.py
toot-commits.js
tweet-commits.js