Bug 219666

Summary: [GPU Process]: Cache WebFonts in GPUP
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: CanvasAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: dino, ews-watchlist, mmaxfield, rniwa, simon.fraser, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=219672
Attachments:
Description Flags
WIP
none
WIP ews-feeder: commit-queue-

Said Abou-Hallawa
Reported 2020-12-08 21:30:21 PST
The WebFont will be cached the same way we cache and reference the NativeImage. When recording DrawGlyphs, we will ensure the Font is cached by GPUP and we will use its RemoteResourceIdentifier in the DL item. When replaying back the DL in GPUP, we are going to pass the FontHashMap to DisplayList::Replayer so its replay() method can resolve the RemoteResourceIdentifier back to a Font.
Attachments
WIP (43.36 KB, patch)
2020-12-08 21:34 PST, Said Abou-Hallawa
no flags
WIP (43.42 KB, patch)
2020-12-08 21:57 PST, Said Abou-Hallawa
ews-feeder: commit-queue-
Said Abou-Hallawa
Comment 1 2020-12-08 21:34:18 PST
Said Abou-Hallawa
Comment 2 2020-12-08 21:57:12 PST
Radar WebKit Bug Importer
Comment 3 2020-12-15 21:31:48 PST
Said Abou-Hallawa
Comment 4 2020-12-16 09:22:59 PST
Caching Web fonts in the GPU Process should be fixed by bug 219672. *** This bug has been marked as a duplicate of bug 219672 ***
Note You need to log in before you can comment on or make changes to this bug.