aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrBatch.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-03-13 11:47:42 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-13 11:47:42 -0700
commit5bf99f1ca8f30287803b594d06c60a7b6796ad45 (patch)
tree84fc1202da6ce911d29e4ca8f618136e690b38b5 /src/gpu/GrBatch.h
parent2a679ae8f5b80a337f67783dbc0a447a9f4312c7 (diff)
Creation of GrBatchAtlas and Distancefieldpathrenderer batch
Diffstat (limited to 'src/gpu/GrBatch.h')
-rw-r--r--src/gpu/GrBatch.h3
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;