Bug 1085223 - Comment out occlusion culling for now. r=mattwoodrow

This commit is contained in:
Benoit Girard 2015-02-10 11:20:36 +08:00
Родитель b956fb2561
Коммит d8febb45e7
1 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -304,8 +304,11 @@ LayerManagerComposite::EndTransaction(DrawPaintedLayerCallback aCallback,
// so we don't need to pass any global transform here.
mRoot->ComputeEffectiveTransforms(gfx::Matrix4x4());
nsIntRegion opaque;
ApplyOcclusionCulling(mRoot, opaque);
// 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);
Render();
mGeometryChanged = false;