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/SkPostConfig.h

Issue 116183002: remove SkFP.h and replace SkFP with SkScalar stop respecting SK_SOFTWARE_FLOAT, assume its always f… (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years 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
Index: include/core/SkPostConfig.h
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h
index efb119fe4b31dd46b0d5c94648bf041a98241554..395ece89f1fe813ba3989beefe80ad32c212088a 100644
--- a/include/core/SkPostConfig.h
+++ b/include/core/SkPostConfig.h
@@ -139,16 +139,6 @@
///////////////////////////////////////////////////////////////////////////////
-#if defined(SK_SOFTWARE_FLOAT) && defined(SK_SCALAR_IS_FLOAT)
- // if this is defined, we convert floats to 2s compliment ints for compares.
-# ifndef SK_SCALAR_SLOW_COMPARES
-# define SK_SCALAR_SLOW_COMPARES
-# endif
-# ifndef SK_USE_FLOATBITS
-# define SK_USE_FLOATBITS
-# endif
-#endif
-
#ifdef SK_BUILD_FOR_WIN
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
« no previous file with comments | « include/config/SkUserConfig.h ('k') | src/core/SkFP.h » ('j') | src/core/SkGeometry.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698