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

Unified Diff: src/opts/opts_check_x86.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_none.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/opts/opts_check_x86.cpp
diff --git a/src/opts/opts_check_x86.cpp b/src/opts/opts_check_x86.cpp
index 8671c3abaae228abb23bfc51d6bcd38292efecd1..2ba0735240350414b439bb6f24fb25b367f4b3ba 100644
--- a/src/opts/opts_check_x86.cpp
+++ b/src/opts/opts_check_x86.cpp
@@ -19,8 +19,6 @@
#include "SkMorphology_opts.h"
#include "SkMorphology_opts_SSE2.h"
#include "SkRTConf.h"
-#include "SkUtils.h"
-#include "SkUtils_opts_SSE2.h"
#if defined(_MSC_VER) && defined(_WIN64)
#include <intrin.h>
@@ -301,24 +299,6 @@ SkBlitMask::RowProc SkBlitMask::PlatformRowProcs(SkColorType, SkMask::Format, Ro
////////////////////////////////////////////////////////////////////////////////
-SkMemset16Proc SkMemset16GetPlatformProc() {
- if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) {
- return sk_memset16_SSE2;
- } else {
- return NULL;
- }
-}
-
-SkMemset32Proc SkMemset32GetPlatformProc() {
- if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) {
- return sk_memset32_SSE2;
- } else {
- return NULL;
- }
-}
-
-////////////////////////////////////////////////////////////////////////////////
-
SkMorphologyImageFilter::Proc SkMorphologyGetPlatformProc(SkMorphologyProcType type) {
if (!supports_simd(SK_CPU_SSE_LEVEL_SSE2)) {
return NULL;
« no previous file with comments | « src/opts/SkUtils_opts_none.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698