Home
last modified time | relevance | path

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

/third_party/flutter/skia/include/core/
DSkMatrix44.h21 typedef double SkMScalar; typedef
38 static const SkMScalar SK_MScalarPI = 3.141592653589793;
39 static const SkMScalar SK_MScalarNaN = SK_DoubleNaN;
54 typedef float SkMScalar; typedef
71 static const SkMScalar SK_MScalarPI = 3.14159265f;
72 static const SkMScalar SK_MScalarNaN = SK_FloatNaN;
84 #define SkIntToMScalar(n) static_cast<SkMScalar>(n)
89 static const SkMScalar SK_MScalar1 = 1;
257 inline SkMScalar get(int row, int col) const { in get()
269 inline void set(int row, int col, SkMScalar value) { in set()
[all …]
/third_party/flutter/skia/src/core/
DSkMatrix44.cpp22 static inline bool eq4(const SkMScalar* SK_RESTRICT a, in eq4()
23 const SkMScalar* SK_RESTRICT b) { in eq4()
36 const SkMScalar* SK_RESTRICT a = &fMat[0][0]; in operator ==()
37 const SkMScalar* SK_RESTRICT b = &other.fMat[0][0]; in operator ==()
88 const SkMScalar* src = &fMat[0][0]; in asColMajorf()
105 const SkMScalar* src = &fMat[0][0]; in asColMajord()
116 const SkMScalar* src = &fMat[0][0]; in asRowMajorf()
128 const SkMScalar* src = &fMat[0][0]; in asRowMajord()
140 SkMScalar* dst = &fMat[0][0]; in setColMajorf()
153 SkMScalar* dst = &fMat[0][0]; in setColMajord()
[all …]
/third_party/flutter/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 …]
/third_party/flutter/skia/bench/
DMatrix44Bench.cpp103 SkMScalar fX, fY, fZ;
231 SkMScalar fX, fY, fZ;
242 const SkMScalar v = SkDoubleToMScalar(1.5); in SetConcatMatrix44Bench()