Commit graph

2 commits

Author SHA1 Message Date
Aliaksandr Kalenik
65962ba03d LibGfx: Add IPC serialization for CornerRadii
The compositor IPC boundary needs to transfer CSS corner radii without
keeping their wire shape in Web-specific glue. Declare the IPC
specializations on the LibGfx types and encode each corner radius pair
next to the CornerRadii implementation.

This is preparatory work required to add IPC between the main and
compositor threads.
2026-05-21 11:45:06 +01:00
Aliaksandr Kalenik
537f289c0c LibGfx+LibWeb: Move display-list corner types to LibGfx
Prep for moving display-list rasterization out of LibWeb by moving the
device-pixel corner radius, corner clip, and anti-aliasing types to
LibGfx.

Keep BorderRadiiData in LibWeb as the CSS-pixel representation and
convert it to Gfx corner radii when recording display-list commands.
2026-05-12 16:30:26 +02:00