Bug 225996 - [GPUProcess] It is not safe to call GraphicsContext::paintFrameForMedia() off the main thread
Summary: [GPUProcess] It is not safe to call GraphicsContext::paintFrameForMedia() off...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-19 17:05 PDT by Chris Dumez
Modified: 2021-05-19 22:06 PDT (History)
12 users (show)

See Also:


Attachments
Patch (5.68 KB, patch)
2021-05-19 17:09 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2021-05-19 17:05:22 PDT
It is not safe to call GraphicsContext::paintFrameForMedia() off the main thread in the GPUProcess. It relies on the MediaPlayer which is a main-thread object.
Comment 1 Chris Dumez 2021-05-19 17:09:38 PDT
Created attachment 429114 [details]
Patch
Comment 2 EWS 2021-05-19 22:05:28 PDT
Committed r277774 (237935@main): <https://commits.webkit.org/237935@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 429114 [details].
Comment 3 Radar WebKit Bug Importer 2021-05-19 22:06:39 PDT
<rdar://problem/78241935>