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

Unified Diff: src/gpu/effects/GrConvolutionEffect.cpp

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/GrConvolutionEffect.h ('k') | src/gpu/effects/GrCoverageSetOpXP.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/effects/GrConvolutionEffect.cpp
diff --git a/src/gpu/effects/GrConvolutionEffect.cpp b/src/gpu/effects/GrConvolutionEffect.cpp
index 5367b279021b0d0bd74770e61c4bf1aff97a02ee..acafd184dfdcdaa68a704bafdd727adf73d18827 100644
--- a/src/gpu/effects/GrConvolutionEffect.cpp
+++ b/src/gpu/effects/GrConvolutionEffect.cpp
@@ -152,8 +152,8 @@ GrConvolutionEffect::GrConvolutionEffect(GrTexture* texture,
int radius,
const float* kernel,
bool useBounds,
- float bounds[2])
- : INHERITED(texture, direction, radius), fUseBounds(useBounds) {
+ float bounds[2], GrRenderTarget* dst)
+ : INHERITED(texture, direction, radius, dst), fUseBounds(useBounds) {
this->initClassID<GrConvolutionEffect>();
SkASSERT(radius <= kMaxKernelRadius);
SkASSERT(kernel);
@@ -169,8 +169,8 @@ GrConvolutionEffect::GrConvolutionEffect(GrTexture* texture,
int radius,
float gaussianSigma,
bool useBounds,
- float bounds[2])
- : INHERITED(texture, direction, radius), fUseBounds(useBounds) {
+ float bounds[2], GrRenderTarget* dst)
+ : INHERITED(texture, direction, radius, dst), fUseBounds(useBounds) {
this->initClassID<GrConvolutionEffect>();
SkASSERT(radius <= kMaxKernelRadius);
int width = this->width();
@@ -237,5 +237,5 @@ const GrFragmentProcessor* GrConvolutionEffect::TestCreate(GrProcessorTestData*
radius,
kernel,
useBounds,
- bounds);
+ bounds, NULL);
}
« no previous file with comments | « src/gpu/effects/GrConvolutionEffect.h ('k') | src/gpu/effects/GrCoverageSetOpXP.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698