From abbedfc84ff28ba2d47c110c9322f2c4133411e7 Mon Sep 17 00:00:00 2001 From: John Reck Date: Thu, 6 Jul 2017 15:27:23 -0700 Subject: Add missing notifyPixelsChanged Fixes: 63400947 Test: CTS test PixelCopyTest#testReuseBitmap Change-Id: Iad6fe331f84415528c1858a1fdbf26bce784cd53 --- libs/hwui/OpenGLReadback.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/hwui/OpenGLReadback.cpp') diff --git a/libs/hwui/OpenGLReadback.cpp b/libs/hwui/OpenGLReadback.cpp index 19d5d9d2250e..e798edfc095a 100644 --- a/libs/hwui/OpenGLReadback.cpp +++ b/libs/hwui/OpenGLReadback.cpp @@ -238,6 +238,7 @@ inline CopyResult copyTextureInto(Caches& caches, RenderState& renderState, // TODO: We should convert to linear space when the target is RGBA16F glReadPixels(0, 0, bitmap->width(), bitmap->height(), format, type, bitmap->getPixels()); + bitmap->notifyPixelsChanged(); } // Cleanup -- cgit v1.2.3-59-g8ed1b