Index: src/opts/opts_check_x86.cpp |
diff --git a/src/opts/opts_check_x86.cpp b/src/opts/opts_check_x86.cpp |
index d0423377a110dee918379788a84350b9d8c351f0..c560b914f9d68310b9d4e625661f0b8f05721ad0 100644 |
--- a/src/opts/opts_check_x86.cpp |
+++ b/src/opts/opts_check_x86.cpp |
@@ -14,8 +14,6 @@ |
#include "SkBlitRow_opts_SSE2.h" |
#include "SkBlitRow_opts_SSE4.h" |
#include "SkLazyPtr.h" |
-#include "SkMorphology_opts.h" |
-#include "SkMorphology_opts_SSE2.h" |
#include "SkRTConf.h" |
#if defined(_MSC_VER) && defined(_WIN64) |
@@ -294,23 +292,3 @@ SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) { |
SkBlitMask::RowProc SkBlitMask::PlatformRowProcs(SkColorType, SkMask::Format, RowFlags) { |
return NULL; |
} |
- |
-//////////////////////////////////////////////////////////////////////////////// |
- |
-SkMorphologyImageFilter::Proc SkMorphologyGetPlatformProc(SkMorphologyProcType type) { |
- if (!supports_simd(SK_CPU_SSE_LEVEL_SSE2)) { |
- return NULL; |
- } |
- switch (type) { |
- case kDilateX_SkMorphologyProcType: |
- return SkDilateX_SSE2; |
- case kDilateY_SkMorphologyProcType: |
- return SkDilateY_SSE2; |
- case kErodeX_SkMorphologyProcType: |
- return SkErodeX_SSE2; |
- case kErodeY_SkMorphologyProcType: |
- return SkErodeY_SSE2; |
- default: |
- return NULL; |
- } |
-} |