Re-create texture from pixel buffer onGrContextCreate (#8792)
* Re-create texture from pixel buffer onGrContextCreate OnGrContextDestroy we destroy the texture, this is because we can not access it from the potentially new context that we get on bringing the app back to foreground. To show a valid texture on fg, we need to preserve the pixel buffer, using which we will create the new texture. * ensure texture cache exists * only reset pixel buffer if not null.
Showing
想要评论请 注册 或 登录