skia2/gn/opts.gni
xiangze.zhang d2265e537c Port convolve functions to SkOpts
This patch moves the C++/SSE2/NEON implementations of convolve functions
into the same place and uses SkOpts framework.
Also some indentation fix.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2500113004
CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot

Review-Url: https://codereview.chromium.org/2500113004
2016-11-17 18:39:38 -08:00

61 lines
1.6 KiB
Plaintext

# Copyright 2016 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Things are easiest for everyone if these source paths are absolute.
_src = get_path_info("../src", "abspath")
none = [
"$_src/opts/SkBitmapProcState_opts_none.cpp",
"$_src/opts/SkBlitMask_opts_none.cpp",
"$_src/opts/SkBlitRow_opts_none.cpp",
]
armv7 = [
"$_src/opts/SkBitmapProcState_opts_none.cpp",
"$_src/opts/SkBlitMask_opts_arm.cpp",
"$_src/opts/SkBlitRow_opts_arm.cpp",
]
neon = [
"$_src/opts/SkBitmapProcState_arm_neon.cpp",
"$_src/opts/SkBitmapProcState_matrixProcs_neon.cpp",
"$_src/opts/SkBlitMask_opts_arm_neon.cpp",
"$_src/opts/SkBlitRow_opts_arm_neon.cpp",
]
arm64 = [
"$_src/opts/SkBitmapProcState_arm_neon.cpp",
"$_src/opts/SkBitmapProcState_matrixProcs_neon.cpp",
"$_src/opts/SkBitmapProcState_opts_none.cpp",
"$_src/opts/SkBlitMask_opts_arm.cpp",
"$_src/opts/SkBlitMask_opts_arm_neon.cpp",
"$_src/opts/SkBlitRow_opts_arm.cpp",
"$_src/opts/SkBlitRow_opts_arm_neon.cpp",
]
crc32 = [ "$_src/opts/SkOpts_crc32.cpp" ]
mips_dsp = [
"$_src/opts/SkBitmapProcState_opts_mips_dsp.cpp",
"$_src/opts/SkBlitMask_opts_none.cpp",
"$_src/opts/SkBlitRow_opts_mips_dsp.cpp",
]
sse2 = [
"$_src/opts/SkBitmapProcState_opts_SSE2.cpp",
"$_src/opts/SkBlitRow_opts_SSE2.cpp",
"$_src/opts/opts_check_x86.cpp",
]
ssse3 = [
"$_src/opts/SkBitmapProcState_opts_SSSE3.cpp",
"$_src/opts/SkOpts_ssse3.cpp",
]
sse41 = [ "$_src/opts/SkOpts_sse41.cpp" ]
sse42 = [ "$_src/opts/SkOpts_sse42.cpp" ]
avx = [ "$_src/opts/SkOpts_avx.cpp" ]
hsw = [ "$_src/opts/SkOpts_hsw.cpp" ]