Home
last modified time | relevance | path

Searched refs:drawMatrix (Results 1 – 15 of 15) sorted by relevance

/external/skia/src/core/
DSkGlyphRunPainter.cpp139 const SkMatrix& drawMatrix, in processGlyphRunList() argument
155 runPaint, runFont, drawMatrix, props, contextSupportsDistanceFieldText, options); in processGlyphRunList()
158 useSDFT ? false : SkStrikeSpec::ShouldDrawAsPath(runPaint, runFont, drawMatrix); in processGlyphRunList()
165 SkStrikeSpec::MakeSDFT(runFont, runPaint, fDeviceProps, drawMatrix, options); in processGlyphRunList()
187 runFont, runPaint, fDeviceProps, fScalerContextFlags, drawMatrix); in processGlyphRunList()
191 fDrawable.startDevice(fRejects.source(), origin, drawMatrix, strike->roundingSpec()); in processGlyphRunList()
276 const SkMatrix& drawMatrix, const SkSurfaceProps& props, in drawGlyphRunList() argument
334 blurRec, drawMatrix, drawOrigin)) { in drawGlyphRunList()
340 glyphRunList, grStrikeCache, key, blurRec, drawMatrix, in drawGlyphRunList()
344 glyphRunList, drawMatrix, props, supportsSDFT, fOptions, cachedBlob.get()); in drawGlyphRunList()
[all …]
DSkGlyphRunPainter.h86 const SkMatrix& drawMatrix,
/external/skia/src/gpu/text/
DGrTextBlob.cpp180 const SkMatrix& drawMatrix, SkPoint drawOrigin) { in translateVerticesIfNeeded() argument
194 SkMatrix completeDrawMatrix{drawMatrix}; in translateVerticesIfNeeded()
210 fCurrentMatrix = drawMatrix; in translateVerticesIfNeeded()
290 const SkMatrix& drawMatrix, in Make() argument
297 if (drawMatrix.hasPerspective() || forceWForDistanceFields) { in Make()
323 arenaSize, strikeCache, drawMatrix, glyphRunList.origin(), in Make()
372 const SkMatrix& drawMatrix, SkPoint drawOrigin) { in mustRegenerate() argument
381 if (fInitialMatrix.hasPerspective() != drawMatrix.hasPerspective()) { in mustRegenerate()
386 if (fInitialMatrix.hasPerspective() && !SkMatrixPriv::CheapEqual(fInitialMatrix, drawMatrix)) { in mustRegenerate()
408 return !(SkMatrixPriv::CheapEqual(fInitialMatrix, drawMatrix) && in mustRegenerate()
[all …]
DGrTextBlob.h109 const SkMatrix& drawMatrix,
131 const SkMatrix& drawMatrix, SkPoint drawOrigin);
136 const SkMatrix& drawMatrix, SkPoint drawOrigin);
139 const SkMatrix& drawMatrix, SkPoint drawOrigin,
171 const SkMatrix& drawMatrix, SkPoint drawOrigin,
214 const SkMatrix& drawMatrix,
224 const SkMatrix& drawMatrix, SkPoint drawOrigin, const SkIRect& clipRect,
355 void translateVerticesIfNeeded(const SkMatrix& drawMatrix, SkPoint drawOrigin);
DGrTextContext.h49 const SkMatrix& drawMatrix, const SkSurfaceProps&, const SkGlyphRunList&);
55 const SkMatrix& drawMatrix,
/external/skqp/bench/
DSKPAnimationBench.cpp56 SkMatrix* drawMatrix) { in preConcatFrameMatrix() argument
63 drawMatrix->preTranslate(center.fX, center.fY); in preConcatFrameMatrix()
64 drawMatrix->preScale(zoom, zoom); in preConcatFrameMatrix()
65 drawMatrix->preTranslate(-center.fX, -center.fY); in preConcatFrameMatrix()
DSKPAnimationBench.h24 SkMatrix* drawMatrix) = 0;
/external/skia/bench/
DSKPAnimationBench.cpp52 SkMatrix* drawMatrix) { in preConcatFrameMatrix() argument
59 drawMatrix->preTranslate(center.fX, center.fY); in preConcatFrameMatrix()
60 drawMatrix->preScale(zoom, zoom); in preConcatFrameMatrix()
61 drawMatrix->preTranslate(-center.fX, -center.fY); in preConcatFrameMatrix()
DSKPAnimationBench.h25 SkMatrix* drawMatrix) = 0;
/external/skqp/src/gpu/ops/
DGrSmallPathRenderer.cpp553 SkMatrix drawMatrix; in addDFPathToAtlas() local
554 drawMatrix.setScale(scale, scale); in addDFPathToAtlas()
555 drawMatrix.postTranslate(translateX, translateY); in addDFPathToAtlas()
574 path, drawMatrix, in addDFPathToAtlas()
596 draw.fMatrix = &drawMatrix; in addDFPathToAtlas()
656 SkMatrix drawMatrix(ctm); in addBMPathToAtlas() local
661 drawMatrix.set(SkMatrix::kMTransX, tx); in addBMPathToAtlas()
662 drawMatrix.set(SkMatrix::kMTransY, ty); in addBMPathToAtlas()
664 drawMatrix.mapRect(&shapeDevBounds, bounds); in addBMPathToAtlas()
705 drawMatrix.postTranslate(translateX, translateY); in addBMPathToAtlas()
[all …]
/external/skia/src/gpu/ops/
DGrSmallPathRenderer.cpp552 SkMatrix drawMatrix; in addDFPathToAtlas() local
553 drawMatrix.setScale(scale, scale); in addDFPathToAtlas()
554 drawMatrix.postTranslate(translateX, translateY); in addDFPathToAtlas()
572 path, drawMatrix, in addDFPathToAtlas()
593 draw.fMatrix = &drawMatrix; in addDFPathToAtlas()
653 SkMatrix drawMatrix(ctm); in addBMPathToAtlas() local
658 drawMatrix.set(SkMatrix::kMTransX, tx); in addBMPathToAtlas()
659 drawMatrix.set(SkMatrix::kMTransY, ty); in addBMPathToAtlas()
661 drawMatrix.mapRect(&shapeDevBounds, bounds); in addBMPathToAtlas()
702 drawMatrix.postTranslate(translateX, translateY); in addBMPathToAtlas()
[all …]
DGrAtlasTextOp.cpp90 const SkMatrix& drawMatrix = geo.fDrawMatrix; in init() local
92 fDFGPFlags = drawMatrix.isSimilarity() ? kSimilarity_DistanceFieldEffectFlag : 0; in init()
93 fDFGPFlags |= drawMatrix.isScaleTranslate() ? kScaleOnly_DistanceFieldEffectFlag : 0; in init()
94 fDFGPFlags |= drawMatrix.hasPerspective() ? kPerspective_DistanceFieldEffectFlag : 0; in init()
/external/skqp/src/gpu/
DGrDistanceFieldGenFromVector.cpp741 const SkPath& path, const SkMatrix& drawMatrix, in GrGenerateDistanceFieldFromPath() argument
747 path.transform(drawMatrix, &xformPath); in GrGenerateDistanceFieldFromPath()
770 workingPath.transform(drawMatrix); in GrGenerateDistanceFieldFromPath()
/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp710 const SkPath& path, const SkMatrix& drawMatrix, in GrGenerateDistanceFieldFromPath() argument
716 SkMatrix dfMatrix(drawMatrix); in GrGenerateDistanceFieldFromPath()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp1105 SkMatrix drawMatrix = ToSkMatrix(m_drawMatrix); in MatrixOffset() local
1106 if (!(drawMatrix.getType() & ~SkMatrix::kTranslate_Mask)) in MatrixOffset()
1109 if (!drawMatrix.invert(&invDrawMatrix)) in MatrixOffset()