Blame SOURCES/mozilla-bmo1602730.patch
|
|
1a3471 |
diff -r 6ef20eee3f8f gfx/layers/basic/BasicCompositor.cpp
|
|
|
1a3471 |
|
|
|
1a3471 |
|
|
|
1a3471 |
@@ -693,9 +693,13 @@
|
|
|
1a3471 |
|
|
|
1a3471 |
RefPtr<SourceSurface> sourceMask;
|
|
|
1a3471 |
Matrix maskTransform;
|
|
|
1a3471 |
+
|
|
|
1a3471 |
+
|
|
|
1a3471 |
+#if MOZ_LITTLE_ENDIAN
|
|
|
1a3471 |
if (aTransform.Is2D()) {
|
|
|
1a3471 |
SetupMask(aEffectChain, dest, offset, sourceMask, maskTransform);
|
|
|
1a3471 |
}
|
|
|
1a3471 |
+#endif
|
|
|
1a3471 |
|
|
|
1a3471 |
CompositionOp blendMode = CompositionOp::OP_OVER;
|
|
|
1a3471 |
if (Effect* effect =
|
|
|
1a3471 |
diff -r 6ef20eee3f8f gfx/layers/composite/CompositableHost.cpp
|
|
|
1a3471 |
|
|
|
1a3471 |
|
|
|
1a3471 |
@@ -91,6 +91,7 @@
|
|
|
1a3471 |
}
|
|
|
1a3471 |
MOZ_ASSERT(source);
|
|
|
1a3471 |
|
|
|
1a3471 |
+ // Alternatively: Comment out these lines where the alpha-mask is set
|
|
|
1a3471 |
RefPtr<EffectMask> effect =
|
|
|
1a3471 |
new EffectMask(source, source->GetSize(), aTransform);
|
|
|
1a3471 |
aEffects.mSecondaryEffects[EffectTypes::MASK] = effect;
|