Home
last modified time | relevance | path

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

123

/external/skia/tests/
DMatrix44Test.cpp56 static bool nearly_equal(const SkMatrix44& a, const SkMatrix44& b) { in nearly_equal()
68 static bool is_identity(const SkMatrix44& m) { in is_identity()
69 SkMatrix44 identity(SkMatrix44::kIdentity_Constructor); in is_identity()
80 SkMatrix44* placeholderMatrix = new SkMatrix44(SkMatrix44::kUninitialized_Constructor); in test_constructor()
81 SkAutoTDelete<SkMatrix44> deleteMe(placeholderMatrix); in test_constructor()
92SkMatrix44* testMatrix = new(placeholderMatrix) SkMatrix44(SkMatrix44::kUninitialized_Constructor); in test_constructor()
103 testMatrix = new(placeholderMatrix) SkMatrix44(SkMatrix44::kIdentity_Constructor); in test_constructor()
106 REPORTER_ASSERT(reporter, *testMatrix == SkMatrix44::I()); in test_constructor()
110 SkMatrix44 mat(SkMatrix44::kUninitialized_Constructor); in test_translate()
111 SkMatrix44 inverse(SkMatrix44::kUninitialized_Constructor); in test_translate()
[all …]
/external/chromium_org/third_party/skia/tests/
DMatrix44Test.cpp56 static bool nearly_equal(const SkMatrix44& a, const SkMatrix44& b) { in nearly_equal()
68 static bool is_identity(const SkMatrix44& m) { in is_identity()
69 SkMatrix44 identity(SkMatrix44::kIdentity_Constructor); in is_identity()
80 SkMatrix44* placeholderMatrix = new SkMatrix44(SkMatrix44::kUninitialized_Constructor); in test_constructor()
81 SkAutoTDelete<SkMatrix44> deleteMe(placeholderMatrix); in test_constructor()
92SkMatrix44* testMatrix = new(placeholderMatrix) SkMatrix44(SkMatrix44::kUninitialized_Constructor); in test_constructor()
103 testMatrix = new(placeholderMatrix) SkMatrix44(SkMatrix44::kIdentity_Constructor); in test_constructor()
106 REPORTER_ASSERT(reporter, *testMatrix == SkMatrix44::I()); in test_constructor()
110 SkMatrix44 mat(SkMatrix44::kUninitialized_Constructor); in test_translate()
111 SkMatrix44 inverse(SkMatrix44::kUninitialized_Constructor); in test_translate()
[all …]
/external/skia/bench/
DMatrix44Bench.cpp47 , fM0(SkMatrix44::kIdentity_Constructor) in EqualsMatrix44Bench()
48 , fM1(SkMatrix44::kIdentity_Constructor) in EqualsMatrix44Bench()
49 , fM2(SkMatrix44::kIdentity_Constructor) in EqualsMatrix44Bench()
63 SkMatrix44 fM0, fM1, fM2;
71 , mat(SkMatrix44::kIdentity_Constructor) in SetIdentityMatrix44Bench()
87 SkMatrix44 mat;
95 , fM0(SkMatrix44::kUninitialized_Constructor) in PreScaleMatrix44Bench()
107 SkMatrix44 fM0;
116 , fM0(SkMatrix44::kUninitialized_Constructor) in InvertMatrix44Bench()
117 , fM1(SkMatrix44::kUninitialized_Constructor) in InvertMatrix44Bench()
[all …]
/external/chromium_org/third_party/skia/bench/
DMatrix44Bench.cpp47 , fM0(SkMatrix44::kIdentity_Constructor) in EqualsMatrix44Bench()
48 , fM1(SkMatrix44::kIdentity_Constructor) in EqualsMatrix44Bench()
49 , fM2(SkMatrix44::kIdentity_Constructor) in EqualsMatrix44Bench()
63 SkMatrix44 fM0, fM1, fM2;
71 , mat(SkMatrix44::kIdentity_Constructor) in SetIdentityMatrix44Bench()
87 SkMatrix44 mat;
95 , fM0(SkMatrix44::kUninitialized_Constructor) in PreScaleMatrix44Bench()
107 SkMatrix44 fM0;
116 , fM0(SkMatrix44::kUninitialized_Constructor) in InvertMatrix44Bench()
117 , fM1(SkMatrix44::kUninitialized_Constructor) in InvertMatrix44Bench()
[all …]
/external/chromium_org/ui/gfx/
Dtransform_util.cc105 bool Normalize(SkMatrix44& m) { in Normalize()
118 SkMatrix44 BuildPerspectiveMatrix(const DecomposedTransform& decomp) { in BuildPerspectiveMatrix()
119 SkMatrix44 matrix(SkMatrix44::kIdentity_Constructor); in BuildPerspectiveMatrix()
126 SkMatrix44 BuildTranslationMatrix(const DecomposedTransform& decomp) { in BuildTranslationMatrix()
127 SkMatrix44 matrix(SkMatrix44::kUninitialized_Constructor); in BuildTranslationMatrix()
135 SkMatrix44 BuildSnappedTranslationMatrix(DecomposedTransform decomp) { in BuildSnappedTranslationMatrix()
142 SkMatrix44 BuildRotationMatrix(const DecomposedTransform& decomp) { in BuildRotationMatrix()
148 SkMatrix44 matrix(SkMatrix44::kUninitialized_Constructor); in BuildRotationMatrix()
163 SkMatrix44 BuildSnappedRotationMatrix(const DecomposedTransform& decomp) { in BuildSnappedRotationMatrix()
165 SkMatrix44 rotation_matrix = BuildRotationMatrix(decomp); in BuildSnappedRotationMatrix()
[all …]
Dtransform.h32 Transform() : matrix_(SkMatrix44::kIdentity_Constructor) {} in Transform()
37 : matrix_(SkMatrix44::kUninitialized_Constructor) {} in Transform()
123 return !(matrix_.getType() & ~SkMatrix44::kTranslate_Mask); in IsIdentityOrTranslation()
144 return !(matrix_.getType() & ~SkMatrix44::kScale_Mask); in IsScale2d()
149 int mask = SkMatrix44::kScale_Mask | SkMatrix44::kTranslate_Mask; in IsScaleOrTranslation()
160 return (matrix_.getType() & SkMatrix44::kPerspective_Mask) != 0; in HasPerspective()
254 const SkMatrix44& matrix() const { return matrix_; } in matrix()
255 SkMatrix44& matrix() { return matrix_; } in matrix()
260 void TransformPointInternal(const SkMatrix44& xform,
263 void TransformPointInternal(const SkMatrix44& xform,
[all …]
Dtransform.cc61 : matrix_(SkMatrix44::kUninitialized_Constructor) { in Transform()
89 : matrix_(SkMatrix44::kIdentity_Constructor) { in Transform()
107 SkMatrix44 rot(SkMatrix44::kUninitialized_Constructor); in RotateAboutXAxis()
126 SkMatrix44 rot(SkMatrix44::kUninitialized_Constructor); in RotateAboutYAxis()
143 SkMatrix44 rot(SkMatrix44::kUninitialized_Constructor); in RotateAboutZAxis()
158 SkMatrix44 rot(SkMatrix44::kUninitialized_Constructor); in RotateAbout()
185 SkMatrix44 skew(SkMatrix44::kIdentity_Constructor); in SkewX()
195 SkMatrix44 skew(SkMatrix44::kIdentity_Constructor); in SkewY()
207 SkMatrix44 m(SkMatrix44::kIdentity_Constructor); in ApplyPerspectiveDepth()
410 SkMatrix44 inverse(SkMatrix44::kUninitialized_Constructor); in TransformPointReverse()
[all …]
Dinterpolated_transform_unittest.cc165 SkMatrix44& m = interpolated.matrix(); in TEST()
216 SkMatrix44& m = interpolated.matrix(); in TEST()
/external/skia/include/utils/
DSkMatrix44.h102 class SK_API SkMatrix44 {
112 SkMatrix44(Uninitialized_Constructor) { } in SkMatrix44() function
113 SkMatrix44(Identity_Constructor) { this->setIdentity(); } in SkMatrix44() function
116 SkMatrix44() { this->setIdentity(); } in SkMatrix44() function
118 SkMatrix44(const SkMatrix44& src) { in SkMatrix44() function
123 SkMatrix44(const SkMatrix44& a, const SkMatrix44& b) { in SkMatrix44() function
127 SkMatrix44& operator=(const SkMatrix44& src) {
135 bool operator==(const SkMatrix44& other) const;
136 bool operator!=(const SkMatrix44& other) const {
148 SkMatrix44(const SkMatrix&);
[all …]
/external/chromium_org/third_party/skia/include/utils/
DSkMatrix44.h102 class SK_API SkMatrix44 {
112 SkMatrix44(Uninitialized_Constructor) { } in SkMatrix44() function
113 SkMatrix44(Identity_Constructor) { this->setIdentity(); } in SkMatrix44() function
116 SkMatrix44() { this->setIdentity(); } in SkMatrix44() function
118 SkMatrix44(const SkMatrix44& src) { in SkMatrix44() function
123 SkMatrix44(const SkMatrix44& a, const SkMatrix44& b) { in SkMatrix44() function
127 SkMatrix44& operator=(const SkMatrix44& src) {
135 bool operator==(const SkMatrix44& other) const;
136 bool operator!=(const SkMatrix44& other) const {
148 SkMatrix44(const SkMatrix&);
[all …]
/external/chromium_org/third_party/skia/src/utils/
DSkMatrix44.cpp15 bool SkMatrix44::operator==(const SkMatrix44& other) const { in operator ==()
52 int SkMatrix44::computeTypeMask() const { in computeTypeMask()
77 void SkMatrix44::asColMajorf(float dst[]) const { in asColMajorf()
88 void SkMatrix44::asColMajord(double dst[]) const { in asColMajord()
99 void SkMatrix44::asRowMajorf(float dst[]) const { in asRowMajorf()
111 void SkMatrix44::asRowMajord(double dst[]) const { in asRowMajord()
123 void SkMatrix44::setColMajorf(const float src[]) { in setColMajorf()
136 void SkMatrix44::setColMajord(const double src[]) { in setColMajord()
149 void SkMatrix44::setRowMajorf(const float src[]) { in setRowMajorf()
162 void SkMatrix44::setRowMajord(const double src[]) { in setRowMajord()
[all …]
/external/skia/src/utils/
DSkMatrix44.cpp15 bool SkMatrix44::operator==(const SkMatrix44& other) const { in operator ==()
52 int SkMatrix44::computeTypeMask() const { in computeTypeMask()
77 void SkMatrix44::asColMajorf(float dst[]) const { in asColMajorf()
88 void SkMatrix44::asColMajord(double dst[]) const { in asColMajord()
99 void SkMatrix44::asRowMajorf(float dst[]) const { in asRowMajorf()
111 void SkMatrix44::asRowMajord(double dst[]) const { in asRowMajord()
123 void SkMatrix44::setColMajorf(const float src[]) { in setColMajorf()
136 void SkMatrix44::setColMajord(const double src[]) { in setColMajord()
149 void SkMatrix44::setRowMajorf(const float src[]) { in setRowMajorf()
162 void SkMatrix44::setRowMajord(const double src[]) { in setRowMajord()
[all …]
/external/skia/samplecode/
DSampleSkLayer.cpp15 static void test_inv(const char label[], const SkMatrix44& mat) { in test_inv()
19 SkMatrix44 inv; in test_inv()
26 SkMatrix44 a, b; in test_inv()
40 const SkMatrix44& mat, in test_map()
52 static void test_33(const SkMatrix44& mat, in test_33()
66 SkMatrix44 m0, m1, m2; in test44()
/external/chromium_org/third_party/skia/samplecode/
DSampleSkLayer.cpp15 static void test_inv(const char label[], const SkMatrix44& mat) { in test_inv()
19 SkMatrix44 inv; in test_inv()
26 SkMatrix44 a, b; in test_inv()
40 const SkMatrix44& mat, in test_map()
52 static void test_33(const SkMatrix44& mat, in test_33()
66 SkMatrix44 m0, m1, m2; in test44()
/external/chromium_org/third_party/WebKit/public/platform/
DWebTransformOperations.h28 class SkMatrix44; variable
48 virtual void appendMatrix(const SkMatrix44&) = 0;
DWebLayer.h40 class SkMatrix44; variable
96 virtual void setTransform(const SkMatrix44&) = 0;
97 virtual SkMatrix44 transform() const = 0;
/external/chromium_org/content/renderer/compositor_bindings/
Dweb_layer_impl_fixed_bounds.h32 virtual void setTransform(const SkMatrix44& transform);
33 virtual SkMatrix44 transform() const;
Dweb_layer_impl_fixed_bounds.cc51 void WebLayerImplFixedBounds::setTransform(const SkMatrix44& matrix) { in setTransform()
57 SkMatrix44 WebLayerImplFixedBounds::transform() const { in transform()
Dweb_transform_operations_impl.h29 virtual void appendMatrix(const SkMatrix44&);
Dweb_layer_impl.h85 virtual void setTransform(const SkMatrix44& transform);
95 virtual SkMatrix44 transform() const;
Dweb_transform_operations_impl.cc51 void WebTransformOperationsImpl::appendMatrix(const SkMatrix44& matrix) { in appendMatrix()
/external/chromium_org/third_party/skia/gyp/
Dutils.gypi30 '<(skia_include_path)/utils/SkMatrix44.h',
71 '<(skia_src_path)/utils/SkMatrix44.cpp',
/external/skia/gyp/
Dutils.gypi30 '<(skia_include_path)/utils/SkMatrix44.h',
71 '<(skia_src_path)/utils/SkMatrix44.cpp',
/external/chromium_org/third_party/WebKit/Source/core/animation/
DAnimationTranslationUtilTest.cpp58 MOCK_METHOD1(appendMatrix, void(const SkMatrix44&));
/external/chromium_org/third_party/WebKit/Source/web/
DLinkHighlight.cpp128 m_clipLayer->setTransform(SkMatrix44(SkMatrix44::kIdentity_Constructor)); in computeEnclosingCompositingLayer()

123