aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu
diff options
context:
space:
mode:
authorGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-11-28 18:22:01 +0000
committerGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-11-28 18:22:01 +0000
commit01224d5d0a3228fe47e63d8346e0e433a87563a8 (patch)
tree0c26fce36c2f958139e0d52c447d19b1f5e052d6 /include/gpu
parent5e12770cb01d9f6963538223cbfd91d269feee98 (diff)
Unroll loops in SkBlurMask for speedup on Windows (benchmarks should see
15% on interpolated blurs, 5-10% on simple blurs). git-svn-id: http://skia.googlecode.com/svn/trunk@2755 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu')
-rw-r--r--include/gpu/GrTypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h
index eb92f09eb7..e961fac805 100644
--- a/include/gpu/GrTypes.h
+++ b/include/gpu/GrTypes.h
@@ -55,7 +55,7 @@
* n is already a multiple of 4
*/
#define GrALIGN4(n) SkAlign4(n)
-#define GrIsALIGN4(n) (((n) & 3) == 0)
+#define GrIsALIGN4(n) SkIsAlign4(n)
template <typename T> const T& GrMin(const T& a, const T& b) {
return (a < b) ? a : b;