Bug 290216

Summary: [GTK][WPE][Skia] Stop using finishAcceleratedRenderingAndCreateFence & friends in ImageBuffer
Product: WebKit Reporter: Nikolas Zimmermann <zimmermann>
Component: WPE WebKitAssignee: Nikolas Zimmermann <zimmermann>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 289456    
Bug Blocks: 290283, 290284    

Nikolas Zimmermann
Reported 2025-03-21 14:38:08 PDT
ImageBuffer::sinkIntoImageBufferForCrossThreadTransfer() and ImageBuffer::sinkIntoImageBufferAfterCrossThreadTransfer() make use of finishAcceleratedRenderingAndCreateFence / waitForAcceleratedRenderingFenceCompletion / copyAcceleratedImageBufferBorrowingBackendRenderTarget. These functions and the Skia-specific DisplayList code still use these methods. After switching from using DisplayList to SkPicture in SkiaPaintingEngine, we can purge the whole fencing logic from ImageBuffer/NativeImage & friends.
Attachments
Nikolas Zimmermann
Comment 1 2025-03-21 14:48:44 PDT
EWS
Comment 2 2025-03-26 06:37:41 PDT
Committed 292699@main (f18fd5a7e638): <https://commits.webkit.org/292699@main> Reviewed commits have been landed. Closing PR #42843 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.