Index: src/gpu/batches/GrAtlasTextBatch.h |
diff --git a/src/gpu/batches/GrAtlasTextBatch.h b/src/gpu/batches/GrAtlasTextBatch.h |
index 82d3115ba834b17398ac02b2a4eb6b02655ebe4c..e883fa1d9fff27dd93f1f332d9ba4233f74c9968 100644 |
--- a/src/gpu/batches/GrAtlasTextBatch.h |
+++ b/src/gpu/batches/GrAtlasTextBatch.h |
@@ -99,10 +99,11 @@ private: |
void initBatchTracker(const GrXPOverridesForBatch& overrides) override; |
struct FlushInfo { |
- SkAutoTUnref<const GrBuffer> fVertexBuffer; |
- SkAutoTUnref<const GrBuffer> fIndexBuffer; |
- int fGlyphsToFlush; |
- int fVertexOffset; |
+ SkAutoTUnref<const GrBuffer> fVertexBuffer; |
+ SkAutoTUnref<const GrBuffer> fIndexBuffer; |
+ SkAutoTUnref<const GrGeometryProcessor> fGeometryProcessor; |
+ int fGlyphsToFlush; |
+ int fVertexOffset; |
}; |
void onPrepareDraws(Target* target) const override; |
@@ -195,12 +196,10 @@ class GrBlobRegenHelper { |
public: |
GrBlobRegenHelper(const GrAtlasTextBatch* batch, |
GrVertexBatch::Target* target, |
- GrAtlasTextBatch::FlushInfo* flushInfo, |
- const GrGeometryProcessor* gp) |
+ GrAtlasTextBatch::FlushInfo* flushInfo) |
: fBatch(batch) |
, fTarget(target) |
- , fFlushInfo(flushInfo) |
- , fGP(gp) {} |
+ , fFlushInfo(flushInfo) {} |
void flush(); |
@@ -212,7 +211,6 @@ private: |
const GrAtlasTextBatch* fBatch; |
GrVertexBatch::Target* fTarget; |
GrAtlasTextBatch::FlushInfo* fFlushInfo; |
- const GrGeometryProcessor* fGP; |
}; |
#endif |