Index: src/opts/opts_check_x86.cpp |
diff --git a/src/opts/opts_check_x86.cpp b/src/opts/opts_check_x86.cpp |
index 84041d05b0c8ba32494431f5c3c7ac1d94b9f854..a19ebfa285154e346a1fc680f6fba2c59b952b5d 100644 |
--- a/src/opts/opts_check_x86.cpp |
+++ b/src/opts/opts_check_x86.cpp |
@@ -206,7 +206,7 @@ void SkBitmapProcState::platformProcs() { |
//////////////////////////////////////////////////////////////////////////////// |
-static SkBlitRow::Proc platform_16_procs[] = { |
+static SkBlitRow::Proc16 platform_16_procs[] = { |
S32_D565_Opaque_SSE2, // S32_D565_Opaque |
NULL, // S32_D565_Blend |
S32A_D565_Opaque_SSE2, // S32A_D565_Opaque |
@@ -217,7 +217,7 @@ static SkBlitRow::Proc platform_16_procs[] = { |
NULL, // S32A_D565_Blend_Dither |
}; |
-SkBlitRow::Proc SkBlitRow::PlatformProcs565(unsigned flags) { |
+SkBlitRow::Proc16 SkBlitRow::PlatformFactory565(unsigned flags) { |
if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) { |
return platform_16_procs[flags]; |
} else { |
@@ -225,6 +225,10 @@ SkBlitRow::Proc SkBlitRow::PlatformProcs565(unsigned flags) { |
} |
} |
+SkBlitRow::ColorProc16 SkBlitRow::PlatformColorFactory565(unsigned flags) { |
+ return NULL; |
+} |
+ |
static SkBlitRow::Proc32 platform_32_procs_SSE2[] = { |
NULL, // S32_Opaque, |
S32_Blend_BlitRow32_SSE2, // S32_Blend, |