| Index: include/gpu/GrProcessor.h
|
| diff --git a/include/gpu/GrProcessor.h b/include/gpu/GrProcessor.h
|
| index 7c24f549f0caf6ecf0109774c28b84fc232b8db5..9b5db5e033912e36be0070babb40468b23563a89 100644
|
| --- a/include/gpu/GrProcessor.h
|
| +++ b/include/gpu/GrProcessor.h
|
| @@ -13,6 +13,7 @@
|
| #include "GrProgramElement.h"
|
| #include "GrTextureAccess.h"
|
| #include "SkMath.h"
|
| +#include "SkString.h"
|
|
|
| class GrContext;
|
| class GrCoordTransform;
|
| @@ -62,6 +63,13 @@ public:
|
| in generated shader code. */
|
| virtual const char* name() const = 0;
|
|
|
| + // Human-readable dump of all information
|
| + virtual SkString dumpInfo() const {
|
| + SkString str;
|
| + str.appendf("Missing data");
|
| + return str;
|
| + }
|
| +
|
| int numTextures() const { return fTextureAccesses.count(); }
|
|
|
| /** Returns the access pattern for the texture at index. index must be valid according to
|
|
|