Title: [270785] branches/safari-611.1.9-branch/Source/ThirdParty/ANGLE
Revision
270785
Author
[email protected]
Date
2020-12-14 10:43:53 -0800 (Mon, 14 Dec 2020)

Log Message

Cherry-pick r270777. rdar://problem/72304155

    Build fix for Mac Catalyst. Remove code that was accidentally
    included in the previous commit.

    * src/gpu_info_util/SystemInfo_apple.mm:
    (angle::GetSystemInfo):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@270777 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-611.1.9-branch/Source/ThirdParty/ANGLE/ChangeLog (270784 => 270785)


--- branches/safari-611.1.9-branch/Source/ThirdParty/ANGLE/ChangeLog	2020-12-14 18:43:23 UTC (rev 270784)
+++ branches/safari-611.1.9-branch/Source/ThirdParty/ANGLE/ChangeLog	2020-12-14 18:43:53 UTC (rev 270785)
@@ -1,3 +1,23 @@
+2020-12-14  Russell Epstein  <[email protected]>
+
+        Cherry-pick r270777. rdar://problem/72304155
+
+    Build fix for Mac Catalyst. Remove code that was accidentally
+    included in the previous commit.
+    
+    * src/gpu_info_util/SystemInfo_apple.mm:
+    (angle::GetSystemInfo):
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@270777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2020-12-14  Dean Jackson  <[email protected]>
+
+            Build fix for Mac Catalyst. Remove code that was accidentally
+            included in the previous commit.
+
+            * src/gpu_info_util/SystemInfo_apple.mm:
+            (angle::GetSystemInfo):
+
 2020-12-12  Kyle Piddington  <[email protected]>
 
         Improved Metal backend for ANGLE, with direct GLSL to Metal compiler translation

Modified: branches/safari-611.1.9-branch/Source/ThirdParty/ANGLE/src/gpu_info_util/SystemInfo_apple.mm (270784 => 270785)


--- branches/safari-611.1.9-branch/Source/ThirdParty/ANGLE/src/gpu_info_util/SystemInfo_apple.mm	2020-12-14 18:43:23 UTC (rev 270784)
+++ branches/safari-611.1.9-branch/Source/ThirdParty/ANGLE/src/gpu_info_util/SystemInfo_apple.mm	2020-12-14 18:43:53 UTC (rev 270785)
@@ -19,26 +19,8 @@
 
 bool GetSystemInfo(SystemInfo *info)
 {
-#    if defined(ANGLE_PLATFORM_MACCATALYST) && defined(ANGLE_CPU_ARM64)
-    static bool isiOSAppOnMac = false;
-    static dispatch_once_t once;
-    dispatch_once(&once, ^{
-      isiOSAppOnMac = [[NSProcessInfo processInfo] isiOSAppOnMac];
-    });
-
-    if (isiOSAppOnMac)
-    {
-        GetSystemInfo_ios(info);
-        if (info)
-        {
-            info->isiOSAppOnMac = true;
-        }
-        return info;
-    }
-
+#    #if defined(ANGLE_PLATFORM_MACOS) || defined(ANGLE_PLATFORM_MACCATALYST)
     return GetSystemInfo_mac(info);
-#    elif defined(ANGLE_PLATFORM_MACOS) || defined(ANGLE_PLATFORM_MACCATALYST)
-    return GetSystemInfo_mac(info);
 #    else
     return GetSystemInfo_ios(info);
 #    endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to