Chromium Code Reviews| Index: src/gpu/GrSoftwarePathRenderer.cpp |
| diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp |
| index d0936d6b28a37427b31d0b66cda1dc7138dfccdd..bca2c66b37f82614f44660b21fed9d72cb97f00d 100644 |
| --- a/src/gpu/GrSoftwarePathRenderer.cpp |
| +++ b/src/gpu/GrSoftwarePathRenderer.cpp |
| @@ -15,13 +15,7 @@ bool GrSoftwarePathRenderer::canDrawPath(const SkPath&, |
| const SkStrokeRec&, |
| const GrDrawTarget*, |
| bool antiAlias) const { |
| - if (!antiAlias || NULL == fContext) { |
|
robertphillips
2014/07/24 17:18:59
Note that SW path rendering now only ever appears
|
| - // TODO: We could allow the SW path to also handle non-AA paths but |
| - // this would mean that GrDefaultPathRenderer would never be called |
| - // (since it appears after the SW renderer in the path renderer |
| - // chain). Some testing would need to be done r.e. performance |
| - // and consistency of the resulting images before removing |
| - // the "!antiAlias" clause from the above test |
| + if (NULL == fContext) { |
| return false; |
| } |