1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 16:15:10 +00:00
serenity/Libraries/LibWeb/Layout
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
..
BoxModelMetrics.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
BoxModelMetrics.h LibWeb: CSS: Add "position: absolute" with top and left 2020-03-23 20:17:29 +01:00
LayoutBlock.cpp LibWeb: LayoutMode line_break_policy => LayoutMode layout_mode 2020-05-27 19:52:18 +02:00
LayoutBlock.h LibWeb: Basic support for display:inline-block with width:auto 2020-05-26 22:02:27 +02:00
LayoutBox.cpp LibWeb: Don't paint borders with width <= 0px 2020-05-11 10:48:54 +02:00
LayoutBox.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LayoutBreak.cpp LibWeb: Basic support for display:inline-block with width:auto 2020-05-26 22:02:27 +02:00
LayoutBreak.h LibWeb: Basic support for display:inline-block with width:auto 2020-05-26 22:02:27 +02:00
LayoutCanvas.cpp LibWeb: LayoutMode line_break_policy => LayoutMode layout_mode 2020-05-27 19:52:18 +02:00
LayoutCanvas.h LibWeb: Basic support for display:inline-block with width:auto 2020-05-26 22:02:27 +02:00
LayoutDocument.cpp LibWeb: Share decoded images at the Resource level :^) 2020-06-02 20:32:38 +02:00
LayoutDocument.h LibWeb: Basic support for display:inline-block with width:auto 2020-05-26 22:02:27 +02:00
LayoutImage.cpp LibWeb: LayoutMode line_break_policy => LayoutMode layout_mode 2020-05-27 19:52:18 +02:00
LayoutImage.h LibWeb: Basic support for display:inline-block with width:auto 2020-05-26 22:02:27 +02:00
LayoutInline.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LayoutInline.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LayoutListItem.cpp LibWeb: Don't render list item markers for "list-style-type: none" 2020-05-30 12:04:15 +02:00
LayoutListItem.h LibWeb: Basic support for display:inline-block with width:auto 2020-05-26 22:02:27 +02:00
LayoutListItemMarker.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LayoutListItemMarker.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LayoutNode.cpp LibWeb: LayoutMode line_break_policy => LayoutMode layout_mode 2020-05-27 19:52:18 +02:00
LayoutNode.h LibWeb: Basic support for display:inline-block with width:auto 2020-05-26 22:02:27 +02:00
LayoutPosition.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LayoutReplaced.cpp LibWeb: LayoutMode line_break_policy => LayoutMode layout_mode 2020-05-27 19:52:18 +02:00
LayoutReplaced.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
LayoutTable.cpp LibWeb: LayoutMode line_break_policy => LayoutMode layout_mode 2020-05-27 19:52:18 +02:00
LayoutTable.h LibWeb: Basic support for display:inline-block with width:auto 2020-05-26 22:02:27 +02:00
LayoutTableCell.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LayoutTableCell.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LayoutTableRow.cpp LibWeb: LayoutMode line_break_policy => LayoutMode layout_mode 2020-05-27 19:52:18 +02:00
LayoutTableRow.h LibWeb: Basic support for display:inline-block with width:auto 2020-05-26 22:02:27 +02:00
LayoutText.cpp LibWeb: LayoutMode line_break_policy => LayoutMode layout_mode 2020-05-27 19:52:18 +02:00
LayoutText.h LibWeb: Basic support for display:inline-block with width:auto 2020-05-26 22:02:27 +02:00
LayoutTreeBuilder.cpp LibWeb: Correctly determine whether a block has only inline children 2020-05-30 18:26:44 +02:00
LayoutTreeBuilder.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LayoutWidget.cpp LibWeb: Make input widget (buttons, text boxes, etc) scroll with page 2020-06-01 19:52:38 +02:00
LayoutWidget.h LibWeb: Basic support for display:inline-block with width:auto 2020-05-26 22:02:27 +02:00
LineBox.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LineBox.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LineBoxFragment.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LineBoxFragment.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00