Bug 293681
| Summary: | [GTK][WPE][Skia] Assure SkiaRecordingResult is destroyed on the main thread | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Nikolas Zimmermann <zimmermann> |
| Component: | WPE WebKit | Assignee: | Nikolas Zimmermann <zimmermann> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Nikolas Zimmermann
SkiaRecordingResult is constructed on the main thread and destructed by the last painting worker thread that made use of it -- that destroys the SkPicture, as well as the image to fence map from a different thread than the main thread - leading to (potential) thread-safety issues, let's avoid that.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Nikolas Zimmermann
Pull request: https://github.com/WebKit/WebKit/pull/45990
EWS
Committed 295939@main (5bb7f4f50634): <https://commits.webkit.org/295939@main>
Reviewed commits have been landed. Closing PR #45990 and removing active labels.