gzz-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz] Imagecache


From: Tuomas Lukka
Subject: [Gzz] Imagecache
Date: Fri, 13 Sep 2002 11:17:30 +0300
User-agent: Mutt/1.4i

Ok, I'm now looking at the code.

1) Why are you not using STL:s containers?
Doing linked lists by yourself is not nice: too much code,
as well as error possibilities.

2) Doc++ documentation is completely missing. This is not a good thing.
Reading this I can't be sure what the external API is supposed to be.

3) Caching the image in memory at all resolutions is really bad:
OpenGL does have the SGIS_generate_mipmaps extension, which should be 
used. This way, you should only have the largest image in memory,
and scale down when it has not been used for a while.

        Tuomas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]