Bug 1384756 - Don't support component alpha layers with OMTP. r=dvander

This commit is contained in:
Mason Chang 2017-07-31 16:48:56 -07:00
parent 999113c2a7
commit e74cbf6505

View File

@ -70,6 +70,12 @@ ClientPaintedLayer::CanRecordLayer(ReadbackProcessor* aReadback)
return false;
}
// Component alpha layers aren't supported yet since we have to
// hold onto both the front/back buffer of a texture client.
if (GetSurfaceMode() == SurfaceMode::SURFACE_COMPONENT_ALPHA) {
return false;
}
return GetAncestorMaskLayerCount() == 0;
}