PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

create large surface?

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.
Unfortunately GapiDraw 1.04 does add significant memory overhead when loading images into surfaces. This has been fixed in GapiDraw 1.10. GapiDraw 1.10 is however not yet available for the Smartphone platform...