Bug 1276923. Disable ssse3 scaler until it's fixed
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Wed, 01 Jun 2016 13:55:20 -0400
changeset 374053 622c7afef4ae38f9489e2269ebb3c61528edb5b5
parent 374045 7195c2ccf18841f933bca6c6b825c4ceaafbf0d1
child 374054 0c3f4cbf0bfe670b42a8f79d2a2c5203ebf7af0b
push id19914
push userfelipc@gmail.com
push dateWed, 01 Jun 2016 18:46:53 +0000
bugs1276923
milestone49.0a1
Bug 1276923. Disable ssse3 scaler until it's fixed
gfx/layers/basic/BasicCompositor.cpp
--- a/gfx/layers/basic/BasicCompositor.cpp
+++ b/gfx/layers/basic/BasicCompositor.cpp
@@ -283,17 +283,17 @@ SetupMask(const EffectChain& aEffectChai
 static bool
 AttemptVideoScale(TextureSourceBasic* aSource, const SourceSurface* aSourceMask,
                        gfx::Float aOpacity, CompositionOp aBlendMode,
                        const TexturedEffect* aTexturedEffect,
                        const Matrix& aNewTransform, const gfx::Rect& aRect,
                        const gfx::IntRect& aClipRect,
                        DrawTarget* aDest, const DrawTarget* aBuffer)
 {
-  if (!mozilla::supports_ssse3())
+  if (!mozilla::supports_ssse3() && false)
       return false;
   if (aNewTransform.IsTranslation()) // unscaled painting should take the regular path
       return false;
   if (aNewTransform.HasNonAxisAlignedTransform() || aNewTransform.HasNegativeScaling())
       return false;
   if (aSourceMask || aOpacity != 1.0f)
       return false;
   if (aBlendMode != CompositionOp::OP_OVER && aBlendMode != CompositionOp::OP_SOURCE)