Remove unused factories that take characterizations.
Change-Id: I871319ee663261c06f9f9270813ee2908e38fecb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/313576
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
diff --git a/tools/DDLTileHelper.cpp b/tools/DDLTileHelper.cpp
index 9e828f9..d426b5c 100644
--- a/tools/DDLTileHelper.cpp
+++ b/tools/DDLTileHelper.cpp
@@ -209,8 +209,10 @@
void DDLTileHelper::TileData::CreateBackendTexture(GrDirectContext* direct, TileData* tile) {
SkASSERT(tile->fCallbackContext && !tile->fCallbackContext->promiseImageTexture());
-
- GrBackendTexture beTex = direct->createBackendTexture(tile->fCharacterization);
+ const SkSurfaceCharacterization& c = tile->fCharacterization;
+ GrBackendTexture beTex = direct->createBackendTexture(c.width(), c.height(), c.colorType(),
+ GrMipMapped(c.isMipMapped()),
+ GrRenderable::kYes);
tile->fCallbackContext->setBackendTexture(beTex);
}