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

Unified Diff: src/opts/opts_check_x86.cpp

Issue 957433002: Remove SSE2 ColorRect32 code/files (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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/SkBlitRect_opts_SSE2.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 2d3b794283dd85cf5d3c346eb58231844543bf73..6c5b03dc969b46755f4de767e2b7811f3e4dcc51 100644
--- a/src/opts/opts_check_x86.cpp
+++ b/src/opts/opts_check_x86.cpp
@@ -10,7 +10,6 @@
#include "SkBitmapProcState_opts_SSSE3.h"
#include "SkBitmapScaler.h"
#include "SkBlitMask.h"
-#include "SkBlitRect_opts_SSE2.h"
#include "SkBlitRow.h"
#include "SkBlitRow_opts_SSE2.h"
#include "SkBlitRow_opts_SSE4.h"
@@ -262,16 +261,7 @@ SkBlitRow::ColorProc SkBlitRow::PlatformColorProc() {
}
}
-SkBlitRow::ColorRectProc PlatformColorRectProcFactory(); // suppress warning
mtklein 2015/02/24 16:34:23 I think you need to keep this. Otherwise Platform
henrik.smiding 2015/02/25 09:41:56 Ok, I was hoping it was an old leftover, since the
-
SkBlitRow::ColorRectProc PlatformColorRectProcFactory() {
-/* Return NULL for now, since the optimized path in ColorRect32_SSE2 is disabled.
- if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) {
- return ColorRect32_SSE2;
- } else {
- return NULL;
- }
-*/
return NULL;
}
« no previous file with comments | « src/opts/SkBlitRect_opts_SSE2.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698