1
Support / Problem: unload textures
« on: April 05, 2011, 04:37:20 am »
Hi o/
My application is loading some mesh and textures. In the first time that this is executed, don't have any problem, but if want execute again the same application this crash... Thats occours three things differents. but aparently connected: if i don't call flush() from the Texture Manager the textures don't is desalocated of the memory, if when i execute the aplication again, in logcat apear that i'm loading one texture previous loaded. "the texture 'blablah' is twice" I guess.... If i call the flush function the problem change to 'outwith memory'... I call the free memory funcion of the FrameBuffer and this problem is aparently resolved but the new problem is 'All textures is unload from gpu' after the load all texures .. the application is running but without anyone textures =/.... I'm so sorry for my terrible English...
My application is loading some mesh and textures. In the first time that this is executed, don't have any problem, but if want execute again the same application this crash... Thats occours three things differents. but aparently connected: if i don't call flush() from the Texture Manager the textures don't is desalocated of the memory, if when i execute the aplication again, in logcat apear that i'm loading one texture previous loaded. "the texture 'blablah' is twice" I guess.... If i call the flush function the problem change to 'outwith memory'... I call the free memory funcion of the FrameBuffer and this problem is aparently resolved but the new problem is 'All textures is unload from gpu' after the load all texures .. the application is running but without anyone textures =/.... I'm so sorry for my terrible English...