Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Unified Diff: src/opts/SkBitmapProcState_opts_SSSE3.cpp

Issue 1553233004: clean up dead x86 filter opts code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/opts/SkBitmapProcState_opts_SSSE3.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/opts/SkBitmapProcState_opts_SSSE3.cpp
diff --git a/src/opts/SkBitmapProcState_opts_SSSE3.cpp b/src/opts/SkBitmapProcState_opts_SSSE3.cpp
index 8e381eb3c27ec5200e01300a122867db830cf324..2de8e4049a92b68225744989782c4e02d0c2e390 100644
--- a/src/opts/SkBitmapProcState_opts_SSSE3.cpp
+++ b/src/opts/SkBitmapProcState_opts_SSSE3.cpp
@@ -732,28 +732,6 @@ void S32_alpha_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s,
S32_generic_D32_filter_DXDY_SSSE3<true>(s, xy, count, colors);
}
-void S32_D16_filter_DX_SSSE3(const SkBitmapProcState& s,
- const uint32_t* xy,
- int count, uint16_t* colors) {
- SkASSERT(254 >= count);
- SkAutoSTMalloc<254, uint32_t> colors32(count);
- S32_generic_D32_filter_DX_SSSE3<false>(s, xy, count, colors32);
- for(int i = 0; i < count; i++) {
- *colors++ = SkPixel32ToPixel16(colors32[i]);
- }
-}
-
-void S32_D16_filter_DXDY_SSSE3(const SkBitmapProcState& s,
- const uint32_t* xy,
- int count, uint16_t* colors) {
- SkASSERT(64 >= count);
- SkAutoSTMalloc<64, uint32_t> colors32(count);
- S32_generic_D32_filter_DXDY_SSSE3<false>(s, xy, count, colors32);
- for(int i = 0; i < count; i++) {
- *colors++ = SkPixel32ToPixel16(colors32[i]);
- }
-}
-
#else // SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSSE3
void S32_opaque_D32_filter_DX_SSSE3(const SkBitmapProcState& s,
@@ -780,16 +758,4 @@ void S32_alpha_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s,
sk_throw();
}
-void S32_D16_filter_DX_SSSE3(const SkBitmapProcState& s,
- const uint32_t* xy,
- int count, uint16_t* colors) {
- sk_throw();
-}
-
-void S32_D16_filter_DXDY_SSSE3(const SkBitmapProcState& s,
- const uint32_t* xy,
- int count, uint16_t* colors) {
- sk_throw();
-}
-
#endif
« no previous file with comments | « src/opts/SkBitmapProcState_opts_SSSE3.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698