Bug 1686802 - Expose OMTP status to telemetry. r=aosmond

Differential Revision: https://phabricator.services.mozilla.com/D101858
This commit is contained in:
Jeff Muizelaar 2021-01-15 02:40:22 +00:00
Родитель d4ad0997cf
Коммит 49e9f844bc
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -1655,6 +1655,10 @@ void GfxInfoBase::DescribeFeatures(JSContext* aCx, JS::Handle<JSObject*> aObj) {
gfxConfig::GetFeature(gfx::Feature::OPENGL_COMPOSITING);
InitFeatureObject(aCx, aObj, "openglCompositing", openglCompositing, &obj);
gfx::FeatureState& omtp =
gfxConfig::GetFeature(gfx::Feature::OMTP);
InitFeatureObject(aCx, aObj, "omtp", omtp, &obj);
// Only include AL if the platform attempted to use it.
gfx::FeatureState& advancedLayers =
gfxConfig::GetFeature(gfx::Feature::ADVANCED_LAYERS);