3D Live Wallpaper using GLSL

Started by zbych, February 22, 2012, 09:24:03 AM

Previous topic - Next topic

zbych

It's my first project using jPCT. I have written it for Valentine's day and it's my first OpengGL app with GLSL. I know Valentine's is behind us :) but  I wanted to say that the possibility to use shaders in jPCT is great thing.
On some devices there might be "Create context error", but I am unable to find the reason of this.

https://market.android.com/details?id=com.zr.valentine.photo.heart

EgonOlsen

Are you sure that these devices support ES 2.0? You can limit your app to devices that support it in the AndroidManifest.xml. Apart from that, i've no idea as this seems to be a problem with the wall paper implementation. jPCT-AE doesn't care about a context as long as one is provided.

zbych

I know it's issue of wallpaper service... it is modified version of Robert Green's wallpaper service, forced to create ES 2.0 context. Previously I have added limit for devices supporting only ES 2.0 however it didn't help. That's why i removed it and modified code - when it fail to create 2.0 context then it will try to crete 1.x and disable shaders, but looks like it didn't help much for devices with ES 2.0, but should help devices with ES 1.x only.

EgonOlsen

Does this wallpaper service prints out the reason for this problem? Some exception?