| Index: src/gpu/batches/GrAtlasTextBatch.h
|
| diff --git a/src/gpu/batches/GrAtlasTextBatch.h b/src/gpu/batches/GrAtlasTextBatch.h
|
| index 72e299d3fa9b8e3beb2154d8a37a1abdf5feecea..89a2f4e7537f5af0e6b4b4b29c0710ca21c6bde8 100644
|
| --- a/src/gpu/batches/GrAtlasTextBatch.h
|
| +++ b/src/gpu/batches/GrAtlasTextBatch.h
|
| @@ -101,11 +101,11 @@ private:
|
| void initBatchTracker(const GrXPOverridesForBatch& overrides) override;
|
|
|
| struct FlushInfo {
|
| - SkAutoTUnref<const GrBuffer> fVertexBuffer;
|
| - SkAutoTUnref<const GrBuffer> fIndexBuffer;
|
| - SkAutoTUnref<const GrGeometryProcessor> fGeometryProcessor;
|
| - int fGlyphsToFlush;
|
| - int fVertexOffset;
|
| + SkAutoTUnref<const GrBuffer> fVertexBuffer;
|
| + SkAutoTUnref<const GrBuffer> fIndexBuffer;
|
| + sk_sp<GrGeometryProcessor> fGeometryProcessor;
|
| + int fGlyphsToFlush;
|
| + int fVertexOffset;
|
| };
|
|
|
| void onPrepareDraws(Target* target) const override;
|
| @@ -153,8 +153,8 @@ private:
|
|
|
| // TODO just use class params
|
| // TODO trying to figure out why lcd is so whack
|
| - GrGeometryProcessor* setupDfProcessor(const SkMatrix& viewMatrix, SkColor filteredColor,
|
| - GrColor color, GrTexture* texture) const;
|
| + sk_sp<GrGeometryProcessor> setupDfProcessor(const SkMatrix& viewMatrix, SkColor filteredColor,
|
| + GrColor color, GrTexture* texture) const;
|
|
|
| struct BatchTracker {
|
| GrColor fColor;
|
|
|