Index: include/private/SkFixed.h |
diff --git a/include/private/SkFixed.h b/include/private/SkFixed.h |
index be3bb5d6045d9b24fd98096295b3385be409d5d3..083d02394176e92647189be4c1d4f2efbcb9bdd9 100644 |
--- a/include/private/SkFixed.h |
+++ b/include/private/SkFixed.h |
@@ -88,6 +88,10 @@ inline SkFixed SkFixedMul_longlong(SkFixed a, SkFixed b) { |
} |
#define SkFixedMul(a,b) SkFixedMul_longlong(a,b) |
+inline SkFixed SkFixedMul_lowprec(SkFixed a, SkFixed b) { |
reed1
2016/08/18 20:31:00
is this referenced from several files? wondering i
liyuqian
2016/08/22 15:30:48
It's used in SkEdge.h, SkEdge.cpp (SkAnalyticEdge.
|
+ return (a >> 8) * (b >> 8); |
+} |
+ |
#if defined(SK_CPU_ARM32) |
/* This guy does not handle NaN or other obscurities, but is faster than |