Bug 249735

Summary: Remove the empty CATransaction in RemoteLayerTreeDrawingArea::displayDidRefresh()
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: WebKit Process ModelAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.