/external/skqp/src/core/ |
D | SkMatrix.cpp | 69 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/ |
D | SkMatrix.cpp | 74 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/ |
D | GrGLSLUtil.cpp | 23 dest[6] = SkScalarToFloat(src[SkMatrix::kMTransX]); in GrGLSLGetMatrix() 48 dest[12] = SkScalarToFloat(src[SkMatrix::kMTransX]); in GrGLSLGetMatrix()
|
D | GrGLSLProgramDataManager.cpp | 21 matrix.get(SkMatrix::kMTransX), in setSkMatrix()
|
/external/skqp/include/core/ |
D | SkMatrix.h | 282 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/ |
D | SkMatrix.h | 349 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/ |
D | GrGLSLProgramDataManager.cpp | 22 matrix.get(SkMatrix::kMTransX), in setSkMatrix()
|
/external/skia/docs/examples/ |
D | MemberIndex.cpp | 14 for (int i : { SkMatrix::kMScaleX, SkMatrix::kMSkewX, SkMatrix::kMTransX,
|
/external/skia/src/gpu/ops/ |
D | GrSmallPathShapeData.cpp | 33 SkScalar tx = ctm.get(SkMatrix::kMTransX); in GrSmallPathShapeDataKey()
|
D | GrSmallPathRenderer.cpp | 498 drawMatrix.set(SkMatrix::kMTransX, tx); in addBMPathToAtlas() 559 translatedBounds.offset(SkScalarFloorToScalar(ctm.get(SkMatrix::kMTransX)), in writePathVertices()
|
/external/skia/src/utils/ |
D | SkCamera.cpp | 103 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()
|
D | SkShadowUtils.cpp | 126 noTrans[SkMatrix::kMTransX] = 0; in makeVertices() 198 noTrans[SkMatrix::kMTransX] = 0; in makeVertices()
|
/external/skia/gm/ |
D | rasterhandleallocator.cpp | 119 matrix[SkMatrix::kMTransX], in matrix_to_transform() 250 xf.eDx = ctm[SkMatrix::kMTransX]; in updateHandle()
|
/external/skqp/samplecode/ |
D | SampleBigGradient.cpp | 115 matrix[SkMatrix::kMTransX], in matrix_to_transform() 241 xf.eDx = ctm[SkMatrix::kMTransX]; in updateHandle()
|
D | SamplePolyToPoly.cpp | 36 m2.set(SkMatrix::kMTransX, dst[0].fX); in PolyToPolyView()
|
/external/skia/samplecode/ |
D | SamplePolyToPoly.cpp | 36 m2.set(SkMatrix::kMTransX, dst[0].fX); in PolyToPolyView()
|
/external/skia/src/gpu/geometry/ |
D | GrPathUtils.cpp | 209 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/ |
D | SkCamera.cpp | 254 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()
|
D | SkShadowUtils.cpp | 101 noTrans[SkMatrix::kMTransX] = 0; in makeVertices() 164 noTrans[SkMatrix::kMTransX] = 0; in makeVertices()
|
/external/skqp/src/gpu/ |
D | GrPathUtils.cpp | 290 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()
|
D | GrSoftwarePathRenderer.cpp | 306 SkScalar tx = args.fViewMatrix->get(SkMatrix::kMTransX); in onDrawPath()
|
D | GrBlurUtils.cpp | 351 SkScalar tx = viewMatrix.get(SkMatrix::kMTransX); in draw_shape_with_mask_filter()
|
/external/skqp/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 87 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/ |
D | GrGLPathRendering.cpp | 154 coefficients[2] = SkScalarToFloat(matrix[SkMatrix::kMTransX]); in setProgramPathFragmentInputTransform()
|
/external/skia/src/gpu/ |
D | GrSoftwarePathRenderer.cpp | 295 SkScalar tx = args.fViewMatrix->get(SkMatrix::kMTransX); in onDrawPath()
|