One createTexture function, attempt to recycle scratch in createTexture.
Review URL: https://codereview.chromium.org/864383003
diff --git a/tests/ClipCacheTest.cpp b/tests/ClipCacheTest.cpp
index 1df1053..1e195cc 100644
--- a/tests/ClipCacheTest.cpp
+++ b/tests/ClipCacheTest.cpp
@@ -31,7 +31,7 @@
desc.fHeight = Y_SIZE;
// We are initializing the texture with zeros here
- GrTexture* texture = context->createUncachedTexture(desc, textureData, 0);
+ GrTexture* texture = context->createTexture(desc, false, textureData, 0);
if (!texture) {
return NULL;
}
@@ -52,7 +52,7 @@
desc.fWidth = kXSize;
desc.fHeight = kYSize;
- GrTexture* texture = context->createUncachedTexture(desc, NULL, 0);
+ GrTexture* texture = context->createTexture(desc, false, NULL, 0);
if (!texture) {
return;
}