diff options
author | joshualitt <joshualitt@chromium.org> | 2015-09-10 11:00:51 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-10 11:00:51 -0700 |
commit | f238469b0532cf28724b811d546c395a0361d7a0 (patch) | |
tree | bc004f28dcf9347304db5a1500ae032812a857bb /src/gpu/GrDrawContext.cpp | |
parent | 512be5340c2a29550053d35bc058d3aecd5c1fc7 (diff) |
Late creation of GrPathProcessor
BUG=skia:
Review URL: https://codereview.chromium.org/1337513002
Diffstat (limited to 'src/gpu/GrDrawContext.cpp')
-rw-r--r-- | src/gpu/GrDrawContext.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp index 8068403e4b..3d3be749d0 100644 --- a/src/gpu/GrDrawContext.cpp +++ b/src/gpu/GrDrawContext.cpp @@ -112,10 +112,12 @@ void GrDrawContext::drawTextBlob(GrRenderTarget* rt, const GrClip& clip, const S } void GrDrawContext::drawPathsFromRange(const GrPipelineBuilder* pipelineBuilder, - const GrPathProcessor* pathProc, + const SkMatrix& viewMatrix, + const SkMatrix& localMatrix, + GrColor color, GrPathRangeDraw* draw, int /*GrPathRendering::FillType*/ fill) { - fDrawTarget->drawPathsFromRange(*pipelineBuilder, pathProc, draw, + fDrawTarget->drawPathsFromRange(*pipelineBuilder, viewMatrix, localMatrix, color, draw, (GrPathRendering::FillType) fill); } |