diff options
author | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-09-23 15:06:10 +0000 |
---|---|---|
committer | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-09-23 15:06:10 +0000 |
commit | c4cae85752e3e486cf4eac8cd8128f57b6f40563 (patch) | |
tree | 88e32782e35ec5cfb18dafe5f84e76752b54d6b6 /src/core/SkCoreBlitters.h | |
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/core/SkCoreBlitters.h')
-rw-r--r-- | src/core/SkCoreBlitters.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/SkCoreBlitters.h b/src/core/SkCoreBlitters.h index 5e34685a08..84f8fa6524 100644 --- a/src/core/SkCoreBlitters.h +++ b/src/core/SkCoreBlitters.h @@ -141,8 +141,10 @@ public: virtual void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]); private: - SkXfermode* fXfermode; - SkPMColor* fBuffer; + SkXfermode* fXfermode; + SkPMColor* fBuffer; + SkBlitRow::Proc32 fProc32; + SkBlitRow::Proc32 fProc32Blend; // illegal SkARGB32_Shader_Blitter& operator=(const SkARGB32_Shader_Blitter&); |