| Index: src/gpu/GrBatchAtlas.cpp
|
| diff --git a/src/gpu/GrBatchAtlas.cpp b/src/gpu/GrBatchAtlas.cpp
|
| index 8f866e72eaaae436b546e085bee0f8e1c176c265..2d9020644e2e30ca5b6b838a9dbc43bbbcd3a7ae 100644
|
| --- a/src/gpu/GrBatchAtlas.cpp
|
| +++ b/src/gpu/GrBatchAtlas.cpp
|
| @@ -331,6 +331,8 @@ bool GrBatchAtlas::addToAtlas(AtlasID* id, GrDrawBatch::Target* batchTarget,
|
| SkDEBUGCODE(bool verify = )newPlot->addSubImage(width, height, image, loc);
|
| SkASSERT(verify);
|
|
|
| + // Note that this plot will be uploaded inline with the draws whereas the
|
| + // one it displaced most likely was uploaded asap.
|
| newPlot->setLastUploadToken(batchTarget->currentToken());
|
| SkAutoTUnref<GrPlotUploader> uploader(new GrPlotUploader(newPlot, fTexture));
|
| batchTarget->upload(uploader);
|
|
|