Files
ladybird/Tests/LibWeb/Text/expected/display_list/scrollable-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

16 lines
504 B
Plaintext

AccumulatedVisualContext Tree:
[2] clip=[33,33 180x100]
[3] scroll_frame_id=1 (PaintableWithLines(BlockContainer(anonymous)))
DisplayList:
SaveLayer@0
FillRect@0 rect=[20,20 204x154] color=rgb(211, 211, 211)
FillPath@0 path_bounding_rect=[20,20 204x154]
FillPath@0 path_bounding_rect=[32,32 182x102]
FillRect@3 rect=[33,33 300x200] color=rgb(240, 128, 128)
DrawGlyphRun@3 rect=[33,33 179x18] translation=[33,46.796875] color=rgb(0, 0, 0)
PaintScrollBar@0
PaintScrollBar@0
Restore@0