Index: gm/gmmain.cpp |
=================================================================== |
--- gm/gmmain.cpp (revision 8005) |
+++ gm/gmmain.cpp (working copy) |
@@ -1178,7 +1178,9 @@ |
bool doRTree = true; |
bool doTileGrid = true; |
bool doVerbose = false; |
+#if SK_SUPPORT_GPU |
bool disableTextureCache = false; |
+#endif |
SkTDArray<size_t> configs; |
SkTDArray<size_t> excludeConfigs; |
SkTDArray<SkScalar> tileGridReplayScales; |
@@ -1315,7 +1317,9 @@ |
} else if (strcmp(*argv, "--noserialize") == 0) { |
doSerialize = false; |
} else if (strcmp(*argv, "--notexturecache") == 0) { |
+#if SK_SUPPORT_GPU |
disableTextureCache = true; |
+#endif |
} else if (strcmp(*argv, "--tiledPipe") == 0) { |
doTiledPipe = true; |
} else if (!strcmp(*argv, "--verbose") || !strcmp(*argv, "-v")) { |