WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
299869
[Skia] Build a SkTextBlob when recording DrawGlyphs display list item
https://bugs.webkit.org/show_bug.cgi?id=299869
Summary
[Skia] Build a SkTextBlob when recording DrawGlyphs display list item
Carlos Garcia Campos
Reported
2025-09-30 02:24:59 PDT
GlyphDisplayListCache uses a display list to cache the shaping results of a text run that is frequently painted, but we are still building a SkTextBlob for the same shaping results every time the display list is replayed, which is expensive. We can build the SkTextBlob once when recording and save that in DrawGlyphs item instead of the list of glyphs and advances.
Attachments
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2025-09-30 02:27:50 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/51557
EWS
Comment 2
2025-10-01 03:03:16 PDT
Committed
300818@main
(7e98db0c73bf): <
https://commits.webkit.org/300818@main
> Reviewed commits have been landed. Closing PR #51557 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-10-01 03:05:32 PDT
<
rdar://problem/161720523
>
Ian Grunert
Comment 4
2025-10-08 15:58:18 PDT
This change is causing a crash on Windows:
https://bugs.webkit.org/show_bug.cgi?id=300412
Any ideas would be appreciated, it's a pretty unusual one.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug