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

Side by Side Diff: src/opts/SkXfermode_opts_arm.cpp

Issue 1230023011: Clean up dead xfermode opts code. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove guard 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 unified diff | Download patch
« no previous file with comments | « src/opts/SkXfermode_opts_SSE2.cpp ('k') | src/opts/SkXfermode_opts_arm_neon.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkXfermode.h" 8 #include "SkXfermode.h"
9 #include "SkXfermode_proccoeff.h" 9 #include "SkXfermode_proccoeff.h"
10 #include "SkUtilsArm.h" 10 #include "SkUtilsArm.h"
11 11
12 extern SkProcCoeffXfermode* SkPlatformXfermodeFactory_impl_neon(const ProcCoeff& rec, 12 // If we find we do have NEON, we'll call this method from SkXfermodes_opts_arm_ neon.cpp.
13 SkXfermode::Mode mode); 13 SkProcCoeffXfermode* SkPlatformXfermodeFactory_impl_neon(const ProcCoeff& rec,
14 SkXfermode::Mode mode);
14 15
15 extern SkXfermodeProc SkPlatformXfermodeProcFactory_impl_neon(SkXfermode::Mode m ode); 16 // If we don't have NEON, we'll call this method and return NULL.
16 17 SkProcCoeffXfermode* SkPlatformXfermodeFactory_impl(const ProcCoeff& rec, SkXfer mode::Mode mode);
17 SkProcCoeffXfermode* SkPlatformXfermodeFactory_impl(const ProcCoeff& rec, 18 SkProcCoeffXfermode* SkPlatformXfermodeFactory_impl(const ProcCoeff& rec, SkXfer mode::Mode mode) {
18 SkXfermode::Mode mode) {
19 return NULL; 19 return NULL;
20 } 20 }
21 21
22 SkXfermodeProc SkPlatformXfermodeProcFactory_impl(SkXfermode::Mode mode) { 22 SkProcCoeffXfermode* SkPlatformXfermodeFactory(const ProcCoeff& rec, SkXfermode: :Mode mode);
23 return NULL; 23 SkProcCoeffXfermode* SkPlatformXfermodeFactory(const ProcCoeff& rec, SkXfermode: :Mode mode) {
24 }
25
26 SkProcCoeffXfermode* SkPlatformXfermodeFactory(const ProcCoeff& rec,
27 SkXfermode::Mode mode) {
28 return SK_ARM_NEON_WRAP(SkPlatformXfermodeFactory_impl)(rec, mode); 24 return SK_ARM_NEON_WRAP(SkPlatformXfermodeFactory_impl)(rec, mode);
29 } 25 }
30 26
31 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode) { 27 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode);
32 return SK_ARM_NEON_WRAP(SkPlatformXfermodeProcFactory_impl)(mode); 28 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode) { return NUL L; }
33 }
OLDNEW
« no previous file with comments | « src/opts/SkXfermode_opts_SSE2.cpp ('k') | src/opts/SkXfermode_opts_arm_neon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698