Title: [251727] trunk/Source/ThirdParty/ANGLE
Revision
251727
Author
[email protected]
Date
2019-10-29 13:01:12 -0700 (Tue, 29 Oct 2019)

Log Message

[ANGLE] Window Server blocking stops single GPU systems from creating a CGLPixelFormat
https://bugs.webkit.org/show_bug.cgi?id=203522
<rdar://problem/56685302>

Reviewed by Alex Christensen.

The Web Content Process blocks access to the Window Server. For that reason, we
must create all CGLPixelFormats with the "offline renderer" flag, even if we're
not on a dual-GPU system.

* src/libANGLE/renderer/gl/cgl/DisplayCGL.mm: Always enable kCGLPFAAllowOfflineRenderers.
(rx::DisplayCGL::initialize):

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/ANGLE/ChangeLog (251726 => 251727)


--- trunk/Source/ThirdParty/ANGLE/ChangeLog	2019-10-29 19:51:23 UTC (rev 251726)
+++ trunk/Source/ThirdParty/ANGLE/ChangeLog	2019-10-29 20:01:12 UTC (rev 251727)
@@ -1,3 +1,18 @@
+2019-10-29  Dean Jackson  <[email protected]>
+
+        [ANGLE] Window Server blocking stops single GPU systems from creating a CGLPixelFormat
+        https://bugs.webkit.org/show_bug.cgi?id=203522
+        <rdar://problem/56685302>
+
+        Reviewed by Alex Christensen.
+
+        The Web Content Process blocks access to the Window Server. For that reason, we
+        must create all CGLPixelFormats with the "offline renderer" flag, even if we're
+        not on a dual-GPU system.
+
+        * src/libANGLE/renderer/gl/cgl/DisplayCGL.mm: Always enable kCGLPFAAllowOfflineRenderers.
+        (rx::DisplayCGL::initialize):
+
 2019-10-23  Dean Jackson  <[email protected]>
 
         [ANGLE] Improve compile-time macOS guards and avoid ObjC if possible

Modified: trunk/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/cgl/DisplayCGL.mm (251726 => 251727)


--- trunk/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/cgl/DisplayCGL.mm	2019-10-29 19:51:23 UTC (rev 251726)
+++ trunk/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/cgl/DisplayCGL.mm	2019-10-29 20:01:12 UTC (rev 251727)
@@ -83,10 +83,7 @@
         std::vector<CGLPixelFormatAttribute> attribs;
         attribs.push_back(kCGLPFAOpenGLProfile);
         attribs.push_back(static_cast<CGLPixelFormatAttribute>(kCGLOGLPVersion_3_2_Core));
-        if (mSupportsGPUSwitching)
-        {
-            attribs.push_back(kCGLPFAAllowOfflineRenderers);
-        }
+        attribs.push_back(kCGLPFAAllowOfflineRenderers);
         attribs.push_back(static_cast<CGLPixelFormatAttribute>(0));
         GLint nVirtualScreens = 0;
         CGLChoosePixelFormat(attribs.data(), &mPixelFormat, &nVirtualScreens);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to