Bug 1247450 - Rename LayerComposite::GetShadowTransform to GetShadowBaseTransform. r=botond
MozReview-Commit-ID: 4HkKFCDQW4l
This commit is contained in:
@@ -691,7 +691,7 @@ AsyncCompositionManager::RecordShadowTransforms(Layer* aLayer)
|
||||
if (!apzc) {
|
||||
continue;
|
||||
}
|
||||
gfx::Matrix4x4 shadowTransform = aLayer->AsLayerComposite()->GetShadowTransform();
|
||||
gfx::Matrix4x4 shadowTransform = aLayer->AsLayerComposite()->GetShadowBaseTransform();
|
||||
if (!shadowTransform.Is2D()) {
|
||||
continue;
|
||||
}
|
||||
@@ -1432,7 +1432,7 @@ AsyncCompositionManager::TransformShadowTree(TimeStamp aCurrentFrame,
|
||||
|
||||
LayerComposite* rootComposite = root->AsLayerComposite();
|
||||
|
||||
gfx::Matrix4x4 trans = rootComposite->GetShadowTransform();
|
||||
gfx::Matrix4x4 trans = rootComposite->GetShadowBaseTransform();
|
||||
trans *= gfx::Matrix4x4::From2D(mWorldTransform);
|
||||
rootComposite->SetShadowTransform(trans);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user