Update generationId on bitmaps when decoded into by BitmapRegionDecoder

bug:18921087

This fixes issues where bitmaps are cached as textures, and not
reuploaded when reused by BitmapRegionDecoder, showing stale content.

Change-Id: I7626fd6acd36d8e38723689734855ce9154eb8c8
This commit is contained in:
Chris Craik
2015-01-14 16:52:20 -08:00
parent 596d4e7230
commit 3b47713b26

View File

@@ -242,6 +242,7 @@ static jobject nativeDecodeRegion(JNIEnv* env, jobject, jlong brdHandle,
}
if (tileBitmap != NULL) {
bitmap->notifyPixelsChanged();
return tileBitmap;
}