mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 1384756 - Don't support component alpha layers with OMTP. r=dvander
This commit is contained in:
parent
999113c2a7
commit
e74cbf6505
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user