зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1299715 - Part 5. Correct clip region for opacity surface. r=mstange
MozReview-Commit-ID: 1wiQKsHKJsg --HG-- extra : rebase_source : 47b58288cdde10d9fae42bec33082ea90604957b
This commit is contained in:
Родитель
84d4f4c4c5
Коммит
837190aa4f
|
@ -875,7 +875,7 @@ nsSVGIntegrationUtils::PaintMaskAndClipPath(const PaintFramesParams& aParams)
|
|||
|
||||
matSR.SetContext(&context);
|
||||
SetupContextMatrix(firstFrame, aParams, offsetToBoundingBox,
|
||||
offsetToUserSpace, true);
|
||||
offsetToUserSpace, false);
|
||||
}
|
||||
|
||||
if (aParams.layerManager->GetRoot()->GetContentFlags() & Layer::CONTENT_COMPONENT_ALPHA) {
|
||||
|
@ -920,12 +920,6 @@ nsSVGIntegrationUtils::PaintMaskAndClipPath(const PaintFramesParams& aParams)
|
|||
|
||||
if (shouldGenerateMask) {
|
||||
context.PopGroupAndBlend();
|
||||
|
||||
if (!shouldGenerateClipMaskLayer && !shouldGenerateMaskLayer) {
|
||||
MOZ_ASSERT(opacity != 1.0f);
|
||||
// Pop the clip push by SetupContextMatrix
|
||||
context.PopClip();
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
|
|
Загрузка…
Ссылка в новой задаче