From d3a560fa80bfb3e2d2e989f951bb3b1c52316654 Mon Sep 17 00:00:00 2001 From: joshualitt Date: Tue, 19 May 2015 07:15:28 -0700 Subject: Revert of Preliminary attempt to remove batch tracker (patchset #3 id:40001 of https://codereview.chromium.org/1139723004/) Reason for revert: breaking bots Original issue's description: > Preliminary attempt to remove batch tracker > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/cbfe91d82500f4ae8c3ff7bd74b3021a4b89fd84 TBR=robertphillips@google.com,joshualitt@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1132323003 --- src/gpu/GrTessellatingPathRenderer.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/gpu/GrTessellatingPathRenderer.cpp') diff --git a/src/gpu/GrTessellatingPathRenderer.cpp b/src/gpu/GrTessellatingPathRenderer.cpp index a41a88eed6..0fd8afd754 100644 --- a/src/gpu/GrTessellatingPathRenderer.cpp +++ b/src/gpu/GrTessellatingPathRenderer.cpp @@ -1412,10 +1412,9 @@ public: LOG("got %d pts, %d contours\n", maxPts, contourCnt); uint32_t flags = GrDefaultGeoProcFactory::kPosition_GPType; SkAutoTUnref gp( - GrDefaultGeoProcFactory::Create(flags, fColor, fPipelineInfo.fUsesLocalCoords, - fPipelineInfo.fCoverageIgnored, fViewMatrix, - SkMatrix::I())); + GrDefaultGeoProcFactory::Create(flags, fColor, fViewMatrix, SkMatrix::I())); batchTarget->initDraw(gp, pipeline); + gp->initBatchTracker(batchTarget->currentBatchTracker(), fPipelineInfo); SkAutoTDeleteArray contours(SkNEW_ARRAY(Vertex *, contourCnt)); -- cgit v1.2.3