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

Unified Diff: src/opts/SkBlitMask_opts_arm_neon.cpp

Issue 21120007: ARM Skia NEON patches - 15 - Preparation work for Blitmask optims (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 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
Index: src/opts/SkBlitMask_opts_arm_neon.cpp
diff --git a/src/opts/SkBlitRow_opts_none.cpp b/src/opts/SkBlitMask_opts_arm_neon.cpp
similarity index 53%
copy from src/opts/SkBlitRow_opts_none.cpp
copy to src/opts/SkBlitMask_opts_arm_neon.cpp
index 381c1c06f6fc07286e7f8ae746693bb57df588f9..0e9375e002f15fcc45ec725bd163e3adcf983662 100644
--- a/src/opts/SkBlitRow_opts_none.cpp
+++ b/src/opts/SkBlitMask_opts_arm_neon.cpp
@@ -1,28 +1,7 @@
-/*
- * Copyright 2011 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include "SkBlitRow.h"
#include "SkBlitMask.h"
-// Platform impl of Platform_procs with no overrides
-
-SkBlitRow::Proc SkBlitRow::PlatformProcs565(unsigned flags) {
- return NULL;
-}
-SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) {
- return NULL;
-}
-
-SkBlitRow::ColorProc SkBlitRow::PlatformColorProc() {
- return NULL;
-}
-
-///////////////////////////////////////////////////////////////////////////////
+#if !SK_ARM_NEON_IS_NONE
SkBlitMask::ColorProc SkBlitMask::PlatformColorProcs(SkBitmap::Config dstConfig,
SkMask::Format maskFormat,
@@ -39,3 +18,5 @@ SkBlitMask::RowProc SkBlitMask::PlatformRowProcs(SkBitmap::Config dstConfig,
RowFlags flags) {
return NULL;
}
+#endif
+
« no previous file with comments | « gyp/opts.gyp ('k') | src/opts/SkBlitRow_opts_arm.cpp » ('j') | src/opts/SkBlitRow_opts_arm.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698