ladybird/Libraries/LibWeb/Painting
Jelle Raaijmakers 70b52e0994 LibWeb: Use efficient background repeat path for either direction
We're able to efficiently draw repeated bitmaps through Skia, but for
backgrounds we only did so if the background was `repeat-x` _and_
`repeat-y`, and not if just one was set. This meant that for backgrounds
that were only repeating in one direction, we were taking the slow path.
Turns out that this slow path also produced graphical artifacts when
zooming in and out, so let's not do that :^)
2025-05-09 21:37:48 +02:00
..
AudioPaintable.cpp LibWeb: Reduce number of recompiled files for display list headers 2025-02-23 10:14:39 -05:00
AudioPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
BackgroundPainting.cpp LibWeb: Use efficient background repeat path for either direction 2025-05-09 21:37:48 +02:00
BackgroundPainting.h LibWeb/CSS: Improved implementation of background-blend-mode 2025-04-01 13:38:00 +02:00
BackingStore.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
BackingStore.h LibWeb: Make BackingStore atomic ref-counted 2025-04-01 03:05:21 +02:00
Blending.h LibWeb/CSS: Improved implementation of background-blend-mode 2025-04-01 13:38:00 +02:00
BorderPainting.cpp LibWeb: Fix typos - act II 2025-04-09 15:05:20 +01:00
BorderPainting.h LibGfx: Delete DeprecatedPainter 2024-11-25 21:13:53 +01:00
BorderRadiiData.cpp LibGfx: Delete DeprecatedPainter 2024-11-25 21:13:53 +01:00
BorderRadiiData.h LibWeb: Do not calculate corner radii if no radius is set 2025-03-19 14:22:10 +01:00
BorderRadiusCornerClipper.cpp LibWeb: Reduce number of recompiled files for display list headers 2025-02-23 10:14:39 -05:00
BorderRadiusCornerClipper.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
BordersData.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
BordersData.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
BoxModelMetrics.cpp LibWeb: Store final box model metrics in paint tree, not layout tree 2025-02-17 18:28:29 +01:00
BoxModelMetrics.h LibWeb: Store final box model metrics in paint tree, not layout tree 2025-02-17 18:28:29 +01:00
CanvasPaintable.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CanvasPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CheckBoxPaintable.cpp LibWeb: Reduce number of recompiled files for display list headers 2025-02-23 10:14:39 -05:00
CheckBoxPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ClipFrame.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ClipFrame.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ClippableAndScrollable.cpp LibWeb: Reduce number of recompiled files for display list headers 2025-02-23 10:14:39 -05:00
ClippableAndScrollable.h LibWeb: Pass RefPtr to const to ClippableAndScrollable setters 2025-04-16 10:41:44 -06:00
Command.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Command.h LibWeb: Translate scrollbar gutters by the cumulative scroll offset 2025-05-06 16:38:23 +03:00
DisplayList.cpp LibWeb: Draw a scrollbar gutter when the scrollbar is enlarged 2025-04-22 11:29:06 -04:00
DisplayList.h LibWeb: Save ScrollState snapshot in DisplayList to avoid race condition 2025-04-12 02:55:18 +02:00
DisplayListPlayerSkia.cpp LibWeb: Draw a scrollbar gutter when the scrollbar is enlarged 2025-04-22 11:29:06 -04:00
DisplayListPlayerSkia.h LibWeb/Painting: Add back SaveLayer command 2025-04-01 13:38:00 +02:00
DisplayListRecorder.cpp LibWeb: Draw a scrollbar gutter when the scrollbar is enlarged 2025-04-22 11:29:06 -04:00
DisplayListRecorder.h LibWeb: Draw a scrollbar gutter when the scrollbar is enlarged 2025-04-22 11:29:06 -04:00
FieldSetPaintable.cpp LibWeb: Reduce number of recompiled files for display list headers 2025-02-23 10:14:39 -05:00
FieldSetPaintable.h LibWeb: Lay out the fieldset's rendered legend 2024-11-29 12:36:52 +00:00
GradientData.h LibWeb: Implement css gradient-interpolation-method 2025-03-06 11:33:12 +00:00
GradientPainting.cpp LibWeb: Implement css gradient-interpolation-method 2025-03-06 11:33:12 +00:00
GradientPainting.h LibWeb: Only require NodeWithStyle for gradient size resolution 2025-02-28 13:50:13 +01:00
ImagePaintable.cpp LibWeb: Do not deform bitmaps partially outside the img-box 2025-03-10 17:14:13 +01:00
ImagePaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
InputColors.h LibWeb/CSS: Implement the color-scheme CSS property 2025-01-08 11:18:13 +00:00
LabelablePaintable.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LabelablePaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
MarkerPaintable.cpp LibGfx: Join ScaledFont into Font 2025-04-21 09:51:16 +02:00
MarkerPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
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: Save ScrollState snapshot in DisplayList to avoid race condition 2025-04-12 02:55:18 +02:00
NavigableContainerViewportPaintable.h LibWeb: Rename NestedBrowsingContextP => NavigableContainerViewportP 2024-11-26 18:32:48 +01:00
Paintable.cpp LibWeb+WebContent+UI: Support image cursors 2025-02-28 13:50:13 +01:00
Paintable.h LibWeb: Add more fast_is<T> helpers for layout and paintable nodes 2025-04-18 14:45:56 +02:00
PaintableBox.cpp LibWeb: Adjust positions by the scroll offset for scrollbar hit testing 2025-05-08 10:40:58 +01:00
PaintableBox.h LibWeb: Adjust positions by the scroll offset for scrollbar hit testing 2025-05-08 10:40:58 +01:00
PaintableFragment.cpp LibWeb: Allow keyboard input to alter email inputs 2024-12-30 11:04:16 +01:00
PaintableFragment.h LibWeb: Invalidate text-decoration-thickness as paint-only property 2025-03-16 22:25:26 +01:00
PaintBoxShadowParams.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
PaintContext.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
PaintContext.h LibWeb: Reduce number of recompiled files for display list headers 2025-02-23 10:14:39 -05:00
PaintStyle.h Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
RadioButtonPaintable.cpp LibWeb: Fix typos - act II 2025-04-09 15:05:20 +01:00
RadioButtonPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ScrollFrame.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ScrollFrame.h LibWeb: Save ScrollState snapshot in DisplayList to avoid race condition 2025-04-12 02:55:18 +02:00
ScrollState.cpp LibWeb: Save ScrollState snapshot in DisplayList to avoid race condition 2025-04-12 02:55:18 +02:00
ScrollState.h LibWeb: Save ScrollState snapshot in DisplayList to avoid race condition 2025-04-12 02:55:18 +02:00
ShadowData.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ShadowPainting.cpp LibWeb: Reduce number of recompiled files for display list headers 2025-02-23 10:14:39 -05:00
ShadowPainting.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
StackingContext.cpp LibWeb/CSS: Improved implementation of background-blend-mode 2025-04-01 13:38:00 +02:00
StackingContext.h LibWeb/CSS: Improved implementation of background-blend-mode 2025-04-01 13:38:00 +02:00
SVGClipPaintable.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGClipPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGForeignObjectPaintable.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGForeignObjectPaintable.h LibWeb: Reduce number of recompiled files for display list headers 2025-02-23 10:14:39 -05:00
SVGGraphicsPaintable.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGGraphicsPaintable.h LibWeb: Reduce number of recompiled files for display list headers 2025-02-23 10:14:39 -05:00
SVGMaskable.cpp LibWeb: Save ScrollState snapshot in DisplayList to avoid race condition 2025-04-12 02:55:18 +02:00
SVGMaskable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGMaskPaintable.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGMaskPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGPaintable.cpp LibWeb: Reduce number of recompiled files for display list headers 2025-02-23 10:14:39 -05:00
SVGPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGPathPaintable.cpp LibWeb: Reduce number of recompiled files for display list headers 2025-02-23 10:14:39 -05:00
SVGPathPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGSVGPaintable.cpp LibWeb/CSS: Improved implementation of background-blend-mode 2025-04-01 13:38:00 +02:00
SVGSVGPaintable.h LibWeb: Add more fast_is<T> helpers for layout and paintable nodes 2025-04-18 14:45:56 +02:00
TableBordersPainting.cpp LibWeb: Reduce number of recompiled files for display list headers 2025-02-23 10:14:39 -05:00
TableBordersPainting.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TextPaintable.cpp LibWeb: Remove unnecessary const_casts from TextPaintable 2025-01-31 13:37:15 +01:00
TextPaintable.h LibWeb: Invalidate text-decoration-thickness as paint-only property 2025-03-16 22:25:26 +01:00
VideoPaintable.cpp LibWeb: Do not deform bitmaps partially outside the img-box 2025-03-10 17:14:13 +01:00
VideoPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ViewportPaintable.cpp LibWeb/Painting: Fix blending with viewport background 2025-04-01 13:38:00 +02:00
ViewportPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00