iPad 3 Retina - Texture Max 4096 or 8192?

I’ve read that the maxTextureSize for iPad 3 is 8192 and the Corona Sim is reporting that… However on an actual device it’s reading in at 4096. I’m upwards of 4800px height on my largest image sheet for the @4x image and my game is crashing… I assume I’m over the 4096 limit?

Also, I’m monitoring texture mem used - it’s getting way up there - like around 250-300 mb. I assume though this is ok for the retina iPad which has 1 GB memory, right?

Thanks!
Nate [import]uid: 131038 topic_id: 33266 reply_id: 333266[/import]

I try to keep my apps under 25% of max memory.
[import]uid: 19626 topic_id: 33266 reply_id: 132184[/import]

Thanks Rob - yeah that sounds about right. Going to do some optimizations and try to keep it below that 250mb max…

About the max size - it appears though that the Corona sim is reporting it wrong. Is that correct? [import]uid: 131038 topic_id: 33266 reply_id: 132190[/import]

I suspect the simulator is returning the max texture size of the Mac your building on.

Also keep in mind too how OpenGL uses memory. It rounds up to the next power of two.

A 1024x1024 by 4 color channel image is 4MB
a 2048x2048x4 is 16mb
a 4096x4096x4 is 64mb
and a 8192x8192x4 is a whopping 256mb of memory.

The Mac needs to support those because of the insane retina displays on the new Macs, but then you have 4-8gb or more of memory. Even with an iPad3/4 you only have 1gb to use.
[import]uid: 19626 topic_id: 33266 reply_id: 132194[/import]

I try to keep my apps under 25% of max memory.
[import]uid: 19626 topic_id: 33266 reply_id: 132184[/import]

Thanks Rob - yeah that sounds about right. Going to do some optimizations and try to keep it below that 250mb max…

About the max size - it appears though that the Corona sim is reporting it wrong. Is that correct? [import]uid: 131038 topic_id: 33266 reply_id: 132190[/import]

I suspect the simulator is returning the max texture size of the Mac your building on.

Also keep in mind too how OpenGL uses memory. It rounds up to the next power of two.

A 1024x1024 by 4 color channel image is 4MB
a 2048x2048x4 is 16mb
a 4096x4096x4 is 64mb
and a 8192x8192x4 is a whopping 256mb of memory.

The Mac needs to support those because of the insane retina displays on the new Macs, but then you have 4-8gb or more of memory. Even with an iPad3/4 you only have 1gb to use.
[import]uid: 19626 topic_id: 33266 reply_id: 132194[/import]

Gotcha - yeah that makes sense. thanks! [import]uid: 131038 topic_id: 33266 reply_id: 132421[/import]

Gotcha - yeah that makes sense. thanks! [import]uid: 131038 topic_id: 33266 reply_id: 132421[/import]