• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #if !defined(SK_ENABLE_OPTIMIZE_SIZE)
11 
12 #define SK_OPTS_NS sse42
13 #include "src/opts/SkChecksum_opts.h"
14 
15 namespace SkOpts {
Init_sse42()16     void Init_sse42() {
17         hash_fn = sse42::hash_fn;
18     }
19 }  // namespace SkOpts
20 
21 #endif // SK_ENABLE_OPTIMIZE_SIZE
22