Bug 1515826: Disable RDD process and AV1 on Windows arm64. r=jya
authorBob Owen <bobowencode@gmail.com>
Wed, 09 Jan 2019 17:40:33 +0000
changeset 510271 3951a4f90911165844975c095dfccb960526ecc0
parent 510270 9429979e423ce7358a453d717175771aef609ee8
child 510272 268455a2f791152696315f3a8066500c40dd752c
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjya
bugs1515826
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1515826: Disable RDD process and AV1 on Windows arm64. r=jya
modules/libpref/init/StaticPrefList.h
modules/libpref/init/all.js
--- a/modules/libpref/init/StaticPrefList.h
+++ b/modules/libpref/init/StaticPrefList.h
@@ -1115,17 +1115,17 @@ VARCACHE_PREF(
 #endif
 VARCACHE_PREF(
   "media.gpu-process-decoder",
    MediaGpuProcessDecoder,
   RelaxedAtomicBool, PREF_VALUE
 )
 #undef PREF_VALUE
 
-#if defined(XP_WIN)
+#if defined(XP_WIN) && !defined(_ARM64_)
 # define PREF_VALUE true
 #else
 # define PREF_VALUE false
 #endif
 VARCACHE_PREF(
   "media.rdd-process.enabled",
    MediaRddProcessEnabled,
   RelaxedAtomicBool, PREF_VALUE
@@ -1436,17 +1436,17 @@ VARCACHE_PREF(
 // WebM
 VARCACHE_PREF(
   "media.webm.enabled",
    MediaWebMEnabled,
   RelaxedAtomicBool, true
 )
 
 // AV1
-#if defined(XP_WIN)
+#if defined(XP_WIN) && !defined(_ARM64_)
 # define PREF_VALUE true
 #else
 # define PREF_VALUE false
 #endif
 VARCACHE_PREF(
   "media.av1.enabled",
    MediaAv1Enabled,
   RelaxedAtomicBool, PREF_VALUE
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -640,17 +640,17 @@ pref("media.cubeb.sandbox", true);
 pref("media.audioipc.pool_size", 2);
 // 64 * 4 kB stack per pool thread.
 pref("media.audioipc.stack_size", 262144);
 #else
 pref("media.cubeb.sandbox", false);
 #endif
 
 #ifdef MOZ_AV1
-#if defined(XP_WIN)
+#if defined(XP_WIN) && !defined(_ARM64_)
 pref("media.av1.enabled", true);
 #else
 pref("media.av1.enabled", false);
 #endif
 // Use libdav1d instead of libaom
 pref("media.av1.use-dav1d", false);
 #endif