Bug 315552
| Summary: | [Skia] Simplify canvas recording in ImageBufferSkiaAcceleratedBackend | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> |
| Component: | WebKitGTK | Assignee: | Carlos Garcia Campos <cgarcia> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Carlos Garcia Campos
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Garcia Campos
Pull request: https://github.com/WebKit/WebKit/pull/65658
EWS
Committed 313877@main (e099d2f02f22): <https://commits.webkit.org/313877@main>
Reviewed commits have been landed. Closing PR #65658 and removing active labels.