Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkMatrix.cpp26 if (0 == mat[SkMatrix::kMPersp0] && 0 == mat[SkMatrix::kMPersp1]) { in normalize_perspective()
67 fMat[kMPersp0] = fMat[kMPersp1] = 0; in reset()
84 fMat[kMPersp0] = 0; in setAffine()
105 if (fMat[kMPersp0] != 0 || fMat[kMPersp1] != 0 || fMat[kMPersp2] != 1) { in computePerspectiveTypeMask()
119 if (fMat[kMPersp0] != 0 || fMat[kMPersp1] != 0 || fMat[kMPersp2] != 1) { in computeTypeMask()
280 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setTranslate()
338 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setScale()
374 fMat[kMPersp0] *= sx; in preScale()
445 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setSinCos()
460 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setRSXform()
[all …]
DSkMatrixImageFilter.cpp137 fTransform[SkMatrix::kMPersp0], in toString()
DSkMatrix44.cpp975 dst[0][3] = SkScalarToMScalar(src[SkMatrix::kMPersp0]); in initFromMatrix()
1007 dst[SkMatrix::kMPersp0] = SkMScalarToScalar(fMat[0][3]); in operator SkMatrix()
DSkScalerContext.cpp752 G.get(SkMatrix::kMPersp0), G.get(SkMatrix::kMPersp1), G.get(SkMatrix::kMPersp2)); in computeMatrices()
/external/skia/src/gpu/glsl/
DGrGLSLUtil.cpp15 dest[2] = SkScalarToFloat(src[SkMatrix::kMPersp0]); in GrGLSLGetMatrix()
33 dest[3] = SkScalarToFloat(src[SkMatrix::kMPersp0]); in GrGLSLGetMatrix()
DGrGLSLProgramDataManager.cpp17 matrix.get(SkMatrix::kMPersp0), in setSkMatrix()
DGrGLSLPrimitiveProcessor.cpp28 combined[SkMatrix::kMPersp0] - combined[SkMatrix::kMSkewY]); in GetTransformMatrix()
/external/skia/include/core/
DSkMatrix.h122 kMPersp0, enumerator
155 SkScalar getPerspX() const { return fMat[kMPersp0]; } in getPerspX()
176 void setPerspX(SkScalar v) { this->set(kMPersp0, v); } in setPerspX()
188 fMat[kMPersp0] = persp0; in setAll()
726 fMat[kMPersp0] = 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.cpp258 orien->set(SkMatrix::kMPersp0, axis.fX); in doUpdate()
294 matrix->set(SkMatrix::kMPersp0, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix()
DSkShadowTessellator.cpp282 ctmInverse[SkMatrix::kMPersp0] * C; in setTransformedHeightFunc()
294 ctm[SkMatrix::kMScaleY] * ctm[SkMatrix::kMPersp0]; in setTransformedHeightFunc()
295 fPartialDeterminants[1] = ctm[SkMatrix::kMPersp0] * ctm[SkMatrix::kMSkewX] - in setTransformedHeightFunc()
/external/skia/src/gpu/gl/
DGrGLPathRendering.cpp233 coefficients[6] = SkScalarToFloat(matrix[SkMatrix::kMPersp0]); in setProgramPathFragmentInputTransform()
/external/skia/src/gpu/
DGrTestUtils.cpp36 gMatrices[4].set(SkMatrix::kMPersp0, 0.00013f); in test_matrix()
DGrPathUtils.cpp296 m[SkMatrix::kMPersp0] = 0.0f; in set()
/external/skia/src/pdf/
DSkPDFShader.cpp336 const SkScalar p0 = inversePerspectiveMatrix[SkMatrix::kMPersp0]; in apply_perspective_to_coordinates()
721 const SkScalar p0 = in[SkMatrix::kMPersp0]; in split_perspective()
/external/skia/src/gpu/instanced/
DInstancedRendering.cpp184 op->appendParamsTexel(shapeMatrix[SkMatrix::kMPersp0], shapeMatrix[SkMatrix::kMPersp1], in recordShape()
/external/skia/tests/
DMatrixTest.cpp626 mat[SkMatrix::kMPersp0] = 12.f; in test_matrix_decomposition()
/external/skia/src/effects/gradients/
DSkTwoPointConicalGradient_gpu.cpp115 r0dr * bMatrix[SkMatrix::kMPersp0]); in Edge2PtConicalEffect()