Home
last modified time | relevance | path

Searched refs:kMTransX (Results 1 – 25 of 44) sorted by relevance

12

/external/skqp/src/core/
DSkMatrix.cpp69 fMat[kMTransX] = fMat[kMTransY] = in reset()
83 fMat[kMTransX] = buffer[kATransX]; in setAffine()
128 if (fMat[kMTransX] != 0 || fMat[kMTransY] != 0) { in computeTypeMask()
278 fMat[kMTransX] = dx; in setTranslate()
295 fMat[kMTransX] += dx; in preTranslate()
303 fMat[kMTransX] += sdot(fMat[kMScaleX], dx, fMat[kMSkewX], dy); in preTranslate()
315 fMat[kMTransX] += dx; in postTranslate()
339 fMat[kMTransX] = fMat[kMTransY] = in setScale()
417 fMat[kMTransX] *= invX; in postIDiv()
434 fMat[kMTransX] = sdot(sinV, py, oneMinusCosV, px); in setSinCos()
[all …]
/external/skia/src/core/
DSkMatrix.cpp74 fMat[kMTransX] = buffer[kATransX]; in setAffine()
120 if (fMat[kMTransX] != 0 || fMat[kMTransY] != 0) { in computeTypeMask()
281 fMat[kMTransX] += dx; in preTranslate()
288 fMat[kMTransX] += sdot(fMat[kMScaleX], dx, fMat[kMSkewX], dy); in preTranslate()
301 fMat[kMTransX] += dx; in postTranslate()
399 fMat[kMTransX] *= invX; in postIDiv()
416 fMat[kMTransX] = sdot(sinV, py, oneMinusCosV, px); in setSinCos()
432 fMat[kMTransX] = xform.fTx; in setRSXform()
448 fMat[kMTransX] = 0; in setSinCos()
508 fMat[kMTransX] = 0; in setSkew()
[all …]
/external/skqp/src/gpu/glsl/
DGrGLSLUtil.cpp23 dest[6] = SkScalarToFloat(src[SkMatrix::kMTransX]); in GrGLSLGetMatrix()
48 dest[12] = SkScalarToFloat(src[SkMatrix::kMTransX]); in GrGLSLGetMatrix()
DGrGLSLProgramDataManager.cpp21 matrix.get(SkMatrix::kMTransX), in setSkMatrix()
/external/skqp/include/core/
DSkMatrix.h282 static constexpr int kMTransX = 2; //!< horizontal translation variable
359 SkScalar getTranslateX() const { return fMat[kMTransX]; } in getTranslateX()
437 void setTranslateX(SkScalar v) { this->set(kMTransX, v); } in setTranslateX()
480 fMat[kMTransX] = transX; in setAll()
1686 fMat[kMTransX] = tx; in setScaleTranslate()
1786 if ((fMat[kMTransX] != 0) | (fMat[kMTransY] != 0)) { in updateTranslateMask()
/external/skia/include/core/
DSkMatrix.h349 static constexpr int kMTransX = 2; //!< horizontal translation variable
439 SkScalar getTranslateX() const { return fMat[kMTransX]; } in getTranslateX()
518 SkMatrix& setTranslateX(SkScalar v) { return this->set(kMTransX, v); } in setTranslateX()
561 fMat[kMTransX] = transX; in setAll()
1800 fMat[kMTransX] = tx; in setScaleTranslate()
1908 if ((fMat[kMTransX] != 0) | (fMat[kMTransY] != 0)) { in updateTranslateMask()
/external/skia/src/gpu/glsl/
DGrGLSLProgramDataManager.cpp22 matrix.get(SkMatrix::kMTransX), in setSkMatrix()
/external/skia/docs/examples/
DMemberIndex.cpp14 for (int i : { SkMatrix::kMScaleX, SkMatrix::kMSkewX, SkMatrix::kMTransX,
/external/skia/src/gpu/ops/
DGrSmallPathShapeData.cpp33 SkScalar tx = ctm.get(SkMatrix::kMTransX); in GrSmallPathShapeDataKey()
DGrSmallPathRenderer.cpp498 drawMatrix.set(SkMatrix::kMTransX, tx); in addBMPathToAtlas()
559 translatedBounds.offset(SkScalarFloorToScalar(ctm.get(SkMatrix::kMTransX)), in writePathVertices()
/external/skia/src/utils/
DSkCamera.cpp103 orien->set(SkMatrix::kMTransX, x * axis.z - z * cross.z); in doUpdate()
145 matrix->set(SkMatrix::kMTransX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix()
DSkShadowUtils.cpp126 noTrans[SkMatrix::kMTransX] = 0; in makeVertices()
198 noTrans[SkMatrix::kMTransX] = 0; in makeVertices()
/external/skia/gm/
Drasterhandleallocator.cpp119 matrix[SkMatrix::kMTransX], in matrix_to_transform()
250 xf.eDx = ctm[SkMatrix::kMTransX]; in updateHandle()
/external/skqp/samplecode/
DSampleBigGradient.cpp115 matrix[SkMatrix::kMTransX], in matrix_to_transform()
241 xf.eDx = ctm[SkMatrix::kMTransX]; in updateHandle()
DSamplePolyToPoly.cpp36 m2.set(SkMatrix::kMTransX, dst[0].fX); in PolyToPolyView()
/external/skia/samplecode/
DSamplePolyToPoly.cpp36 m2.set(SkMatrix::kMTransX, dst[0].fX); in PolyToPolyView()
/external/skia/src/gpu/geometry/
DGrPathUtils.cpp209 m[SkMatrix::kMTransX] = (float)((0.5*a5 + a8)*scale); in set()
226 fM[2] = m33 * m.get(SkMatrix::kMTransX); in set()
233 fM[2] = m.get(SkMatrix::kMTransX); in set()
/external/skqp/src/utils/
DSkCamera.cpp254 orien->set(SkMatrix::kMTransX, x * axis.fZ - z * cross.fZ); in doUpdate()
302 matrix->set(SkMatrix::kMTransX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix()
DSkShadowUtils.cpp101 noTrans[SkMatrix::kMTransX] = 0; in makeVertices()
164 noTrans[SkMatrix::kMTransX] = 0; in makeVertices()
/external/skqp/src/gpu/
DGrPathUtils.cpp290 m[SkMatrix::kMTransX] = (float)((0.5*a5 + a8)*scale); in set()
307 fM[2] = m33 * m.get(SkMatrix::kMTransX); in set()
314 fM[2] = m.get(SkMatrix::kMTransX); in set()
DGrSoftwarePathRenderer.cpp306 SkScalar tx = args.fViewMatrix->get(SkMatrix::kMTransX); in onDrawPath()
DGrBlurUtils.cpp351 SkScalar tx = viewMatrix.get(SkMatrix::kMTransX); in draw_shape_with_mask_filter()
/external/skqp/src/gpu/ops/
DGrSmallPathRenderer.cpp87 SkScalar tx = ctm.get(SkMatrix::kMTransX); in set()
661 drawMatrix.set(SkMatrix::kMTransX, tx); in addBMPathToAtlas()
751 translatedBounds.offset(SkScalarFloorToScalar(ctm.get(SkMatrix::kMTransX)), in writePathVertices()
/external/skqp/src/gpu/gl/
DGrGLPathRendering.cpp154 coefficients[2] = SkScalarToFloat(matrix[SkMatrix::kMTransX]); in setProgramPathFragmentInputTransform()
/external/skia/src/gpu/
DGrSoftwarePathRenderer.cpp295 SkScalar tx = args.fViewMatrix->get(SkMatrix::kMTransX); in onDrawPath()

12