Hi
@all.
When an app loads the very same texture more than once does Gideros handle this case gracefully? Meaning does Gideros notice that the texture is already loaded? Or does Gideros actually load it again? (Do I have to take care more accurate of the asset management by myself?)
Greetings
Sebastian
Comments
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
And what about actively unload textures? Is it necessary or does Gideros handle this part as well? Based on some heuristics like memory workload or the rendering frequency of each texture?
If yes, then it's done by Lua garbage collection, which uses mark and sweep algorithm, which periodically checks all memory allocations, and if there are no references to them, marks them and then frees the memory.
That is why texture is not immediately removed from the memory, when reference is deleted, but stays until next mark and sweep cycle.