Home
last modified time | relevance | path

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

/external/skia/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/src/gpu/ops/
DGrSmallPathRenderer.cpp419 SkMatrix drawMatrix; in addDFPathToAtlas() local
420 drawMatrix.setScale(scale, scale); in addDFPathToAtlas()
421 drawMatrix.postTranslate(intPad - dx, intPad - dy); in addDFPathToAtlas()
440 path, drawMatrix, in addDFPathToAtlas()
463 draw.fMatrix = &drawMatrix; in addDFPathToAtlas()
515 SkMatrix drawMatrix(ctm); in addBMPathToAtlas() local
516 drawMatrix.set(SkMatrix::kMTransX, SkScalarFraction(ctm.get(SkMatrix::kMTransX))); in addBMPathToAtlas()
517 drawMatrix.set(SkMatrix::kMTransY, SkScalarFraction(ctm.get(SkMatrix::kMTransY))); in addBMPathToAtlas()
519 drawMatrix.mapRect(&shapeDevBounds, bounds); in addBMPathToAtlas()
561 drawMatrix.postTranslate(translateX, translateY); in addBMPathToAtlas()
[all …]
DGrDrawPathOp.cpp175 SkMatrix drawMatrix(this->viewMatrix()); in onExecute() local
176 drawMatrix.preScale(fScale, fScale); in onExecute()
177 drawMatrix.preTranslate(head.fX, head.fY); in onExecute()
184 GrPathProcessor::Create(this->color(), drawMatrix, localMatrix)); in onExecute()
/external/skia/src/effects/
DSkLayerRasterizer.cpp122 SkMatrix drawMatrix; // this translates the path by each layer's offset in onRasterize() local
130 draw.fMatrix = &drawMatrix; in onRasterize()
138 drawMatrix = translatedMatrix; in onRasterize()
139 drawMatrix.preTranslate(rec->fOffset.fX, rec->fOffset.fY); in onRasterize()
/external/skia/src/gpu/text/
DGrAtlasGlyphCache.cpp338 SkMatrix drawMatrix; in get_packed_glyph_df_image() local
339 drawMatrix.setTranslate((SkScalar)-glyph.fLeft, (SkScalar)-glyph.fTop); in get_packed_glyph_df_image()
343 *path, drawMatrix, in get_packed_glyph_df_image()
/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp740 const SkPath& path, const SkMatrix& drawMatrix, in GrGenerateDistanceFieldFromPath() argument
745 SkDEBUGCODE(path.transform(drawMatrix, &xformPath)); in GrGenerateDistanceFieldFromPath()
766 workingPath.transform(drawMatrix); in GrGenerateDistanceFieldFromPath()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp910 SkMatrix drawMatrix = ToSkMatrix(m_drawMatrix); in MatrixOffset() local
911 if (!(drawMatrix.getType() & ~SkMatrix::kTranslate_Mask)) in MatrixOffset()
914 if (!drawMatrix.invert(&invDrawMatrix)) in MatrixOffset()