Index: src/gpu/GrTargetCommands.h |
diff --git a/src/gpu/GrTargetCommands.h b/src/gpu/GrTargetCommands.h |
index 4b3dd574e3a537c05b0aaaee4ef33caf5100000e..696fcec5bb2185ea2ddb510962032601a3569df7 100644 |
--- a/src/gpu/GrTargetCommands.h |
+++ b/src/gpu/GrTargetCommands.h |
@@ -19,6 +19,15 @@ |
#include "SkRect.h" |
#include "SkTypes.h" |
+// This is just to get a flag |
+// TODO remove this when batch is everywhere |
+#include "GrTextContext.h" |
+#ifdef USE_BITMAP_TEXTBLOBS |
+#define CLOSE_BATCH |
+#else |
+#define CLOSE_BATCH this->closeBatch(); |
+#endif |
+ |
class GrInOrderDrawBuffer; |
class GrVertexBufferAllocPool; |
class GrIndexBufferAllocPool; |