Index: src/gpu/effects/GrSingleTextureEffect.h |
diff --git a/src/gpu/effects/GrSingleTextureEffect.h b/src/gpu/effects/GrSingleTextureEffect.h |
index 9df0cffa5a8dcc73e72574b82a26de2c2f2062c0..4169e404691cebd41de42cfed5e782a765e85746 100644 |
--- a/src/gpu/effects/GrSingleTextureEffect.h |
+++ b/src/gpu/effects/GrSingleTextureEffect.h |
@@ -21,7 +21,13 @@ class GrTexture; |
*/ |
class GrSingleTextureEffect : public GrFragmentProcessor { |
public: |
- virtual ~GrSingleTextureEffect(); |
+ ~GrSingleTextureEffect() override; |
+ |
+ SkString dumpInfo() const override { |
+ SkString str; |
+ str.appendf("Texture: %d", fTextureAccess.getTexture()->getUniqueID()); |
+ return str; |
+ } |
protected: |
/** unfiltered, clamp mode */ |