diff options
author | 2014-04-01 14:01:32 +0000 | |
---|---|---|
committer | 2014-04-01 14:01:32 +0000 | |
commit | 25f7455f3a7cf2c440509bead85486079f1e4b31 (patch) | |
tree | d9f77e2f326b21f340a42b2dd2072e7dc97d29e4 /gyp | |
parent | 96050eb5a16059238d060f0db7d2a2e48d190c29 (diff) |
Xfermode: SSE2 implementation of multiply_modeproc
This patch implements basics for Xfermode SSE optimization. Based on
these basics, SSE2 implementation of multiply_modeproc is provided. SSE2
implementation for other modes will come in future. With this patch
performance of Xfermode_Multiply will improve about 45%. Here are the
data on desktop i7-3770.
before:
Xfermode_Multiply 8888: cmsecs = 33.30 565: cmsecs = 45.65
after:
Xfermode_Multiply 8888: cmsecs = 17.18 565: cmsecs = 24.87
BUG=
R=mtklein@google.com
Author: qiankun.miao@intel.com
Review URL: https://codereview.chromium.org/202903004
git-svn-id: http://skia.googlecode.com/svn/trunk@14006 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/opts.gyp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gyp/opts.gyp b/gyp/opts.gyp index 2fd0e95809..8070a971a6 100644 --- a/gyp/opts.gyp +++ b/gyp/opts.gyp @@ -56,7 +56,7 @@ '../src/opts/SkBlurImage_opts_SSE2.cpp', '../src/opts/SkMorphology_opts_SSE2.cpp', '../src/opts/SkUtils_opts_SSE2.cpp', - '../src/opts/SkXfermode_opts_none.cpp', + '../src/opts/SkXfermode_opts_SSE2.cpp', ], }], [ 'skia_arch_type == "arm" and arm_version >= 7', { |