084db25d47
Xfermode_ColorDodge_aa 10.3ms -> 7.85ms 0.76x Xfermode_SoftLight_aa 13.8ms -> 10.2ms 0.74x Xfermode_ColorBurn_aa 10.7ms -> 7.82ms 0.73x Xfermode_SoftLight 33.6ms -> 23.2ms 0.69x Xfermode_ColorDodge 25ms -> 16.5ms 0.66x Xfermode_ColorBurn 26.1ms -> 16.6ms 0.63x Ought to be no pixel diffs: https://gold.skia.org/search2?issue=1432903002&unt=true&query=source_type%3Dgm&master=false Incidental stuff: I made the SkNx(T) constructors implicit to make writing math expressions simpler. This allows us to write expressions like Sk4f v; ... v = v*4; rather than Sk4f v; ... v = v * Sk4f(4); As written it only works when the constant is on the right-hand side, so expressions like `(Sk4f(1) - da)` have to stay for now. I plan on following up with a CL that lets those become `(1 - da)` too. BUG=skia:4117 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Review URL: https://codereview.chromium.org/1432903002
66 lines
2.7 KiB
Python
66 lines
2.7 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',
|
|
'<(skia_src_path)/opts/SkOpts_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',
|
|
'<(skia_src_path)/opts/SkOpts_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/SkBlitRow_opts_SSE4.cpp',
|
|
'<(skia_src_path)/opts/SkOpts_sse41.cpp',
|
|
],
|
|
# These targets are empty, but XCode doesn't like that, so add an empty file to each.
|
|
'sse42_sources': [
|
|
'<(skia_src_path)/core/SkForceCPlusPlusLinking.cpp',
|
|
],
|
|
'avx_sources': [
|
|
'<(skia_src_path)/opts/SkOpts_avx.cpp',
|
|
],
|
|
'avx2_sources': [
|
|
'<(skia_src_path)/core/SkForceCPlusPlusLinking.cpp',
|
|
],
|
|
}
|