1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-13 19:02:06 +00:00
serenity/Base
Andreas Kling d4ddb0013c LibWeb: Share decoded images at the Resource level :^)
This patch adds ImageResource as a subclass of Resource. This new class
also keeps a Gfx::ImageDecoder so that we can share decoded bitmaps
between all clients of an image resource inside LibWeb.

With this, we now share both encoded and decoded data for images. :^)

I had to change how the purgeable-volatile flag is updated to keep the
volatile-images-outside-the-visible-viewport optimization working.
HTMLImageElement now inherits from ImageResourceClient (a subclass of
ResourceClient with additional image-specific stuff) and informs its
ImageResource about whether it's inside the viewport or outside.

This is pretty awesome! :^)
2020-06-02 20:32:38 +02:00
..
etc Kernel+Base: Mount root filesystem read-only :^) 2020-05-29 07:53:30 +02:00
home/anon LibWeb: Share decoded images at the Resource level :^) 2020-06-02 20:32:38 +02:00
res Base: Add Faux Pas and Silver themes 2020-05-30 17:51:24 +02:00
usr Base: Fix misspelling in getopt(3) (#2473) 2020-06-02 07:40:26 +02:00
www Base: Replace <!DOCTYPE> with <!DOCTYPE html> in a few files (#1511) 2020-03-26 07:37:12 +01:00