Chromium Code Reviews| Index: src/gpu/GrBatch.h |
| diff --git a/src/gpu/GrBatch.h b/src/gpu/GrBatch.h |
| index 51c556e737a0b6a9a15f23f2db233b86a19e2138..c0a6ab4594aec39690803f4c134d623b7c9eca5f 100644 |
| --- a/src/gpu/GrBatch.h |
| +++ b/src/gpu/GrBatch.h |
| @@ -36,6 +36,12 @@ struct GrInitInvariantOutput; |
| * the draw, ie whether or not the GrBatch is allowed to tweak alpha for coverage, then this |
| * information will be communicated to the GrBatch prior to geometry generation. |
| */ |
| +#define BATCH_SPEW |
|
bsalomon
2015/08/06 17:54:12
Since it's in a header, maybe GR_BATCH_SPEW?
Also
|
| +#ifdef BATCH_SPEW |
| + #define GrBATCH_INFO(...) SkDebugf(__VA_ARGS__) |
| +#else |
| + #define GrBATCH_INFO(...) |
| +#endif |
| class GrBatch : public GrNonAtomicRef { |
| public: |