ladybird/Libraries/LibWeb/Painting
Aliaksandr Kalenik b87e01e304 LibWeb: Skip recording display list items with color.alpha() == 0
Cuts display list size, mostly because now we avoid lots of FillRect
previusly recorded for boxes with transparent background.

Website      | DisplayList Items Before | DisplayList Items After
-------------|--------------------------|-------------------------
ladybird.org | 1431                     | 1117
null.com     | 4714                     | 4484
discord.com  | 5360                     | 4992
2025-07-08 10:24:11 +02:00
..
AudioPaintable.cpp
AudioPaintable.h
BackgroundPainting.cpp LibWeb: Avoid unnecessary save/restore in paint_background() 2025-07-08 10:24:11 +02:00
BackgroundPainting.h
BackingStoreManager.cpp LibWeb+LibGfx: Replace BackingStore with PaintingSurface 2025-07-04 16:12:47 +02:00
BackingStoreManager.h LibWeb+LibGfx: Replace BackingStore with PaintingSurface 2025-07-04 16:12:47 +02:00
Blending.h
BorderPainting.cpp LibWeb: Support relative lengths in calc color values 2025-07-04 13:18:55 +01:00
BorderPainting.h
BorderRadiiData.cpp
BorderRadiiData.h
BorderRadiusCornerClipper.cpp LibWeb: Fix ScopedCornerRadiusClip emitting unbalanced restore() 2025-07-06 19:21:13 +02:00
BorderRadiusCornerClipper.h LibWeb: Stop clipping the root element's background 2025-07-04 16:18:57 +01:00
BordersData.cpp
BordersData.h
BoxModelMetrics.cpp
BoxModelMetrics.h
CanvasPaintable.cpp
CanvasPaintable.h
CheckBoxPaintable.cpp
CheckBoxPaintable.h
ClipFrame.cpp
ClipFrame.h
Command.cpp
Command.h LibWeb/CSS: Implement the scrollbar-color property 2025-06-02 00:17:51 +02:00
DisplayList.cpp LibGfx+LibWeb: Turn Gfx::Filter into a SkImageFilter wrapper 2025-06-01 23:22:10 +02:00
DisplayList.h LibGfx+LibWeb: Turn Gfx::Filter into a SkImageFilter wrapper 2025-06-01 23:22:10 +02:00
DisplayListPlayerSkia.cpp LibWeb/CSS: Implement the scrollbar-color property 2025-06-02 00:17:51 +02:00
DisplayListPlayerSkia.h LibGfx+LibWeb: Turn Gfx::Filter into a SkImageFilter wrapper 2025-06-01 23:22:10 +02:00
DisplayListRecorder.cpp LibWeb: Skip recording display list items with color.alpha() == 0 2025-07-08 10:24:11 +02:00
DisplayListRecorder.h LibWeb: Delete unused includes in DisplayListRecorder.h 2025-07-06 19:21:13 +02:00
FieldSetPaintable.cpp Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
FieldSetPaintable.h
GradientData.h
GradientPainting.cpp LibWeb: Support relative lengths in calc color values 2025-07-04 13:18:55 +01:00
GradientPainting.h
ImagePaintable.cpp LibWeb: Remove unnecessary apply_own_clip_rect() in ImagePaintable 2025-07-06 21:56:02 +01:00
ImagePaintable.h
InputColors.h
LabelablePaintable.cpp
LabelablePaintable.h
MarkerPaintable.cpp LibWeb/Painting: Don't paint invisible paintables 2025-07-03 12:39:05 +02:00
MarkerPaintable.h
MediaPaintable.cpp LibWeb: Update the media display when the hovered component changes 2025-04-23 13:22:56 +02:00
MediaPaintable.h LibWeb: Update the media display when the hovered component changes 2025-04-23 13:22:56 +02:00
NavigableContainerViewportPaintable.cpp LibWeb+WebContent+WebWorker: Move backing store allocation in Navigable 2025-07-04 16:12:47 +02:00
NavigableContainerViewportPaintable.h
Paintable.cpp LibWeb: Store visibility for Paintables 2025-06-17 11:55:28 +02:00
Paintable.h LibWeb: Make apply{clear}_clip_overflow_rect non-virtual 2025-07-07 18:55:30 +02:00
PaintableBox.cpp LibWeb: Remove ClippableAndScrollable mixin 2025-07-07 22:04:25 +02:00
PaintableBox.h LibWeb: Remove ClippableAndScrollable mixin 2025-07-07 22:04:25 +02:00
PaintableFragment.cpp LibWeb: Skip update_associated_selection() when there's no selection 2025-07-03 22:16:39 +02:00
PaintableFragment.h LibWeb: Skip update_associated_selection() when there's no selection 2025-07-03 22:16:39 +02:00
PaintBoxShadowParams.h
PaintContext.cpp
PaintContext.h LibWeb+WebContent: Delete unused "has focus" flag from paint config 2025-07-04 16:12:47 +02:00
PaintStyle.h LibWeb: Make SVGGradientPaintStyle be atomically ref-counted 2025-05-26 19:46:05 +02:00
RadioButtonPaintable.cpp
RadioButtonPaintable.h
ScrollFrame.cpp
ScrollFrame.h
ScrollState.cpp
ScrollState.h
ShadowData.h
ShadowPainting.cpp LibWeb: Fix text-shadow position with non 100% window scale 2025-06-27 19:12:01 +02:00
ShadowPainting.h
StackingContext.cpp LibWeb: Verify that save and restore are balanced within StackingContext 2025-07-06 22:18:27 +02:00
StackingContext.h
SVGClipPaintable.cpp
SVGClipPaintable.h
SVGForeignObjectPaintable.cpp LibWeb/Painting: Don't paint invisible paintables 2025-07-03 12:39:05 +02:00
SVGForeignObjectPaintable.h
SVGGraphicsPaintable.cpp
SVGGraphicsPaintable.h
SVGMaskable.cpp
SVGMaskable.h
SVGMaskPaintable.cpp
SVGMaskPaintable.h
SVGPaintable.cpp LibWeb: Make apply_scroll_offset and reset_scroll_offset non-virtual 2025-07-07 18:55:30 +02:00
SVGPaintable.h LibWeb: Apply either enclosing or own clip rect depending on PaintPhase 2025-07-07 18:55:30 +02:00
SVGPathPaintable.cpp
SVGPathPaintable.h
SVGSVGPaintable.cpp LibWeb: Make apply_scroll_offset and reset_scroll_offset non-virtual 2025-07-07 18:55:30 +02:00
SVGSVGPaintable.h LibWeb: Apply either enclosing or own clip rect depending on PaintPhase 2025-07-07 18:55:30 +02:00
TableBordersPainting.cpp LibWeb/CSS: Implement the empty-cells property 2025-06-18 14:55:03 +01:00
TableBordersPainting.h
TextPaintable.cpp
TextPaintable.h
VideoPaintable.cpp
VideoPaintable.h
ViewportPaintable.cpp LibWeb: Remove unnecessary const_cast in ViewportPaintable 2025-07-07 22:04:25 +02:00
ViewportPaintable.h LibWeb: Don't traverse entire layout tree in every HTML::EventLoop tick 2025-06-11 16:25:42 +02:00