/external/skqp/src/core/ |
D | SkMatrix.cpp | 33 if (0 == mat[SkMatrix::kMPersp0] && 0 == mat[SkMatrix::kMPersp1]) { in normalize_perspective() 70 fMat[kMPersp0] = fMat[kMPersp1] = 0; in reset() 87 fMat[kMPersp0] = 0; 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() 283 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setTranslate() 341 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setScale() 369 fMat[kMPersp0] *= sx; in preScale() 440 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setSinCos() 455 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setRSXform() [all …]
|
D | SkMatrix44.cpp | 977 dst[0][3] = SkScalarToMScalar(src[SkMatrix::kMPersp0]); in initFromMatrix() 1009 dst[SkMatrix::kMPersp0] = SkMScalarToScalar(fMat[0][3]); in operator SkMatrix()
|
/external/skia/src/core/ |
D | SkMatrix.cpp | 30 if (0 == fMat[SkMatrix::kMPersp0] && 0 == fMat[SkMatrix::kMPersp1]) { in doNormalizePerspective() 78 fMat[kMPersp0] = 0; 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() 350 fMat[kMPersp0] *= sx; in preScale() 422 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setSinCos() 438 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setRSXform() 454 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setSinCos() 514 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setSkew() 635 tmp.fMat[kMPersp0] = rowcol3(&a.fMat[6], &b.fMat[0]); in setConcat() [all …]
|
D | SkMatrix44.cpp | 962 dst[0][3] = src[SkMatrix::kMPersp0]; in initFromMatrix() 994 dst[SkMatrix::kMPersp0] = fMat[0][3]; in operator SkMatrix()
|
/external/skqp/src/gpu/glsl/ |
D | GrGLSLUtil.cpp | 15 dest[2] = SkScalarToFloat(src[SkMatrix::kMPersp0]); in GrGLSLGetMatrix() 33 dest[3] = SkScalarToFloat(src[SkMatrix::kMPersp0]); in GrGLSLGetMatrix()
|
D | GrGLSLPrimitiveProcessor.cpp | 31 combined[SkMatrix::kMPersp0] - combined[SkMatrix::kMSkewY]); in GetTransformMatrix() 41 h * combined[SkMatrix::kMPersp0] - combined[SkMatrix::kMSkewY]); in GetTransformMatrix()
|
D | GrGLSLProgramDataManager.cpp | 17 matrix.get(SkMatrix::kMPersp0), in setSkMatrix()
|
/external/skqp/tests/ |
D | ShadowTest.cpp | 154 ctm[SkMatrix::kMPersp0] = 0.0001f; in check_bounds() 157 ctm[SkMatrix::kMPersp0] = 0.0001f; in check_bounds() 160 ctm[SkMatrix::kMPersp0] = 12.f; in check_bounds()
|
/external/skia/tests/ |
D | ShadowTest.cpp | 185 ctm[SkMatrix::kMPersp0] = 0.0001f; in check_bounds() 188 ctm[SkMatrix::kMPersp0] = 0.0001f; in check_bounds() 191 ctm[SkMatrix::kMPersp0] = 12.f; in check_bounds()
|
/external/skqp/include/core/ |
D | SkMatrix.h | 286 static constexpr int kMPersp0 = 6; //!< input x perspective factor variable 372 SkScalar getPerspX() const { return fMat[kMPersp0]; } in getPerspX() 450 void setPerspX(SkScalar v) { this->set(kMPersp0, v); } in setPerspX() 484 fMat[kMPersp0] = persp0; in setAll() 1692 fMat[kMPersp0] = 0; in setScaleTranslate()
|
/external/skia/docs/examples/ |
D | Matrix_getPerspX.cpp | 10 m.set(SkMatrix::kMPersp0, -0.004f);
|
D | MemberIndex.cpp | 16 SkMatrix::kMPersp0, SkMatrix::kMPersp1, SkMatrix::kMPersp2 } ) {
|
/external/skia/include/core/ |
D | SkMatrix.h | 353 static constexpr int kMPersp0 = 6; //!< input x perspective factor variable 452 SkScalar getPerspX() const { return fMat[kMPersp0]; } in getPerspX() 531 SkMatrix& setPerspX(SkScalar v) { return this->set(kMPersp0, v); } in setPerspX() 565 fMat[kMPersp0] = persp0; in setAll() 1806 fMat[kMPersp0] = 0; in setScaleTranslate()
|
D | SkM44.h | 403 src[SkMatrix::kMPersp0], src[SkMatrix::kMPersp1], 0, src[SkMatrix::kMPersp2]) in SkM44()
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLProgramDataManager.cpp | 18 matrix.get(SkMatrix::kMPersp0), in setSkMatrix()
|
/external/skia/src/utils/ |
D | SkCamera.cpp | 107 orien->set(SkMatrix::kMPersp0, axis.x); in doUpdate() 137 matrix->set(SkMatrix::kMPersp0, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix()
|
/external/skqp/src/utils/ |
D | SkCamera.cpp | 258 orien->set(SkMatrix::kMPersp0, axis.fX); in doUpdate() 294 matrix->set(SkMatrix::kMPersp0, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix()
|
/external/skqp/src/gpu/gl/ |
D | GrGLPathRendering.cpp | 163 coefficients[6] = SkScalarToFloat(matrix[SkMatrix::kMPersp0]); in setProgramPathFragmentInputTransform()
|
/external/skia/src/gpu/ |
D | GrTestUtils.cpp | 38 gMatrices[4].set(SkMatrix::kMPersp0, 0.00013f); in test_matrix()
|
/external/skqp/src/gpu/ |
D | GrTestUtils.cpp | 38 gMatrices[4].set(SkMatrix::kMPersp0, 0.00013f); in test_matrix()
|
/external/skia/src/pdf/ |
D | SkPDFGradientShader.cpp | 339 const SkScalar p0 = inversePerspectiveMatrix[SkMatrix::kMPersp0]; in apply_perspective_to_coordinates() 557 const SkScalar p0 = in[SkMatrix::kMPersp0]; in split_perspective()
|
/external/skqp/src/pdf/ |
D | SkPDFGradientShader.cpp | 340 const SkScalar p0 = inversePerspectiveMatrix[SkMatrix::kMPersp0]; in apply_perspective_to_coordinates() 558 const SkScalar p0 = in[SkMatrix::kMPersp0]; in split_perspective()
|
/external/skqp/src/compute/sk/ |
D | SkDevice_Compute.cpp | 239 transform[6] = tmp.get(SkMatrix::kMPersp0); in path_rasterize_and_place()
|
/external/skia/samplecode/ |
D | SampleClip.cpp | 427 return { m[SkMatrix::kMPersp0], m[SkMatrix::kMPersp1], m[SkMatrix::kMPersp2] - 0.05f }; in half_plane_w0()
|
/external/skia/src/gpu/geometry/ |
D | GrPathUtils.cpp | 216 m[SkMatrix::kMPersp0] = 0.0f; in set()
|