Remove content area from GrTextureAdjuster.
Bug: skia:
Change-Id: I77854ee22303afe5787bf3094bca2db1a3dcf5ef
Reviewed-on: https://skia-review.googlesource.com/66149
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
diff --git a/src/gpu/GrTextureMaker.cpp b/src/gpu/GrTextureMaker.cpp
index e234180..b3a16f5 100644
--- a/src/gpu/GrTextureMaker.cpp
+++ b/src/gpu/GrTextureMaker.cpp
@@ -73,7 +73,7 @@
return nullptr;
}
- result = CopyOnGpu(fContext, std::move(result), nullptr, copyParams, willBeMipped);
+ result = CopyOnGpu(fContext, std::move(result), copyParams, willBeMipped);
if (!result) {
return nullptr;
@@ -133,8 +133,7 @@
SkRect domain;
DomainMode domainMode =
DetermineDomainMode(constraintRect, filterConstraint, coordsLimitedToConstraintRect,
- proxy.get(),
- nullptr, fmForDetermineDomain, &domain);
+ proxy.get(), fmForDetermineDomain, &domain);
SkASSERT(kTightCopy_DomainMode != domainMode);
GrPixelConfig config = proxy->config();
auto fp = CreateFragmentProcessorForDomainAndFilter(std::move(proxy), adjustedMatrix,
@@ -151,5 +150,5 @@
return nullptr;
}
- return CopyOnGpu(fContext, std::move(original), nullptr, copyParams, willBeMipped);
+ return CopyOnGpu(fContext, std::move(original), copyParams, willBeMipped);
}