| Index: src/gpu/GrBatchAtlas.h
|
| diff --git a/src/gpu/GrBatchAtlas.h b/src/gpu/GrBatchAtlas.h
|
| index 7a89f7889cacc3faba711476d47212a0e1c1c47c..83ef5ec732e345eafa5b2bb91d0700fc7038823a 100644
|
| --- a/src/gpu/GrBatchAtlas.h
|
| +++ b/src/gpu/GrBatchAtlas.h
|
| @@ -66,7 +66,7 @@ public:
|
| */
|
| class BulkUseTokenUpdater {
|
| public:
|
| - BulkUseTokenUpdater() : fPlotAlreadyUpdated(0), fCount(0), fAllocated(kMinItems) {}
|
| + BulkUseTokenUpdater() : fPlotAlreadyUpdated(0) {}
|
| void add(AtlasID id) {
|
| int index = GrBatchAtlas::GetIndexFromID(id);
|
| if (!this->find(index)) {
|
| @@ -75,9 +75,7 @@ public:
|
| }
|
|
|
| void reset() {
|
| - fPlotsToUpdate.reset(kMinItems);
|
| - fAllocated = kMinItems;
|
| - fCount = 0;
|
| + fPlotsToUpdate.reset();
|
| fPlotAlreadyUpdated = 0;
|
| }
|
|
|
| @@ -97,8 +95,6 @@ public:
|
| static const int kMaxPlots = 32;
|
| SkSTArray<kMinItems, int, true> fPlotsToUpdate;
|
| uint32_t fPlotAlreadyUpdated;
|
| - int fCount;
|
| - int fAllocated;
|
|
|
| friend class GrBatchAtlas;
|
| };
|
|
|