Index: src/gpu/GrAddPathRenderers_default.cpp |
diff --git a/src/gpu/GrAddPathRenderers_default.cpp b/src/gpu/GrAddPathRenderers_default.cpp |
index f06856a6502100a14c5dbb8ccb50658efd70a126..d5b49336bd3c6339cd83f8fb1aa42cdcb5c14bb3 100644 |
--- a/src/gpu/GrAddPathRenderers_default.cpp |
+++ b/src/gpu/GrAddPathRenderers_default.cpp |
@@ -10,6 +10,7 @@ |
#include "GrStencilAndCoverPathRenderer.h" |
#include "GrAAHairLinePathRenderer.h" |
#include "GrAAConvexPathRenderer.h" |
+#include "GrAAFlatteningConvexPathRenderer.h" |
#include "GrAADistanceFieldPathRenderer.h" |
#include "GrContext.h" |
#include "GrDashLinePathRenderer.h" |
@@ -45,6 +46,7 @@ void GrPathRenderer::AddPathRenderers(GrContext* ctx, GrPathRendererChain* chain |
if (GrPathRenderer* pr = GrAAHairLinePathRenderer::Create()) { |
chain->addPathRenderer(pr)->unref(); |
} |
- chain->addPathRenderer(SkNEW(GrAAConvexPathRenderer))->unref(); |
+ chain->addPathRenderer(SkNEW(GrAAFlatteningConvexPathRenderer))->unref(); |
robertphillips
2015/05/27 18:10:54
What's up with this? Are we ready to switch?
|
+// chain->addPathRenderer(SkNEW(GrAAConvexPathRenderer))->unref(); |
chain->addPathRenderer(SkNEW_ARGS(GrAADistanceFieldPathRenderer, (ctx)))->unref(); |
} |