mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +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.
16 lines
504 B
Plaintext
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
|
|
|