Failed to create 4096x4096 texture on Mali-400. The app crashes. What can be wrong?
Hi,
I do not have a backtrace as the mali ddk is provided as a third party library. The application terminates. I cannot debug that part. I can just debug the mali linux kernel part (drivers/gpu/arm/mali).
We have 128 MB for Graphics memory. This should be enough for this rendering. I also found that textures of size
upto 4096x3000 is rendered, but as soon as I cross height > 3000 the OpenGL App terminates.
It's still not clear what your error actually is. If the application exits cleanly with no segfault or kernel low memory killer kicking in, that sounds like a memory allocation failure (either in the application itself, or the application exiting because of an GL error returned by the OpenGL ES driver).
Also be aware that there are implementation limits defined for certain features. Did you check the texture dimension limit for that platform ?