aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrSoftwarePathRenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrSoftwarePathRenderer.cpp')
-rw-r--r--src/gpu/GrSoftwarePathRenderer.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp
index d0936d6b28..bca2c66b37 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) {
- // 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;
}