Home
last modified time | relevance | path

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

12

/external/skia/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/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/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/skia/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/skia/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/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/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.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()
1685 fMat[kMPersp1] = 0; in setScaleTranslate()
/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/skia/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/gl/
DGrGLPathRendering.cpp164 coefficients[7] = SkScalarToFloat(matrix[SkMatrix::kMPersp1]); in setProgramPathFragmentInputTransform()
/external/skia/src/gpu/
DGrTestUtils.cpp41 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/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.cpp341 const SkScalar p1 = inversePerspectiveMatrix[SkMatrix::kMPersp1]; in apply_perspective_to_coordinates()
559 const SkScalar p1 = in[SkMatrix::kMPersp1]; in split_perspective()
/external/skqp/src/compute/sk/
DSkDevice_Compute.cpp240 transform[7] = tmp.get(SkMatrix::kMPersp1); in path_rasterize_and_place()

12