mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1150124. Move WARP reporter closer to actually testing WARP.
This commit is contained in:
parent
64d3e01c66
commit
27ad8a057e
@ -1875,7 +1875,6 @@ gfxWindowsPlatform::InitD3D11Devices()
|
||||
MOZ_ASSERT(!mD3D11Device);
|
||||
|
||||
bool useWARP = false;
|
||||
ScopedGfxFeatureReporter reporterWARP("D3D11-WARP", gfxPrefs::LayersD3D11ForceWARP());
|
||||
|
||||
nsCOMPtr<nsIGfxInfo> gfxInfo = do_GetService("@mozilla.org/gfx/info;1");
|
||||
if (gfxInfo) {
|
||||
@ -1962,6 +1961,7 @@ gfxWindowsPlatform::InitD3D11Devices()
|
||||
MOZ_ASSERT(!mD3D11Device);
|
||||
MOZ_ASSERT(!adapter);
|
||||
|
||||
ScopedGfxFeatureReporter reporterWARP("D3D11-WARP", gfxPrefs::LayersD3D11ForceWARP());
|
||||
hr = d3d11CreateDevice(nullptr, D3D_DRIVER_TYPE_WARP, nullptr,
|
||||
// Use
|
||||
// D3D11_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS
|
||||
|
Loading…
Reference in New Issue
Block a user