GapiVFS - twice in memory?
Posted: Nov 23, 2006 @ 2:13pm
Hello, I am reading documentation on using GAPI VFS. From what I read on http://www.gapidraw.com/docs/gapidraw/3 ... -frame.htm, it iseems me that GAPI VSF conusmes twice amount of memory than is really needed.
Firstly, on CreateVFS(), when the whole file is probably loaded to the memory. I assume this from a flag returned by CreateVFS(), GDERR_OUTOFMEMORY.
Secondly, on CGapiFileBuffer::Open(), when the file is decompressed and stored in the memory, as the documenation literally says.
Is that ture please?
With regards,
Rene.
Firstly, on CreateVFS(), when the whole file is probably loaded to the memory. I assume this from a flag returned by CreateVFS(), GDERR_OUTOFMEMORY.
Secondly, on CGapiFileBuffer::Open(), when the file is decompressed and stored in the memory, as the documenation literally says.
Is that ture please?
With regards,
Rene.