extend neon table as well for gray8
BUG=skia:
Review URL: https://codereview.chromium.org/1021583002
diff --git a/src/opts/SkBitmapProcState_arm_neon.cpp b/src/opts/SkBitmapProcState_arm_neon.cpp
index 33b3627..08b83ea 100644
--- a/src/opts/SkBitmapProcState_arm_neon.cpp
+++ b/src/opts/SkBitmapProcState_arm_neon.cpp
@@ -66,7 +66,17 @@
SA8_alpha_D32_filter_DXDY_neon,
SA8_alpha_D32_filter_DXDY_neon,
SA8_alpha_D32_filter_DX_neon,
- SA8_alpha_D32_filter_DX_neon
+ SA8_alpha_D32_filter_DX_neon,
+
+ // todo: possibly specialize on opaqueness
+ SG8_alpha_D32_nofilter_DXDY_neon,
+ SG8_alpha_D32_nofilter_DXDY_neon,
+ SG8_alpha_D32_nofilter_DX_neon,
+ SG8_alpha_D32_nofilter_DX_neon,
+ SG8_alpha_D32_filter_DXDY_neon,
+ SG8_alpha_D32_filter_DXDY_neon,
+ SG8_alpha_D32_filter_DX_neon,
+ SG8_alpha_D32_filter_DX_neon,
};
const SkBitmapProcState::SampleProc16 gSkBitmapProcStateSample16_neon[] = {
@@ -88,7 +98,9 @@
// Don't support 4444 -> 565
NULL, NULL, NULL, NULL,
// Don't support A8 -> 565
- NULL, NULL, NULL, NULL
+ NULL, NULL, NULL, NULL,
+ // Don't support G8 -> 565 (but we could)
+ NULL, NULL, NULL, NULL,
};
///////////////////////////////////////////////////////////////////////////////