OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 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 "SkSwizzle.h" | |
9 | |
10 #include "SkOpts.h" | 8 #include "SkOpts.h" |
11 | 9 |
12 void SkSwapRB(uint32_t* dest, const uint32_t* src, int count) { | 10 #define SK_OPTS_NS sk_avx |
13 SkOpts::RGBA_to_BGRA(dest, src, count); | 11 #include "SkBlend_opts.h" |
| 12 |
| 13 namespace SkOpts { |
| 14 void Init_avx() { } |
14 } | 15 } |
OLD | NEW |