Files
ladybird/Tests/LibWeb/Text/expected/display_list/sibling-scrollables-in-fixed.txt
Aliaksandr Kalenik 44d90af3d6 LibGfx+LibWeb: Cache SkTextBlob in GlyphRun
Previously, SkTextBlob was built on every paint in
DisplayListPlayerSkia::draw_glyph_run(), which meant:
- Repeated work when the same display list is painted multiple times
- Glyph arrays were allocated and populated on each paint

Now the blob is built once during display list recording and cached in
GlyphRun.
2026-01-24 15:22:03 +01:00

30 lines
1.2 KiB
Plaintext

AccumulatedVisualContext Tree:
[2] clip=[23,23 91.328125x150]
[3] scroll_frame_id=1 (PaintableWithLines(BlockContainer(anonymous)))
[4] clip=[126.328125,23 91.328125x150]
[5] scroll_frame_id=2 (PaintableWithLines(BlockContainer(anonymous)))
[6] clip=[229.65625,23 91.328125x150]
[7] scroll_frame_id=3 (PaintableWithLines(BlockContainer(anonymous)))
DisplayList:
SaveLayer@0
FillRect@0 rect=[10,10 324x224] color=rgb(211, 211, 211)
FillPath@0 path_bounding_rect=[10,10 324x224]
FillPath@0 path_bounding_rect=[22,22 93x152]
FillRect@3 rect=[23,23 200x300] color=rgb(240, 128, 128)
FillPath@0 path_bounding_rect=[125,22 94x152]
FillRect@5 rect=[126,23 200x300] color=rgb(144, 238, 144)
FillPath@0 path_bounding_rect=[229,22 93x152]
FillRect@7 rect=[230,23 200x300] color=rgb(173, 216, 230)
DrawGlyphRun@3 rect=[23,23 71x18] translation=[23,36.796875] color=rgb(0, 0, 0)
PaintScrollBar@0
PaintScrollBar@0
DrawGlyphRun@5 rect=[126,23 66x18] translation=[126.328125,36.796875] color=rgb(0, 0, 0)
PaintScrollBar@0
PaintScrollBar@0
DrawGlyphRun@7 rect=[229,23 67x18] translation=[229.65625,36.796875] color=rgb(0, 0, 0)
PaintScrollBar@0
PaintScrollBar@0
Restore@0