зеркало из https://github.com/mozilla/moz-skia.git
Undo troublesome SSE 4.1 change for now to unblock Skia -> Chrome roll.
BUG=chromium:374796 NOTREECHECKS=true R=fmalita@chromium.org, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/292563005 git-svn-id: http://skia.googlecode.com/svn/trunk@14816 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
bbdfe29a17
Коммит
d09461fe0e
|
@ -10,9 +10,6 @@
|
|||
#include "SkBlurImage_opts_SSE2.h"
|
||||
#include "SkColorPriv.h"
|
||||
#include "SkRect.h"
|
||||
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE41
|
||||
#include <smmintrin.h>
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
enum BlurDirection {
|
||||
|
@ -58,7 +55,7 @@ void SkBoxBlur_SSE2(const SkPMColor* src, int srcStride, SkPMColor* dst, int ker
|
|||
const SkPMColor* sptr = src;
|
||||
SkColor* dptr = dst;
|
||||
for (int x = 0; x < width; ++x) {
|
||||
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE41
|
||||
#if 0
|
||||
// In SSE4.1, this would be
|
||||
__m128i result = _mm_mullo_epi32(sum, scale);
|
||||
#else
|
||||
|
|
Загрузка…
Ссылка в новой задаче