Changeset 263362 in webkit


Ignore:
Timestamp:
Jun 22, 2020 1:24:48 PM (4 years ago)
Author:
timothy_horton@apple.com
Message:

WebGL cannot create a context if there is no GPU on the PCIe bus
https://bugs.webkit.org/show_bug.cgi?id=213479

Reviewed by Maciej Stachowiak and Dean Jackson.

  • src/gpu_info_util/SystemInfo_macos.mm:

(angle::GetSystemInfo):
Do not bail from WebGL initialization if there are no GPUs on the PCIe bus.
Instead, continue on to context creation, and allow the system frameworks
to return an error if there truly is no GPU.

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

Legend:

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

    r263284 r263362  
     12020-06-22  Tim Horton  <timothy_horton@apple.com>
     2
     3        WebGL cannot create a context if there is no GPU on the PCIe bus
     4        https://bugs.webkit.org/show_bug.cgi?id=213479
     5
     6        Reviewed by Maciej Stachowiak and Dean Jackson.
     7
     8        * src/gpu_info_util/SystemInfo_macos.mm:
     9        (angle::GetSystemInfo):
     10        Do not bail from WebGL initialization if there are no GPUs on the PCIe bus.
     11        Instead, continue on to context creation, and allow the system frameworks
     12        to return an error if there truly is no GPU.
     13
    1142020-06-19  Jonathan Bedard  <jbedard@apple.com>
    215
  • trunk/Source/ThirdParty/ANGLE/src/gpu_info_util/SystemInfo_macos.mm

    r252989 r263362  
    207207
    208208    if (!GetPCIDevices(&(info->gpus)))
    209     {
    210         return false;
    211     }
    212 
    213     if (info->gpus.empty())
    214209    {
    215210        return false;
Note: See TracChangeset for help on using the changeset viewer.