diff options
author | 2012-06-25 14:37:11 +0000 | |
---|---|---|
committer | 2012-06-25 14:37:11 +0000 | |
commit | 042cb4769fb32ce9e6cb5553382845079d1ca1aa (patch) | |
tree | a6292500e6ff279823a41a3cfe0c5c6af412aa34 /src/gpu/GrSoftwarePathRenderer.cpp | |
parent | 34342f6f5127122ecc32166dcffa7f3d2a45c387 (diff) |
Enable Scratch texture detach in SW path renderer's onDrawPath
http://codereview.appspot.com/6331057/
git-svn-id: http://skia.googlecode.com/svn/trunk@4319 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrSoftwarePathRenderer.cpp')
-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 bfad6dfb69..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 { |