aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrProcessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrProcessor.h')
-rw-r--r--include/gpu/GrProcessor.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/gpu/GrProcessor.h b/include/gpu/GrProcessor.h
index f933c9a9f7..a8e31f2c86 100644
--- a/include/gpu/GrProcessor.h
+++ b/include/gpu/GrProcessor.h
@@ -22,6 +22,8 @@
class GrContext;
class GrCoordTransform;
class GrInvariantOutput;
+class GrTextureProvider;
+class GrTextureProxy;
/**
* Used by processors to build their keys. It incorporates each per-processor key into a larger
@@ -209,6 +211,12 @@ public:
SkShader::TileMode tileXAndY = SkShader::kClamp_TileMode,
GrShaderFlags visibility = kFragment_GrShaderFlag);
+ // MDB TODO: ultimately we shouldn't need the texProvider parameter
+ explicit TextureSampler(GrTextureProvider*, sk_sp<GrTextureProxy>,
+ GrSamplerParams::FilterMode = GrSamplerParams::kNone_FilterMode,
+ SkShader::TileMode tileXAndY = SkShader::kClamp_TileMode,
+ GrShaderFlags visibility = kFragment_GrShaderFlag);
+
void reset(GrTexture*, const GrSamplerParams&,
GrShaderFlags visibility = kFragment_GrShaderFlag);
void reset(GrTexture*,