| Index: src/gpu/batches/GrAtlasTextBatch.h
|
| diff --git a/src/gpu/batches/GrAtlasTextBatch.h b/src/gpu/batches/GrAtlasTextBatch.h
|
| index 01d799233e136b7446bb169b834142e77c4865a9..360b6d4d5269e9603f2be6553776f335d6c15e9e 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
|
|
|