From 889579287770ba35156a73aa02d9ef5d2313c490 Mon Sep 17 00:00:00 2001 From: jvanverth Date: Tue, 14 Jul 2015 11:02:52 -0700 Subject: Rename backing texture testing routines Review URL: https://codereview.chromium.org/1230193006 --- gm/imagefromyuvtextures.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gm/imagefromyuvtextures.cpp') diff --git a/gm/imagefromyuvtextures.cpp b/gm/imagefromyuvtextures.cpp index dbed06fa21..8dbfffd831 100644 --- a/gm/imagefromyuvtextures.cpp +++ b/gm/imagefromyuvtextures.cpp @@ -102,9 +102,10 @@ protected: for (int i = 0; i < 3; ++i) { SkASSERT(fYUVBmps[i].width() == SkToInt(fYUVBmps[i].rowBytes())); - yuvIDs[i] = gpu->createBackendTexture(fYUVBmps[i].getPixels(), - fYUVBmps[i].width(), fYUVBmps[i].height(), - kAlpha_8_GrPixelConfig); + yuvIDs[i] = gpu->createTestingOnlyBackendTexture(fYUVBmps[i].getPixels(), + fYUVBmps[i].width(), + fYUVBmps[i].height(), + kAlpha_8_GrPixelConfig); } context->resetContext(); } @@ -117,7 +118,7 @@ protected: } for (int i = 0; i < 3; ++i) { - gpu->deleteBackendTexture(yuvIDs[i]); + gpu->deleteTestingOnlyBackendTexture(yuvIDs[i]); } context->resetContext(); -- cgit v1.2.3