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

Unified Diff: src/opts/SkXfermode_opts_arm_neon.h

Issue 1230023011: Clean up dead xfermode opts code. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove guard Created 5 years, 5 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/SkXfermode_opts_arm.cpp ('k') | src/opts/SkXfermode_opts_arm_neon.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/opts/SkXfermode_opts_arm_neon.h
diff --git a/src/opts/SkXfermode_opts_arm_neon.h b/src/opts/SkXfermode_opts_arm_neon.h
deleted file mode 100644
index 206892edd6d22cf414b3b4bb3427ff118f0f0298..0000000000000000000000000000000000000000
--- a/src/opts/SkXfermode_opts_arm_neon.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright 2015 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef SkXfermode_opts_arm_neon_DEFINED
-#define SkXfermode_opts_arm_neon_DEFINED
-
-#include "SkXfermode_proccoeff.h"
-
-class SkNEONProcCoeffXfermode : public SkProcCoeffXfermode {
-public:
- SkNEONProcCoeffXfermode(const ProcCoeff& rec, SkXfermode::Mode mode,
- void* procSIMD)
- : INHERITED(rec, mode), fProcSIMD(procSIMD) {}
-
- void xfer32(SkPMColor dst[], const SkPMColor src[], int count,
- const SkAlpha aa[]) const override;
- void xfer16(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src,
- int count, const SkAlpha* SK_RESTRICT aa) const override;
-
- SK_TO_STRING_OVERRIDE()
-
-private:
- // void* is used to avoid pulling arm_neon.h in the core and having to build
- // it with -mfpu=neon.
- void* fProcSIMD;
- typedef SkProcCoeffXfermode INHERITED;
-};
-
-extern SkPMColor srcatop_modeproc_neon(SkPMColor src, SkPMColor dst);
-extern SkPMColor dstatop_modeproc_neon(SkPMColor src, SkPMColor dst);
-extern SkPMColor xor_modeproc_neon(SkPMColor src, SkPMColor dst);
-extern SkPMColor plus_modeproc_neon(SkPMColor src, SkPMColor dst);
-extern SkPMColor modulate_modeproc_neon(SkPMColor src, SkPMColor dst);
-
-#endif //#ifdef SkXfermode_opts_arm_neon_DEFINED
« no previous file with comments | « src/opts/SkXfermode_opts_arm.cpp ('k') | src/opts/SkXfermode_opts_arm_neon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698