Bug 224304 - Wasted vector capacity in various DisplayList related code paths
Summary: Wasted vector capacity in various DisplayList related code paths
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-04-07 13:44 PDT by Simon Fraser (smfr)
Modified: 2021-04-07 15:48 PDT (History)
7 users (show)

See Also:


Attachments
Patch (5.45 KB, patch)
2021-04-07 13:48 PDT, Simon Fraser (smfr)
wenson_hsieh: review+
Details | Formatted Diff | Diff
Patch (6.84 KB, patch)
2021-04-07 14:12 PDT, Simon Fraser (smfr)
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (6.84 KB, patch)
2021-04-07 14:39 PDT, Simon Fraser (smfr)
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 Simon Fraser (smfr) 2021-04-07 13:44:46 PDT
Wasted vector capacity in various DisplayList related code paths
Comment 1 Simon Fraser (smfr) 2021-04-07 13:48:11 PDT
Created attachment 425433 [details]
Patch
Comment 2 Simon Fraser (smfr) 2021-04-07 13:49:11 PDT
This is a first cut. DrawGlyphs could be rewritten to allocate only as much space as is required. ItemBuffers could be shrunk.
Comment 3 Simon Fraser (smfr) 2021-04-07 14:12:11 PDT
Created attachment 425437 [details]
Patch
Comment 4 Simon Fraser (smfr) 2021-04-07 14:39:18 PDT
Created attachment 425440 [details]
Patch
Comment 5 Simon Fraser (smfr) 2021-04-07 15:47:25 PDT
https://trac.webkit.org/changeset/275639/webkit
Comment 6 Radar WebKit Bug Importer 2021-04-07 15:48:15 PDT
<rdar://problem/76369458>