Rename GrAADistanceFieldPathRenderer to GrSmallPathRenderer
Also disables use of small distance fields in Android framework.
Change-Id: I1ba40ce85aa34d067608587e1fbe1d42e8a42868
Reviewed-on: https://skia-review.googlesource.com/9731
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Chris Dalton <csmartdalton@google.com>
diff --git a/tests/DFPathRendererTest.cpp b/tests/DFPathRendererTest.cpp
index 96ccbd7..653db82 100644
--- a/tests/DFPathRendererTest.cpp
+++ b/tests/DFPathRendererTest.cpp
@@ -11,7 +11,7 @@
#if SK_SUPPORT_GPU
#include "GrContext.h"
-#include "ops/GrAADistanceFieldPathRenderer.h"
+#include "ops/GrSmallPathRenderer.h"
#if 0
// This test case including path coords and matrix taken from crbug.com/627443.
@@ -58,7 +58,7 @@
pr->drawPath(args);
}
-DEF_GPUTEST_FOR_ALL_GL_CONTEXTS(AADistanceFieldPathRenderer, reporter, ctxInfo) {
+DEF_GPUTEST_FOR_ALL_GL_CONTEXTS(SmallPathRenderer, reporter, ctxInfo) {
GrContext* ctx = ctxInfo.grContext();
// The DF PR only works with contexts that support derivatives
if (!ctx->caps()->shaderCaps()->shaderDerivativeSupport()) {
@@ -74,10 +74,10 @@
return;
}
- GrAADistanceFieldPathRenderer dfpr;
+ GrSmallPathRenderer spr;
ctx->flush();
- test_far_from_origin(ctx, rtc.get(), &dfpr);
+ test_far_from_origin(ctx, rtc.get(), &spr);
ctx->flush();
}
#endif