diff options
author | 2012-05-09 21:15:28 +0000 | |
---|---|---|
committer | 2012-05-09 21:15:28 +0000 | |
commit | beeb97c94da3b2a4b3acfae7817f8d2fea70c8e8 (patch) | |
tree | deb59c601629f1b31465e02cbbd15addf63b115f /src/gpu/GrSoftwarePathRenderer.cpp | |
parent | 683001ce0de70c859ea5e5353245b18cadbefc45 (diff) |
Added stack to AA clip mask cache
http://codereview.appspot.com/6201058/
git-svn-id: http://skia.googlecode.com/svn/trunk@3885 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrSoftwarePathRenderer.cpp')
-rw-r--r-- | src/gpu/GrSoftwarePathRenderer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp index cbec9653de..22e4a2641a 100644 --- a/src/gpu/GrSoftwarePathRenderer.cpp +++ b/src/gpu/GrSoftwarePathRenderer.cpp @@ -232,6 +232,7 @@ bool GrSoftwarePathRenderer::onDrawPath(const SkPath& path, // rendering (kGlyphMaskStage in GrBatchedTextContext) kPathMaskStage = GrPaint::kTotalStages, }; + GrAssert(NULL == target->drawState()->getTexture(kPathMaskStage)); target->drawState()->setTexture(kPathMaskStage, texture); target->drawState()->sampler(kPathMaskStage)->reset(); GrScalar w = GrIntToScalar(pathBounds.width()); |