Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: include/core/SkFixed.h

Issue 617003004: Archive more dead code. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove header from .gypi Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/tests.gypi ('k') | src/core/SkMath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkFixed.h
diff --git a/include/core/SkFixed.h b/include/core/SkFixed.h
index 6f168c8edd9ed0c31d417a5368ac84ee684ee0ec..488836c06035006a5c3630990697d74eb4c55c35 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)
« no previous file with comments | « gyp/tests.gypi ('k') | src/core/SkMath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698