Searched refs:kMPersp1 (Results 1 – 16 of 16) sorted by relevance
/external/skia/src/core/ |
D | SkMatrix.cpp | 27 if (0 == mat[SkMatrix::kMPersp0] && 0 == mat[SkMatrix::kMPersp1]) { in normalize_perspective() 68 fMat[kMPersp0] = fMat[kMPersp1] = 0; in reset() 86 fMat[kMPersp1] = 0; in setAffine() 106 if (fMat[kMPersp0] != 0 || fMat[kMPersp1] != 0 || fMat[kMPersp2] != 1) { in computePerspectiveTypeMask() 120 if (fMat[kMPersp0] != 0 || fMat[kMPersp1] != 0 || fMat[kMPersp2] != 1) { in computeTypeMask() 281 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setTranslate() 341 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setScale() 381 fMat[kMPersp1] *= sy; in preScale() 448 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setSinCos() 463 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setRSXform() [all …]
|
D | SkMatrixImageFilter.cpp | 138 fTransform[SkMatrix::kMPersp1], in toString()
|
D | SkScalerContext.cpp | 771 G.get(SkMatrix::kMPersp0), G.get(SkMatrix::kMPersp1), G.get(SkMatrix::kMPersp2)); in computeMatrices()
|
/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 | GrGLSLProgramDataManager.cpp | 20 matrix.get(SkMatrix::kMPersp1), in setSkMatrix()
|
D | GrGLSLPrimitiveProcessor.cpp | 30 combined[SkMatrix::kMPersp1] - combined[SkMatrix::kMScaleY]); in GetTransformMatrix()
|
/external/skia/include/core/ |
D | SkMatrix.h | 121 kMPersp1, enumerator 154 SkScalar getPerspY() const { return fMat[kMPersp1]; } in getPerspY() 175 void setPerspY(SkScalar v) { this->set(kMPersp1, v); } in setPerspY() 187 fMat[kMPersp1] = persp1; in setAll() 755 fMat[kMPersp1] = 0; in setScaleTranslate()
|
/external/skia/src/effects/ |
D | Sk2DPathEffect.cpp | 82 fMatrix[SkMatrix::kMPersp0], fMatrix[SkMatrix::kMPersp1], fMatrix[SkMatrix::kMPersp2]); in toString()
|
/external/skia/src/utils/ |
D | SkCamera.cpp | 244 orien->set(SkMatrix::kMPersp1, axis.fY); in doUpdate() 275 matrix->set(SkMatrix::kMPersp1, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix()
|
D | SkMatrix44.cpp | 960 dst[1][3] = SkScalarToMScalar(src[SkMatrix::kMPersp1]); in initFromMatrix() 992 dst[SkMatrix::kMPersp1] = SkMScalarToScalar(fMat[1][3]); in operator SkMatrix()
|
/external/skia/src/gpu/ |
D | GrTestUtils.cpp | 33 gMatrices[4].set(SkMatrix::kMPersp1, -0.000039f); in test_matrix()
|
D | GrPathUtils.cpp | 294 m[SkMatrix::kMPersp1] = (float)((a1 + a4 + a7)*scale); in set() 300 SkASSERT(SkScalarAbs(m.get(SkMatrix::kMPersp1)) < gTOL); in set()
|
/external/skia/src/gpu/gl/ |
D | GrGLPathRendering.cpp | 210 coefficients[7] = SkScalarToFloat(matrix[SkMatrix::kMPersp1]); in setProgramPathFragmentInputTransform()
|
/external/skia/src/pdf/ |
D | SkPDFShader.cpp | 234 const SkScalar p1 = inversePerspectiveMatrix[SkMatrix::kMPersp1]; in apply_perspective_to_coordinates() 663 const SkScalar p1 = in[SkMatrix::kMPersp1]; in split_perspective()
|
/external/skia/tests/ |
D | MatrixTest.cpp | 621 mat[SkMatrix::kMPersp1] = 4.f; in test_matrix_decomposition() 918 mat.set(SkMatrix::kMPersp1, SK_Scalar1 / 2); in DEF_TEST()
|
/external/skia/src/effects/gradients/ |
D | SkTwoPointConicalGradient_gpu.cpp | 122 SkScalarMul(r0dr, bMatrix[SkMatrix::kMPersp1])); in Edge2PtConicalEffect()
|