Home
last modified time | relevance | path

Searched refs:kMPersp2 (Results 1 – 25 of 33) sorted by relevance

12

/external/skqp/src/core/
DSkMatrix.cpp34 SkScalar p2 = mat[SkMatrix::kMPersp2]; in normalize_perspective()
40 mat[SkMatrix::kMPersp2] = 1; in normalize_perspective()
67 fMat[kMScaleX] = fMat[kMScaleY] = fMat[kMPersp2] = 1; in reset()
89 fMat[kMPersp2] = 1; 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()
281 fMat[kMScaleX] = fMat[kMScaleY] = fMat[kMPersp2] = 1; in setTranslate()
337 fMat[kMPersp2] = 1; in setScale()
441 fMat[kMPersp2] = 1; in setSinCos()
456 fMat[kMPersp2] = 1; in setRSXform()
[all …]
DSkMatrix44.cpp980 dst[3][3] = SkScalarToMScalar(src[SkMatrix::kMPersp2]); in initFromMatrix()
1011 dst[SkMatrix::kMPersp2] = SkMScalarToScalar(fMat[3][3]); in operator SkMatrix()
/external/skia/src/core/
DSkMatrix.cpp31 SkScalar p2 = fMat[SkMatrix::kMPersp2]; in doNormalizePerspective()
37 fMat[SkMatrix::kMPersp2] = 1; in doNormalizePerspective()
80 fMat[kMPersp2] = 1; in setAffine()
100 if (fMat[kMPersp0] != 0 || fMat[kMPersp1] != 0 || fMat[kMPersp2] != 1) { in computePerspectiveTypeMask()
114 if (fMat[kMPersp0] != 0 || fMat[kMPersp1] != 0 || fMat[kMPersp2] != 1) { in computeTypeMask()
423 fMat[kMPersp2] = 1; in setSinCos()
439 fMat[kMPersp2] = 1; in setRSXform()
455 fMat[kMPersp2] = 1; in setSinCos()
515 fMat[kMPersp2] = 1; in setSkew()
555 fMat[kMPersp2] = 1; in setRectToRect()
[all …]
DSkMatrix44.cpp965 dst[3][3] = src[SkMatrix::kMPersp2]; in initFromMatrix()
996 dst[SkMatrix::kMPersp2] = fMat[3][3]; in operator SkMatrix()
/external/skqp/src/gpu/glsl/
DGrGLSLUtil.cpp25 dest[8] = SkScalarToFloat(src[SkMatrix::kMPersp2]); in GrGLSLGetMatrix()
51 dest[15] = SkScalarToFloat(src[SkMatrix::kMPersp2]); in GrGLSLGetMatrix()
DGrGLSLPrimitiveProcessor.cpp35 combined[SkMatrix::kMPersp2] - combined[SkMatrix::kMTransY]); in GetTransformMatrix()
45 h * combined[SkMatrix::kMPersp2] - combined[SkMatrix::kMTransY]); in GetTransformMatrix()
DGrGLSLProgramDataManager.cpp23 matrix.get(SkMatrix::kMPersp2), in setSkMatrix()
/external/skia/src/gpu/glsl/
DGrGLSLProgramDataManager.cpp24 matrix.get(SkMatrix::kMPersp2), in setSkMatrix()
/external/skia/docs/examples/
DMemberIndex.cpp16 SkMatrix::kMPersp0, SkMatrix::kMPersp1, SkMatrix::kMPersp2 } ) {
/external/skia/include/core/
DSkMatrix.h355 static constexpr int kMPersp2 = 8; //!< perspective bias variable
567 fMat[kMPersp2] = persp2; in setAll()
1435 SkScalar w = fMat[kMPersp2]; in mapOrigin()
1808 fMat[kMPersp2] = 1; in setScaleTranslate()
DSkM44.h403 src[SkMatrix::kMPersp0], src[SkMatrix::kMPersp1], 0, src[SkMatrix::kMPersp2]) in SkM44()
/external/skia/src/utils/
DSkCamera.cpp109 orien->set(SkMatrix::kMPersp2, axis.z); in doUpdate()
147 matrix->set(SkMatrix::kMPersp2, SK_Scalar1); in patchToMatrix()
/external/skqp/src/gpu/
DGrQuad.cpp176 Sk4f w2(m.get(SkMatrix::kMPersp2)); in GrQuad()
219 Sk4f w2(m.get(SkMatrix::kMPersp2)); in GrPerspQuad()
DGrPathUtils.cpp299 m[SkMatrix::kMPersp2] = (float)((a2 + a5 + a8)*scale); in set()
302 float m33 = m.get(SkMatrix::kMPersp2); in set()
/external/skqp/include/core/
DSkMatrix.h288 static constexpr int kMPersp2 = 8; //!< perspective bias variable
486 fMat[kMPersp2] = persp2; in setAll()
1694 fMat[kMPersp2] = 1; in setScaleTranslate()
/external/skia/src/gpu/geometry/
DGrQuad.cpp42 V4f w = m.getPerspX() * qx + (m.getPerspY() * qy + m.get(SkMatrix::kMPersp2)); in map_quad_general()
DGrPathUtils.cpp218 m[SkMatrix::kMPersp2] = (float)((a2 + a5 + a8)*scale); in set()
221 float m33 = m.get(SkMatrix::kMPersp2); in set()
/external/skqp/src/utils/
DSkCamera.cpp260 orien->set(SkMatrix::kMPersp2, axis.fZ); in doUpdate()
304 matrix->set(SkMatrix::kMPersp2, SK_Scalar1); in patchToMatrix()
/external/skqp/src/gpu/gl/
DGrGLPathRendering.cpp165 coefficients[8] = SkScalarToFloat(matrix[SkMatrix::kMPersp2]); in setProgramPathFragmentInputTransform()
/external/skqp/tests/
DGrQuadListTest.cpp44 p[SkMatrix::kMPersp2] = 13.f; in make_3d_persp_quad()
/external/skia/gm/
Dshadowutils.cpp324 mat[SkMatrix::kMPersp2] = 1.005f;
/external/skia/src/pdf/
DSkPDFGradientShader.cpp341 const SkScalar p2 = inversePerspectiveMatrix[SkMatrix::kMPersp2]; in apply_perspective_to_coordinates()
542 const SkScalar p2 = in[SkMatrix::kMPersp2]; in split_perspective()
/external/skqp/src/pdf/
DSkPDFGradientShader.cpp342 const SkScalar p2 = inversePerspectiveMatrix[SkMatrix::kMPersp2]; in apply_perspective_to_coordinates()
543 const SkScalar p2 = in[SkMatrix::kMPersp2]; in split_perspective()
/external/skia/tests/
DMatrixTest.cpp124 buffer[SkMatrix::kMPersp2] = 1; in test_set9()
600 mat[SkMatrix::kMPersp2] = 1872.f; in test_matrix_decomposition()
/external/skqp/src/compute/sk/
DSkDevice_Compute.cpp241 transform[8] = tmp.get(SkMatrix::kMPersp2); in path_rasterize_and_place()

12