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

Unified Diff: src/opts/SkUtils_opts_arm.cpp

Issue 1270573002: Port SkUtils opts to SkOpts. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: derek 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/SkUtils_opts_SSE2.cpp ('k') | src/opts/SkUtils_opts_arm_neon.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/opts/SkUtils_opts_arm.cpp
diff --git a/src/opts/SkUtils_opts_arm.cpp b/src/opts/SkUtils_opts_arm.cpp
deleted file mode 100644
index 01fd035eeeed572f1139d60d326fafea2263fbf4..0000000000000000000000000000000000000000
--- a/src/opts/SkUtils_opts_arm.cpp
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright 2014 ARM Ltd.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include "SkUtils.h"
-#include "SkUtilsArm.h"
-
-void sk_memset16_neon(uint16_t dst[], uint16_t value, int count);
-void sk_memset32_neon(uint32_t dst[], uint32_t value, int count);
-
-SkMemset16Proc SkMemset16GetPlatformProc() {
-#if SK_ARM_NEON_IS_ALWAYS
- return sk_memset16_neon;
-#elif SK_ARM_NEON_IS_DYNAMIC
- return sk_cpu_arm_has_neon() ? sk_memset16_neon : nullptr;
-#else
- return nullptr;
-#endif
-}
-
-SkMemset32Proc SkMemset32GetPlatformProc() {
-#if SK_ARM_NEON_IS_ALWAYS
- return sk_memset32_neon;
-#elif SK_ARM_NEON_IS_DYNAMIC
- return sk_cpu_arm_has_neon() ? sk_memset32_neon : nullptr;
-#else
- return nullptr;
-#endif
-}
« no previous file with comments | « src/opts/SkUtils_opts_SSE2.cpp ('k') | src/opts/SkUtils_opts_arm_neon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698