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

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -