From e88cf6b7aa5deaeaa9dab18ada7d9d11e1e4be12 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Tue, 7 Feb 2017 11:59:16 -0500 Subject: Remove asTextureRef from SkSpecialImage & update effects accordingly This CL also renames SkSpecialImage::asTextureProxy to asTextureProxyRef Change-Id: I5ed8e475bb9688453b825ae4500ed0e8d324b5ac Reviewed-on: https://skia-review.googlesource.com/7995 Reviewed-by: Brian Salomon Commit-Queue: Robert Phillips --- tests/SpecialImageTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/SpecialImageTest.cpp') diff --git a/tests/SpecialImageTest.cpp b/tests/SpecialImageTest.cpp index 94683a0cdf..c80163863b 100644 --- a/tests/SpecialImageTest.cpp +++ b/tests/SpecialImageTest.cpp @@ -65,10 +65,10 @@ static void test_image(const sk_sp& img, skiatest::Reporter* rep #if SK_SUPPORT_GPU //-------------- - // Test getTextureAsRef - as long as there is a context this should succeed + // Test asTextureProxyRef - as long as there is a context this should succeed if (context) { - sk_sp texture(img->asTextureRef(context)); - REPORTER_ASSERT(reporter, texture); + sk_sp proxy(img->asTextureProxyRef(context)); + REPORTER_ASSERT(reporter, proxy); } #endif -- cgit v1.2.3