diff options
author | 2012-03-06 14:59:04 +0000 | |
---|---|---|
committer | 2012-03-06 14:59:04 +0000 | |
commit | ae29b88deff836d0768f26c5cd76744f39dc5887 (patch) | |
tree | f0f14e6278f861487f1329ba37558730439dedfb /src/core | |
parent | 4917f17bf6bd8bff7f4b03717dcb02561cf227c9 (diff) |
SSSE3 code for drawing rotated bitmaps; produces 25-30% speedup.
Courtesy of Jin Yang.
http://codereview.appspot.com/5704055/
git-svn-id: http://skia.googlecode.com/svn/trunk@3331 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkBitmapProcState.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/SkBitmapProcState.h b/src/core/SkBitmapProcState.h index c04992b190..f80671ab4c 100644 --- a/src/core/SkBitmapProcState.h +++ b/src/core/SkBitmapProcState.h @@ -136,6 +136,10 @@ void S32_opaque_D32_filter_DX(const SkBitmapProcState& s, const uint32_t xy[], int count, SkPMColor colors[]); void S32_alpha_D32_filter_DX(const SkBitmapProcState& s, const uint32_t xy[], int count, SkPMColor colors[]); +void S32_opaque_D32_filter_DXDY(const SkBitmapProcState& s, + const uint32_t xy[], int count, SkPMColor colors[]); +void S32_alpha_D32_filter_DXDY(const SkBitmapProcState& s, + const uint32_t xy[], int count, SkPMColor colors[]); void ClampX_ClampY_filter_scale(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y); void ClampX_ClampY_nofilter_scale(const SkBitmapProcState& s, uint32_t xy[], |