Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b47713b authored by Chris Craik's avatar Chris Craik
Browse files

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
parent 596d4e72
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -242,6 +242,7 @@ static jobject nativeDecodeRegion(JNIEnv* env, jobject, jlong brdHandle,
    }

    if (tileBitmap != NULL) {
        bitmap->notifyPixelsChanged();
        return tileBitmap;
    }