Hi all,
I had experienced some memory leak due to FBOViewport render and
setDirty(bool).
Here some OpenSG 1.8 code lines taken from OSGFBOViewport.cpp
...
bool FBOViewport::initialize(Window *win, Int32 format){
...
if (getFrameBufferIndex() && !getDirty())
return true;
//generating new fbo, render buffer.. ect.
..
}
...
I realize that when I need to setDrity(true) (for example to resize
FBO), OpenSG will generate a new FBO without clears the previous one. It
is correct? There are some methods in order to clear it and avoid memory
leak?
Thank you very much.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users