OLD | NEW |
1 // It is important _not_ to put header guards here. | 1 // It is important _not_ to put header guards here. |
2 // This file will be intentionally included three times. | 2 // This file will be intentionally included three times. |
3 | 3 |
4 #include "SkTypes.h" // Keep this before any #ifdef for skbug.com/3362 | 4 #include "SkTypes.h" // Keep this before any #ifdef for skbug.com/3362 |
5 | 5 |
6 #if defined(SK4X_PREAMBLE) | 6 #if defined(SK4X_PREAMBLE) |
7 #include "SkFloatingPoint.h" | 7 #include "SkFloatingPoint.h" |
8 #include <math.h> | 8 #include <math.h> |
9 | 9 |
10 #elif defined(SK4X_PRIVATE) | 10 #elif defined(SK4X_PRIVATE) |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 k < 4 ? x.fVec[k] : y.fVec[k-4]); | 111 k < 4 ? x.fVec[k] : y.fVec[k-4]); |
112 } | 112 } |
113 | 113 |
114 M(Sk4x<T>) zwxy() const { return Shuffle<2,3,0,1>(*t
his, *this); } | 114 M(Sk4x<T>) zwxy() const { return Shuffle<2,3,0,1>(*t
his, *this); } |
115 M(Sk4x<T>) XYAB(const Sk4x& xyzw, const Sk4x& abcd) { return Shuffle<0,1,4,5>( x
yzw, abcd); } | 115 M(Sk4x<T>) XYAB(const Sk4x& xyzw, const Sk4x& abcd) { return Shuffle<0,1,4,5>( x
yzw, abcd); } |
116 M(Sk4x<T>) ZWCD(const Sk4x& xyzw, const Sk4x& abcd) { return Shuffle<2,3,6,7>( x
yzw, abcd); } | 116 M(Sk4x<T>) ZWCD(const Sk4x& xyzw, const Sk4x& abcd) { return Shuffle<2,3,6,7>( x
yzw, abcd); } |
117 | 117 |
118 #undef M | 118 #undef M |
119 | 119 |
120 #endif | 120 #endif |
OLD | NEW |