aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar benjaminwagner <benjaminwagner@google.com>2016-03-25 13:41:38 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-25 13:41:38 -0700
commit2176f75b066d630e0b66fb5a7065ecd217150ca4 (patch)
treef3b87a03d9def2198a9320eb432f4c03f649e580
parenteb3429c6cdcf77ff24eaa74ab9fcf802abd160e2 (diff)
Remove Sk48Dot16. No longer used.
-rw-r--r--include/core/SkFixed.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/core/SkFixed.h b/include/core/SkFixed.h
index 1541e32105..b504f2f94c 100644
--- a/include/core/SkFixed.h
+++ b/include/core/SkFixed.h
@@ -152,19 +152,4 @@ typedef int64_t SkFixed3232; // 32.32
#define SkScalarToFixed3232(x) SkFloatToFixed3232(x)
-///////////////////////////////////////////////////////////////////////////////
-
-// 64bits wide, with a 16bit bias. Useful when accumulating lots of 16.16 so
-// we don't overflow along the way
-typedef int64_t Sk48Dot16;
-
-#define Sk48Dot16FloorToInt(x) static_cast<int>((x) >> 16)
-
-static inline float Sk48Dot16ToScalar(Sk48Dot16 x) {
- return static_cast<float>(x * 1.5258789e-5); // x * (1.0f / (1 << 16))
-}
-#define SkFloatTo48Dot16(x) (static_cast<Sk48Dot16>((x) * (1 << 16)))
-
-#define SkScalarTo48Dot16(x) SkFloatTo48Dot16(x)
-
#endif