Index: src/core/SkNx.h |
diff --git a/src/core/SkNx.h b/src/core/SkNx.h |
index 986c1334153a4e590e5865f8210b9a5b2d5e26dc..69295d4fc3f8d566e16fd92132306040865e6d6c 100644 |
--- a/src/core/SkNx.h |
+++ b/src/core/SkNx.h |
@@ -50,7 +50,7 @@ |
#undef OP |
#define OP(op) SkNx op() const { return {fLo.op(), fHi.op()}; } |
- OP(abs) OP(floor) |
+ OP(abs) |
OP(sqrt) OP(rsqrt0) OP(rsqrt1) OP(rsqrt2) |
OP(invert) OP(approxInvert) |
#undef OP |
@@ -124,7 +124,6 @@ |
static SkNx Max(const SkNx& a, const SkNx& b) { return SkTMax(a.fVal, b.fVal); } |
SkNx abs() const { return SkTAbs(fVal); } |
- SkNx floor() const { return Floor(fVal); } |
SkNx sqrt () const { return Sqrt(fVal); } |
SkNx rsqrt0() const { return this->sqrt().invert(); } |
@@ -146,8 +145,6 @@ |
SkNx thenElse(const SkNx& t, const SkNx& e) const { return fVal != 0 ? t : e; } |
protected: |
- static double Floor(double val) { return ::floor (val); } |
- static float Floor(float val) { return ::floorf(val); } |
static double Sqrt(double val) { return ::sqrt (val); } |
static float Sqrt(float val) { return ::sqrtf(val); } |