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

Unified Diff: src/gpu/effects/GrConvolutionEffect.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/GrConfigConversionEffect.cpp ('k') | src/gpu/effects/GrConvolutionEffect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/effects/GrConvolutionEffect.h
diff --git a/src/gpu/effects/GrConvolutionEffect.h b/src/gpu/effects/GrConvolutionEffect.h
index 9db173a8cae9086964e4773b1ac50e21f80f4aa4..4bf52b08ac0fa1ba099c8db619cfeb40f2cc31eb 100644
--- a/src/gpu/effects/GrConvolutionEffect.h
+++ b/src/gpu/effects/GrConvolutionEffect.h
@@ -26,8 +26,8 @@ public:
int halfWidth,
const float* kernel,
bool useBounds,
- float bounds[2]) {
- return new GrConvolutionEffect(tex, dir, halfWidth, kernel, useBounds, bounds);
+ float bounds[2], GrRenderTarget* dst) {
+ return new GrConvolutionEffect(tex, dir, halfWidth, kernel, useBounds, bounds, dst);
}
/// Convolve with a Gaussian kernel
@@ -36,8 +36,9 @@ public:
int halfWidth,
float gaussianSigma,
bool useBounds,
- float bounds[2]) {
- return new GrConvolutionEffect(tex, dir, halfWidth, gaussianSigma, useBounds, bounds);
+ float bounds[2], GrRenderTarget* dst) {
+ return new GrConvolutionEffect(tex, dir, halfWidth, gaussianSigma,
+ useBounds, bounds, dst);
}
virtual ~GrConvolutionEffect();
@@ -71,14 +72,14 @@ private:
int halfWidth,
const float* kernel,
bool useBounds,
- float bounds[2]);
+ float bounds[2], GrRenderTarget* dst);
/// Convolve with a Gaussian kernel
GrConvolutionEffect(GrTexture*, Direction,
int halfWidth,
float gaussianSigma,
bool useBounds,
- float bounds[2]);
+ float bounds[2], GrRenderTarget* dst);
GrGLFragmentProcessor* onCreateGLInstance() const override;
« no previous file with comments | « src/gpu/effects/GrConfigConversionEffect.cpp ('k') | src/gpu/effects/GrConvolutionEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698