Home
last modified time | relevance | path

Searched refs:kMTransY (Results 1 – 25 of 45) sorted by relevance

12

/external/skqp/src/core/
DSkMatrix.cpp69 fMat[kMTransX] = fMat[kMTransY] = in reset()
86 fMat[kMTransY] = buffer[kATransY]; in setAffine()
128 if (fMat[kMTransX] != 0 || fMat[kMTransY] != 0) { in computeTypeMask()
279 fMat[kMTransY] = dy; in setTranslate()
296 fMat[kMTransY] += dy; in preTranslate()
304 fMat[kMTransY] += sdot(fMat[kMSkewY], dx, fMat[kMScaleY], dy); in preTranslate()
316 fMat[kMTransY] += dy; in postTranslate()
339 fMat[kMTransX] = fMat[kMTransY] = in setScale()
421 fMat[kMTransY] *= invY; in postIDiv()
438 fMat[kMTransY] = sdot(-sinV, px, oneMinusCosV, py); in setSinCos()
[all …]
/external/skia/src/core/
DSkMatrix.cpp77 fMat[kMTransY] = buffer[kATransY]; in setAffine()
120 if (fMat[kMTransX] != 0 || fMat[kMTransY] != 0) { in computeTypeMask()
282 fMat[kMTransY] += dy; in preTranslate()
289 fMat[kMTransY] += sdot(fMat[kMSkewY], dx, fMat[kMScaleY], dy); in preTranslate()
302 fMat[kMTransY] += dy; in postTranslate()
403 fMat[kMTransY] *= invY; in postIDiv()
420 fMat[kMTransY] = sdot(-sinV, px, oneMinusCosV, py); in setSinCos()
436 fMat[kMTransY] = xform.fTy; in setRSXform()
452 fMat[kMTransY] = 0; in setSinCos()
512 fMat[kMTransY] = 0; in setSkew()
[all …]
/external/skqp/src/gpu/glsl/
DGrGLSLPrimitiveProcessor.cpp34 combined.set(SkMatrix::kMTransY, in GetTransformMatrix()
35 combined[SkMatrix::kMPersp2] - combined[SkMatrix::kMTransY]); in GetTransformMatrix()
44 combined.set(SkMatrix::kMTransY, in GetTransformMatrix()
45 h * combined[SkMatrix::kMPersp2] - combined[SkMatrix::kMTransY]); in GetTransformMatrix()
DGrGLSLUtil.cpp24 dest[7] = SkScalarToFloat(src[SkMatrix::kMTransY]); in GrGLSLGetMatrix()
49 dest[13] = SkScalarToFloat(src[SkMatrix::kMTransY]); in GrGLSLGetMatrix()
DGrGLSLProgramDataManager.cpp22 matrix.get(SkMatrix::kMTransY), in setSkMatrix()
/external/skqp/include/core/
DSkMatrix.h285 static constexpr int kMTransY = 5; //!< vertical translation variable
366 SkScalar getTranslateY() const { return fMat[kMTransY]; } in getTranslateY()
443 void setTranslateY(SkScalar v) { this->set(kMTransY, v); } in setTranslateY()
483 fMat[kMTransY] = transY; in setAll()
1690 fMat[kMTransY] = ty; in setScaleTranslate()
1786 if ((fMat[kMTransX] != 0) | (fMat[kMTransY] != 0)) { in updateTranslateMask()
/external/skia/include/core/
DSkMatrix.h352 static constexpr int kMTransY = 5; //!< vertical translation variable
446 SkScalar getTranslateY() const { return fMat[kMTransY]; } in getTranslateY()
524 SkMatrix& setTranslateY(SkScalar v) { return this->set(kMTransY, v); } in setTranslateY()
564 fMat[kMTransY] = transY; in setAll()
1804 fMat[kMTransY] = ty; in setScaleTranslate()
1908 if ((fMat[kMTransX] != 0) | (fMat[kMTransY] != 0)) { in updateTranslateMask()
/external/skia/src/gpu/glsl/
DGrGLSLProgramDataManager.cpp23 matrix.get(SkMatrix::kMTransY), in setSkMatrix()
/external/skia/docs/examples/
DMemberIndex.cpp15 SkMatrix::kMSkewY, SkMatrix::kMScaleY, SkMatrix::kMTransY,
/external/skia/src/gpu/ops/
DGrSmallPathShapeData.cpp34 SkScalar ty = ctm.get(SkMatrix::kMTransY); in GrSmallPathShapeDataKey()
DGrSmallPathRenderer.cpp499 drawMatrix.set(SkMatrix::kMTransY, ty); in addBMPathToAtlas()
560 SkScalarFloorToScalar(ctm.get(SkMatrix::kMTransY))); in writePathVertices()
/external/skia/src/utils/
DSkCamera.cpp106 orien->set(SkMatrix::kMTransY, y * axis.z - z * zenith.z); in doUpdate()
146 matrix->set(SkMatrix::kMTransY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix()
DSkShadowUtils.cpp127 noTrans[SkMatrix::kMTransY] = 0; in makeVertices()
199 noTrans[SkMatrix::kMTransY] = 0; in makeVertices()
/external/skia/gm/
Drasterhandleallocator.cpp120 matrix[SkMatrix::kMTransY]); in matrix_to_transform()
253 xf.eDy = ctm[SkMatrix::kMTransY]; in updateHandle()
/external/skqp/samplecode/
DSampleBigGradient.cpp116 matrix[SkMatrix::kMTransY]); in matrix_to_transform()
244 xf.eDy = ctm[SkMatrix::kMTransY]; in updateHandle()
DSamplePolyToPoly.cpp39 m2.set(SkMatrix::kMTransY, dst[0].fY); in PolyToPolyView()
/external/skia/samplecode/
DSamplePolyToPoly.cpp39 m2.set(SkMatrix::kMTransY, dst[0].fY); in PolyToPolyView()
/external/skia/src/gpu/geometry/
DGrPathUtils.cpp213 m[SkMatrix::kMTransY] = (float)(a8*scale); in set()
229 fM[5] = m33 * m.get(SkMatrix::kMTransY); in set()
236 fM[5] = m.get(SkMatrix::kMTransY); in set()
/external/skqp/src/utils/
DSkCamera.cpp257 orien->set(SkMatrix::kMTransY, y * axis.fZ - z * zenith.fZ); in doUpdate()
303 matrix->set(SkMatrix::kMTransY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix()
DSkShadowUtils.cpp102 noTrans[SkMatrix::kMTransY] = 0; in makeVertices()
165 noTrans[SkMatrix::kMTransY] = 0; in makeVertices()
/external/skqp/src/gpu/
DGrPathUtils.cpp294 m[SkMatrix::kMTransY] = (float)(a8*scale); in set()
310 fM[5] = m33 * m.get(SkMatrix::kMTransY); in set()
317 fM[5] = m.get(SkMatrix::kMTransY); in set()
DGrSoftwarePathRenderer.cpp307 SkScalar ty = args.fViewMatrix->get(SkMatrix::kMTransY); in onDrawPath()
DGrBlurUtils.cpp352 SkScalar ty = viewMatrix.get(SkMatrix::kMTransY); in draw_shape_with_mask_filter()
/external/skqp/src/gpu/ops/
DGrSmallPathRenderer.cpp88 SkScalar ty = ctm.get(SkMatrix::kMTransY); in set()
662 drawMatrix.set(SkMatrix::kMTransY, ty); in addBMPathToAtlas()
752 SkScalarFloorToScalar(ctm.get(SkMatrix::kMTransY))); in writePathVertices()
/external/skqp/src/gpu/gl/
DGrGLPathRendering.cpp159 coefficients[5] = SkScalarToFloat(matrix[SkMatrix::kMTransY]); in setProgramPathFragmentInputTransform()

12