/third_party/skia/src/core/ |
H A 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] in setConcat() [all...] |
H A D | SkScalerContext.cpp | 836 G.get(SkMatrix::kMPersp0), G.get(SkMatrix::kMPersp1), G.get(SkMatrix::kMPersp2)); in computeMatrices()
|
H A D | SkPath.cpp | 3832 matrix[SkMatrix::kMPersp0], in PerspectiveClip()
|
/third_party/skia/tests/ |
H A 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()
|
H A D | MatrixTest.cpp | 597 mat[SkMatrix::kMPersp0] = 12.f; in test_matrix_decomposition()
|
/third_party/skia/include/core/ |
H A D | SkMatrix.h | 351 static constexpr int kMPersp0 = 6; //!< input x perspective factor member in SkMatrix 369 kMPersp0, kMPersp1, kMPersp2 381 kMPersp0, kMPersp1, kMPersp2 450 SkScalar getPerspX() const { return fMat[kMPersp0]; } in getPerspX() 465 kMPersp0, kMPersp1, kMPersp2 478 kMPersp0, kMPersp1, kMPersp2 529 SkMatrix& setPerspX(SkScalar v) { return this->set(kMPersp0, v); } in setPerspX() 563 fMat[kMPersp0] = persp0; in setAll() 572 kMPersp0, kMPersp1, kMPersp2. 581 kMScaleX, kMSkewX, kMTransX, kMSkewY, kMScaleY, kMTransY, kMPersp0, kMPersp [all...] |
H A D | SkM44.h | 410 src[SkMatrix::kMPersp0], src[SkMatrix::kMPersp1], 0, src[SkMatrix::kMPersp2]) in SkM44()
|
/third_party/skia/src/gpu/glsl/ |
H A D | GrGLSLProgramDataManager.cpp | 18 matrix.get(SkMatrix::kMPersp0), in setSkMatrix()
|
/third_party/skia/docs/examples/ |
H A D | Matrix_getPerspX.cpp | 10 m.set(SkMatrix::kMPersp0, -0.004f); in REG_FIDDLE()
|
H A D | MemberIndex.cpp | 16 SkMatrix::kMPersp0, SkMatrix::kMPersp1, SkMatrix::kMPersp2 } ) { in REG_FIDDLE()
|
/third_party/skia/src/utils/ |
H A 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()
|
/third_party/skia/src/gpu/ |
H A D | GrTestUtils.cpp | 38 gMatrices[4].set(SkMatrix::kMPersp0, 0.00013f); in test_matrix()
|
/third_party/skia/experimental/graphite/src/ |
H A D | UniformManager.cpp | 206 m[i].get(SkMatrix::kMPersp0), in WriteSkMatrices()
|
/third_party/skia/src/pdf/ |
H A 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()
|
/third_party/skia/samplecode/ |
H A D | SampleClip.cpp | 426 return { m[SkMatrix::kMPersp0], m[SkMatrix::kMPersp1], m[SkMatrix::kMPersp2] - 0.05f }; in half_plane_w0()
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrPathUtils.cpp | 215 // kMPersp0 & kMPersp1 should algebraically be zero in set() 216 m[SkMatrix::kMPersp0] = 0.0f; in set()
|