aboutsummaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorHenrik Smiding <henrik.smiding@stericsson.com>2013-03-20 17:00:59 +0100
committerEvan McClain <aeroevan@gmail.com>2013-05-26 09:23:32 -0400
commit0f1f6b46ef441d15bcc77825bb6316ff4dc4338e (patch)
tree13b076fa3fa3d18f8c4e919fc1c238c6f7e0caeb /src/core
parent5dd8eff4587a42ce15fdc3ba30c879405e6d1401 (diff)
downloadexternal_skia-0f1f6b46ef441d15bcc77825bb6316ff4dc4338e.zip
external_skia-0f1f6b46ef441d15bcc77825bb6316ff4dc4338e.tar.gz
external_skia-0f1f6b46ef441d15bcc77825bb6316ff4dc4338e.tar.bz2
Add shader for Clamp_S32_Opaque_D32_nofilter_DX.
Adds an optimized shader for S32_Opaque_D32_nofilter_DX when running with clamped tile mode. Improves performance of system and various applications. Change-Id: I8dd7be24870315b2b8273bf72d9c22eb0aeb97fb Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com> Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkBitmapProcState.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/SkBitmapProcState.h b/src/core/SkBitmapProcState.h
index 1b42b61..90dbf35 100644
--- a/src/core/SkBitmapProcState.h
+++ b/src/core/SkBitmapProcState.h
@@ -146,5 +146,7 @@ void ClampX_ClampY_nofilter_affine(const SkBitmapProcState& s,
uint32_t xy[], int count, int x, int y);
void SI8_opaque_D32_filter_DX(const SkBitmapProcState& s, const uint32_t xy[],
int count, SkPMColor colors[]);
+void S32_opaque_D32_nofilter_DX(const SkBitmapProcState& s, const uint32_t xy[],
+ int count, SkPMColor colors[]);
#endif