RESOLVED FIXED 199581
Hop explicitly to the main thread after generating a frame in ScreenDisplayCaptureSourceMac
https://bugs.webkit.org/show_bug.cgi?id=199581
Summary Hop explicitly to the main thread after generating a frame in ScreenDisplayCa...
youenn fablet
Reported 2019-07-08 11:24:19 PDT
Hop explicitly to the main thread after generating a frame in ScreenDisplayCaptureSourceMac
Attachments
Patch (6.14 KB, patch)
2019-07-08 11:27 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2019-07-08 11:27:59 PDT
Eric Carlson
Comment 2 2019-07-08 14:15:47 PDT
Comment on attachment 373648 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=373648&action=review > Source/WebCore/platform/mediastream/mac/ScreenDisplayCaptureSourceMac.mm:169 > + weakThis->newFrame(status, WTFMove(frame)); There isn't a lot of code in newFrame now, it might make sense to move it here.
youenn fablet
Comment 3 2019-07-08 16:17:01 PDT
Comment on attachment 373648 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=373648&action=review >> Source/WebCore/platform/mediastream/mac/ScreenDisplayCaptureSourceMac.mm:169 >> + weakThis->newFrame(status, WTFMove(frame)); > > There isn't a lot of code in newFrame now, it might make sense to move it here. It makes a nice separation between main-thread/non main thread. And we might want to beef-up newFrame so that it becomes something like generateNewFrame if we get rid of the timer.
Radar WebKit Bug Importer
Comment 4 2019-07-08 16:17:21 PDT
WebKit Commit Bot
Comment 5 2019-07-08 16:51:49 PDT
Comment on attachment 373648 [details] Patch Clearing flags on attachment: 373648 Committed r247238: <https://trac.webkit.org/changeset/247238>
WebKit Commit Bot
Comment 6 2019-07-08 16:51:51 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.