diff options
author | 2017-07-06 15:27:23 -0700 | |
---|---|---|
committer | 2017-07-06 23:01:39 +0000 | |
commit | abbedfc84ff28ba2d47c110c9322f2c4133411e7 (patch) | |
tree | 8e761355ab9d1adfdbce0f99371299498db6a736 /libs/hwui/OpenGLReadback.cpp | |
parent | d9e57599d11f07e7c094c57e97b4d5fb8ee75e92 (diff) |
Add missing notifyPixelsChanged
Fixes: 63400947
Test: CTS test PixelCopyTest#testReuseBitmap
Change-Id: Iad6fe331f84415528c1858a1fdbf26bce784cd53
Diffstat (limited to 'libs/hwui/OpenGLReadback.cpp')
-rw-r--r-- | libs/hwui/OpenGLReadback.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 |