Hi guys,
Can someone tell me some more about the graphicspipeline in corona?
How are textureswitches handled
How are multiple draw calls handled / buffered?
What I'd like to know is wether corona does smart textureswitching (no switching if it's not necessary), and wether draw calls with the same GL-state (texture etc) are buffered, so they result in only one GL call?
Also, I'd like to know how I am supposed to handle static images.
I would like my static images to come from a spritesheet (better name would be TextureAtlas)
IMO the naming of some of the classes is wrong..
A TextureAtlas would be a texture containing multiple textures to be reused by either sprites or static images.
Ideally, I'd like to see display.newImage(textureAtlas, "indexName"), which would return an object which would behave like a normal image.
This would also help against some weird stuff in ui.lua, where I see some ulgy hacks for retina displays.