• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "SkXfermode.h"
2 #include "SkXfermode_proccoeff.h"
3 #include "SkUtilsArm.h"
4 
5 extern SkProcCoeffXfermode* SkPlatformXfermodeFactory_impl_neon(const ProcCoeff& rec,
6                                                                 SkXfermode::Mode mode);
7 
8 extern SkXfermodeProc SkPlatformXfermodeProcFactory_impl_neon(SkXfermode::Mode mode);
9 
SkPlatformXfermodeFactory_impl(const ProcCoeff & rec,SkXfermode::Mode mode)10 SkProcCoeffXfermode* SkPlatformXfermodeFactory_impl(const ProcCoeff& rec,
11                                                     SkXfermode::Mode mode) {
12     return NULL;
13 }
14 
SkPlatformXfermodeProcFactory_impl(SkXfermode::Mode mode)15 SkXfermodeProc SkPlatformXfermodeProcFactory_impl(SkXfermode::Mode mode) {
16     return NULL;
17 }
18 
SkPlatformXfermodeFactory(const ProcCoeff & rec,SkXfermode::Mode mode)19 SkProcCoeffXfermode* SkPlatformXfermodeFactory(const ProcCoeff& rec,
20                                                SkXfermode::Mode mode) {
21     return SK_ARM_NEON_WRAP(SkPlatformXfermodeFactory_impl)(rec, mode);
22 }
23 
SkPlatformXfermodeProcFactory(SkXfermode::Mode mode)24 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode) {
25     return SK_ARM_NEON_WRAP(SkPlatformXfermodeProcFactory_impl)(mode);
26 }
27