Bug 235088

Summary: [MediaFoundation] Invalidate only the video area using MediaPlayer::repaint(), not the whole FrameView
Product: WebKit Reporter: Fujii Hironori <Hironori.Fujii>
Component: PlatformAssignee: Fujii Hironori <Hironori.Fujii>
Status: RESOLVED FIXED    
Severity: Normal CC: don.olmstead, eric.carlson, ews-watchlist, glenn, jer.noble, philipj, pvollan, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=150941
Bug Depends on:    
Bug Blocks: 233676    
Attachments:
Description Flags
Patch none

Description Fujii Hironori 2022-01-11 16:06:19 PST
[MediaFoundation] Invalidate only the videa area using MediaPlayer::repaint(), not the whole FrameView

MediaPlayerPrivateMediaFoundation::invalidateFrameView() is
invalidating the whole FrameView to render the next frame. (Bug 150941)
It's too much. And, this doesn't work with TiledBacking (attachment 448832 [details]).
Comment 1 Fujii Hironori 2022-01-11 16:18:34 PST
Created attachment 448888 [details]
Patch
Comment 2 Fujii Hironori 2022-01-12 13:18:05 PST
Comment on attachment 448888 [details]
Patch

Clearing flags on attachment: 448888

Committed r287948 (?): <https://commits.webkit.org/r287948>
Comment 3 Fujii Hironori 2022-01-12 13:18:10 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2022-01-12 13:19:18 PST
<rdar://problem/87484080>