I'm also looking into an alternative to Robert Green's method, as
GLWallpaperService is segfaulting on me
when setting the LWP to wallpaper.

The source of RenderScript and RenderScriptGL is here:
http://www.google.com/codesearch/p?hl=en#uX1GffpyOZk/graphics/java/android/renderscript/RenderScript.java&q=android.renderscript%20RenderScriptGL%20RenderScriptGL&d=4

Looks like they are using native code to do the GL rendering.
The nexus LWP code doesn't do much. I suspect all their drawing
routines are embedded in the native.

On Oct 14, 2:08 pm, Mark Guerra <[email protected]> wrote:
......
>
> I started to study the Live Wallpapers from the Android Source (http://
> android.git.kernel.org/?p=platform/packages/wallpapers/
> Basic.git;a=tree;f=src/com/android/wallpaper;hb=HEAD) but they seem to
> use RenderScriptGL, which is a non-public API at this time. I should
> look further into it to figure out how these wallpapers work, but as
> of right now I don't understand how they get their GL10 object to draw
> with.
>
> I also looked into Robert Green's GLWallpaperService. Btw, thanks go
> to Robert for all his hard work. A few projects use this method, and
> it works for them. Still, there are some bugs to be worked out as
> Robert has mentioned. I'm not sure whether Robert is maintaining it or
> if he moved on to bigger and better things. In any case, it seems
> weird that using his code would be the *only* way to create an OpenGL
> Live wallpaper.
....

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

Reply via email to