plumb cubic params into gpu backend
Tiny diffs seen, but not sure how to avoid those and keep the code
path simple -- so just plan/hope to rebaseline as needed.
Change-Id: Id8ff7e85a6e70785592f76118a32def2d61599ec
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/314076
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
diff --git a/src/gpu/GrTextureMaker.cpp b/src/gpu/GrTextureMaker.cpp
index ec6cff9..c0cfb82 100644
--- a/src/gpu/GrTextureMaker.cpp
+++ b/src/gpu/GrTextureMaker.cpp
@@ -37,7 +37,8 @@
const SkRect* subset,
const SkRect* domain,
GrSamplerState::WrapMode wrapX,
- GrSamplerState::WrapMode wrapY) {
+ GrSamplerState::WrapMode wrapY,
+ SkImage::CubicResampler kernel) {
return this->createBicubicFragmentProcessorForView(
- this->view(GrMipmapped::kNo), textureMatrix, subset, domain, wrapX, wrapY);
+ this->view(GrMipmapped::kNo), textureMatrix, subset, domain, wrapX, wrapY, kernel);
}