Bug 1097803: Report succesful Direct2D 1.1 usage. r=jrmuizel

This commit is contained in:
Bas Schouten 2014-11-12 18:44:31 +00:00
parent 3cf12d91dd
commit 130dead229

View File

@ -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
} }