зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 01478a143658 (bug 1159751) for causing bug 1184539.
CLOSED TREE --HG-- extra : amend_source : 4ec25bfff3e810c29b68978142005b78fa8fb867
This commit is contained in:
Родитель
12c14bd758
Коммит
9466d7029c
|
@ -1911,11 +1911,6 @@ gfxWindowsPlatform::InitD3D11Devices()
|
|||
}
|
||||
|
||||
bool useWARP = false;
|
||||
bool allowWARP = false;
|
||||
|
||||
if (IsWin8OrLater()) {
|
||||
allowWARP = true;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIGfxInfo> gfxInfo = services::GetGfxInfo();
|
||||
if (gfxInfo) {
|
||||
|
@ -1939,7 +1934,7 @@ gfxWindowsPlatform::InitD3D11Devices()
|
|||
}
|
||||
}
|
||||
|
||||
useWARP = allowWARP;
|
||||
useWARP = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1975,7 +1970,7 @@ gfxWindowsPlatform::InitD3D11Devices()
|
|||
if (!gfxPrefs::LayersD3D11DisableWARP()) {
|
||||
return;
|
||||
}
|
||||
useWARP = allowWARP;
|
||||
useWARP = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1997,7 +1992,7 @@ gfxWindowsPlatform::InitD3D11Devices()
|
|||
return;
|
||||
}
|
||||
|
||||
useWARP = allowWARP;
|
||||
useWARP = true;
|
||||
adapter = nullptr;
|
||||
}
|
||||
|
||||
|
@ -2007,7 +2002,7 @@ gfxWindowsPlatform::InitD3D11Devices()
|
|||
return;
|
||||
}
|
||||
|
||||
useWARP = allowWARP;
|
||||
useWARP = true;
|
||||
adapter = nullptr;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче