Loading libs/hwui/OpenGLReadback.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading libs/hwui/pipeline/skia/SkiaOpenGLReadback.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,7 @@ CopyResult SkiaOpenGLReadback::copyImageInto(EGLImageKHR eglImage, const Matrix4 image = scaledSurface->makeImageSnapshot(); if (image->readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), 0, 0)) { bitmap->notifyPixelsChanged(); copyResult = CopyResult::Success; } } Loading Loading
libs/hwui/OpenGLReadback.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
libs/hwui/pipeline/skia/SkiaOpenGLReadback.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,7 @@ CopyResult SkiaOpenGLReadback::copyImageInto(EGLImageKHR eglImage, const Matrix4 image = scaledSurface->makeImageSnapshot(); if (image->readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), 0, 0)) { bitmap->notifyPixelsChanged(); copyResult = CopyResult::Success; } } Loading