1 | /* |
---|---|
2 | * Copyright 2016 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 | */ |
7 | |
8 | #include "src/core/SkOpts.h" |
9 | |
10 | #define SK_OPTS_NS avx |
11 | #include "src/opts/SkUtils_opts.h" |
12 | |
13 | namespace SkOpts { |
14 | void Init_avx() { |
15 | memset16 = SK_OPTS_NS::memset16; |
16 | memset32 = SK_OPTS_NS::memset32; |
17 | memset64 = SK_OPTS_NS::memset64; |
18 | |
19 | rect_memset16 = SK_OPTS_NS::rect_memset16; |
20 | rect_memset32 = SK_OPTS_NS::rect_memset32; |
21 | rect_memset64 = SK_OPTS_NS::rect_memset64; |
22 | } |
23 | } // namespace SkOpts |
24 |