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

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

Issue 104883004: ARM Skia NEON patches - 32 - Xfermode: 1-pixel NEON modeprocs (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Fix the build for non-ARM platforms Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « src/core/SkXfermode.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 #include "SkXfermode.h" 1 #include "SkXfermode.h"
2 #include "SkXfermode_proccoeff.h" 2 #include "SkXfermode_proccoeff.h"
3 #include "SkUtilsArm.h" 3 #include "SkUtilsArm.h"
4 4
5 extern SkProcCoeffXfermode* SkPlatformXfermodeFactory_impl_neon(const ProcCoeff& rec, 5 extern SkProcCoeffXfermode* SkPlatformXfermodeFactory_impl_neon(const ProcCoeff& rec,
6 SkXfermode::Mode mode); 6 SkXfermode::Mode mode);
7 7
8 extern SkXfermodeProc SkPlatformXfermodeProcFactory_impl_neon(SkXfermode::Mode m ode);
9
8 SkProcCoeffXfermode* SkPlatformXfermodeFactory_impl(const ProcCoeff& rec, 10 SkProcCoeffXfermode* SkPlatformXfermodeFactory_impl(const ProcCoeff& rec,
9 SkXfermode::Mode mode) { 11 SkXfermode::Mode mode) {
10 return NULL; 12 return NULL;
11 } 13 }
12 14
15 SkXfermodeProc SkPlatformXfermodeProcFactory_impl(SkXfermode::Mode mode) {
16 return NULL;
17 }
18
13 SkProcCoeffXfermode* SkPlatformXfermodeFactory(const ProcCoeff& rec, 19 SkProcCoeffXfermode* SkPlatformXfermodeFactory(const ProcCoeff& rec,
14 SkXfermode::Mode mode) { 20 SkXfermode::Mode mode) {
15 return SK_ARM_NEON_WRAP(SkPlatformXfermodeFactory_impl)(rec, mode); 21 return SK_ARM_NEON_WRAP(SkPlatformXfermodeFactory_impl)(rec, mode);
16 } 22 }
23
24 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode) {
25 return SK_ARM_NEON_WRAP(SkPlatformXfermodeProcFactory_impl)(mode);
26 }
OLDNEW
« no previous file with comments | « src/core/SkXfermode.cpp ('k') | src/opts/SkXfermode_opts_arm_neon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698