Bug 236815 - [macOS] Allow screen and window capture to be done in the GPU Process
Summary: [macOS] Allow screen and window capture to be done in the GPU Process
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-02-17 17:07 PST by Eric Carlson
Modified: 2022-02-18 14:44 PST (History)
9 users (show)

See Also:


Attachments
Patch (51.40 KB, patch)
2022-02-17 17:57 PST, Eric Carlson
no flags Details | Formatted Diff | Diff
Patch (50.46 KB, patch)
2022-02-17 21:55 PST, Eric Carlson
no flags Details | Formatted Diff | Diff
[fast-cq] Patch for landing (50.87 KB, patch)
2022-02-18 04:47 PST, Eric Carlson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Carlson 2022-02-17 17:07:49 PST
Add an experimental feature to do screen and window capture in the GPU Process
Comment 1 Radar WebKit Bug Importer 2022-02-17 17:08:00 PST
<rdar://problem/89117278>
Comment 2 Eric Carlson 2022-02-17 17:57:15 PST
Created attachment 452459 [details]
Patch
Comment 3 Jer Noble 2022-02-17 21:25:05 PST
Comment on attachment 452459 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=452459&action=review

r=me with a small nit, once the bots are green

> Source/WebCore/platform/mediastream/mac/ScreenCaptureKitCaptureSource.mm:377
> +    ALWAYS_LOG_IF(loggerPtr(), LOGIDENTIFIER);

I think this can be ALWAYS_LOG_IF_POSSIBLE(LOGIDENTIFIER)

> Source/WebCore/platform/mediastream/mac/ScreenCaptureKitCaptureSource.mm:403
> +    ALWAYS_LOG_IF(loggerPtr(), LOGIDENTIFIER);

Ditto
Comment 4 Eric Carlson 2022-02-17 21:55:03 PST
Created attachment 452478 [details]
Patch
Comment 5 Eric Carlson 2022-02-18 04:47:24 PST
Created attachment 452508 [details]
[fast-cq] Patch for landing
Comment 6 Eric Carlson 2022-02-18 07:55:01 PST
Comment on attachment 452508 [details]
[fast-cq] Patch for landing

The windows failure is unrelated
Comment 7 EWS 2022-02-18 13:03:27 PST
Found 1 new test failure: fast/sandbox/mac/sandbox-mach-lookup.html
Comment 8 Eric Carlson 2022-02-18 13:41:38 PST
Comment on attachment 452508 [details]
[fast-cq] Patch for landing

Per Arne and I can't see anything in this that could break fast/sandbox/mac/sandbox-mach-lookup.html
Comment 9 EWS 2022-02-18 14:44:47 PST
Committed r290174 (247505@main): <https://commits.webkit.org/247505@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 452508 [details].