OLD | NEW |
1 // Copyright 2013 unknown | 1 /* |
| 2 * Copyright 2015 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
2 | 7 |
3 #include "SkXfermode.h" | 8 #include "SkXfermode.h" |
4 #include "SkXfermode_proccoeff.h" | 9 #include "SkXfermode_proccoeff.h" |
5 #include "SkColorPriv.h" | 10 #include "SkColorPriv.h" |
6 | 11 |
7 #include <arm_neon.h> | 12 #include <arm_neon.h> |
8 #include "SkColor_opts_neon.h" | 13 #include "SkColor_opts_neon.h" |
9 #include "SkXfermode_opts_arm_neon.h" | 14 #include "SkXfermode_opts_arm_neon.h" |
10 #include "Sk4pxXfermode.h" | 15 #include "Sk4pxXfermode.h" |
11 | 16 |
(...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1019 // TODO: Sk4pxXfermode now covers every mode found in this file. Delete the
m all! | 1024 // TODO: Sk4pxXfermode now covers every mode found in this file. Delete the
m all! |
1020 if (auto proc = gNEONXfermodeProcs[mode]) { | 1025 if (auto proc = gNEONXfermodeProcs[mode]) { |
1021 return SkNEW_ARGS(SkNEONProcCoeffXfermode, (rec, mode, (void*)proc)); | 1026 return SkNEW_ARGS(SkNEONProcCoeffXfermode, (rec, mode, (void*)proc)); |
1022 } | 1027 } |
1023 return NULL; | 1028 return NULL; |
1024 } | 1029 } |
1025 | 1030 |
1026 SkXfermodeProc SkPlatformXfermodeProcFactory_impl_neon(SkXfermode::Mode mode) { | 1031 SkXfermodeProc SkPlatformXfermodeProcFactory_impl_neon(SkXfermode::Mode mode) { |
1027 return gNEONXfermodeProcs1[mode]; | 1032 return gNEONXfermodeProcs1[mode]; |
1028 } | 1033 } |
OLD | NEW |