Title: [279524] trunk/Source/WTF
- Revision
- 279524
- Author
- bfulg...@apple.com
- Date
- 2021-07-02 16:21:00 -0700 (Fri, 02 Jul 2021)
Log Message
[macOS] Only use WebGL on Metal by default on safe versions of macOS
https://bugs.webkit.org/show_bug.cgi?id=227633
<rdar://problem/78527887>
Reviewed by Dean Jackson.
Tested by WebGL test suite.
* Scripts/Preferences/WebPreferencesExperimental.yaml:
* wtf/PlatformHave.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (279523 => 279524)
--- trunk/Source/WTF/ChangeLog 2021-07-02 23:05:49 UTC (rev 279523)
+++ trunk/Source/WTF/ChangeLog 2021-07-02 23:21:00 UTC (rev 279524)
@@ -1,3 +1,16 @@
+2021-07-02 Brent Fulgham <bfulg...@apple.com>
+
+ [macOS] Only use WebGL on Metal by default on safe versions of macOS
+ https://bugs.webkit.org/show_bug.cgi?id=227633
+ <rdar://problem/78527887>
+
+ Reviewed by Dean Jackson.
+
+ Tested by WebGL test suite.
+
+ * Scripts/Preferences/WebPreferencesExperimental.yaml:
+ * wtf/PlatformHave.h:
+
2021-07-01 Youenn Fablet <you...@apple.com>
Disable relay for UDP sockets when not needed
Modified: trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml (279523 => 279524)
--- trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml 2021-07-02 23:05:49 UTC (rev 279523)
+++ trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml 2021-07-02 23:21:00 UTC (rev 279524)
@@ -1202,11 +1202,14 @@
condition: ENABLE(WEBGL) && PLATFORM(COCOA)
defaultValue:
WebKitLegacy:
- default: true
+ "HAVE(WEBGL_COMPATIBLE_METAL)": true
+ default: false
WebKit:
- default: true
+ "HAVE(WEBGL_COMPATIBLE_METAL)": true
+ default: false
WebCore:
- default: true
+ "HAVE(WEBGL_COMPATIBLE_METAL)": true
+ default: false
WebGPUEnabled:
type: bool
Modified: trunk/Source/WTF/wtf/PlatformHave.h (279523 => 279524)
--- trunk/Source/WTF/wtf/PlatformHave.h 2021-07-02 23:05:49 UTC (rev 279523)
+++ trunk/Source/WTF/wtf/PlatformHave.h 2021-07-02 23:21:00 UTC (rev 279524)
@@ -1093,3 +1093,7 @@
#if !defined(HAVE_GROUP_ACTIVITIES) && PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 120000
#define HAVE_GROUP_ACTIVITIES 1
#endif
+
+#if PLATFORM(IOS_FAMILY) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 120000)
+#define HAVE_WEBGL_COMPATIBLE_METAL 1
+#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes