Lines Matching refs:geometry
151 static GrDrawBatch* Create(const Geometry& geometry, const SkMatrix& viewMatrix, in Create() argument
153 return new AADistanceFieldPathBatch(geometry, viewMatrix, atlas, pathCache, pathList); in Create()
300 AADistanceFieldPathBatch(const Geometry& geometry, in AADistanceFieldPathBatch() argument
306 fGeoData.push_back(geometry); in AADistanceFieldPathBatch()
313 fBounds = geometry.fPath.getBounds(); in AADistanceFieldPathBatch()
558 AADistanceFieldPathBatch::Geometry geometry(*args.fStroke); in onDrawPath() local
560 geometry.fPath = *args.fPath; in onDrawPath()
562 args.fStroke->applyToPath(&geometry.fPath, *args.fPath); in onDrawPath()
564 geometry.fColor = args.fColor; in onDrawPath()
565 geometry.fAntiAlias = args.fAntiAlias; in onDrawPath()
569 geometry.fGenID = args.fPath->getGenerationID(); in onDrawPath()
571 SkAutoTUnref<GrDrawBatch> batch(AADistanceFieldPathBatch::Create(geometry, in onDrawPath()
642 AADistanceFieldPathBatch::Geometry geometry(GrTest::TestStrokeRec(random)); in DRAW_BATCH_TEST_DEFINE() local
643 geometry.fColor = color; in DRAW_BATCH_TEST_DEFINE()
644 geometry.fPath = GrTest::TestPath(random); in DRAW_BATCH_TEST_DEFINE()
645 geometry.fAntiAlias = random->nextBool(); in DRAW_BATCH_TEST_DEFINE()
646 geometry.fGenID = random->nextU(); in DRAW_BATCH_TEST_DEFINE()
648 return AADistanceFieldPathBatch::Create(geometry, viewMatrix, in DRAW_BATCH_TEST_DEFINE()