diff options
author | 2009-09-23 15:06:10 +0000 | |
---|---|---|
committer | 2009-09-23 15:06:10 +0000 | |
commit | c4cae85752e3e486cf4eac8cd8128f57b6f40563 (patch) | |
tree | 88e32782e35ec5cfb18dafe5f84e76752b54d6b6 /src/opts/SkBlitRow_opts_none.cpp | |
parent | 9186103dfdb7dfe32803ffad7c3caf1d739a226d (diff) |
add BlitRow procs for 32->32, to allow for neon and other optimizations.
call these new procs in (nearly) all the places we had inlined loops before.
In once instance (blitter_argb32::blitAntiH) we get different results by a
tiny bit. The new code is more accurate, and exactly inline with all of the
other like-minded blits, so I think the change is good going forward.
git-svn-id: http://skia.googlecode.com/svn/trunk@366 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/opts/SkBlitRow_opts_none.cpp')
-rw-r--r-- | src/opts/SkBlitRow_opts_none.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/opts/SkBlitRow_opts_none.cpp b/src/opts/SkBlitRow_opts_none.cpp index 88ab7c4203..7a777597c8 100644 --- a/src/opts/SkBlitRow_opts_none.cpp +++ b/src/opts/SkBlitRow_opts_none.cpp @@ -30,3 +30,10 @@ const SkBlitRow::Proc SkBlitRow::gPlatform_4444_Procs[] = { NULL, // S32A_D4444_Blend_Dither }; +const SkBlitRow::Proc32 SkBlitRow::gPlatform_Procs32[] = { + NULL, // S32_Opaque, + NULL, // S32_Blend, + NULL, // S32A_Opaque, + NULL, // S32A_Blend, +}; + |