Index: src/gpu/GrAddPathRenderers_default.cpp |
diff --git a/src/gpu/GrAddPathRenderers_default.cpp b/src/gpu/GrAddPathRenderers_default.cpp |
index 4f172434dec2eebbe1f3ab4fd019a74bc9a49b64..1b5f0854b72a8ba292a2c87c4450223113cc08a0 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 "GrAADistanceFieldPathRenderer.h" |
#if GR_STROKE_PATH_RENDERING |
#include "../../experimental/StrokePathRenderer/GrStrokePathRenderer.h" |
#endif |
@@ -31,4 +32,7 @@ void GrPathRenderer::AddPathRenderers(GrContext* ctx, GrPathRendererChain* chain |
chain->addPathRenderer(pr)->unref(); |
} |
chain->addPathRenderer(SkNEW(GrAAConvexPathRenderer))->unref(); |
+#ifndef SK_LEGACY_NO_DISTANCE_FIELD_PATHS |
+ chain->addPathRenderer(SkNEW_ARGS(GrAADistanceFieldPathRenderer, (ctx)))->unref(); |
+#endif |
} |