summaryrefslogtreecommitdiff
path: root/opts
diff options
context:
space:
mode:
authorreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-09-23 15:06:10 +0000
committerreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-09-23 15:06:10 +0000
commitcdbc582d7a596ad26571dc8c7e857f74d3a8ae7c (patch)
tree11de7eeef97752c31210e300e76c5f51d2974701 /opts
parent878dd09682cc1c21ed5c90554184ee4c4bc75c36 (diff)
downloadsrc-cdbc582d7a596ad26571dc8c7e857f74d3a8ae7c.tar.gz
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/src@366 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'opts')
-rw-r--r--opts/SkBlitRow_opts_none.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/opts/SkBlitRow_opts_none.cpp b/opts/SkBlitRow_opts_none.cpp
index 88ab7c42..7a777597 100644
--- a/opts/SkBlitRow_opts_none.cpp
+++ b/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,
+};
+