Skip to content
Snippets Groups Projects
Commit 1c58dd2c authored by David Anderson's avatar David Anderson
Browse files

Add a "blacklisted" property to d3d11 telemetry. (bug 1187453, r=mattwoodrow)

--HG--
extra : rebase_source : a105718b3bb8abe91cfdbe55b640f2775d975fea
parent b9a61661
No related merge requests found
...@@ -1292,6 +1292,9 @@ GfxInfo::DescribeFeatures(JSContext* aCx, JS::Handle<JSObject*> aObj) ...@@ -1292,6 +1292,9 @@ GfxInfo::DescribeFeatures(JSContext* aCx, JS::Handle<JSObject*> aObj)
val = JS::BooleanValue(platform->DoesD3D11TextureSharingWork()); val = JS::BooleanValue(platform->DoesD3D11TextureSharingWork());
JS_SetProperty(aCx, obj, "textureSharing", val); JS_SetProperty(aCx, obj, "textureSharing", val);
val = JS::BooleanValue(!platform->CanUseDirect3D11());
JS_SetProperty(aCx, obj, "blacklisted", val);
} }
gfx::FeatureStatus d2d = platform->GetD2DStatus(); gfx::FeatureStatus d2d = platform->GetD2DStatus();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment