Bug 1648304 - Record WebRender compositor status in telemetry. r=aosmond

Differential Revision: https://phabricator.services.mozilla.com/D80994
This commit is contained in:
Jeff Muizelaar 2020-06-25 00:59:29 +00:00
Родитель 553b19d004
Коммит 9dd8f51e82
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -1623,6 +1623,9 @@ void GfxInfoBase::DescribeFeatures(JSContext* aCx, JS::Handle<JSObject*> aObj) {
gfx::FeatureState& webrender = gfxConfig::GetFeature(gfx::Feature::WEBRENDER);
InitFeatureObject(aCx, aObj, "webrender", webrender, &obj);
gfx::FeatureState& wrCompositor = gfxConfig::GetFeature(gfx::Feature::WEBRENDER_COMPOSITOR);
InitFeatureObject(aCx, aObj, "wrCompositor", wrCompositor, &obj);
// Only include AL if the platform attempted to use it.
gfx::FeatureState& advancedLayers =
gfxConfig::GetFeature(gfx::Feature::ADVANCED_LAYERS);