diff options
author | 2015-03-13 11:47:42 -0700 | |
---|---|---|
committer | 2015-03-13 11:47:42 -0700 | |
commit | 5bf99f1ca8f30287803b594d06c60a7b6796ad45 (patch) | |
tree | 84fc1202da6ce911d29e4ca8f618136e690b38b5 /src/gpu/GrBatch.h | |
parent | 2a679ae8f5b80a337f67783dbc0a447a9f4312c7 (diff) |
Creation of GrBatchAtlas and Distancefieldpathrenderer batch
BUG=skia:
Review URL: https://codereview.chromium.org/975303005
Diffstat (limited to 'src/gpu/GrBatch.h')
-rw-r--r-- | src/gpu/GrBatch.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/GrBatch.h b/src/gpu/GrBatch.h index 48327c61c2..7d621e046a 100644 --- a/src/gpu/GrBatch.h +++ b/src/gpu/GrBatch.h @@ -10,6 +10,7 @@ #include <new> // TODO remove this header when we move entirely to batch +#include "GrDrawTarget.h" #include "GrGeometryProcessor.h" #include "SkRefCnt.h" #include "SkThread.h" @@ -42,7 +43,7 @@ struct GrInitInvariantOutput; class GrBatch : public SkRefCnt { public: SK_DECLARE_INST_COUNT(GrBatch) - GrBatch() : fNumberOfDraws(0) { SkDEBUGCODE(fUsed = false;) } + GrBatch() : fClassID(kIllegalBatchClassID), fNumberOfDraws(0) { SkDEBUGCODE(fUsed = false;) } virtual ~GrBatch() {} virtual const char* name() const = 0; |