Bug 1085223 - Restore culling because of regressions from bug 1132144.

--HG--
extra : rebase_source : 8ba1967648ee48c8a7791125bbac697e4c11b63c
This commit is contained in:
Benoit Girard 2015-02-17 10:54:48 -05:00
parent 3a3e06fb32
commit 04d545a0f6

View File

@ -304,11 +304,8 @@ LayerManagerComposite::EndTransaction(DrawPaintedLayerCallback aCallback,
// so we don't need to pass any global transform here.
mRoot->ComputeEffectiveTransforms(gfx::Matrix4x4());
// Disable culling for now. We need to fix /the regressions from
// bug 1085223 before we can re-enable this:
// 1) Don't cull during progressive draw, 2) OS X tp5 regressions.
//nsIntRegion opaque;
//ApplyOcclusionCulling(mRoot, opaque);
nsIntRegion opaque;
ApplyOcclusionCulling(mRoot, opaque);
Render();
mGeometryChanged = false;