Skip to content
Permalink
Browse files
GPU Process WindowServer blocking prevents CGL
https://bugs.webkit.org/show_bug.cgi?id=219431
<rdar://problem/71893390>

Patch by Kimmo Kinnunen <kkinnunen@apple.com> on 2020-12-04
Reviewed by Per Arne Vollan.

Mark the GPU process as NSSupportsAutomaticGraphicsSwitching.
This allows CGL to work in cases when WindowServer connection
is blocked.

No new tests, makes the future WebGL in GPU process work.

* GPUProcess/EntryPoint/Cocoa/XPCService/GPUService/Info-OSX.plist:

Canonical link: https://commits.webkit.org/232113@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@270430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
kkinnunen-apple authored and webkit-commit-queue committed Dec 4, 2020
1 parent 69df54c commit e9270e84183aa52c2114f6c4ac23278f60c0b37f
Showing 2 changed files with 18 additions and 0 deletions.
@@ -1,3 +1,19 @@
2020-12-04 Kimmo Kinnunen <kkinnunen@apple.com>

GPU Process WindowServer blocking prevents CGL
https://bugs.webkit.org/show_bug.cgi?id=219431
<rdar://problem/71893390>

Reviewed by Per Arne Vollan.

Mark the GPU process as NSSupportsAutomaticGraphicsSwitching.
This allows CGL to work in cases when WindowServer connection
is blocked.

No new tests, makes the future WebGL in GPU process work.

* GPUProcess/EntryPoint/Cocoa/XPCService/GPUService/Info-OSX.plist:

2020-12-03 Simon Fraser <simon.fraser@apple.com>

Only the first wheel event in a gesture should be cancelable
@@ -41,5 +41,7 @@
<key>_MultipleInstances</key>
<true/>
</dict>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
</dict>
</plist>

0 comments on commit e9270e8

Please sign in to comment.