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 Bugs | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Nikolas Zimmermann
Pull request: https://github.com/WebKit/WebKit/pull/36796
EWS
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
<rdar://problem/140181352>