/external/skia/src/core/ |
D | SkMatrix.cpp | 33 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 …]
|
D | SkMatrix44.cpp | 978 dst[1][3] = SkScalarToMScalar(src[SkMatrix::kMPersp1]); in initFromMatrix() 1010 dst[SkMatrix::kMPersp1] = SkMScalarToScalar(fMat[1][3]); in operator SkMatrix()
|
/external/skqp/src/core/ |
D | SkMatrix.cpp | 33 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 …]
|
D | SkMatrix44.cpp | 978 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/ |
D | GrGLSLUtil.cpp | 20 dest[5] = SkScalarToFloat(src[SkMatrix::kMPersp1]); in GrGLSLGetMatrix() 39 dest[7] = SkScalarToFloat(src[SkMatrix::kMPersp1]); in GrGLSLGetMatrix()
|
D | GrGLSLPrimitiveProcessor.cpp | 33 combined[SkMatrix::kMPersp1] - combined[SkMatrix::kMScaleY]); in GetTransformMatrix() 43 h * combined[SkMatrix::kMPersp1] - combined[SkMatrix::kMScaleY]); in GetTransformMatrix()
|
D | GrGLSLProgramDataManager.cpp | 20 matrix.get(SkMatrix::kMPersp1), in setSkMatrix()
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLUtil.cpp | 20 dest[5] = SkScalarToFloat(src[SkMatrix::kMPersp1]); in GrGLSLGetMatrix() 39 dest[7] = SkScalarToFloat(src[SkMatrix::kMPersp1]); in GrGLSLGetMatrix()
|
D | GrGLSLPrimitiveProcessor.cpp | 33 combined[SkMatrix::kMPersp1] - combined[SkMatrix::kMScaleY]); in GetTransformMatrix() 43 h * combined[SkMatrix::kMPersp1] - combined[SkMatrix::kMScaleY]); in GetTransformMatrix()
|
D | GrGLSLProgramDataManager.cpp | 20 matrix.get(SkMatrix::kMPersp1), in setSkMatrix()
|
/external/skia/tests/ |
D | ShadowTest.cpp | 155 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()
|
D | MatrixTest.cpp | 634 mat[SkMatrix::kMPersp1] = 4.f; in test_matrix_decomposition() 984 mat.set(SkMatrix::kMPersp1, SK_Scalar1 / 2); in DEF_TEST()
|
/external/skqp/tests/ |
D | ShadowTest.cpp | 155 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()
|
D | MatrixTest.cpp | 634 mat[SkMatrix::kMPersp1] = 4.f; in test_matrix_decomposition() 984 mat.set(SkMatrix::kMPersp1, SK_Scalar1 / 2); in DEF_TEST()
|
/external/skqp/include/core/ |
D | SkMatrix.h | 287 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/ |
D | SkMatrix.h | 287 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/ |
D | SkCamera.cpp | 259 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/ |
D | SkCamera.cpp | 259 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/ |
D | GrGLPathRendering.cpp | 164 coefficients[7] = SkScalarToFloat(matrix[SkMatrix::kMPersp1]); in setProgramPathFragmentInputTransform()
|
/external/skia/src/gpu/gl/ |
D | GrGLPathRendering.cpp | 164 coefficients[7] = SkScalarToFloat(matrix[SkMatrix::kMPersp1]); in setProgramPathFragmentInputTransform()
|
/external/skia/src/gpu/ |
D | GrTestUtils.cpp | 41 gMatrices[4].set(SkMatrix::kMPersp1, -0.000039f); in test_matrix()
|
/external/skqp/src/gpu/ |
D | GrTestUtils.cpp | 39 gMatrices[4].set(SkMatrix::kMPersp1, -0.000039f); in test_matrix()
|
/external/skqp/src/pdf/ |
D | SkPDFGradientShader.cpp | 341 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/ |
D | SkPDFGradientShader.cpp | 341 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/ |
D | SkDevice_Compute.cpp | 240 transform[7] = tmp.get(SkMatrix::kMPersp1); in path_rasterize_and_place()
|