WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
222674
PaintFrameForMedia may be processed before the target MediaPlayer has been received in the GPU process
https://bugs.webkit.org/show_bug.cgi?id=222674
Summary
PaintFrameForMedia may be processed before the target MediaPlayer has been re...
Wenson Hsieh
Reported
2021-03-03 11:41:41 PST
This may cause `PaintFrameForMedia` to (incorrectly) be a no-op.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-03-03 11:42:08 PST
<
rdar://problem/74995642
>
Wenson Hsieh
Comment 2
2021-03-16 13:59:39 PDT
(Some more info…) PaintFrameForMedia is a display list item that grabs the MediaPlayer corresponding to its identifier, and paints the current frame of the MediaPlayer into the destination image buffer. However, there's currently no mechanism to ensure that we've created the MediaPlayer in the GPU Process at the time when the item (PaintFrameForMedia) is being applied. For other similar drawing items (such as items for drawing fonts or images), we'll notice that we're missing the cached resource, bail from the main display list processing loop, and resume processing when we've received the resource. However, MediaPlayer currently does not integrate with this mechanism, so we end up treating the item as a no-op in the case where we haven't received the MediaPlayer yet.
Peng Liu
Comment 3
2021-04-30 15:33:02 PDT
***
Bug 222633
has been marked as a duplicate of this bug. ***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug