Bug 1520664 - Bug 1498639 - Cleanup ReferenceFrame so that each of them has a single matrix. r=kvark
The only thing using both was perspective, but that's not really needed with the current setup. This more closely matches Gecko, too. Differential Revision: https://phabricator.services.mozilla.com/D16764
This commit is contained in:
@@ -403,8 +403,8 @@ void AsyncImagePipelineManager::ApplyAsyncImageForPipeline(
|
||||
wr::ToRoundedLayoutRect(aPipeline->mScBounds),
|
||||
wr::WrStackingContextClip::None(), nullptr, &opacity,
|
||||
aPipeline->mScTransform.IsIdentity() ? nullptr : &aPipeline->mScTransform,
|
||||
wr::TransformStyle::Flat, nullptr, aPipeline->mMixBlendMode,
|
||||
nsTArray<wr::FilterOp>(), true,
|
||||
wr::TransformStyle::Flat, wr::ReferenceFrameKind::Transform,
|
||||
aPipeline->mMixBlendMode, nsTArray<wr::FilterOp>(), true,
|
||||
// This is fine to do unconditionally because we only push images here.
|
||||
wr::RasterSpace::Screen());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user