| Index: src/gpu/effects/GrTextureStripAtlas.cpp
|
| diff --git a/src/gpu/effects/GrTextureStripAtlas.cpp b/src/gpu/effects/GrTextureStripAtlas.cpp
|
| index 1543a2e9dbed65129e21a2b78083f1c3378b3ad6..2c882508f5f9dfb7d4d86b81b9dbaee80d7c9e15 100644
|
| --- a/src/gpu/effects/GrTextureStripAtlas.cpp
|
| +++ b/src/gpu/effects/GrTextureStripAtlas.cpp
|
| @@ -209,6 +209,10 @@ void GrTextureStripAtlas::lockTexture() {
|
| if (!fTexture) {
|
| return;
|
| }
|
| +
|
| + // We will be issuing writes to the surface using kDontFlush_PixelOpsFlag, so we
|
| + // need to make sure any existing IO is flushed
|
| + fDesc.fContext->flushSurfaceIO(fTexture);
|
| fDesc.fContext->textureProvider()->assignUniqueKeyToTexture(key, fTexture);
|
| // This is a new texture, so all of our cache info is now invalid
|
| this->initLRU();
|
|
|