projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
skia
/
src
/
core
/
SkMathPriv.h
diff --git
a/src/third_party/skia/src/core/SkMathPriv.h
b/src/third_party/skia/src/core/SkMathPriv.h
index
f93ab61
..
e997045
100644
(file)
--- a/
src/third_party/skia/src/core/SkMathPriv.h
+++ b/
src/third_party/skia/src/core/SkMathPriv.h
@@
-10,6
+10,12
@@
#include "SkMath.h"
#include "SkMath.h"
+#ifdef SK_BUILD_FOR_IOS
+// The iOS ARM processor discards small denormalized numbers to go faster.
+// Algorithms that rely on denormalized numbers need alternative implementations.
+#define SK_DISCARD_DENORMALIZED_FOR_SPEED
+#endif
+
/** Returns -1 if n < 0, else returns 0
*/
#define SkExtractSign(n) ((int32_t)(n) >> 31)
/** Returns -1 if n < 0, else returns 0
*/
#define SkExtractSign(n) ((int32_t)(n) >> 31)