Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(491)

Unified Diff: src/gpu/effects/GrMatrixConvolutionEffect.h

Issue 1225923010: Refugee from Dead Machine 4: MDB Monster Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Last update from dead machine Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/effects/GrDistanceFieldGeoProc.cpp ('k') | src/gpu/effects/GrMatrixConvolutionEffect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/effects/GrMatrixConvolutionEffect.h
diff --git a/src/gpu/effects/GrMatrixConvolutionEffect.h b/src/gpu/effects/GrMatrixConvolutionEffect.h
index 3f16edb0ec97549ced8f5d8cb091e5f4c2b87cc7..040e3396a704b5aea533ba88822fddb1146d544d 100644
--- a/src/gpu/effects/GrMatrixConvolutionEffect.h
+++ b/src/gpu/effects/GrMatrixConvolutionEffect.h
@@ -26,9 +26,9 @@ public:
SkScalar bias,
const SkIPoint& kernelOffset,
GrTextureDomain::Mode tileMode,
- bool convolveAlpha) {
- return new GrMatrixConvolutionEffect(texture, bounds, kernelSize, kernel, gain, bias,
- kernelOffset, tileMode, convolveAlpha);
+ bool convolveAlpha, GrRenderTarget* dst) {
+ return new GrMatrixConvolutionEffect(texture, bounds, kernelSize, kernel,
+ gain, bias, kernelOffset, tileMode, convolveAlpha, dst);
}
static GrFragmentProcessor* CreateGaussian(GrTexture* texture,
@@ -40,7 +40,7 @@ public:
GrTextureDomain::Mode tileMode,
bool convolveAlpha,
SkScalar sigmaX,
- SkScalar sigmaY);
+ SkScalar sigmaY, GrRenderTarget* dst);
virtual ~GrMatrixConvolutionEffect();
@@ -64,7 +64,7 @@ private:
SkScalar bias,
const SkIPoint& kernelOffset,
GrTextureDomain::Mode tileMode,
- bool convolveAlpha);
+ bool convolveAlpha, GrRenderTarget* dst);
GrGLFragmentProcessor* onCreateGLInstance() const override;
« no previous file with comments | « src/gpu/effects/GrDistanceFieldGeoProc.cpp ('k') | src/gpu/effects/GrMatrixConvolutionEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698