/external/skqp/src/core/ |
D | SkMatrix.cpp | 34 SkScalar p2 = mat[SkMatrix::kMPersp2]; in normalize_perspective() 40 mat[SkMatrix::kMPersp2] = 1; in normalize_perspective() 67 fMat[kMScaleX] = fMat[kMScaleY] = fMat[kMPersp2] = 1; in reset() 89 fMat[kMPersp2] = 1; in setAffine() 108 if (fMat[kMPersp0] != 0 || fMat[kMPersp1] != 0 || fMat[kMPersp2] != 1) { in computePerspectiveTypeMask() 122 if (fMat[kMPersp0] != 0 || fMat[kMPersp1] != 0 || fMat[kMPersp2] != 1) { in computeTypeMask() 281 fMat[kMScaleX] = fMat[kMScaleY] = fMat[kMPersp2] = 1; in setTranslate() 337 fMat[kMPersp2] = 1; in setScale() 441 fMat[kMPersp2] = 1; in setSinCos() 456 fMat[kMPersp2] = 1; in setRSXform() [all …]
|
D | SkMatrix44.cpp | 980 dst[3][3] = SkScalarToMScalar(src[SkMatrix::kMPersp2]); in initFromMatrix() 1011 dst[SkMatrix::kMPersp2] = SkMScalarToScalar(fMat[3][3]); in operator SkMatrix()
|
/external/skia/src/core/ |
D | SkMatrix.cpp | 31 SkScalar p2 = fMat[SkMatrix::kMPersp2]; in doNormalizePerspective() 37 fMat[SkMatrix::kMPersp2] = 1; in doNormalizePerspective() 80 fMat[kMPersp2] = 1; in setAffine() 100 if (fMat[kMPersp0] != 0 || fMat[kMPersp1] != 0 || fMat[kMPersp2] != 1) { in computePerspectiveTypeMask() 114 if (fMat[kMPersp0] != 0 || fMat[kMPersp1] != 0 || fMat[kMPersp2] != 1) { in computeTypeMask() 423 fMat[kMPersp2] = 1; in setSinCos() 439 fMat[kMPersp2] = 1; in setRSXform() 455 fMat[kMPersp2] = 1; in setSinCos() 515 fMat[kMPersp2] = 1; in setSkew() 555 fMat[kMPersp2] = 1; in setRectToRect() [all …]
|
D | SkMatrix44.cpp | 965 dst[3][3] = src[SkMatrix::kMPersp2]; in initFromMatrix() 996 dst[SkMatrix::kMPersp2] = fMat[3][3]; in operator SkMatrix()
|
/external/skqp/src/gpu/glsl/ |
D | GrGLSLUtil.cpp | 25 dest[8] = SkScalarToFloat(src[SkMatrix::kMPersp2]); in GrGLSLGetMatrix() 51 dest[15] = SkScalarToFloat(src[SkMatrix::kMPersp2]); in GrGLSLGetMatrix()
|
D | GrGLSLPrimitiveProcessor.cpp | 35 combined[SkMatrix::kMPersp2] - combined[SkMatrix::kMTransY]); in GetTransformMatrix() 45 h * combined[SkMatrix::kMPersp2] - combined[SkMatrix::kMTransY]); in GetTransformMatrix()
|
D | GrGLSLProgramDataManager.cpp | 23 matrix.get(SkMatrix::kMPersp2), in setSkMatrix()
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLProgramDataManager.cpp | 24 matrix.get(SkMatrix::kMPersp2), in setSkMatrix()
|
/external/skia/docs/examples/ |
D | MemberIndex.cpp | 16 SkMatrix::kMPersp0, SkMatrix::kMPersp1, SkMatrix::kMPersp2 } ) {
|
/external/skia/include/core/ |
D | SkMatrix.h | 355 static constexpr int kMPersp2 = 8; //!< perspective bias variable 567 fMat[kMPersp2] = persp2; in setAll() 1435 SkScalar w = fMat[kMPersp2]; in mapOrigin() 1808 fMat[kMPersp2] = 1; in setScaleTranslate()
|
D | SkM44.h | 403 src[SkMatrix::kMPersp0], src[SkMatrix::kMPersp1], 0, src[SkMatrix::kMPersp2]) in SkM44()
|
/external/skia/src/utils/ |
D | SkCamera.cpp | 109 orien->set(SkMatrix::kMPersp2, axis.z); in doUpdate() 147 matrix->set(SkMatrix::kMPersp2, SK_Scalar1); in patchToMatrix()
|
/external/skqp/src/gpu/ |
D | GrQuad.cpp | 176 Sk4f w2(m.get(SkMatrix::kMPersp2)); in GrQuad() 219 Sk4f w2(m.get(SkMatrix::kMPersp2)); in GrPerspQuad()
|
D | GrPathUtils.cpp | 299 m[SkMatrix::kMPersp2] = (float)((a2 + a5 + a8)*scale); in set() 302 float m33 = m.get(SkMatrix::kMPersp2); in set()
|
/external/skqp/include/core/ |
D | SkMatrix.h | 288 static constexpr int kMPersp2 = 8; //!< perspective bias variable 486 fMat[kMPersp2] = persp2; in setAll() 1694 fMat[kMPersp2] = 1; in setScaleTranslate()
|
/external/skia/src/gpu/geometry/ |
D | GrQuad.cpp | 42 V4f w = m.getPerspX() * qx + (m.getPerspY() * qy + m.get(SkMatrix::kMPersp2)); in map_quad_general()
|
D | GrPathUtils.cpp | 218 m[SkMatrix::kMPersp2] = (float)((a2 + a5 + a8)*scale); in set() 221 float m33 = m.get(SkMatrix::kMPersp2); in set()
|
/external/skqp/src/utils/ |
D | SkCamera.cpp | 260 orien->set(SkMatrix::kMPersp2, axis.fZ); in doUpdate() 304 matrix->set(SkMatrix::kMPersp2, SK_Scalar1); in patchToMatrix()
|
/external/skqp/src/gpu/gl/ |
D | GrGLPathRendering.cpp | 165 coefficients[8] = SkScalarToFloat(matrix[SkMatrix::kMPersp2]); in setProgramPathFragmentInputTransform()
|
/external/skqp/tests/ |
D | GrQuadListTest.cpp | 44 p[SkMatrix::kMPersp2] = 13.f; in make_3d_persp_quad()
|
/external/skia/gm/ |
D | shadowutils.cpp | 324 mat[SkMatrix::kMPersp2] = 1.005f;
|
/external/skia/src/pdf/ |
D | SkPDFGradientShader.cpp | 341 const SkScalar p2 = inversePerspectiveMatrix[SkMatrix::kMPersp2]; in apply_perspective_to_coordinates() 542 const SkScalar p2 = in[SkMatrix::kMPersp2]; in split_perspective()
|
/external/skqp/src/pdf/ |
D | SkPDFGradientShader.cpp | 342 const SkScalar p2 = inversePerspectiveMatrix[SkMatrix::kMPersp2]; in apply_perspective_to_coordinates() 543 const SkScalar p2 = in[SkMatrix::kMPersp2]; in split_perspective()
|
/external/skia/tests/ |
D | MatrixTest.cpp | 124 buffer[SkMatrix::kMPersp2] = 1; in test_set9() 600 mat[SkMatrix::kMPersp2] = 1872.f; in test_matrix_decomposition()
|
/external/skqp/src/compute/sk/ |
D | SkDevice_Compute.cpp | 241 transform[8] = tmp.get(SkMatrix::kMPersp2); in path_rasterize_and_place()
|