Index: src/gpu/effects/GrTextureStripAtlas.cpp |
diff --git a/src/gpu/effects/GrTextureStripAtlas.cpp b/src/gpu/effects/GrTextureStripAtlas.cpp |
index 1543a2e9dbed65129e21a2b78083f1c3378b3ad6..b552c9d94f0337f1a3585c131b46bf6aab1b564d 100644 |
--- a/src/gpu/effects/GrTextureStripAtlas.cpp |
+++ b/src/gpu/effects/GrTextureStripAtlas.cpp |
@@ -209,6 +209,8 @@ void GrTextureStripAtlas::lockTexture() { |
if (!fTexture) { |
return; |
} |
+ |
+ fDesc.fContext->flushSurfaceIO(fTexture); |
bsalomon
2016/08/22 16:52:57
Could you add a comment here that we need to do th
ajuma
2016/08/24 13:12:39
Done.
|
fDesc.fContext->textureProvider()->assignUniqueKeyToTexture(key, fTexture); |
// This is a new texture, so all of our cache info is now invalid |
this->initLRU(); |