Home
last modified time | relevance | path

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

12

/external/skqp/src/core/
DSkMatrix.cpp33 if (0 == mat[SkMatrix::kMPersp0] && 0 == mat[SkMatrix::kMPersp1]) { in normalize_perspective()
70 fMat[kMPersp0] = fMat[kMPersp1] = 0; in reset()
88 fMat[kMPersp1] = 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()
373 fMat[kMPersp1] *= sy; in preScale()
440 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setSinCos()
455 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setRSXform()
[all …]
DSkMatrix44.cpp978 dst[1][3] = SkScalarToMScalar(src[SkMatrix::kMPersp1]); in initFromMatrix()
1010 dst[SkMatrix::kMPersp1] = SkMScalarToScalar(fMat[1][3]); in operator SkMatrix()
/external/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 …]
DSkMatrix44.cpp963 dst[1][3] = src[SkMatrix::kMPersp1]; in initFromMatrix()
995 dst[SkMatrix::kMPersp1] = fMat[1][3]; in operator SkMatrix()
/external/skqp/src/gpu/glsl/
DGrGLSLUtil.cpp20 dest[5] = SkScalarToFloat(src[SkMatrix::kMPersp1]); in GrGLSLGetMatrix()
39 dest[7] = SkScalarToFloat(src[SkMatrix::kMPersp1]); in GrGLSLGetMatrix()
DGrGLSLPrimitiveProcessor.cpp33 combined[SkMatrix::kMPersp1] - combined[SkMatrix::kMScaleY]); in GetTransformMatrix()
43 h * combined[SkMatrix::kMPersp1] - combined[SkMatrix::kMScaleY]); in GetTransformMatrix()
DGrGLSLProgramDataManager.cpp20 matrix.get(SkMatrix::kMPersp1), in setSkMatrix()
/external/skqp/tests/
DShadowTest.cpp155 ctm[SkMatrix::kMPersp1] = 12.f; in check_bounds()
158 ctm[SkMatrix::kMPersp1] = -12.f; in check_bounds()
161 ctm[SkMatrix::kMPersp1] = 0.0001f; in check_bounds()
DMatrixTest.cpp634 mat[SkMatrix::kMPersp1] = 4.f; in test_matrix_decomposition()
984 mat.set(SkMatrix::kMPersp1, SK_Scalar1 / 2); in DEF_TEST()
/external/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.cpp599 mat[SkMatrix::kMPersp1] = 4.f; in test_matrix_decomposition()
945 mat.set(SkMatrix::kMPersp1, SK_Scalar1 / 2); in DEF_TEST()
/external/skqp/include/core/
DSkMatrix.h287 static constexpr int kMPersp1 = 7; //!< input y perspective factor variable
378 SkScalar getPerspY() const { return fMat[kMPersp1]; } in getPerspY()
457 void setPerspY(SkScalar v) { this->set(kMPersp1, v); } in setPerspY()
485 fMat[kMPersp1] = persp1; in setAll()
1693 fMat[kMPersp1] = 0; in setScaleTranslate()
/external/skia/include/core/
DSkMatrix.h354 static constexpr int kMPersp1 = 7; //!< input y perspective factor variable
458 SkScalar getPerspY() const { return fMat[kMPersp1]; } in getPerspY()
538 SkMatrix& setPerspY(SkScalar v) { return this->set(kMPersp1, v); } in setPerspY()
566 fMat[kMPersp1] = persp1; in setAll()
1807 fMat[kMPersp1] = 0; in setScaleTranslate()
DSkM44.h403 src[SkMatrix::kMPersp0], src[SkMatrix::kMPersp1], 0, src[SkMatrix::kMPersp2]) in SkM44()
/external/skia/docs/examples/
DMatrix_getPerspY.cpp10 m.set(SkMatrix::kMPersp1, -0.004f);
DMemberIndex.cpp16 SkMatrix::kMPersp0, SkMatrix::kMPersp1, SkMatrix::kMPersp2 } ) {
/external/skia/src/gpu/glsl/
DGrGLSLProgramDataManager.cpp21 matrix.get(SkMatrix::kMPersp1), in setSkMatrix()
/external/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()
/external/skqp/src/utils/
DSkCamera.cpp259 orien->set(SkMatrix::kMPersp1, axis.fY); in doUpdate()
299 matrix->set(SkMatrix::kMPersp1, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix()
/external/skqp/src/gpu/gl/
DGrGLPathRendering.cpp164 coefficients[7] = SkScalarToFloat(matrix[SkMatrix::kMPersp1]); in setProgramPathFragmentInputTransform()
/external/skia/src/gpu/
DGrTestUtils.cpp39 gMatrices[4].set(SkMatrix::kMPersp1, -0.000039f); in test_matrix()
/external/skqp/src/gpu/
DGrTestUtils.cpp39 gMatrices[4].set(SkMatrix::kMPersp1, -0.000039f); in test_matrix()
/external/skia/gm/
Dshadowutils.cpp323 mat[SkMatrix::kMPersp1] = 0.005f;
/external/skqp/src/pdf/
DSkPDFGradientShader.cpp341 const SkScalar p1 = inversePerspectiveMatrix[SkMatrix::kMPersp1]; in apply_perspective_to_coordinates()
559 const SkScalar p1 = in[SkMatrix::kMPersp1]; in split_perspective()
/external/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()

12