commit | 86c1f71625970610e768d3bf26c933db2cd685ba | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Oct 12 14:54:26 2011 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Oct 12 14:54:26 2011 +0000 |
tree | caba35de5e5086b3f7e93623d4650cba0330a7db | |
parent | d9f2dea5328c9ab455852f2e4928cca7c71c6b05 [diff] [blame] |
Gpu blend optimizations, handle more xfer modes with fractional pixel coverage Review URL: http://codereview.appspot.com/5237062/ git-svn-id: http://skia.googlecode.com/svn/trunk@2464 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/src/GrDefaultPathRenderer.cpp b/gpu/src/GrDefaultPathRenderer.cpp index fd56c07..14c032b 100644 --- a/gpu/src/GrDefaultPathRenderer.cpp +++ b/gpu/src/GrDefaultPathRenderer.cpp
@@ -179,7 +179,7 @@ return hint == kConvex_ConvexHint || hint == kNonOverlappingConvexPieces_ConvexHint || (hint == kSameWindingConvexPieces_ConvexHint && - target.canDisableBlend() && !target.isDitherState()); + !target.drawWillReadDst() && !target.isDitherState()); } return false;