WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
240108
[WK2][Cocoa] Remove use of CVPixelBufferConformer from WebContent process in MediaPlayerPrivateRemote::nativeImageForCurrentTime()
https://bugs.webkit.org/show_bug.cgi?id=240108
Summary
[WK2][Cocoa] Remove use of CVPixelBufferConformer from WebContent process in ...
Jer Noble
Reported
2022-05-04 21:35:09 PDT
[WK2][Cocoa] Remove use of CVPixelBufferConformer from WebContent process in MediaPlayerPrivateRemote::nativeImageForCurrentTime()
Attachments
Patch
(13.50 KB, patch)
2022-05-04 21:41 PDT
,
Jer Noble
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-05-04 21:35:34 PDT
<
rdar://problem/92773611
>
Jer Noble
Comment 2
2022-05-04 21:41:30 PDT
Created
attachment 458850
[details]
Patch
youenn fablet
Comment 3
2022-05-05 01:31:19 PDT
Comment on
attachment 458850
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=458850&action=review
> Source/WebKit/WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm:66 > if (!connection().sendSync(Messages::RemoteMediaPlayerProxy::NativeImageForCurrentTime(), Messages::RemoteMediaPlayerProxy::NativeImageForCurrentTime::Reply(sendRight, colorSpace), m_id))
This sync IPC is getting a mach send right to create an IOSurface. This will probably fail if IOKit is blocked.
Jer Noble
Comment 4
2022-05-05 08:18:27 PDT
(In reply to youenn fablet from
comment #3
)
> Comment on
attachment 458850
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=458850&action=review
> > > Source/WebKit/WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm:66 > > if (!connection().sendSync(Messages::RemoteMediaPlayerProxy::NativeImageForCurrentTime(), Messages::RemoteMediaPlayerProxy::NativeImageForCurrentTime::Reply(sendRight, colorSpace), m_id)) > > This sync IPC is getting a mach send right to create an IOSurface. > This will probably fail if IOKit is blocked.
We'll have to deal with that in another patch.
EWS
Comment 5
2022-05-05 09:14:20 PDT
Committed
r293839
(
250312@main
): <
https://commits.webkit.org/250312@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 458850
[details]
.
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