GPU Process WindowServer blocking prevents CGL
Currently block is done with setApplicationIsDaemon
I managed to use the Web Process method of blocking WindowServer on iMac Pro
I failed to use the method on MacBook with Intel/AMD
Created attachment 415299 [details]
Comment on attachment 415299 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=415299&action=review
> + 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]
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]
Comment on attachment 415407 [details]
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].