aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrSoftwarePathRenderer.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-08 14:48:36 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-08 14:48:36 +0000
commit0f11e1ab5b6e53f6176dde2dbb25a8e3ae34858f (patch)
treee1ede971e62f13815c6afa4f7e233b29cabe69e7 /src/gpu/GrSoftwarePathRenderer.cpp
parenta5b7cc00b9e95c4c6c02b5bd26aba5e6401f7fd7 (diff)
Remove translate param from GrContext::drawPath (and subsequent calls).
Review URL: https://codereview.appspot.com/6615062 git-svn-id: http://skia.googlecode.com/svn/trunk@5852 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrSoftwarePathRenderer.cpp')
-rw-r--r--src/gpu/GrSoftwarePathRenderer.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp
index a2c5867c51..3dd96061a5 100644
--- a/src/gpu/GrSoftwarePathRenderer.cpp
+++ b/src/gpu/GrSoftwarePathRenderer.cpp
@@ -108,7 +108,6 @@ void draw_around_inv_path(GrDrawTarget* target,
// return true on success; false on failure
bool GrSoftwarePathRenderer::onDrawPath(const SkPath& path,
GrPathFill fill,
- const GrVec* translate,
GrDrawTarget* target,
bool antiAlias) {
@@ -119,9 +118,6 @@ bool GrSoftwarePathRenderer::onDrawPath(const SkPath& path,
GrDrawState* drawState = target->drawState();
GrMatrix vm = drawState->getViewMatrix();
- if (NULL != translate) {
- vm.postTranslate(translate->fX, translate->fY);
- }
GrIRect devPathBounds, devClipBounds;
if (!get_path_and_clip_bounds(target, path, vm,