a2187bf762
I'll follow up by moving all the other things that live in src/opts today into SkBitmapProcState.cpp... they only use SSE2 or NEON, and don't need runtime detection. There's lots of refactoring to do here still, and I've mostly resisted the urge until this code is all in one place. Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Change-Id: Idea34a03c46d79b0fd6fbef1a49aaf27961c8260 Reviewed-on: https://skia-review.googlesource.com/c/171582 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Mike Klein <mtklein@google.com>
48 lines
1.2 KiB
Plaintext
48 lines
1.2 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/Sk4px_none.h",
|
|
"$_src/opts/SkBitmapProcState_opts_none.cpp",
|
|
]
|
|
|
|
armv7 = [
|
|
"$_src/opts/SkBitmapProcState_opts_none.cpp",
|
|
]
|
|
|
|
neon = [
|
|
"$_src/opts/Sk4px_NEON.h",
|
|
"$_src/opts/SkBitmapProcState_matrixProcs_neon.cpp",
|
|
"$_src/opts/SkBitmapProcState_matrix_neon.h",
|
|
"$_src/opts/SkColor_opts_neon.h",
|
|
]
|
|
|
|
arm64 = [
|
|
"$_src/opts/Sk4px_NEON.h",
|
|
"$_src/opts/SkBitmapProcState_matrixProcs_neon.cpp",
|
|
"$_src/opts/SkBitmapProcState_matrix_neon.h",
|
|
"$_src/opts/SkBitmapProcState_opts_none.cpp",
|
|
"$_src/opts/SkColor_opts_neon.h",
|
|
]
|
|
|
|
crc32 = [ "$_src/opts/SkOpts_crc32.cpp" ]
|
|
|
|
sse2 = [
|
|
"$_src/opts/Sk4px_SSE2.h",
|
|
"$_src/opts/SkBitmapProcState_opts_SSE2.h",
|
|
"$_src/opts/SkBitmapProcState_opts_SSE2.cpp",
|
|
"$_src/opts/SkColor_opts_SSE2.h",
|
|
"$_src/opts/opts_check_x86.cpp",
|
|
]
|
|
|
|
ssse3 = [ "$_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" ]
|