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

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

Issue 2215323003: Start using RenderTargetProxy (omnibus) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update Created 4 years, 1 month 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/GrSimpleTextureEffect.h ('k') | src/gpu/effects/GrTextureDomain.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/effects/GrSingleTextureEffect.h
diff --git a/src/gpu/effects/GrSingleTextureEffect.h b/src/gpu/effects/GrSingleTextureEffect.h
index 7d110bf2ae3dfde036976d47c58117e509421ffa..fd32175e6cd266164e2ffdf4da9625d52f3a109f 100644
--- a/src/gpu/effects/GrSingleTextureEffect.h
+++ b/src/gpu/effects/GrSingleTextureEffect.h
@@ -15,6 +15,7 @@
#include "SkMatrix.h"
class GrTexture;
+class GrTextureProxy;
/**
* A base class for effects that draw a single texture with a texture matrix. This effect has no
@@ -43,6 +44,16 @@ protected:
const SkMatrix&,
const GrTextureParams&);
+ /** unfiltered, clamp mode */
+ GrSingleTextureEffect(GrTextureProxy*, sk_sp<GrColorSpaceXform>, const SkMatrix&);
+ /** clamp mode */
+ GrSingleTextureEffect(GrTextureProxy*, sk_sp<GrColorSpaceXform>, const SkMatrix&,
+ GrTextureParams::FilterMode filterMode);
+ GrSingleTextureEffect(GrTextureProxy*,
+ sk_sp<GrColorSpaceXform>,
+ const SkMatrix&,
+ const GrTextureParams&);
+
/**
* Can be used as a helper to implement subclass onComputeInvariantOutput(). It assumes that
* the subclass output color will be a modulation of the input color with a value read from the
« no previous file with comments | « src/gpu/effects/GrSimpleTextureEffect.h ('k') | src/gpu/effects/GrTextureDomain.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698