Bug 249735 - Remove the empty CATransaction in RemoteLayerTreeDrawingArea::displayDidRefresh()
Summary: Remove the empty CATransaction in RemoteLayerTreeDrawingArea::displayDidRefre...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Process Model (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-21 12:00 PST by Simon Fraser (smfr)
Modified: 2023-01-24 11:18 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2022-12-21 12:00:37 PST
With UI-side compositing (and IOKit blocking) we should never have IOSurfaces in the web content process, so we should be able to remove this code in RemoteLayerTreeDrawingArea::displayDidRefresh():

    // This empty transaction serves to trigger CA's garbage collection of IOSurfaces. See <rdar://problem/16110687>
    [CATransaction begin];
    [CATransaction commit];
Comment 1 Radar WebKit Bug Importer 2022-12-21 12:01:03 PST
<rdar://problem/103608610>
Comment 2 Simon Fraser (smfr) 2023-01-23 15:45:04 PST
Pull request: https://github.com/WebKit/WebKit/pull/8999
Comment 3 EWS 2023-01-24 11:18:56 PST
Committed 259296@main (608305feff3b): <https://commits.webkit.org/259296@main>

Reviewed commits have been landed. Closing PR #8999 and removing active labels.