Title: [295578] trunk/Source/WTF
- Revision
- 295578
- Author
- [email protected]
- Date
- 2022-06-15 16:01:11 -0700 (Wed, 15 Jun 2022)
Log Message
[Cocoa] Add feature flag for WebM Experiment
https://bugs.webkit.org/show_bug.cgi?id=241642
<rdar://95228097>
Patch by Youssef Soliman <[email protected]> on 2022-06-15
Reviewed by Eric Carlson.
Added internal feature and build flag for experimental WebM player.
* Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml:
* Source/WTF/wtf/PlatformEnableCocoa.h:
Canonical link: https://commits.webkit.org/251583@main
Modified Paths
Diff
Modified: trunk/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml (295577 => 295578)
--- trunk/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml 2022-06-15 22:46:32 UTC (rev 295577)
+++ trunk/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml 2022-06-15 23:01:11 UTC (rev 295578)
@@ -976,6 +976,16 @@
WebKit:
default: false
+WebMExperimentEnabled:
+ type: bool
+ humanReadableName: "WebM Experiment"
+ humanReadableDescription: "Enable WebM Experiment"
+ webcoreBinding: RuntimeEnabledFeatures
+ condition: ENABLE(WEBM_EXPERIMENT)
+ defaultValue:
+ WebCore:
+ default: false
+
WebRTCAudioLatencyAdaptationEnabled:
type: bool
humanReadableName: "WebRTC Audio Latency Adaptation"
Modified: trunk/Source/WTF/wtf/PlatformEnableCocoa.h (295577 => 295578)
--- trunk/Source/WTF/wtf/PlatformEnableCocoa.h 2022-06-15 22:46:32 UTC (rev 295577)
+++ trunk/Source/WTF/wtf/PlatformEnableCocoa.h 2022-06-15 23:01:11 UTC (rev 295578)
@@ -666,6 +666,10 @@
#define ENABLE_WEBGL2 1
#endif
+#if !defined(ENABLE_WEBM_EXPERIMENT) && (PLATFORM(MAC) || PLATFORM(IOS) || PLATFORM(MACCATALYST))
+#define ENABLE_WEBM_EXPERIMENT 1
+#endif
+
#if !defined(ENABLE_WEBPROCESS_NSRUNLOOP) && PLATFORM(MAC)
#define ENABLE_WEBPROCESS_NSRUNLOOP 1
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes