зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1065008 - Consider the shadow transform when computing the opaque rect to use for culling. r=roc
--HG-- extra : rebase_source : 2b162f272016193e2af3316c9f18d37125050863
This commit is contained in:
Родитель
7ca5f86054
Коммит
c7931a8a6d
|
@ -57,7 +57,7 @@ GetOpaqueRect(Layer* aLayer)
|
|||
{
|
||||
nsIntRect result;
|
||||
gfx::Matrix matrix;
|
||||
bool is2D = aLayer->GetBaseTransform().Is2D(&matrix);
|
||||
bool is2D = aLayer->AsLayerComposite()->GetShadowTransform().Is2D(&matrix);
|
||||
|
||||
// Just bail if there's anything difficult to handle.
|
||||
if (!is2D || aLayer->GetMaskLayer() ||
|
||||
|
|
Загрузка…
Ссылка в новой задаче