Bug 219666 - [GPU Process]: Cache WebFonts in GPUP
Summary: [GPU Process]: Cache WebFonts in GPUP
Status: RESOLVED DUPLICATE of bug 219672
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-12-08 21:30 PST by Said Abou-Hallawa
Modified: 2020-12-16 09:22 PST (History)
8 users (show)

See Also:


Attachments
WIP (43.36 KB, patch)
2020-12-08 21:34 PST, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
WIP (43.42 KB, patch)
2020-12-08 21:57 PST, Said Abou-Hallawa
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 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.
Comment 1 Said Abou-Hallawa 2020-12-08 21:34:18 PST
Created attachment 415710 [details]
WIP
Comment 2 Said Abou-Hallawa 2020-12-08 21:57:12 PST
Created attachment 415712 [details]
WIP
Comment 3 Radar WebKit Bug Importer 2020-12-15 21:31:48 PST
<rdar://problem/72370811>
Comment 4 Said Abou-Hallawa 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 ***