| Summary: | GPU Process WindowServer blocking prevents CGL | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> | ||||||||
| Component: | WebGL | Assignee: | Kimmo Kinnunen <kkinnunen> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | darin, dino, pvollan, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | Other | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 217211, 217216 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Kimmo Kinnunen
2020-12-02 07:17:54 PST
Created attachment 415299 [details]
Patch
Comment on attachment 415299 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=415299&action=review > Source/WebKit/GPUProcess/mac/GPUProcessMac.mm:48 > + auto retval = CGSSetDenyWindowServerConnections(true); Not really WebKit style to use the name "retval" and I would prefer "result", "returnValue", or "errorCode", or even "error". Created attachment 415406 [details]
Patch
Thanks for the review. Per Arne found a proper fix. The GPU Process property list was missing allowing the automatic graphics switching. It's unknown if this is intended limitation or accidental error in CGL. Created attachment 415407 [details]
Patch
Comment on attachment 415407 [details]
Patch
R=me. I think the build failures are unrelated.
Committed r270430: <https://trac.webkit.org/changeset/270430> All reviewed patches have been landed. Closing bug and clearing flags on attachment 415407 [details]. |