java - Rajawali live wallpaper slow back from sleep -


im working on 3d live wallpaper android using rajawali. when turn screen off , on, loading whole scene again takes seconds depending on device , scene complexity. id keep wallpaper in memory "forever" have wallpaper visible instantly after screen turn on.

from have found behavior because opengl loose context when calling onpause , onresume events. tried setpreserveeglcontextonpause "may" preserve context, changes nothing.

can me solve problem?


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -