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

Unified Diff: src/opts/opts_check_x86.cpp

Issue 2500113004: Port convolve functions to SkOpts (Closed)
Patch Set: Fix typo Created 4 years, 1 month 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_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 64cf0da2b76e9b9d0a2505621a6e2a1bf5c8ba6e..4b8c8a118bc8784453393fa91d42930c17c7ac4e 100644
--- a/src/opts/opts_check_x86.cpp
+++ b/src/opts/opts_check_x86.cpp
@@ -5,7 +5,6 @@
* found in the LICENSE file.
*/
-#include "SkBitmapFilter_opts_SSE2.h"
#include "SkBitmapProcState_opts_SSE2.h"
#include "SkBitmapProcState_opts_SSSE3.h"
#include "SkBitmapScaler.h"
@@ -35,16 +34,6 @@
////////////////////////////////////////////////////////////////////////////////
-void SkBitmapScaler::PlatformConvolutionProcs(SkConvolutionProcs* procs) {
- if (SkCpu::Supports(SkCpu::SSE2)) {
- procs->fConvolveVertically = &convolveVertically_SSE2;
- procs->fConvolve4RowsHorizontally = &convolve4RowsHorizontally_SSE2;
- procs->fConvolveHorizontally = &convolveHorizontally_SSE2;
- }
-}
-
-////////////////////////////////////////////////////////////////////////////////
-
void SkBitmapProcState::platformProcs() {
/* Every optimization in the function requires at least SSE2 */
if (!SkCpu::Supports(SkCpu::SSE2)) {
« no previous file with comments | « src/opts/SkBitmapProcState_opts_none.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698