Home
last modified time | relevance | path

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

12

/external/skqp/src/core/
DSkMatrix.cpp33 if (0 == mat[SkMatrix::kMPersp0] && 0 == mat[SkMatrix::kMPersp1]) { in normalize_perspective()
70 fMat[kMPersp0] = fMat[kMPersp1] = 0; in reset()
87 fMat[kMPersp0] = 0; 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()
283 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setTranslate()
341 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setScale()
369 fMat[kMPersp0] *= sx; in preScale()
440 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setSinCos()
455 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setRSXform()
[all …]
DSkMatrix44.cpp977 dst[0][3] = SkScalarToMScalar(src[SkMatrix::kMPersp0]); in initFromMatrix()
1009 dst[SkMatrix::kMPersp0] = SkMScalarToScalar(fMat[0][3]); in operator SkMatrix()
/external/skia/src/core/
DSkMatrix.cpp30 if (0 == fMat[SkMatrix::kMPersp0] && 0 == fMat[SkMatrix::kMPersp1]) { in doNormalizePerspective()
78 fMat[kMPersp0] = 0; 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()
350 fMat[kMPersp0] *= sx; in preScale()
422 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setSinCos()
438 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setRSXform()
454 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setSinCos()
514 fMat[kMPersp0] = fMat[kMPersp1] = 0; in setSkew()
635 tmp.fMat[kMPersp0] = rowcol3(&a.fMat[6], &b.fMat[0]); in setConcat()
[all …]
DSkMatrix44.cpp962 dst[0][3] = src[SkMatrix::kMPersp0]; in initFromMatrix()
994 dst[SkMatrix::kMPersp0] = fMat[0][3]; in operator SkMatrix()
/external/skqp/src/gpu/glsl/
DGrGLSLUtil.cpp15 dest[2] = SkScalarToFloat(src[SkMatrix::kMPersp0]); in GrGLSLGetMatrix()
33 dest[3] = SkScalarToFloat(src[SkMatrix::kMPersp0]); in GrGLSLGetMatrix()
DGrGLSLPrimitiveProcessor.cpp31 combined[SkMatrix::kMPersp0] - combined[SkMatrix::kMSkewY]); in GetTransformMatrix()
41 h * combined[SkMatrix::kMPersp0] - combined[SkMatrix::kMSkewY]); in GetTransformMatrix()
DGrGLSLProgramDataManager.cpp17 matrix.get(SkMatrix::kMPersp0), in setSkMatrix()
/external/skqp/tests/
DShadowTest.cpp154 ctm[SkMatrix::kMPersp0] = 0.0001f; in check_bounds()
157 ctm[SkMatrix::kMPersp0] = 0.0001f; in check_bounds()
160 ctm[SkMatrix::kMPersp0] = 12.f; in check_bounds()
/external/skia/tests/
DShadowTest.cpp185 ctm[SkMatrix::kMPersp0] = 0.0001f; in check_bounds()
188 ctm[SkMatrix::kMPersp0] = 0.0001f; in check_bounds()
191 ctm[SkMatrix::kMPersp0] = 12.f; in check_bounds()
/external/skqp/include/core/
DSkMatrix.h286 static constexpr int kMPersp0 = 6; //!< input x perspective factor variable
372 SkScalar getPerspX() const { return fMat[kMPersp0]; } in getPerspX()
450 void setPerspX(SkScalar v) { this->set(kMPersp0, v); } in setPerspX()
484 fMat[kMPersp0] = persp0; in setAll()
1692 fMat[kMPersp0] = 0; in setScaleTranslate()
/external/skia/docs/examples/
DMatrix_getPerspX.cpp10 m.set(SkMatrix::kMPersp0, -0.004f);
DMemberIndex.cpp16 SkMatrix::kMPersp0, SkMatrix::kMPersp1, SkMatrix::kMPersp2 } ) {
/external/skia/include/core/
DSkMatrix.h353 static constexpr int kMPersp0 = 6; //!< input x perspective factor variable
452 SkScalar getPerspX() const { return fMat[kMPersp0]; } in getPerspX()
531 SkMatrix& setPerspX(SkScalar v) { return this->set(kMPersp0, v); } in setPerspX()
565 fMat[kMPersp0] = persp0; in setAll()
1806 fMat[kMPersp0] = 0; in setScaleTranslate()
DSkM44.h403 src[SkMatrix::kMPersp0], src[SkMatrix::kMPersp1], 0, src[SkMatrix::kMPersp2]) in SkM44()
/external/skia/src/gpu/glsl/
DGrGLSLProgramDataManager.cpp18 matrix.get(SkMatrix::kMPersp0), in setSkMatrix()
/external/skia/src/utils/
DSkCamera.cpp107 orien->set(SkMatrix::kMPersp0, axis.x); in doUpdate()
137 matrix->set(SkMatrix::kMPersp0, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix()
/external/skqp/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()
/external/skqp/src/gpu/gl/
DGrGLPathRendering.cpp163 coefficients[6] = SkScalarToFloat(matrix[SkMatrix::kMPersp0]); in setProgramPathFragmentInputTransform()
/external/skia/src/gpu/
DGrTestUtils.cpp38 gMatrices[4].set(SkMatrix::kMPersp0, 0.00013f); in test_matrix()
/external/skqp/src/gpu/
DGrTestUtils.cpp38 gMatrices[4].set(SkMatrix::kMPersp0, 0.00013f); in test_matrix()
/external/skia/src/pdf/
DSkPDFGradientShader.cpp339 const SkScalar p0 = inversePerspectiveMatrix[SkMatrix::kMPersp0]; in apply_perspective_to_coordinates()
557 const SkScalar p0 = in[SkMatrix::kMPersp0]; in split_perspective()
/external/skqp/src/pdf/
DSkPDFGradientShader.cpp340 const SkScalar p0 = inversePerspectiveMatrix[SkMatrix::kMPersp0]; in apply_perspective_to_coordinates()
558 const SkScalar p0 = in[SkMatrix::kMPersp0]; in split_perspective()
/external/skqp/src/compute/sk/
DSkDevice_Compute.cpp239 transform[6] = tmp.get(SkMatrix::kMPersp0); in path_rasterize_and_place()
/external/skia/samplecode/
DSampleClip.cpp427 return { m[SkMatrix::kMPersp0], m[SkMatrix::kMPersp1], m[SkMatrix::kMPersp2] - 0.05f }; in half_plane_w0()
/external/skia/src/gpu/geometry/
DGrPathUtils.cpp216 m[SkMatrix::kMPersp0] = 0.0f; in set()

12