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 */ 7 8 #include "SkOpts.h" 9 #define SK_OPTS_NS ssse3 10 #include "SkBlitMask_opts.h" 11 #include "SkSwizzler_opts.h" 12 #include "SkXfermode_opts.h" 13 14 namespace SkOpts { Init_ssse3()15 void Init_ssse3() { 16 create_xfermode = ssse3::create_xfermode; 17 blit_mask_d32_a8 = ssse3::blit_mask_d32_a8; 18 19 RGBA_to_BGRA = ssse3::RGBA_to_BGRA; 20 RGBA_to_rgbA = ssse3::RGBA_to_rgbA; 21 RGBA_to_bgrA = ssse3::RGBA_to_bgrA; 22 RGB_to_RGB1 = ssse3::RGB_to_RGB1; 23 RGB_to_BGR1 = ssse3::RGB_to_BGR1; 24 gray_to_RGB1 = ssse3::gray_to_RGB1; 25 grayA_to_RGBA = ssse3::grayA_to_RGBA; 26 grayA_to_rgbA = ssse3::grayA_to_rgbA; 27 inverted_CMYK_to_RGB1 = ssse3::inverted_CMYK_to_RGB1; 28 inverted_CMYK_to_BGR1 = ssse3::inverted_CMYK_to_BGR1; 29 } 30 } 31