PocketMatrix forums

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

Surface Memory Question

If I load a png image into memory and then create a surface from that image in memory, can I then free the png from memory, or does the surface still need it?
Hi,

You can safely remove it, each GapiSurface keeps its own image buffer.