aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkFixed.h
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-09-30 15:22:06 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-09-30 15:22:06 -0700
commitf6fde175b81db98cd3799ee88714a4c579bb44bd (patch)
tree65c29ef52c8868cdbc19e619722ed7fbdacc55c1 /include/core/SkFixed.h
parent46616af01b412ea984a516fda1ed8ec08e689f29 (diff)
Archive more dead code.
BUG=skia: R=reed@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/617003004
Diffstat (limited to 'include/core/SkFixed.h')
-rw-r--r--include/core/SkFixed.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/core/SkFixed.h b/include/core/SkFixed.h
index 6f168c8edd..488836c060 100644
--- a/include/core/SkFixed.h
+++ b/include/core/SkFixed.h
@@ -82,18 +82,6 @@ SkFixed SkFixedMul_portable(SkFixed, SkFixed);
#define SkFixedDiv(numer, denom) SkDivBits(numer, denom, 16)
-///////////////////////////////////////////////////////////////////////////////
-// TODO: move fixed sin/cos into SkCosineMapper, as that is the only caller
-// or rewrite SkCosineMapper to not use it at all
-
-SkFixed SkFixedSinCos(SkFixed radians, SkFixed* cosValueOrNull);
-#define SkFixedSin(radians) SkFixedSinCos(radians, NULL)
-static inline SkFixed SkFixedCos(SkFixed radians) {
- SkFixed cosValue;
- (void)SkFixedSinCos(radians, &cosValue);
- return cosValue;
-}
-
//////////////////////////////////////////////////////////////////////////////////////////////////////
// Now look for ASM overrides for our portable versions (should consider putting this in its own file)