Jelle Raaijmakers
c0d08b68af
LibWeb: Dump path_bounding_rect for FillPath
...
This makes it easier to differentiate between FillPath commands in the
display list output.
2025-10-27 16:42:27 -07:00
Aliaksandr Kalenik
2cf10981af
LibGfx+LibWeb: Implement GlyphRun::bounding_rect()
...
Allows us to skip painting of glyph runs lying outside of viewport.
2025-09-23 17:55:32 +02:00
Aliaksandr Kalenik
a41d586117
LibWeb: Merge FillPathUsingPaintStyle and FillPathUsingColor
...
Use `Variant<PaintStyle, Gfx::Color>` in new `FillPath` instead of
duplicating two almost identical display list items.
2025-08-03 10:42:33 +02:00
Aliaksandr Kalenik
5c11a541d3
LibWeb: Merge StrokePathUsingPaintStyle and StrokePathUsingColor
...
Use `Variant<PaintStyle, Gfx::Color>` in new `StrokePath` instead of
duplicating two almost identical display list items.
2025-08-03 10:42:33 +02:00
Aliaksandr Kalenik
e41c85ec47
LibWeb: Replace DrawTriangleWave with StrokePathUsingColor
...
There's no need to have separate display list item for drawing triangle
wave when we could simply use StrokePathUsingColor. By switching to
StrokePathUsingColor we could also reduce painting because it supports
filtering out by bounding box.
2025-08-03 10:42:33 +02:00
Aliaksandr Kalenik
b265618bfb
LibWeb: Rename Command to DisplayListCommand
...
Gives name more consistent with other display list related classes.
2025-08-01 05:25:56 -04:00