RESOLVED FIXED315552
[Skia] Simplify canvas recording in ImageBufferSkiaAcceleratedBackend
https://bugs.webkit.org/show_bug.cgi?id=315552
Summary [Skia] Simplify canvas recording in ImageBufferSkiaAcceleratedBackend
Carlos Garcia Campos
Reported 2026-05-26 00:50:20 PDT
When we record the canvas in ImageBufferSkiaAcceleratedBackend, the replay is always expected to happen in the same thread where the record was done. That means we don't need fences for the accelerated images recorded. We don't need to create a fence and wait for it before reading/writing pixels either, in those cases we don't even need to flush the context since read/write operations are done by skia API that already flushed the context if needed internally. We only need to create a fence when the surface snapshot is going to be rewrapped in a different thread.
Attachments
Carlos Garcia Campos
Comment 1 2026-05-26 00:57:52 PDT
EWS
Comment 2 2026-05-26 04:36:35 PDT
Committed 313877@main (e099d2f02f22): <https://commits.webkit.org/313877@main> Reviewed commits have been landed. Closing PR #65658 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.