Home
last modified time | relevance | path

Searched refs:kMPersp1 (Results 1 - 17 of 17) sorted by relevance

/third_party/skia/src/core/
H A DSkMatrix.cpp30 if (0 == fMat[SkMatrix::kMPersp0] && 0 == fMat[SkMatrix::kMPersp1]) { in doNormalizePerspective()
79 fMat[kMPersp1] = 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()
354 fMat[kMPersp1] *= sy; 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()
636 tmp.fMat[kMPersp1] in setConcat()
[all...]
H A DSkScalerContext.cpp836 G.get(SkMatrix::kMPersp0), G.get(SkMatrix::kMPersp1), G.get(SkMatrix::kMPersp2)); in computeMatrices()
H A DSkPath.cpp3833 matrix[SkMatrix::kMPersp1], in PerspectiveClip()
/third_party/skia/tests/
H A DShadowTest.cpp186 ctm[SkMatrix::kMPersp1] = 12.f; in check_bounds()
189 ctm[SkMatrix::kMPersp1] = -12.f; in check_bounds()
192 ctm[SkMatrix::kMPersp1] = 0.0001f; in check_bounds()
H A DMatrixTest.cpp598 mat[SkMatrix::kMPersp1] = 4.f; in test_matrix_decomposition()
944 mat.set(SkMatrix::kMPersp1, SK_Scalar1 / 2); in DEF_TEST()
/third_party/skia/include/core/
H A DSkMatrix.h352 static constexpr int kMPersp1 = 7; //!< input y perspective factor member in SkMatrix
369 kMPersp0, kMPersp1, kMPersp2
381 kMPersp0, kMPersp1, kMPersp2
456 SkScalar getPerspY() const { return fMat[kMPersp1]; } in getPerspY()
465 kMPersp0, kMPersp1, kMPersp2
478 kMPersp0, kMPersp1, kMPersp2
536 SkMatrix& setPerspY(SkScalar v) { return this->set(kMPersp1, v); } in setPerspY()
564 fMat[kMPersp1] = persp1; in setAll()
572 kMPersp0, kMPersp1, kMPersp2.
581 kMScaleX, kMSkewX, kMTransX, kMSkewY, kMScaleY, kMTransY, kMPersp0, kMPersp1,
[all...]
H A DSkM44.h410 src[SkMatrix::kMPersp0], src[SkMatrix::kMPersp1], 0, src[SkMatrix::kMPersp2]) in SkM44()
/third_party/skia/src/gpu/glsl/
H A DGrGLSLProgramDataManager.cpp21 matrix.get(SkMatrix::kMPersp1), in setSkMatrix()
/third_party/skia/docs/examples/
H A DMatrix_getPerspY.cpp10 m.set(SkMatrix::kMPersp1, -0.004f); in REG_FIDDLE()
H A DMemberIndex.cpp16 SkMatrix::kMPersp0, SkMatrix::kMPersp1, SkMatrix::kMPersp2 } ) { in REG_FIDDLE()
/third_party/skia/src/utils/
H A DSkCamera.cpp108 orien->set(SkMatrix::kMPersp1, axis.y); in doUpdate()
142 matrix->set(SkMatrix::kMPersp1, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix()
/third_party/skia/src/gpu/
H A DGrTestUtils.cpp39 gMatrices[4].set(SkMatrix::kMPersp1, -0.000039f); in test_matrix()
/third_party/skia/experimental/graphite/src/
H A DUniformManager.cpp209 m[i].get(SkMatrix::kMPersp1), in WriteSkMatrices()
/third_party/skia/gm/
H A Dshadowutils.cpp321 mat[SkMatrix::kMPersp1] = 0.005f; in DEF_SIMPLE_GM()
/third_party/skia/src/pdf/
H A DSkPDFGradientShader.cpp340 const SkScalar p1 = inversePerspectiveMatrix[SkMatrix::kMPersp1]; in apply_perspective_to_coordinates()
558 const SkScalar p1 = in[SkMatrix::kMPersp1]; in split_perspective()
/third_party/skia/samplecode/
H A DSampleClip.cpp426 return { m[SkMatrix::kMPersp0], m[SkMatrix::kMPersp1], m[SkMatrix::kMPersp2] - 0.05f }; in half_plane_w0()
/third_party/skia/src/gpu/geometry/
H A DGrPathUtils.cpp215 // kMPersp0 & kMPersp1 should algebraically be zero in set()
217 m[SkMatrix::kMPersp1] = 0.0f; in set()

Completed in 34 milliseconds