i develop live wallpapers using Opengl ES 2.0 engine. My wallapapers run 
smooth on 2.x Android Devices , but in 4.03 i see some strange things. on 
1st create everything goes fine , but if i change orientation or on off 
screen , opengl goes out of memmory (1285 error)

I noticed something weird

in preview mode , everything goes fine when i change orientation , and turn 
off and on screen , because glWallpaperService.glEngine.onsurfacedestroyed 
is triggered! in normal mode , this does'nt happen! even if i turn of the 
screen , the only void that triggers is onsurfaceChanged! but GLThread 
destroyes the surface both modes.

Whats the difference between normal and preview mode? and why preview mode 
triggers onsurfacedestroyed on every change?

Any idea how to fix this??

-- 
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