| commit | beb1af78d016d2700c350487a383c6bcfa7e2e20 | [log] [tgz] |
|---|---|---|
| author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jul 26 18:52:16 2012 +0000 |
| committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jul 26 18:52:16 2012 +0000 |
| tree | 0e114092e2335fd699ba53687b8a79f0f932d9b2 | |
| parent | cc6493bbef7c9c2adf4b1ed8701e2ed015ae745d [diff] [blame] |
Altered Ganesh's clip stack plumbing to pass down new GrClipData class http://codereview.appspot.com/6454047/ git-svn-id: http://skia.googlecode.com/svn/trunk@4788 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp index b0e2431..988cfa7 100644 --- a/src/gpu/GrAAHairLinePathRenderer.cpp +++ b/src/gpu/GrAAHairLinePathRenderer.cpp
@@ -513,7 +513,9 @@ GrIRect clip; - target->getClip().getConservativeBounds().roundOut(&clip); + const GrClipData* clipData = target->getClip(); + GrRect conservativeBounds = clipData->fClipStack->getConservativeBounds(); + conservativeBounds.roundOut(&clip); GrVertexLayout layout = GrDrawTarget::kEdge_VertexLayoutBit; GrMatrix viewM = drawState.getViewMatrix();