/third_party/flutter/skia/tests/ |
D | Matrix44Test.cpp | 57 static bool nearly_equal(const SkMatrix44& a, const SkMatrix44& b) { in nearly_equal() 69 static bool is_identity(const SkMatrix44& m) { in is_identity() 70 SkMatrix44 identity(SkMatrix44::kIdentity_Constructor); in is_identity() 81 SkMatrix44* placeholderMatrix = new SkMatrix44; in test_constructor() 82 std::unique_ptr<SkMatrix44> deleteMe(placeholderMatrix); in test_constructor() 93 …SkMatrix44* testMatrix = new(placeholderMatrix) SkMatrix44(SkMatrix44::kUninitialized_Constructor); in test_constructor() 104 testMatrix = new(placeholderMatrix) SkMatrix44(SkMatrix44::kIdentity_Constructor); in test_constructor() 107 REPORTER_ASSERT(reporter, *testMatrix == SkMatrix44::I()); in test_constructor() 110 SkMatrix44 scaleMatrix; in test_constructor() 113 testMatrix = new(&scaleMatrix) SkMatrix44(SkMatrix::I()); in test_constructor() [all …]
|
/third_party/flutter/engine/flutter/flow/ |
D | matrix_decomposition_unittests.cc | 16 SkMatrix44 matrix = SkMatrix44::I(); in TEST() 33 SkMatrix44 matrix = SkMatrix44::I(); in TEST() 47 SkMatrix44 matrix = SkMatrix44::I(); in TEST() 65 SkMatrix44 m1 = SkMatrix44::I(); in TEST() 68 SkMatrix44 m2 = SkMatrix44::I(); in TEST() 71 SkMatrix44 m3 = SkMatrix44::I(); in TEST() 74 SkMatrix44 combined = m3 * m2 * m1; in TEST() 97 SkMatrix44 matrix = SkMatrix44::I(); in TEST() 111 SkMatrix44 matrix = SkMatrix44::I(); in TEST() 117 SkMatrix44 matrix2 = SkMatrix44::I(); in TEST() [all …]
|
D | matrix_decomposition.cc | 29 : MatrixDecomposition(SkMatrix44{matrix}) {} in MatrixDecomposition() 40 MatrixDecomposition::MatrixDecomposition(SkMatrix44 matrix) : valid_(false) { in MatrixDecomposition() 51 SkMatrix44 perpective_matrix = matrix; in MatrixDecomposition() 67 SkMatrix44 inverted_transposed( in MatrixDecomposition() 68 SkMatrix44::Uninitialized_Constructor::kUninitialized_Constructor); in MatrixDecomposition()
|
/third_party/flutter/skia/include/core/ |
D | SkMatrix44.h | 137 class SK_API SkMatrix44 { 150 SkMatrix44(Uninitialized_Constructor) {} // ironically, cannot be constexpr in SkMatrix44() function 152 constexpr SkMatrix44(Identity_Constructor) in SkMatrix44() function 159 SkMatrix44(NaN_Constructor) in SkMatrix44() function 166 constexpr SkMatrix44() : SkMatrix44{kIdentity_Constructor} {} in SkMatrix44() function 168 SkMatrix44(const SkMatrix44& src) = default; 170 SkMatrix44& operator=(const SkMatrix44& src) = default; 172 SkMatrix44(const SkMatrix44& a, const SkMatrix44& b) { in SkMatrix44() function 176 bool operator==(const SkMatrix44& other) const; 177 bool operator!=(const SkMatrix44& other) const { [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkMatrix44.cpp | 18 static_assert(std::is_trivially_copyable<SkMatrix44>::value, 27 bool SkMatrix44::operator==(const SkMatrix44& other) const { in operator ==() 63 void SkMatrix44::recomputeTypeMask() { in recomputeTypeMask() 87 void SkMatrix44::asColMajorf(float dst[]) const { in asColMajorf() 98 void SkMatrix44::as3x4RowMajorf(float dst[]) const { in as3x4RowMajorf() 104 void SkMatrix44::asColMajord(double dst[]) const { in asColMajord() 115 void SkMatrix44::asRowMajorf(float dst[]) const { in asRowMajorf() 127 void SkMatrix44::asRowMajord(double dst[]) const { in asRowMajord() 139 void SkMatrix44::setColMajorf(const float src[]) { in setColMajorf() 152 void SkMatrix44::setColMajord(const double src[]) { in setColMajord() [all …]
|
D | SkYUVMath.cpp | 94 static void colormatrix_to_matrix44(const float src[20], SkMatrix44* dst) { in colormatrix_to_matrix44() 109 static void matrix44_to_colormatrix(const SkMatrix44& src, float dst[20]) { in matrix44_to_colormatrix() 189 SkMatrix44 m44, im44; in SkColorMatrix_DumpYUVMatrixTables()
|
/third_party/flutter/skia/bench/ |
D | Matrix44Bench.cpp | 60 SkMatrix44 fM0, fM1, fM2; 83 SkMatrix44 mat; 102 SkMatrix44 fM0; 136 SkMatrix44 fM0, fM1; 166 SkMatrix44 fM0, fM1; 191 SkMatrix44 fM0, fM1; 211 SkMatrix44 fM0, fM1; 230 SkMatrix44 fM0; 262 SkMatrix44 fM0, fM1, fM2; 282 SkMatrix44 fMatrix;
|
/third_party/flutter/skia/modules/sksg/src/ |
D | SkSGTransform.cpp | 21 std::is_same<T, SkMatrix44>::value >> 46 bool is44() const override { return std::is_same<T, SkMatrix44>::value; } in is44() 53 SkMatrix44 asMatrix44() const override { in asMatrix44() 69 std::is_same<T, SkMatrix44>::value >> 92 bool is44() const override { return std::is_same<T, SkMatrix44>::value; } in is44() 99 SkMatrix44 asMatrix44() const override { in asMatrix44() 126 ? sk_sp<Transform>(new Concat<SkMatrix44>(std::move(a), std::move(b))) in MakeConcat() 136 ? sk_sp<Transform>(new Inverse<SkMatrix44>(std::move(t))) in MakeInverse()
|
D | SkSGTransformPriv.h | 22 std::is_same<T, SkMatrix44>::value >> 35 inline SkMatrix44 TransformPriv::As<SkMatrix44>(const sk_sp<Transform>& t) {
|
/third_party/flutter/skia/include/utils/ |
D | Sk3D.h | 14 SK_API void Sk3LookAt(SkMatrix44* dst, const SkPoint3& eye, const SkPoint3& center, const SkPoint3&… 15 SK_API bool Sk3Perspective(SkMatrix44* dst, float near, float far, float angle); 16 SK_API void Sk3MapPts(SkPoint dst[], const SkMatrix44& m4, const SkPoint3 src[], int count);
|
/third_party/flutter/skia/modules/skottie/src/ |
D | SkottieAdapter.cpp | 92 : fMatrixNode(sksg::Matrix<SkMatrix44>::Make(SkMatrix::I())) {} in TransformAdapter3D() 100 SkMatrix44 TransformAdapter3D::totalMatrix() const { in totalMatrix() 101 SkMatrix44 t; in totalMatrix() 106 SkMatrix44 r; in totalMatrix() 128 SkMatrix44 CameraAdapter::totalMatrix() const { in totalMatrix() 144 SkMatrix44 cam_t; in totalMatrix() 149 SkMatrix44 rot; in totalMatrix() 170 SkMatrix44 persp_t; in totalMatrix() 174 SkMatrix44 t; in totalMatrix()
|
/third_party/flutter/skia/src/utils/ |
D | Sk3D.cpp | 10 static void set_col(SkMatrix44* m, int col, const SkPoint3& v) { in set_col() 24 void Sk3LookAt(SkMatrix44* dst, const SkPoint3& eye, const SkPoint3& center, const SkPoint3& up) { in Sk3LookAt() 41 bool Sk3Perspective(SkMatrix44* dst, float near, float far, float angle) { in Sk3Perspective() 57 void Sk3MapPts(SkPoint dst[], const SkMatrix44& m4, const SkPoint3 src[], int count) { in Sk3MapPts()
|
/third_party/flutter/skia/modules/sksg/include/ |
D | SkSGTransform.h | 35 virtual SkMatrix44 asMatrix44() const = 0; 59 std::is_same<T, SkMatrix44>::value>> 71 bool is44() const override { return std::is_same<T, SkMatrix44>::value; } in is44() 74 SkMatrix44 asMatrix44() const override { return fMatrix; } in asMatrix44()
|
/third_party/flutter/skia/src/gpu/effects/generated/ |
D | GrColorMatrixFragmentProcessor.cpp | 58 const SkMatrix44& mValue = _outer.m; in onSetData() 70 SkMatrix44 mPrev = SkMatrix44(SkMatrix44::kNaN_Constructor);
|
D | GrColorMatrixFragmentProcessor.h | 49 SkMatrix44 m44; in Make() 60 SkMatrix44 m; 67 GrColorMatrixFragmentProcessor(SkMatrix44 m, SkVector4 v, bool unpremulInput, in GrColorMatrixFragmentProcessor()
|
/third_party/flutter/skia/modules/skottie/gm/ |
D | 3dgm.cpp | 36 SkMatrix44 c; in operator *() 89 static void draw_skia(SkCanvas* canvas, const SkMatrix44& m4, const SkMatrix& vp, in draw_skia() 91 auto proc = [canvas, vp, anim](SkColor c, const SkMatrix44& m4) { in draw_skia() 102 SkMatrix44 tmp; in draw_skia() 122 SkMatrix44 camera, in onDraw()
|
/third_party/flutter/skia/platform_tools/android/apps/arcore/src/main/cpp/ |
D | util.h | 118 SkMatrix44 GlmMatToSkMat(const glm::mat4 m); 119 glm::mat4 SkMatToGlmMat(const SkMatrix44 m); 127 void LogSkMat44(SkMatrix44 m, char *type);
|
D | hello_ar_application.h | 139 std::unordered_map<ArAnchor *, SkMatrix44> anchor_skmat4_axis_aligned_map_; 140 std::unordered_map<ArAnchor *, SkMatrix44> anchor_skmat4_camera_aligned_map_; 141 std::unordered_map<ArAnchor *, SkMatrix44> anchor_skmat4_snap_aligned_map_;
|
D | hello_ar_application.cc | 165 void DrawAxes(SkCanvas *canvas, SkMatrix44 m) { in DrawAxes() 188 void DrawVector(SkCanvas *canvas, SkMatrix44 m, glm::vec3 begin, glm::vec3 end, SkColor c) { in DrawVector() 282 SkMatrix44 skProj; in OnDrawFrame() 283 SkMatrix44 skView; in OnDrawFrame() 298 std::vector<SkMatrix44> models; in OnDrawFrame() 311 SkMatrix44 skModel; in OnDrawFrame() 422 SkMatrix44 i = SkMatrix44::kIdentity_Constructor; in OnDrawFrame() 427 SkMatrix44 vpv = skViewport * skProj * skView; in OnDrawFrame() 428 for(SkMatrix44 skModel: models) { in OnDrawFrame() 429 SkMatrix44 i = SkMatrix44::kIdentity_Constructor; in OnDrawFrame() [all …]
|
/third_party/flutter/engine/flutter/lib/ui/semantics/ |
D | semantics_node.h | 114 SkMatrix44 transform = SkMatrix44(SkMatrix44::kIdentity_Constructor);
|
/third_party/flutter/skia/src/gpu/gradients/generated/ |
D | GrRadialGradientLayout.h | 28 SkMatrix44 gradientMatrix; 31 GrRadialGradientLayout(SkMatrix44 gradientMatrix) in GrRadialGradientLayout()
|
D | GrLinearGradientLayout.h | 28 SkMatrix44 gradientMatrix; 31 GrLinearGradientLayout(SkMatrix44 gradientMatrix) in GrLinearGradientLayout()
|
D | GrSweepGradientLayout.h | 28 SkMatrix44 gradientMatrix; 33 GrSweepGradientLayout(SkMatrix44 gradientMatrix, float bias, float scale) in GrSweepGradientLayout()
|
D | GrTwoPointConicalGradientLayout.h | 30 SkMatrix44 gradientMatrix; 40 GrTwoPointConicalGradientLayout(SkMatrix44 gradientMatrix, Type type, bool isRadiusIncreasing, in GrTwoPointConicalGradientLayout()
|
/third_party/flutter/skia/gm/ |
D | postercircle.cpp | 85 SkMatrix44 proj(SkMatrix44::kIdentity_Constructor); in onDraw() 122 SkMatrix44 model; in onDraw()
|