Home
last modified time | relevance | path

Searched refs:kMPersp1 (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/src/core/
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] = rowcol3(&a.fMat[6], &b.fMat[1]); in setConcat()
[all …]
DSkScalerContext.cpp836 G.get(SkMatrix::kMPersp0), G.get(SkMatrix::kMPersp1), G.get(SkMatrix::kMPersp2)); in computeMatrices()
DSkPath.cpp3833 matrix[SkMatrix::kMPersp1], in PerspectiveClip()
/third_party/skia/tests/
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()
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/
DSkMatrix.h352 static constexpr int kMPersp1 = 7; //!< input y perspective factor variable
456 SkScalar getPerspY() const { return fMat[kMPersp1]; } in getPerspY()
536 SkMatrix& setPerspY(SkScalar v) { return this->set(kMPersp1, v); } in setPerspY()
564 fMat[kMPersp1] = persp1; in setAll()
1812 fMat[kMPersp1] = 0; in setScaleTranslate()
DSkM44.h410 src[SkMatrix::kMPersp0], src[SkMatrix::kMPersp1], 0, src[SkMatrix::kMPersp2]) in SkM44()
/third_party/skia/docs/examples/
DMatrix_getPerspY.cpp10 m.set(SkMatrix::kMPersp1, -0.004f);
DMemberIndex.cpp16 SkMatrix::kMPersp0, SkMatrix::kMPersp1, SkMatrix::kMPersp2 } ) {
/third_party/skia/src/gpu/glsl/
DGrGLSLProgramDataManager.cpp21 matrix.get(SkMatrix::kMPersp1), in setSkMatrix()
/third_party/skia/src/utils/
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/gm/
Dshadowutils.cpp321 mat[SkMatrix::kMPersp1] = 0.005f;
/third_party/skia/src/gpu/
DGrTestUtils.cpp39 gMatrices[4].set(SkMatrix::kMPersp1, -0.000039f); in test_matrix()
/third_party/skia/src/pdf/
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/experimental/graphite/src/
DUniformManager.cpp209 m[i].get(SkMatrix::kMPersp1), in WriteSkMatrices()
/third_party/skia/samplecode/
DSampleClip.cpp426 return { m[SkMatrix::kMPersp0], m[SkMatrix::kMPersp1], m[SkMatrix::kMPersp2] - 0.05f }; in half_plane_w0()
/third_party/skia/src/gpu/geometry/
DGrPathUtils.cpp217 m[SkMatrix::kMPersp1] = 0.0f; in set()
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt1979 …t kMTransY = 5; static constexpr int kMPersp0 = 6; static constexpr int kMPersp1 = 7; static const…