Author Topic: Framebuffer problem?  (Read 1090 times)

Offline keaukraine

  • byte
  • *
  • Posts: 34
    • View Profile
Framebuffer problem?
« on: December 19, 2010, 04:49:15 pm »
I'm making live wallpaper.

If you set wallpaper and then go to live wallpapers and launch it for preview, after returning back to home screen textures for transparent objects get changed in random order.
If I change device orientation, it will re-create framebuffer and everything is OK.
I can't track the moment when I have to re-create framebuffer because these are two different processes for 2 wallpapers.
Apparently something bad happens to framebuffer, please give me some recommendations.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11747
    • View Profile
    • http://www.jpct.net
Re: Framebuffer problem?
« Reply #1 on: December 19, 2010, 08:54:10 pm »
Sounds more like driver issue to me. Can you post a screen shot? If recreating the frame buffer helps (which actually means that Android create a new gl context for you, the recreation of the frame buffer is just the consequence of that), maybe re-upping the textures helps too? You might want to try to use TextureManager.unloadTexture(....) and see if that helps? I don't get the "tracking impossible because of two processes" part...can you explain that a little more?