aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDrawContext.cpp
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-09-10 11:00:51 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-10 11:00:51 -0700
commitf238469b0532cf28724b811d546c395a0361d7a0 (patch)
treebc004f28dcf9347304db5a1500ae032812a857bb /src/gpu/GrDrawContext.cpp
parent512be5340c2a29550053d35bc058d3aecd5c1fc7 (diff)
Late creation of GrPathProcessor
Diffstat (limited to 'src/gpu/GrDrawContext.cpp')
-rw-r--r--src/gpu/GrDrawContext.cpp6
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);
}