4e97607d9a
About 9x faster than Murmur3 for long inputs. Most of this is a mechanical change from SkChecksum::Murmur3(...) to SkOpts::hash(...). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2208903002 CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot;master.client.skia.compile:Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot,Build-Mac-Clang-x86_64-Release-CMake-Trybot Review-Url: https://codereview.chromium.org/2208903002
63 lines
2.5 KiB
Python
63 lines
2.5 KiB
Python
# Copyright 2015 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
{
|
|
'none_sources': [
|
|
'<(skia_src_path)/opts/SkBitmapProcState_opts_none.cpp',
|
|
'<(skia_src_path)/opts/SkBlitMask_opts_none.cpp',
|
|
'<(skia_src_path)/opts/SkBlitRow_opts_none.cpp',
|
|
],
|
|
|
|
'armv7_sources': [
|
|
'<(skia_src_path)/opts/SkBitmapProcState_opts_arm.cpp',
|
|
'<(skia_src_path)/opts/SkBlitMask_opts_arm.cpp',
|
|
'<(skia_src_path)/opts/SkBlitRow_opts_arm.cpp',
|
|
],
|
|
'neon_sources': [
|
|
'<(skia_src_path)/opts/SkBitmapProcState_arm_neon.cpp',
|
|
'<(skia_src_path)/opts/SkBitmapProcState_matrixProcs_neon.cpp',
|
|
'<(skia_src_path)/opts/SkBlitMask_opts_arm_neon.cpp',
|
|
'<(skia_src_path)/opts/SkBlitRow_opts_arm_neon.cpp',
|
|
],
|
|
'arm64_sources': [
|
|
'<(skia_src_path)/opts/SkBitmapProcState_arm_neon.cpp',
|
|
'<(skia_src_path)/opts/SkBitmapProcState_matrixProcs_neon.cpp',
|
|
'<(skia_src_path)/opts/SkBitmapProcState_opts_arm.cpp',
|
|
'<(skia_src_path)/opts/SkBlitMask_opts_arm.cpp',
|
|
'<(skia_src_path)/opts/SkBlitMask_opts_arm_neon.cpp',
|
|
'<(skia_src_path)/opts/SkBlitRow_opts_arm.cpp',
|
|
'<(skia_src_path)/opts/SkBlitRow_opts_arm_neon.cpp',
|
|
],
|
|
|
|
'mips_dsp_sources': [
|
|
'<(skia_src_path)/opts/SkBitmapProcState_opts_mips_dsp.cpp',
|
|
'<(skia_src_path)/opts/SkBlitMask_opts_none.cpp',
|
|
'<(skia_src_path)/opts/SkBlitRow_opts_mips_dsp.cpp',
|
|
],
|
|
|
|
'sse2_sources': [
|
|
'<(skia_src_path)/opts/SkBitmapFilter_opts_SSE2.cpp',
|
|
'<(skia_src_path)/opts/SkBitmapProcState_opts_SSE2.cpp',
|
|
'<(skia_src_path)/opts/SkBlitRow_opts_SSE2.cpp',
|
|
'<(skia_src_path)/opts/opts_check_x86.cpp',
|
|
],
|
|
'ssse3_sources': [
|
|
'<(skia_src_path)/opts/SkBitmapProcState_opts_SSSE3.cpp',
|
|
'<(skia_src_path)/opts/SkOpts_ssse3.cpp',
|
|
],
|
|
'sse41_sources': [
|
|
'<(skia_src_path)/opts/SkOpts_sse41.cpp',
|
|
],
|
|
'sse42_sources': [
|
|
'<(skia_src_path)/opts/SkOpts_sse42.cpp',
|
|
],
|
|
'avx_sources': [
|
|
'<(skia_src_path)/opts/SkOpts_avx.cpp',
|
|
],
|
|
# These targets are empty, but XCode doesn't like that, so add an empty file to each.
|
|
'avx2_sources': [
|
|
'<(skia_src_path)/core/SkForceCPlusPlusLinking.cpp',
|
|
],
|
|
}
|