mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
2433795f24
commit
b17bdef021
@ -57,7 +57,7 @@ GetOpaqueRect(Layer* aLayer)
|
|||||||
{
|
{
|
||||||
nsIntRect result;
|
nsIntRect result;
|
||||||
gfx::Matrix matrix;
|
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.
|
// Just bail if there's anything difficult to handle.
|
||||||
if (!is2D || aLayer->GetMaskLayer() ||
|
if (!is2D || aLayer->GetMaskLayer() ||
|
||||||
|
Loading…
Reference in New Issue
Block a user