Changeset 251727 in webkit


Ignore:
Timestamp:
Oct 29, 2019 1:01:12 PM (4 years ago)
Author:
dino@apple.com
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):

Location:
trunk/Source/ThirdParty/ANGLE
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/ThirdParty/ANGLE/ChangeLog

    r251510 r251727  
     12019-10-29  Dean Jackson  <dino@apple.com>
     2
     3        [ANGLE] Window Server blocking stops single GPU systems from creating a CGLPixelFormat
     4        https://bugs.webkit.org/show_bug.cgi?id=203522
     5        <rdar://problem/56685302>
     6
     7        Reviewed by Alex Christensen.
     8
     9        The Web Content Process blocks access to the Window Server. For that reason, we
     10        must create all CGLPixelFormats with the "offline renderer" flag, even if we're
     11        not on a dual-GPU system.
     12
     13        * src/libANGLE/renderer/gl/cgl/DisplayCGL.mm: Always enable kCGLPFAAllowOfflineRenderers.
     14        (rx::DisplayCGL::initialize):
     15
    1162019-10-23  Dean Jackson  <dino@apple.com>
    217
  • trunk/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/cgl/DisplayCGL.mm

    r251510 r251727  
    8484        attribs.push_back(kCGLPFAOpenGLProfile);
    8585        attribs.push_back(static_cast<CGLPixelFormatAttribute>(kCGLOGLPVersion_3_2_Core));
    86         if (mSupportsGPUSwitching)
    87         {
    88             attribs.push_back(kCGLPFAAllowOfflineRenderers);
    89         }
     86        attribs.push_back(kCGLPFAAllowOfflineRenderers);
    9087        attribs.push_back(static_cast<CGLPixelFormatAttribute>(0));
    9188        GLint nVirtualScreens = 0;
Note: See TracChangeset for help on using the changeset viewer.