Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkMatrix.cpp27 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 …]
DSkMatrixImageFilter.cpp138 fTransform[SkMatrix::kMPersp1], in toString()
DSkScalerContext.cpp771 G.get(SkMatrix::kMPersp0), G.get(SkMatrix::kMPersp1), G.get(SkMatrix::kMPersp2)); in computeMatrices()
/external/skia/src/gpu/glsl/
DGrGLSLUtil.cpp20 dest[5] = SkScalarToFloat(src[SkMatrix::kMPersp1]); in GrGLSLGetMatrix()
39 dest[7] = SkScalarToFloat(src[SkMatrix::kMPersp1]); in GrGLSLGetMatrix()
DGrGLSLProgramDataManager.cpp20 matrix.get(SkMatrix::kMPersp1), in setSkMatrix()
DGrGLSLPrimitiveProcessor.cpp30 combined[SkMatrix::kMPersp1] - combined[SkMatrix::kMScaleY]); in GetTransformMatrix()
/external/skia/include/core/
DSkMatrix.h121 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/
DSk2DPathEffect.cpp82 fMatrix[SkMatrix::kMPersp0], fMatrix[SkMatrix::kMPersp1], fMatrix[SkMatrix::kMPersp2]); in toString()
/external/skia/src/utils/
DSkCamera.cpp244 orien->set(SkMatrix::kMPersp1, axis.fY); in doUpdate()
275 matrix->set(SkMatrix::kMPersp1, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix()
DSkMatrix44.cpp960 dst[1][3] = SkScalarToMScalar(src[SkMatrix::kMPersp1]); in initFromMatrix()
992 dst[SkMatrix::kMPersp1] = SkMScalarToScalar(fMat[1][3]); in operator SkMatrix()
/external/skia/src/gpu/
DGrTestUtils.cpp33 gMatrices[4].set(SkMatrix::kMPersp1, -0.000039f); in test_matrix()
DGrPathUtils.cpp294 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/
DGrGLPathRendering.cpp210 coefficients[7] = SkScalarToFloat(matrix[SkMatrix::kMPersp1]); in setProgramPathFragmentInputTransform()
/external/skia/src/pdf/
DSkPDFShader.cpp234 const SkScalar p1 = inversePerspectiveMatrix[SkMatrix::kMPersp1]; in apply_perspective_to_coordinates()
663 const SkScalar p1 = in[SkMatrix::kMPersp1]; in split_perspective()
/external/skia/tests/
DMatrixTest.cpp621 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/
DSkTwoPointConicalGradient_gpu.cpp122 SkScalarMul(r0dr, bMatrix[SkMatrix::kMPersp1])); in Edge2PtConicalEffect()