How do I create a large surface?
When I call the createSurface function on an image with the size of 1400x1050x8 it fails due to lack of memory while 640x480x8 works fine. Both directly loaded from file. Do I have to create a special memory heap for this or is there an other way of creating this?
How do I reserve extra memory for this?
I would like to prevent from loading the image in parts because that would lead to different problems.
This is on the smartphone.
When I call the createSurface function on an image with the size of 1400x1050x8 it fails due to lack of memory while 640x480x8 works fine. Both directly loaded from file. Do I have to create a special memory heap for this or is there an other way of creating this?
How do I reserve extra memory for this?
I would like to prevent from loading the image in parts because that would lead to different problems.
This is on the smartphone.