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

Unified Diff: src/gpu/effects/GrSimpleTextureEffect.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/GrPorterDuffXferProcessor.cpp ('k') | src/gpu/effects/GrSimpleTextureEffect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/effects/GrSimpleTextureEffect.h
diff --git a/src/gpu/effects/GrSimpleTextureEffect.h b/src/gpu/effects/GrSimpleTextureEffect.h
index 4e5b421f3e6ecf3b30498ce42773e50b7b9a244d..b2cc8e9acf66632b35f99b7c1dc92359d94e5dc4 100644
--- a/src/gpu/effects/GrSimpleTextureEffect.h
+++ b/src/gpu/effects/GrSimpleTextureEffect.h
@@ -23,23 +23,27 @@ public:
/* unfiltered, clamp mode */
static const GrFragmentProcessor* Create(GrTexture* tex,
const SkMatrix& matrix,
- GrCoordSet coordSet = kLocal_GrCoordSet) {
- return new GrSimpleTextureEffect(tex, matrix, GrTextureParams::kNone_FilterMode, coordSet);
+ GrCoordSet coordSet, //= kLocal_GrCoordSet) {
+ GrRenderTarget* dst) {
+ return new GrSimpleTextureEffect(tex, matrix,
+ GrTextureParams::kNone_FilterMode, coordSet, dst);
}
/* clamp mode */
static GrFragmentProcessor* Create(GrTexture* tex,
const SkMatrix& matrix,
GrTextureParams::FilterMode filterMode,
- GrCoordSet coordSet = kLocal_GrCoordSet) {
- return new GrSimpleTextureEffect(tex, matrix, filterMode, coordSet);
+ GrCoordSet coordSet, // = kLocal_GrCoordSet) {
+ GrRenderTarget* dst) {
+ return new GrSimpleTextureEffect(tex, matrix, filterMode, coordSet, dst);
}
static GrFragmentProcessor* Create(GrTexture* tex,
const SkMatrix& matrix,
const GrTextureParams& p,
- GrCoordSet coordSet = kLocal_GrCoordSet) {
- return new GrSimpleTextureEffect(tex, matrix, p, coordSet);
+ GrCoordSet coordSet, // = kLocal_GrCoordSet) {
+ GrRenderTarget* dst) {
+ return new GrSimpleTextureEffect(tex, matrix, p, coordSet, dst);
}
virtual ~GrSimpleTextureEffect() {}
@@ -50,16 +54,17 @@ private:
GrSimpleTextureEffect(GrTexture* texture,
const SkMatrix& matrix,
GrTextureParams::FilterMode filterMode,
- GrCoordSet coordSet)
- : GrSingleTextureEffect(texture, matrix, filterMode, coordSet) {
+ GrCoordSet coordSet, GrRenderTarget* dst)
+ : GrSingleTextureEffect(texture, matrix, filterMode, coordSet, dst) {
this->initClassID<GrSimpleTextureEffect>();
}
GrSimpleTextureEffect(GrTexture* texture,
const SkMatrix& matrix,
const GrTextureParams& params,
- GrCoordSet coordSet)
- : GrSingleTextureEffect(texture, matrix, params, coordSet) {
+ GrCoordSet coordSet,
+ GrRenderTarget* dst)
+ : GrSingleTextureEffect(texture, matrix, params, coordSet, dst) {
this->initClassID<GrSimpleTextureEffect>();
}
« no previous file with comments | « src/gpu/effects/GrPorterDuffXferProcessor.cpp ('k') | src/gpu/effects/GrSimpleTextureEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698