Friday, August 5, 2011

[android-developers] Re: Live Wallpaper Orientation Changes

Thx for the response. I'll investigate a bit more and post in the LW
list :D

On Aug 4, 11:44 pm, Adam Ratana <adam.rat...@gmail.com> wrote:
> Hi Moss, there is a google group called "GLWallpaperService" around an open
> source OpenGL WallpaperService implementation, you might want to check it
> out and/or ask questions there.  
>
> I've been using it and when orientation changes happen on the device (I am
> testing with a tablet, and a friend's dell streak 5, as this does not happen
> with my phone), there is no context loss and it is able to use the textures
> which are in memory, they do not need to be reloaded - this is when it's
> running as a live wallpaper - don't know about VBOs but I'm assuming they
> are safe as well.  Now, in a normal activity using the same renderer and a
> GLSurfaceView, there is a context loss on orientation changes, and textures
> DO have to be reloaded, the same is true on the settings screen.  So you may
> want to look at the implementation as it essentially does most of what
> GLSurfaceView does with a few differences to work in a live wallpaper
> setting.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate