Rename createTestingOnlyBackendTexture to createBackendTexture
and other cruft from https://skia-review.googlesource.com/c/skia/+/214445 (Expand backend allocation API to allow an initialization color)
Change-Id: I33f53fde2bda6ed44e2eaf0772c629288adc00a7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/215120
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
index ca3a9d5..d6bc93c 100644
--- a/src/gpu/GrContext.cpp
+++ b/src/gpu/GrContext.cpp
@@ -367,9 +367,9 @@
return GrBackendTexture();
}
- return fGpu->createTestingOnlyBackendTexture(width, height, backendFormat,
- mipMapped, renderable,
- nullptr, 0);
+ return fGpu->createBackendTexture(width, height, backendFormat,
+ mipMapped, renderable,
+ nullptr, 0);
}
GrBackendTexture GrContext::createBackendTexture(int width, int height,
@@ -397,6 +397,6 @@
return;
}
- fGpu->deleteTestingOnlyBackendTexture(backendTex);
+ fGpu->deleteBackendTexture(backendTex);
}