Bug 283292

Summary: [GTK][WPE][Skia] Use GPU synchronization primitives for ImageBuffer/NativeImage during DisplayList recording/replaying
Product: WebKit Reporter: Nikolas Zimmermann <zimmermann>
Component: New BugsAssignee: Nikolas Zimmermann <zimmermann>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 279618, 283286    

Nikolas Zimmermann
Reported 2024-11-18 02:30:38 PST
Prepare for threaded GPU painting: Use new GPU synchronization priitives in ImageBuffer/NativeImage during DisplayList recording/replaying. During recording, when a NativeImage/ImageBuffer is used call finishAcceleratedRenderingAndCreateFence(), to make sure the rendering commands are flushed to the GPU, and a fence is injected in the GL command stream, so that we can wait during replaying (in a worker thread!) that the GPU finished processing, before we attempt to use the NativeImage/ImageBuffer (in the accelerated case only!).
Attachments
Nikolas Zimmermann
Comment 1 2024-11-18 03:23:19 PST
EWS
Comment 2 2024-11-19 00:13:51 PST
Committed 286787@main (10435abe82ca): <https://commits.webkit.org/286787@main> Reviewed commits have been landed. Closing PR #36796 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-11-19 00:14:14 PST
Note You need to log in before you can comment on or make changes to this bug.