mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
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.
13 lines
525 B
Plaintext
13 lines
525 B
Plaintext
AccumulatedVisualContext Tree:
|
|
[1] scroll_frame_id=0 (PaintableWithLines(BlockContainer<PRE>#out))
|
|
|
|
DisplayList:
|
|
SaveLayer@0
|
|
DrawGlyphRun@1 rect=[35,8 8x18] translation=[35.15625,21.796875] color=rgb(0, 0, 0)
|
|
DrawGlyphRun@1 rect=[8,8 28x18] translation=[8,21.796875] color=rgb(0, 0, 0)
|
|
DrawLine@1 from=[8,24] to=[35,24] color=rgb(0, 0, 0) thickness=2
|
|
DrawGlyphRun@1 rect=[43,8 28x18] translation=[43.15625,21.796875] color=rgb(0, 0, 0)
|
|
DrawLine@1 from=[43,27] to=[71,27] color=rgb(0, 0, 0) thickness=2
|
|
Restore@0
|
|
|