Title: [270777] trunk/Source/ThirdParty/ANGLE
- Revision
- 270777
- Author
- [email protected]
- Date
- 2020-12-14 10:11:43 -0800 (Mon, 14 Dec 2020)
Log Message
Build fix for Mac Catalyst. Remove code that was accidentally
included in the previous commit.
* src/gpu_info_util/SystemInfo_apple.mm:
(angle::GetSystemInfo):
Modified Paths
Diff
Modified: trunk/Source/ThirdParty/ANGLE/ChangeLog (270776 => 270777)
--- trunk/Source/ThirdParty/ANGLE/ChangeLog 2020-12-14 18:04:43 UTC (rev 270776)
+++ trunk/Source/ThirdParty/ANGLE/ChangeLog 2020-12-14 18:11:43 UTC (rev 270777)
@@ -1,3 +1,11 @@
+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: trunk/Source/ThirdParty/ANGLE/src/gpu_info_util/SystemInfo_apple.mm (270776 => 270777)
--- trunk/Source/ThirdParty/ANGLE/src/gpu_info_util/SystemInfo_apple.mm 2020-12-14 18:04:43 UTC (rev 270776)
+++ trunk/Source/ThirdParty/ANGLE/src/gpu_info_util/SystemInfo_apple.mm 2020-12-14 18:11:43 UTC (rev 270777)
@@ -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