Bug 1642014 - Expose HW_COMPOSITING feature to telemetry. r=aosmond
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Fri, 29 May 2020 22:35:13 +0000
changeset 533091 b8d9d72a25008e26738cc0a3d5b2681729915331
parent 533090 ad89ceb0eb7d97f7b14b670e4f8475d9de16e473
child 533092 cd2a8f53a657a4b9fb32079ef9a50373962e668f
push id37462
push usermalexandru@mozilla.com
push dateSat, 30 May 2020 09:46:43 +0000
treeherdermozilla-central@8aaca63ec5c6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaosmond
bugs1642014
milestone78.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1642014 - Expose HW_COMPOSITING feature to telemetry. r=aosmond FEATURE_FAILURE_D3D11_NEED_HWCOMP is one of the main reasons people get the basic compositor. This will let us dig into why we get FEATURE_FAILURE_D3D11_NEED_HWCOMP. Differential Revision: https://phabricator.services.mozilla.com/D77554
widget/GfxInfoBase.cpp
--- a/widget/GfxInfoBase.cpp
+++ b/widget/GfxInfoBase.cpp
@@ -1599,16 +1599,20 @@ bool GfxInfoBase::BuildFeatureStateLog(J
   });
 
   return true;
 }
 
 void GfxInfoBase::DescribeFeatures(JSContext* aCx, JS::Handle<JSObject*> aObj) {
   JS::Rooted<JSObject*> obj(aCx);
 
+  gfx::FeatureState& hwCompositing =
+      gfxConfig::GetFeature(gfx::Feature::HW_COMPOSITING);
+  InitFeatureObject(aCx, aObj, "hwCompositing", hwCompositing, &obj);
+
   gfx::FeatureState& gpuProcess =
       gfxConfig::GetFeature(gfx::Feature::GPU_PROCESS);
   InitFeatureObject(aCx, aObj, "gpuProcess", gpuProcess, &obj);
 
   gfx::FeatureState& wrQualified =
       gfxConfig::GetFeature(gfx::Feature::WEBRENDER_QUALIFIED);
   InitFeatureObject(aCx, aObj, "wrQualified", wrQualified, &obj);