diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-06-27 18:02:57 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-06-27 18:02:57 +0000 |
commit | c0c1daa7f60a88890a37bf31e5ce8ffa7d2d09a8 (patch) | |
tree | b5a6d8d87822d9ca55dec44403e065710e41b829 /src/gpu | |
parent | 488379e5ac780e8f0a3724b5fcb6e636eefc0303 (diff) |
Enable Scratch texture detach in SW path renderer's onDrawPath (again)
http://codereview.appspot.com/6331057/
git-svn-id: http://skia.googlecode.com/svn/trunk@4365 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/GrSoftwarePathRenderer.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp index d2f73f2b70..5e4f6f1735 100644 --- a/src/gpu/GrSoftwarePathRenderer.cpp +++ b/src/gpu/GrSoftwarePathRenderer.cpp @@ -336,11 +336,7 @@ bool GrSoftwarePathRenderer::onDrawPath(const SkPath& path, if (sw_draw_path_to_mask_texture(path, pathBounds, fill, fContext, translate, &ast, antiAlias)) { -#if 1 - GrTexture* texture = ast.texture(); -#else SkAutoTUnref<GrTexture> texture(ast.detach()); -#endif GrAssert(NULL != texture); GrDrawTarget::AutoDeviceCoordDraw adcd(target, stageMask); enum { |