Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkMatrix.cpp25 if (0 == mat[SkMatrix::kMPersp0] && 0 == mat[SkMatrix::kMPersp1]) { in normalize_perspective()
66 fMat[kMPersp0] = fMat[kMPersp1] = 0; in reset()
83 fMat[kMPersp0] = 0; in setAffine()
104 if (fMat[kMPersp0] != 0 || fMat[kMPersp1] != 0 || fMat[kMPersp2] != 1) { in computePerspectiveTypeMask()
118 if (fMat[kMPersp0] != 0 || fMat[kMPersp1] != 0 || fMat[kMPersp2] != 1) { in computeTypeMask()
279 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setTranslate()
339 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setScale()
375 fMat[kMPersp0] *= sx; in preScale()
437 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setSinCos()
452 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setSinCos()
[all …]
DSkMatrixImageFilter.cpp137 fTransform[SkMatrix::kMPersp0], in toString()
DSkScalerContext.cpp767 G.get(SkMatrix::kMPersp0), G.get(SkMatrix::kMPersp1), G.get(SkMatrix::kMPersp2)); in computeMatrices()
/external/skia/include/core/
DSkMatrix.h118 kMPersp0, enumerator
151 SkScalar getPerspX() const { return fMat[kMPersp0]; } in getPerspX()
172 void setPerspX(SkScalar v) { this->set(kMPersp0, v); } in setPerspX()
184 fMat[kMPersp0] = persp0; in setAll()
731 fMat[kMPersp0] = 0; in setScaleTranslate()
/external/skia/src/gpu/gl/
DGrGLUtil.cpp261 dest[2] = SkScalarToFloat(src[SkMatrix::kMPersp0]); in GrGLGetMatrix()
279 dest[3] = SkScalarToFloat(src[SkMatrix::kMPersp0]); in GrGLGetMatrix()
DGrGLPrimitiveProcessor.cpp25 combined[SkMatrix::kMPersp0] - combined[SkMatrix::kMSkewY]); in GetTransformMatrix()
DGrGLProgramDataManager.cpp250 matrix.get(SkMatrix::kMPersp0), in setSkMatrix()
DGrGLPathRendering.cpp251 coefficients[6] = SkScalarToFloat(matrix[SkMatrix::kMPersp0]); in setProgramPathFragmentInputTransform()
/external/skia/src/effects/
DSk2DPathEffect.cpp81 fMatrix[SkMatrix::kMPersp0], fMatrix[SkMatrix::kMPersp1], fMatrix[SkMatrix::kMPersp2]); in toString()
/external/skia/src/utils/
DSkCamera.cpp243 orien->set(SkMatrix::kMPersp0, axis.fX); in doUpdate()
270 matrix->set(SkMatrix::kMPersp0, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix()
DSkMatrix44.cpp935 dst[0][3] = SkScalarToMScalar(src[SkMatrix::kMPersp0]); in initFromMatrix()
967 dst[SkMatrix::kMPersp0] = SkMScalarToScalar(fMat[0][3]); in operator SkMatrix()
/external/skia/src/gpu/
DGrTestUtils.cpp30 gMatrices[4].set(SkMatrix::kMPersp0, 0.00013f); in test_matrix()
DGrPathUtils.cpp293 m[SkMatrix::kMPersp0] = (float)((a0 + a3 + a6)*scale); in set()
299 SkASSERT(SkScalarAbs(m.get(SkMatrix::kMPersp0)) < gTOL); in set()
/external/skia/src/pdf/
DSkPDFShader.cpp232 const SkScalar p0 = inversePerspectiveMatrix[SkMatrix::kMPersp0]; in apply_perspective_to_coordinates()
662 const SkScalar p0 = in[SkMatrix::kMPersp0]; in split_perspective()
/external/skia/tests/
DMatrixTest.cpp613 mat[SkMatrix::kMPersp0] = 12.f; in test_matrix_decomposition()
/external/skia/src/effects/gradients/
DSkTwoPointConicalGradient_gpu.cpp115 SkScalarMul(r0dr, bMatrix[SkMatrix::kMPersp0])); in Edge2PtConicalEffect()