Bug 902525 - Part 2: Create layers for isolated groups when blending is involved r=roc

This commit is contained in:
Rik Cabanier
2013-09-14 20:30:00 -07:00
parent 27beee6d24
commit 56cc23bd48
7 changed files with 126 additions and 3 deletions

View File

@@ -73,6 +73,7 @@ BasicContainerLayer::ComputeEffectiveTransforms(const gfx3DMatrix& aTransformToS
*/
mUseIntermediateSurface =
GetMaskLayer() ||
GetForceIsolatedGroup() ||
(GetMixBlendMode() != gfxContext::OPERATOR_OVER && HasMultipleChildren()) ||
(GetEffectiveOpacity() != 1.0 && (HasMultipleChildren() || hasSingleBlendingChild));
}