forked from mirrors/gecko-dev
Bug 1574327. Add a pref that we can use to disable d3d11 blacklist. r=aosmond
We'll use this to enable WARP on CI. Differential Revision: https://phabricator.services.mozilla.com/D42221 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
709d01d4c1
commit
ade5ad48a8
2 changed files with 7 additions and 1 deletions
|
|
@ -1368,7 +1368,8 @@ void gfxWindowsPlatform::InitializeD3D11Config() {
|
|||
|
||||
nsCString message;
|
||||
nsCString failureId;
|
||||
if (!gfxPlatform::IsGfxInfoStatusOkay(nsIGfxInfo::FEATURE_DIRECT3D_11_LAYERS,
|
||||
if (StaticPrefs::layers_d3d11_enable_blacklist_AtStartup() &&
|
||||
!gfxPlatform::IsGfxInfoStatusOkay(nsIGfxInfo::FEATURE_DIRECT3D_11_LAYERS,
|
||||
&message, failureId)) {
|
||||
d3d11.Disable(FeatureStatus::Blacklisted, message.get(), failureId);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3721,6 +3721,11 @@
|
|||
value: false
|
||||
mirror: once
|
||||
|
||||
- name: layers.d3d11.enable-blacklist
|
||||
type: bool
|
||||
value: true
|
||||
mirror: once
|
||||
|
||||
- name: layers.deaa.enabled
|
||||
type: RelaxedAtomicBool
|
||||
value: false
|
||||
|
|
|
|||
Loading…
Reference in a new issue