AjaxVM / pyggel

PYGGEL (PYthon Graphical Game Engine and Libraries)
1 stars 0 forks source link

Memleaks #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There appears to be a memleak when changing text in FontImage's
It may stem from a memleak in regular Images, or something specific to
FontImage.
But I think on whole the entire engine needs to be checked for leaks...

Original issue reported on code.google.com by RoeB...@gmail.com on 30 Aug 2009 at 5:56

GoogleCodeExporter commented 9 years ago
Potential fix is to move the Font rendering into VBO/VA objects, so stick each 
glyph
together into one texture, getting start/end coords (will need textures for 
italic,
bold, underline and combined as well) - and then using GL_QUADS to render each 
glyph.

Performance will probably be a lot higher doing that as well... Hmm

Original comment by RoeB...@gmail.com on 25 Sep 2009 at 6:37

GoogleCodeExporter commented 9 years ago
Font -> VBO/VA is nearly complete, just need to add 3d font support and then 
convert
everything internally over to it.
Still need to check the textures for mem-leaks though...

Original comment by RoeB...@gmail.com on 8 Oct 2009 at 4:47

GoogleCodeExporter commented 9 years ago
New fonts are done, still require doc-strings and integration though...

Original comment by RoeB...@gmail.com on 9 Oct 2009 at 7:48