Lines Matching refs:viewMatrix

222     static GrBatch* Create(const Geometry& geometry, uint8_t coverage, const SkMatrix& viewMatrix,  in Create()  argument
224 return SkNEW_ARGS(DefaultPathBatch, (geometry, coverage, viewMatrix, isHairline, in Create()
257 this->viewMatrix(), in generateGeometry()
384 DefaultPathBatch(const Geometry& geometry, uint8_t coverage, const SkMatrix& viewMatrix, in DefaultPathBatch() argument
389 fBatch.fViewMatrix = viewMatrix; in DefaultPathBatch()
406 if (!this->viewMatrix().cheapEqualTo(that->viewMatrix())) { in onCombineIfPossible()
519 const SkMatrix& viewMatrix() const { return fBatch.fViewMatrix; } in viewMatrix() function in DefaultPathBatch
539 const SkMatrix& viewMatrix, in internalDrawPath() argument
547 if (IsStrokeHairlineOrEquivalent(*stroke, viewMatrix, &hairlineCoverage)) { in internalDrawPath()
655 SkScalar srcSpaceTol = GrPathUtils::scaleToleranceToSrc(tol, viewMatrix, path.getBounds()); in internalDrawPath()
658 GetPathDevBounds(path, pipelineBuilder->getRenderTarget(), viewMatrix, &devBounds); in internalDrawPath()
677 if (!viewMatrix.hasPerspective() && viewMatrix.invert(&vmi)) { in internalDrawPath()
680 if (!viewMatrix.invert(&localMatrix)) { in internalDrawPath()
687 const SkMatrix& viewM = (reverse && viewMatrix.hasPerspective()) ? SkMatrix::I() : in internalDrawPath()
688 viewMatrix; in internalDrawPath()
700 SkAutoTUnref<GrBatch> batch(DefaultPathBatch::Create(geometry, newCoverage, viewMatrix, in internalDrawPath()
711 const SkMatrix& viewMatrix, in canDrawPath() argument
717 viewMatrix, in canDrawPath()
724 const SkMatrix& viewMatrix, in onDrawPath() argument
731 viewMatrix, in onDrawPath()
739 const SkMatrix& viewMatrix, in onStencilPath() argument
744 this->internalDrawPath(target, pipelineBuilder, GrColor_WHITE, viewMatrix, path, stroke, true); in onStencilPath()
753 SkMatrix viewMatrix = GrTest::TestMatrix(random); in BATCH_TEST_DEFINE() local
763 SkScalar srcSpaceTol = GrPathUtils::scaleToleranceToSrc(tol, viewMatrix, bounds); in BATCH_TEST_DEFINE()
770 viewMatrix.mapRect(&bounds); in BATCH_TEST_DEFINE()
772 return DefaultPathBatch::Create(geometry, coverage, viewMatrix, true, bounds); in BATCH_TEST_DEFINE()