Index: tools/PictureRenderingFlags.cpp |
diff --git a/tools/PictureRenderingFlags.cpp b/tools/PictureRenderingFlags.cpp |
index ac72cad4c2fa68523219f010edb02a10617a3f8f..d78229accefb6f31d7d93f1b433ae68dd830e37f 100644 |
--- a/tools/PictureRenderingFlags.cpp |
+++ b/tools/PictureRenderingFlags.cpp |
@@ -28,7 +28,7 @@ |
#if SK_SUPPORT_GPU |
static const char kGpuAPINameGL[] = "gl"; |
static const char kGpuAPINameGLES[] = "gles"; |
-#define GPU_CONFIG_STRING "|gpu|msaa4|msaa16|nvprmsaa4|nvprmsaa16|gpudft" |
+#define GPU_CONFIG_STRING "|gpu|msaa4|msaa16|nvprmsaa4|nvprmsaa16" |
#else |
#define GPU_CONFIG_STRING "" |
#endif |
@@ -286,7 +286,6 @@ |
} |
int sampleCount = 0; |
- bool useDFText = false; |
#endif |
if (FLAGS_config.count() > 0) { |
if (0 == strcmp(FLAGS_config[0], "8888")) { |
@@ -312,10 +311,6 @@ |
deviceType = sk_tools::PictureRenderer::kNVPR_DeviceType; |
sampleCount = 16; |
} |
- else if (0 == strcmp(FLAGS_config[0], "gpudft")) { |
- deviceType = sk_tools::PictureRenderer::kGPU_DeviceType; |
- useDFText = true; |
- } |
#if SK_ANGLE |
else if (0 == strcmp(FLAGS_config[0], "angle")) { |
deviceType = sk_tools::PictureRenderer::kAngle_DeviceType; |
@@ -341,7 +336,6 @@ |
} |
#if SK_SUPPORT_GPU |
renderer->setSampleCount(sampleCount); |
- renderer->setUseDFText(useDFText); |
#endif |
} |