Issue #1053 - Remove mobile-specific graphics "optimizations" (=compromises)

This commit is contained in:
Moonchild 2021-03-10 18:58:26 +00:00 committed by roytam1
commit 1feafdc819
21 changed files with 0 additions and 193 deletions

View file

@ -1399,11 +1399,7 @@ ContainerLayer::DefaultComputeEffectiveTransforms(const Matrix4x4& aTransformToS
checkClipRect = true;
checkMaskLayers = true;
} else {
#ifdef MOZ_GFX_OPTIMIZE_MOBILE
if (!contTransform.PreservesAxisAlignedRectangles()) {
#else
if (gfx::ThebesMatrix(contTransform).HasNonIntegerTranslation()) {
#endif
checkClipRect = true;
}
/* In 2D case, only translation and/or positive scaling can be done w/o using IntermediateSurface.