зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1462555 - Remove gfxWindowsPlatform::mFeatureLevels r=jrmuizel
This commit is contained in:
Родитель
70a0f75d37
Коммит
05f073e8e4
|
@ -345,15 +345,6 @@ gfxWindowsPlatform::InitAcceleration()
|
|||
{
|
||||
gfxPlatform::InitAcceleration();
|
||||
|
||||
// Set up the D3D11 feature levels we can ask for.
|
||||
if (IsWin8OrLater()) {
|
||||
mFeatureLevels.AppendElement(D3D_FEATURE_LEVEL_11_1);
|
||||
}
|
||||
mFeatureLevels.AppendElement(D3D_FEATURE_LEVEL_11_0);
|
||||
mFeatureLevels.AppendElement(D3D_FEATURE_LEVEL_10_1);
|
||||
mFeatureLevels.AppendElement(D3D_FEATURE_LEVEL_10_0);
|
||||
mFeatureLevels.AppendElement(D3D_FEATURE_LEVEL_9_3);
|
||||
|
||||
DeviceManagerDx::Init();
|
||||
|
||||
InitializeConfig();
|
||||
|
|
|
@ -265,8 +265,6 @@ private:
|
|||
DWRITE_MEASURING_MODE mMeasuringMode;
|
||||
|
||||
RefPtr<mozilla::layers::ReadbackManagerD3D11> mD3D11ReadbackManager;
|
||||
|
||||
nsTArray<D3D_FEATURE_LEVEL> mFeatureLevels;
|
||||
};
|
||||
|
||||
#endif /* GFX_WINDOWS_PLATFORM_H */
|
||||
|
|
Загрузка…
Ссылка в новой задаче