Home
last modified time | relevance | path

Searched refs:kMSkewY (Results 1 – 25 of 55) sorted by relevance

123

/external/skqp/src/core/
DSkMatrix.cpp68 fMat[kMSkewX] = fMat[kMSkewY] = in reset()
84 fMat[kMSkewY] = buffer[kASkewY]; in setAffine()
134 int m10 = SkScalarAs2sCompliment(fMat[SkMatrix::kMSkewY]); in computeTypeMask()
219 SkScalar sy = fMat[kMSkewY]; in isSimilarity()
247 SkScalar sy = fMat[kMSkewY]; in preservesRightAngles()
282 fMat[kMSkewX] = fMat[kMSkewY] = in setTranslate()
304 fMat[kMTransY] += sdot(fMat[kMSkewY], dx, fMat[kMScaleY], dy); in preTranslate()
340 fMat[kMSkewX] = fMat[kMSkewY] = in setScale()
368 fMat[kMSkewY] *= sx; in preScale()
420 fMat[kMSkewY] *= invY; in postIDiv()
[all …]
DSkFontPriv.cpp17 return mag2(m[SkMatrix::kMScaleX], m[SkMatrix::kMSkewY]) > ma2max in tooBig()
DSkNormalMapSource.cpp90 fColumnMajorInvCTM22[1] = invCTM.get(SkMatrix::kMSkewY); in onSetData()
/external/skqp/src/gpu/glsl/
DGrGLSLPrimitiveProcessor.cpp30 combined.set(SkMatrix::kMSkewY, in GetTransformMatrix()
31 combined[SkMatrix::kMPersp0] - combined[SkMatrix::kMSkewY]); in GetTransformMatrix()
40 combined.set(SkMatrix::kMSkewY, in GetTransformMatrix()
41 h * combined[SkMatrix::kMPersp0] - combined[SkMatrix::kMSkewY]); in GetTransformMatrix()
DGrGLSLUtil.cpp14 dest[1] = SkScalarToFloat(src[SkMatrix::kMSkewY]); in GrGLSLGetMatrix()
31 dest[1] = SkScalarToFloat(src[SkMatrix::kMSkewY]); in GrGLSLGetMatrix()
DGrGLSLProgramDataManager.cpp16 matrix.get(SkMatrix::kMSkewY), in setSkMatrix()
/external/skia/src/core/
DSkMatrix.cpp75 fMat[kMSkewY] = buffer[kASkewY]; in setAffine()
126 int m10 = SkScalarAs2sCompliment(fMat[SkMatrix::kMSkewY]); in computeTypeMask()
211 SkScalar sy = fMat[kMSkewY]; in isSimilarity()
239 SkScalar sy = fMat[kMSkewY]; in preservesRightAngles()
289 fMat[kMTransY] += sdot(fMat[kMSkewY], dx, fMat[kMScaleY], dy); in preTranslate()
349 fMat[kMSkewY] *= sx; in preScale()
402 fMat[kMSkewY] *= invY; in postIDiv()
418 fMat[kMSkewY] = sinV; in setSinCos()
434 fMat[kMSkewY] = xform.fSSin; in setRSXform()
450 fMat[kMSkewY] = sinV; in setSinCos()
[all …]
DSkPathRef.cpp114 sameSign = matrix.get(SkMatrix::kMSkewY) > 0 ? 0b01 : 0b00; in transform_dir_and_start()
117 sameSign = matrix.get(SkMatrix::kMSkewY) > 0 ? 0b00 : 0b01; in transform_dir_and_start()
/external/skia/docs/examples/
DMatrix_get.cpp12 matrix.get(SkMatrix::kMSkewY) == 24 ? '=' : '!'); in draw()
DMemberIndex.cpp15 SkMatrix::kMSkewY, SkMatrix::kMScaleY, SkMatrix::kMTransY,
/external/skqp/include/core/
DSkMatrix.h283 static constexpr int kMSkewY = 3; //!< vertical skew factor variable
344 SkScalar getSkewY() const { return fMat[kMSkewY]; } in getSkewY()
425 void setSkewY(SkScalar v) { this->set(kMSkewY, v); } in setSkewY()
481 fMat[kMSkewY] = skewY; in setAll()
1688 fMat[kMSkewY] = 0; in setScaleTranslate()
/external/skia/include/core/
DSkMatrix.h350 static constexpr int kMSkewY = 3; //!< vertical skew factor variable
424 SkScalar getSkewY() const { return fMat[kMSkewY]; } in getSkewY()
506 SkMatrix& setSkewY(SkScalar v) { return this->set(kMSkewY, v); } in setSkewY()
562 fMat[kMSkewY] = skewY; in setAll()
1802 fMat[kMSkewY] = 0; in setScaleTranslate()
/external/skia/src/gpu/glsl/
DGrGLSLProgramDataManager.cpp17 matrix.get(SkMatrix::kMSkewY), in setSkMatrix()
/external/skia/src/gpu/ops/
DGrSmallPathShapeData.cpp32 SkScalar ky = ctm.get(SkMatrix::kMSkewY); in GrSmallPathShapeDataKey()
/external/skia/src/utils/
DSkCamera.cpp104 orien->set(SkMatrix::kMSkewY, y * axis.x - z * zenith.x); in doUpdate()
136 matrix->set(SkMatrix::kMSkewY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix()
/external/skia/gm/
Drasterhandleallocator.cpp116 matrix[SkMatrix::kMSkewY], in matrix_to_transform()
251 xf.eM12 = ctm[SkMatrix::kMSkewY]; in updateHandle()
/external/skqp/samplecode/
DSampleBigGradient.cpp112 matrix[SkMatrix::kMSkewY], in matrix_to_transform()
242 xf.eM12 = ctm[SkMatrix::kMSkewY]; in updateHandle()
DSamplePolyToPoly.cpp37 m2.set(SkMatrix::kMSkewY, dst[1].fY - dst[0].fY); in PolyToPolyView()
/external/skia/samplecode/
DSamplePolyToPoly.cpp37 m2.set(SkMatrix::kMSkewY, dst[1].fY - dst[0].fY); in PolyToPolyView()
/external/skia/src/gpu/geometry/
DGrPathUtils.cpp211 m[SkMatrix::kMSkewY] = (float)(a6*scale); in set()
227 fM[3] = m33 * m.get(SkMatrix::kMSkewY); in set()
234 fM[3] = m.get(SkMatrix::kMSkewY); in set()
/external/skia/tests/
DMatrixTest.cpp480 scalar_nearly_equal_relative(mat[SkMatrix::kMSkewY], in check_matrix_recomposition()
587 mat[SkMatrix::kMSkewX]*mat[SkMatrix::kMSkewY]; in test_matrix_decomposition()
616 mat[SkMatrix::kMSkewY] = 4.f; in test_matrix_decomposition()
919 m.set(SkMatrix::kMSkewY, gRectStaysRectSamples[i].m10); in DEF_TEST()
930 .set(SkMatrix::kMSkewY, 4) in DEF_TEST()
/external/skqp/tests/
DMatrixTest.cpp499 scalar_nearly_equal_relative(mat[SkMatrix::kMSkewY], in check_matrix_recomposition()
622 mat[SkMatrix::kMSkewX]*mat[SkMatrix::kMSkewY]; in test_matrix_decomposition()
651 mat[SkMatrix::kMSkewY] = 4.f; in test_matrix_decomposition()
958 m.set(SkMatrix::kMSkewY, gRectStaysRectSamples[i].m10); in DEF_TEST()
969 mat.set(SkMatrix::kMSkewY, SkIntToScalar(4)); in DEF_TEST()
/external/skqp/src/utils/
DSkCamera.cpp255 orien->set(SkMatrix::kMSkewY, y * axis.fX - z * zenith.fX); in doUpdate()
293 matrix->set(SkMatrix::kMSkewY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix()
/external/skqp/src/gpu/
DGrPathUtils.cpp292 m[SkMatrix::kMSkewY] = (float)(a6*scale); in set()
308 fM[3] = m33 * m.get(SkMatrix::kMSkewY); in set()
315 fM[3] = m.get(SkMatrix::kMSkewY); in set()
/external/skqp/src/gpu/gl/
DGrGLPathRendering.cpp157 coefficients[3] = SkScalarToFloat(matrix[SkMatrix::kMSkewY]); in setProgramPathFragmentInputTransform()

123