| Index: src/gpu/effects/GrTextureDomain.h
|
| diff --git a/src/gpu/effects/GrTextureDomain.h b/src/gpu/effects/GrTextureDomain.h
|
| index 874cdbc0801a43817644354d476e8b1f6a452222..431ab6297946b33d79ccb76d99c65d6817367a5f 100644
|
| --- a/src/gpu/effects/GrTextureDomain.h
|
| +++ b/src/gpu/effects/GrTextureDomain.h
|
| @@ -174,6 +174,15 @@ public:
|
|
|
| const char* name() const override { return "TextureDomain"; }
|
|
|
| + SkString dumpInfo() const override {
|
| + SkString str;
|
| + str.appendf("Domain: [L: %.2f, T: %.2f, R: %.2f, B: %.2f] ",
|
| + fTextureDomain.domain().fLeft, fTextureDomain.domain().fTop,
|
| + fTextureDomain.domain().fRight, fTextureDomain.domain().fBottom);
|
| + str.append(INHERITED::dumpInfo());
|
| + return str;
|
| + }
|
| +
|
| const GrTextureDomain& textureDomain() const { return fTextureDomain; }
|
|
|
| protected:
|
|
|