Home
last modified time | relevance | path

Searched refs:SkVector4 (Results 1 – 6 of 6) sorted by relevance

/external/skqp/include/core/
DSkMatrix44.h91 struct SkVector4 { struct
94 SkVector4() { in SkVector4() argument
97 SkVector4(const SkVector4& src) { in SkVector4() function
100 SkVector4(SkScalar x, SkScalar y, SkScalar z, SkScalar w = SK_Scalar1) {
107 SkVector4& operator=(const SkVector4& src) {
112 bool operator==(const SkVector4& v) {
116 bool operator!=(const SkVector4& v) {
414 friend SkVector4 operator*(const SkMatrix44& m, const SkVector4& src) {
415 SkVector4 dst;
/external/skia/include/core/
DSkMatrix44.h91 struct SkVector4 { struct
94 SkVector4() { in SkVector4() argument
97 SkVector4(const SkVector4& src) { in SkVector4() function
100 SkVector4(SkScalar x, SkScalar y, SkScalar z, SkScalar w = SK_Scalar1) {
107 SkVector4& operator=(const SkVector4& src) {
112 bool operator==(const SkVector4& v) {
116 bool operator!=(const SkVector4& v) {
414 friend SkVector4 operator*(const SkMatrix44& m, const SkVector4& src) {
415 SkVector4 dst;
/external/skqp/tests/
DMatrix44Test.cpp595 static bool is_rectilinear (SkVector4& p1, SkVector4& p2, SkVector4& p3, SkVector4& p4) { in is_rectilinear()
606 static SkVector4 mul_with_persp_divide(const SkMatrix44& transform, const SkVector4& target) { in mul_with_persp_divide()
607 SkVector4 result = transform * target; in mul_with_persp_divide()
620 SkVector4 p1(5.0f, 5.0f, 0.0f); in empirically_preserves_2d_axis_alignment()
621 SkVector4 p2(10.0f, 5.0f, 0.0f); in empirically_preserves_2d_axis_alignment()
622 SkVector4 p3(10.0f, 20.0f, 0.0f); in empirically_preserves_2d_axis_alignment()
623 SkVector4 p4(5.0f, 20.0f, 0.0f); in empirically_preserves_2d_axis_alignment()
/external/skia/tests/
DMatrix44Test.cpp595 static bool is_rectilinear (SkVector4& p1, SkVector4& p2, SkVector4& p3, SkVector4& p4) { in is_rectilinear()
606 static SkVector4 mul_with_persp_divide(const SkMatrix44& transform, const SkVector4& target) { in mul_with_persp_divide()
607 SkVector4 result = transform * target; in mul_with_persp_divide()
620 SkVector4 p1(5.0f, 5.0f, 0.0f); in empirically_preserves_2d_axis_alignment()
621 SkVector4 p2(10.0f, 5.0f, 0.0f); in empirically_preserves_2d_axis_alignment()
622 SkVector4 p3(10.0f, 20.0f, 0.0f); in empirically_preserves_2d_axis_alignment()
623 SkVector4 p4(5.0f, 20.0f, 0.0f); in empirically_preserves_2d_axis_alignment()
/external/skia/src/utils/
DSk3D.cpp59 SkVector4 v = m4 * SkVector4{ src[i].fX, src[i].fY, src[i].fZ, 1 }; in Sk3MapPts()
/external/skqp/src/utils/
DSk3D.cpp59 SkVector4 v = m4 * SkVector4{ src[i].fX, src[i].fY, src[i].fZ, 1 }; in Sk3MapPts()