Home
last modified time | relevance | path

Searched refs:SkMatrix44 (Results 1 – 25 of 60) sorted by relevance

123

/external/skqp/tests/
DMatrix44Test.cpp57 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()
93SkMatrix44* 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 …]
/external/skia/tests/
DMatrix44Test.cpp57 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()
93SkMatrix44* 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 …]
/external/skqp/include/core/
DSkMatrix44.h138 class SK_API SkMatrix44 {
148 SkMatrix44(Uninitialized_Constructor) {} // ironically, cannot be constexpr in SkMatrix44() function
150 constexpr SkMatrix44(Identity_Constructor) in SkMatrix44() function
158 constexpr SkMatrix44() : SkMatrix44{kIdentity_Constructor} {} in SkMatrix44() function
160 SkMatrix44(const SkMatrix44& src) { in SkMatrix44() function
165 SkMatrix44(const SkMatrix44& a, const SkMatrix44& b) { in SkMatrix44() function
169 SkMatrix44& operator=(const SkMatrix44& src) {
177 bool operator==(const SkMatrix44& other) const;
178 bool operator!=(const SkMatrix44& other) const {
190 SkMatrix44(const SkMatrix&);
[all …]
/external/skia/include/core/
DSkMatrix44.h138 class SK_API SkMatrix44 {
148 SkMatrix44(Uninitialized_Constructor) {} // ironically, cannot be constexpr in SkMatrix44() function
150 constexpr SkMatrix44(Identity_Constructor) in SkMatrix44() function
158 constexpr SkMatrix44() : SkMatrix44{kIdentity_Constructor} {} in SkMatrix44() function
160 SkMatrix44(const SkMatrix44& src) { in SkMatrix44() function
165 SkMatrix44(const SkMatrix44& a, const SkMatrix44& b) { in SkMatrix44() function
169 SkMatrix44& operator=(const SkMatrix44& src) {
177 bool operator==(const SkMatrix44& other) const;
178 bool operator!=(const SkMatrix44& other) const {
190 SkMatrix44(const SkMatrix&);
[all …]
/external/skia/src/core/
DSkMatrix44.cpp16 bool SkMatrix44::operator==(const SkMatrix44& other) const { in operator ==()
53 int SkMatrix44::computeTypeMask() const { in computeTypeMask()
78 void SkMatrix44::asColMajorf(float dst[]) const { in asColMajorf()
89 void SkMatrix44::as3x4RowMajorf(float dst[]) const { in as3x4RowMajorf()
95 void SkMatrix44::asColMajord(double dst[]) const { in asColMajord()
106 void SkMatrix44::asRowMajorf(float dst[]) const { in asRowMajorf()
118 void SkMatrix44::asRowMajord(double dst[]) const { in asRowMajord()
130 void SkMatrix44::setColMajorf(const float src[]) { in setColMajorf()
143 void SkMatrix44::setColMajord(const double src[]) { in setColMajord()
156 void SkMatrix44::setRowMajorf(const float src[]) { in setRowMajorf()
[all …]
/external/skqp/src/core/
DSkMatrix44.cpp16 bool SkMatrix44::operator==(const SkMatrix44& other) const { in operator ==()
53 int SkMatrix44::computeTypeMask() const { in computeTypeMask()
78 void SkMatrix44::asColMajorf(float dst[]) const { in asColMajorf()
89 void SkMatrix44::as3x4RowMajorf(float dst[]) const { in as3x4RowMajorf()
95 void SkMatrix44::asColMajord(double dst[]) const { in asColMajord()
106 void SkMatrix44::asRowMajorf(float dst[]) const { in asRowMajorf()
118 void SkMatrix44::asRowMajord(double dst[]) const { in asRowMajord()
130 void SkMatrix44::setColMajorf(const float src[]) { in setColMajorf()
143 void SkMatrix44::setColMajord(const double src[]) { in setColMajord()
156 void SkMatrix44::setRowMajorf(const float src[]) { in setRowMajorf()
[all …]
/external/skia/bench/
DMatrix44Bench.cpp60 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;
/external/skqp/bench/
DMatrix44Bench.cpp60 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;
/external/skia/include/utils/
DSk3D.h14 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);
/external/skqp/include/utils/
DSk3D.h14 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);
/external/skqp/src/gpu/effects/
DGrYUVtoRGBEffect.h28 const SkMatrix44& colorSpaceMatrix() const { return fColorSpaceMatrix; } in colorSpaceMatrix()
38 const SkYUVAIndex yuvaIndices[4], const SkMatrix44& colorSpaceMatrix) in GrYUVtoRGBEffect()
63 SkMatrix44 fSamplerTransforms[4];
66 SkMatrix44 fColorSpaceMatrix;
/external/skia/src/gpu/effects/
DGrYUVtoRGBEffect.h28 const SkMatrix44& colorSpaceMatrix() const { return fColorSpaceMatrix; } in colorSpaceMatrix()
38 const SkYUVAIndex yuvaIndices[4], const SkMatrix44& colorSpaceMatrix) in GrYUVtoRGBEffect()
63 SkMatrix44 fSamplerTransforms[4];
66 SkMatrix44 fColorSpaceMatrix;
/external/skia/src/utils/
DSk3D.cpp10 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()
/external/skia/modules/sksg/include/
DSkSGTransform.h32 virtual SkMatrix44 asMatrix44() const = 0;
56 std::is_same<T, SkMatrix44>::value>>
68 bool is44() const override { return std::is_same<T, SkMatrix44>::value; } in is44()
71 SkMatrix44 asMatrix44() const override { return fMatrix; } in asMatrix44()
/external/skqp/src/utils/
DSk3D.cpp10 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()
/external/skqp/modules/sksg/include/
DSkSGTransform.h32 virtual SkMatrix44 asMatrix44() const = 0;
56 std::is_same<T, SkMatrix44>::value>>
68 bool is44() const override { return std::is_same<T, SkMatrix44>::value; } in is44()
71 SkMatrix44 asMatrix44() const override { return fMatrix; } in asMatrix44()
/external/skia/modules/sksg/src/
DSkSGTransformPriv.h22 std::is_same<T, SkMatrix44>::value >>
35 inline SkMatrix44 TransformPriv::As<SkMatrix44>(const sk_sp<Transform>& t) {
/external/skqp/modules/sksg/src/
DSkSGTransformPriv.h22 std::is_same<T, SkMatrix44>::value >>
35 inline SkMatrix44 TransformPriv::As<SkMatrix44>(const sk_sp<Transform>& t) {
DSkSGTransform.cpp21 std::is_same<T, SkMatrix44>::value >>
46 bool is44() const override { return std::is_same<T, SkMatrix44>::value; } in is44()
52 SkMatrix44 asMatrix44() const override { in asMatrix44()
78 ? sk_sp<Transform>(new Concat<SkMatrix44>(std::move(a), std::move(b))) in MakeConcat()
/external/skqp/src/gpu/gradients/
DGrRadialGradientLayout.h21 const SkMatrix44& gradientMatrix() const { return fGradientMatrix; } in gradientMatrix()
30 GrRadialGradientLayout(SkMatrix44 gradientMatrix) in GrRadialGradientLayout()
41 SkMatrix44 fGradientMatrix;
DGrLinearGradientLayout.h21 const SkMatrix44& gradientMatrix() const { return fGradientMatrix; } in gradientMatrix()
30 GrLinearGradientLayout(SkMatrix44 gradientMatrix) in GrLinearGradientLayout()
41 SkMatrix44 fGradientMatrix;
DGrSweepGradientLayout.h21 const SkMatrix44& gradientMatrix() const { return fGradientMatrix; } in gradientMatrix()
32 GrSweepGradientLayout(SkMatrix44 gradientMatrix, float bias, float scale) in GrSweepGradientLayout()
45 SkMatrix44 fGradientMatrix;
/external/skia/src/gpu/gradients/
DGrLinearGradientLayout.h21 const SkMatrix44& gradientMatrix() const { return fGradientMatrix; } in gradientMatrix()
30 GrLinearGradientLayout(SkMatrix44 gradientMatrix) in GrLinearGradientLayout()
41 SkMatrix44 fGradientMatrix;
DGrRadialGradientLayout.h21 const SkMatrix44& gradientMatrix() const { return fGradientMatrix; } in gradientMatrix()
30 GrRadialGradientLayout(SkMatrix44 gradientMatrix) in GrRadialGradientLayout()
41 SkMatrix44 fGradientMatrix;
DGrSweepGradientLayout.h21 const SkMatrix44& gradientMatrix() const { return fGradientMatrix; } in gradientMatrix()
32 GrSweepGradientLayout(SkMatrix44 gradientMatrix, float bias, float scale) in GrSweepGradientLayout()
45 SkMatrix44 fGradientMatrix;

123