Commit 9a078db5 authored by Jeff Muizelaar's avatar Jeff Muizelaar
Browse files

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

Differential Revision:
parent 6d5ab04a
...@@ -1604,6 +1604,10 @@ bool GfxInfoBase::BuildFeatureStateLog(JSContext* aCx, ...@@ -1604,6 +1604,10 @@ bool GfxInfoBase::BuildFeatureStateLog(JSContext* aCx,
void GfxInfoBase::DescribeFeatures(JSContext* aCx, JS::Handle<JSObject*> aObj) { void GfxInfoBase::DescribeFeatures(JSContext* aCx, JS::Handle<JSObject*> aObj) {
JS::Rooted<JSObject*> obj(aCx); JS::Rooted<JSObject*> obj(aCx);
gfx::FeatureState& hwCompositing =
InitFeatureObject(aCx, aObj, "hwCompositing", hwCompositing, &obj);
gfx::FeatureState& gpuProcess = gfx::FeatureState& gpuProcess =
gfxConfig::GetFeature(gfx::Feature::GPU_PROCESS); gfxConfig::GetFeature(gfx::Feature::GPU_PROCESS);
InitFeatureObject(aCx, aObj, "gpuProcess", gpuProcess, &obj); InitFeatureObject(aCx, aObj, "gpuProcess", gpuProcess, &obj);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment