Home
last modified time | relevance | path

Searched refs:SkMScalar (Results 1 – 8 of 8) sorted by relevance

/external/skqp/include/core/
DSkMatrix44.h21 typedef double SkMScalar; typedef
38 static const SkMScalar SK_MScalarPI = 3.141592653589793;
53 typedef float SkMScalar; typedef
70 static const SkMScalar SK_MScalarPI = 3.14159265f;
82 #define SkIntToMScalar(n) static_cast<SkMScalar>(n)
87 static const SkMScalar SK_MScalar1 = 1;
263 inline SkMScalar get(int row, int col) const { in get()
275 inline void set(int row, int col, SkMScalar value) { in set()
325 void setColMajor(const SkMScalar data[]) { this->setColMajorf(data); } in setColMajor()
326 void setRowMajor(const SkMScalar data[]) { this->setRowMajorf(data); } in setRowMajor()
[all …]
/external/skia/include/core/
DSkMatrix44.h21 typedef double SkMScalar; typedef
38 static const SkMScalar SK_MScalarPI = 3.141592653589793;
53 typedef float SkMScalar; typedef
70 static const SkMScalar SK_MScalarPI = 3.14159265f;
82 #define SkIntToMScalar(n) static_cast<SkMScalar>(n)
87 static const SkMScalar SK_MScalar1 = 1;
263 inline SkMScalar get(int row, int col) const { in get()
275 inline void set(int row, int col, SkMScalar value) { in set()
325 void setColMajor(const SkMScalar data[]) { this->setColMajorf(data); } in setColMajor()
326 void setRowMajor(const SkMScalar data[]) { this->setRowMajorf(data); } in setRowMajor()
[all …]
/external/skia/src/core/
DSkMatrix44.cpp11 static inline bool eq4(const SkMScalar* SK_RESTRICT a, in eq4()
12 const SkMScalar* SK_RESTRICT b) { in eq4()
25 const SkMScalar* SK_RESTRICT a = &fMat[0][0]; in operator ==()
26 const SkMScalar* SK_RESTRICT b = &other.fMat[0][0]; in operator ==()
79 const SkMScalar* src = &fMat[0][0]; in asColMajorf()
96 const SkMScalar* src = &fMat[0][0]; in asColMajord()
107 const SkMScalar* src = &fMat[0][0]; in asRowMajorf()
119 const SkMScalar* src = &fMat[0][0]; in asRowMajord()
131 SkMScalar* dst = &fMat[0][0]; in setColMajorf()
144 SkMScalar* dst = &fMat[0][0]; in setColMajord()
[all …]
/external/skqp/src/core/
DSkMatrix44.cpp11 static inline bool eq4(const SkMScalar* SK_RESTRICT a, in eq4()
12 const SkMScalar* SK_RESTRICT b) { in eq4()
25 const SkMScalar* SK_RESTRICT a = &fMat[0][0]; in operator ==()
26 const SkMScalar* SK_RESTRICT b = &other.fMat[0][0]; in operator ==()
79 const SkMScalar* src = &fMat[0][0]; in asColMajorf()
96 const SkMScalar* src = &fMat[0][0]; in asColMajord()
107 const SkMScalar* src = &fMat[0][0]; in asRowMajorf()
119 const SkMScalar* src = &fMat[0][0]; in asRowMajord()
131 SkMScalar* dst = &fMat[0][0]; in setColMajorf()
144 SkMScalar* dst = &fMat[0][0]; in setColMajord()
[all …]
/external/skqp/tests/
DMatrix44Test.cpp20 static bool nearly_equal_mscalar(SkMScalar a, SkMScalar b) { in nearly_equal_mscalar()
21 const SkMScalar tolerance = SK_MScalar1 / 200000; in nearly_equal_mscalar()
23 return SkTAbs<SkMScalar>(a - b) <= tolerance; in nearly_equal_mscalar()
181 SkMScalar data[] = { in make_p()
195 SkMScalar src2[] = { 1, 2 }; in test_map2()
196 SkMScalar src4[] = { src2[0], src2[1], 0, 1 }; in test_map2()
197 SkMScalar dstA[4], dstB[4]; in test_map2()
245 SkMScalar dx = 0; in test_gettype()
246 SkMScalar dy = 0; in test_gettype()
247 SkMScalar dz = 0; in test_gettype()
[all …]
/external/skia/tests/
DMatrix44Test.cpp20 static bool nearly_equal_mscalar(SkMScalar a, SkMScalar b) { in nearly_equal_mscalar()
21 const SkMScalar tolerance = SK_MScalar1 / 200000; in nearly_equal_mscalar()
23 return SkTAbs<SkMScalar>(a - b) <= tolerance; in nearly_equal_mscalar()
181 SkMScalar data[] = { in make_p()
195 SkMScalar src2[] = { 1, 2 }; in test_map2()
196 SkMScalar src4[] = { src2[0], src2[1], 0, 1 }; in test_map2()
197 SkMScalar dstA[4], dstB[4]; in test_map2()
245 SkMScalar dx = 0; in test_gettype()
246 SkMScalar dy = 0; in test_gettype()
247 SkMScalar dz = 0; in test_gettype()
[all …]
/external/skia/bench/
DMatrix44Bench.cpp103 SkMScalar fX, fY, fZ;
231 SkMScalar fX, fY, fZ;
242 const SkMScalar v = SkDoubleToMScalar(1.5); in SetConcatMatrix44Bench()
/external/skqp/bench/
DMatrix44Bench.cpp103 SkMScalar fX, fY, fZ;
231 SkMScalar fX, fY, fZ;
242 const SkMScalar v = SkDoubleToMScalar(1.5); in SetConcatMatrix44Bench()