Login  Register

Re: Detecting memory leaks

Posted by elect on Mar 06, 2014; 8:48am
URL: https://forum.jogamp.org/Detecting-memory-leaks-tp4031771p4031783.html

PJDM wrote
elect: so you're saying that if I kept track all of my rendering objects, I wouldn't have to keep track all of my rendering objects. :-)
^^

Just asking

However, I have a status variable for each of my mesh (rendering objects)

public enum Status {

        uninitialized,
        toInitialize,
        initialized,
        toDelete;
    }

And at every display a routine will init (vbo/vao) or delete (vbo/vao) any object that needs to