Files
ladybird/Tests/LibWeb/Text/expected/display_list/simple-overflow-hidden.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

13 lines
434 B
Plaintext

AccumulatedVisualContext Tree:
[1] scroll_frame_id=0 (PaintableWithLines(BlockContainer<PRE>#out))
[2] clip=[10,10 200x100]
[3] scroll_frame_id=1 (PaintableWithLines(BlockContainer<DIV>.inner-box))
DisplayList:
SaveLayer@0
FillPath@1 path_bounding_rect=[8,8 204x104]
FillRect@3 rect=[10,10 300x150] color=rgb(240, 128, 128)
DrawGlyphRun@3 rect=[10,10 38x18] translation=[10,23.796875] color=rgb(0, 0, 0)
Restore@0