One createTexture function, attempt to recycle scratch in createTexture.
Review URL: https://codereview.chromium.org/864383003
diff --git a/gm/texdata.cpp b/gm/texdata.cpp
index 4644758..a1b1e6e 100644
--- a/gm/texdata.cpp
+++ b/gm/texdata.cpp
@@ -84,8 +84,7 @@
desc.fConfig = kSkia8888_GrPixelConfig;
desc.fWidth = 2 * S;
desc.fHeight = 2 * S;
- GrTexture* texture =
- ctx->createUncachedTexture(desc, gTextureData.get(), 0);
+ GrTexture* texture = ctx->createTexture(desc, false, gTextureData.get(), 0);
if (!texture) {
return;