aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops/GrMSAAPathRenderer.cpp
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-10-30 18:02:48 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-30 18:02:59 +0000
commitec3253472947b0df618261479336a7b50b24f0c8 (patch)
tree0d1dce628e874c17211b616a6258113643f0f00b /src/gpu/ops/GrMSAAPathRenderer.cpp
parent4c390b96f30a281acb1b072f447b83e879087926 (diff)
Revert "Revert "Fix GrDefaultPathRender inversely wound path bug""
This reverts commit fc28138c0422637741ac2839914ef10c56438054. Reason for revert: Suppression have landed for failing tests Original change's description: > Revert "Fix GrDefaultPathRender inversely wound path bug" > > This reverts commit 511a9d49998ec6a74c375e6cfc55f660f7987c40. > > Reason for revert: vulkan > > Original change's description: > > Fix GrDefaultPathRender inversely wound path bug > > > > Bug: 769898 > > Change-Id: I3b1a43b1e114b35105493a0cfa01a1f01b65fa56 > > Reviewed-on: https://skia-review.googlesource.com/64065 > > Commit-Queue: Robert Phillips <robertphillips@google.com> > > Reviewed-by: Brian Salomon <bsalomon@google.com> > > TBR=bsalomon@google.com,robertphillips@google.com > > Change-Id: Ib1a987294d14f0526bf5ff5a8fd90bbd5f6f3a0d > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: 769898 > Reviewed-on: https://skia-review.googlesource.com/65201 > Reviewed-by: Robert Phillips <robertphillips@google.com> > Commit-Queue: Robert Phillips <robertphillips@google.com> TBR=bsalomon@google.com,robertphillips@google.com Change-Id: I3a3543c46b3192f1ffd31a5566cf337dc03561a8 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 769898 Reviewed-on: https://skia-review.googlesource.com/65202 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/ops/GrMSAAPathRenderer.cpp')
-rw-r--r--src/gpu/ops/GrMSAAPathRenderer.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gpu/ops/GrMSAAPathRenderer.cpp b/src/gpu/ops/GrMSAAPathRenderer.cpp
index 27d78a782c..50741bc537 100644
--- a/src/gpu/ops/GrMSAAPathRenderer.cpp
+++ b/src/gpu/ops/GrMSAAPathRenderer.cpp
@@ -637,8 +637,10 @@ bool GrMSAAPathRenderer::internalDrawPath(GrRenderTargetContext* renderTargetCon
}
SkRect devBounds;
- GetPathDevBounds(path, renderTargetContext->width(), renderTargetContext->height(), viewMatrix,
- &devBounds);
+ GetPathDevBounds(path,
+ renderTargetContext->asRenderTargetProxy()->worstCaseWidth(),
+ renderTargetContext->asRenderTargetProxy()->worstCaseHeight(),
+ viewMatrix, &devBounds);
SkASSERT(passes[0]);
{ // First pass