From 653f34da95f3717d048b1961760f09dc28138321 Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Thu, 14 Jun 2018 11:44:02 -0400 Subject: Remove GrPixelConfig argument to GrColorSpaceXform[Effect]::Make This was for sRGB configs, which are no longer treated special. Pulling this out of https://skia-review.googlesource.com/c/skia/+/132090 to land separately. Change-Id: Id04c4e82ad4ffe375cfd384490839b0488e54d44 Reviewed-on: https://skia-review.googlesource.com/134843 Reviewed-by: Mike Klein Commit-Queue: Brian Osman --- src/gpu/GrTextureMaker.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gpu/GrTextureMaker.cpp') diff --git a/src/gpu/GrTextureMaker.cpp b/src/gpu/GrTextureMaker.cpp index a8295129ef..47eeeaaeb6 100644 --- a/src/gpu/GrTextureMaker.cpp +++ b/src/gpu/GrTextureMaker.cpp @@ -154,10 +154,9 @@ std::unique_ptr GrTextureMaker::createFragmentProcessor( DetermineDomainMode(constraintRect, filterConstraint, coordsLimitedToConstraintRect, proxy.get(), fmForDetermineDomain, &domain); SkASSERT(kTightCopy_DomainMode != domainMode); - GrPixelConfig config = proxy->config(); auto fp = CreateFragmentProcessorForDomainAndFilter(std::move(proxy), adjustedMatrix, domainMode, domain, filterOrNullForBicubic); - return GrColorSpaceXformEffect::Make(std::move(fp), texColorSpace.get(), config, dstColorSpace); + return GrColorSpaceXformEffect::Make(std::move(fp), texColorSpace.get(), dstColorSpace); } sk_sp GrTextureMaker::generateTextureProxyForParams(const CopyParams& copyParams, -- cgit v1.2.3