Index: src/opts/opts_check_x86.cpp |
diff --git a/src/opts/opts_check_x86.cpp b/src/opts/opts_check_x86.cpp |
index cdefec2eac9a39bab065ef1762aeafa7c138a43c..7314f7dcf82daea3375792dd1a7acdaec2f30029 100644 |
--- a/src/opts/opts_check_x86.cpp |
+++ b/src/opts/opts_check_x86.cpp |
@@ -258,6 +258,14 @@ |
} |
} |
+SkBlitRow::ColorProc SkBlitRow::PlatformColorProc() { |
+ if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) { |
+ return Color32_SSE2; |
+ } else { |
+ return NULL; |
+ } |
+} |
+ |
//////////////////////////////////////////////////////////////////////////////// |
SkBlitMask::ColorProc SkBlitMask::PlatformColorProcs(SkColorType dstCT, |