From c87cfb674bcaf27062dd11f88f1337af70173a11 Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Wed, 11 Jul 2018 09:08:46 -0400 Subject: Remove old lazy image decoding heuristic logic This led to removing a lot of transfer function behavior code. There is more that could be done, and we need to add in decoding to dst color space, but this CL is almost entirely mechanical. Change-Id: I91b2169f95aadcfaacdd2b9821bb1a01ce53f9a6 Reviewed-on: https://skia-review.googlesource.com/140349 Reviewed-by: Mike Klein Commit-Queue: Brian Osman --- tests/GrMipMappedTest.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/GrMipMappedTest.cpp b/tests/GrMipMappedTest.cpp index e7c98633d7..3c47598e38 100644 --- a/tests/GrMipMappedTest.cpp +++ b/tests/GrMipMappedTest.cpp @@ -149,14 +149,10 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(GrBackendTextureImageMipMappedTest, reporter, } SkIPoint origin = SkIPoint::Make(0,0); - // The transfer function behavior isn't used in the generator so set we set it - // arbitrarily here. - SkTransferFunctionBehavior behavior = SkTransferFunctionBehavior::kIgnore; SkImageInfo imageInfo = SkImageInfo::Make(kSize, kSize, kRGBA_8888_SkColorType, kPremul_SkAlphaType); sk_sp genProxy = imageGen->generateTexture(context, imageInfo, - origin, behavior, - willUseMips); + origin, willUseMips); REPORTER_ASSERT(reporter, genProxy); if (!genProxy) { -- cgit v1.2.3