mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1097803: Report succesful Direct2D 1.1 usage. r=jrmuizel
This commit is contained in:
parent
3cf12d91dd
commit
130dead229
@ -611,6 +611,12 @@ gfxWindowsPlatform::VerifyD2DDevice(bool aAttemptForce)
|
|||||||
reporter.SetSuccessful();
|
reporter.SetSuccessful();
|
||||||
mozilla::gfx::Factory::SetDirect3D10Device(cairo_d2d_device_get_device(mD2DDevice));
|
mozilla::gfx::Factory::SetDirect3D10Device(cairo_d2d_device_get_device(mD2DDevice));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ScopedGfxFeatureReporter reporter1_1("D2D1.1");
|
||||||
|
|
||||||
|
if (Factory::SupportsD2D1()) {
|
||||||
|
reporter1_1.SetSuccessful();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user