Lines Matching defs:GLObjectManager
884 * GLObjectManager can be used for objects of class Program, Buffer or
904 class GLObjectManager
911 T& get (const string& name) { return const_cast<T&>(((const GLObjectManager<T>*)this)->get(name)); }
925 template <> const char* GLObjectManager<Buffer>::objTypeName (void) { return "buffer"; }
926 template <> const char* GLObjectManager<Texture>::objTypeName (void) { return "texture"; }
927 template <> const char* GLObjectManager<Program>::objTypeName (void) { return "program"; }
930 const T& GLObjectManager<T>::get (const string& name) const
938 int GLObjectManager<T>::computeApproxMemUsage (void) const
952 void GLObjectManager<T>::markAsGarbage (const string& name)
961 int GLObjectManager<T>::removeRandomGarbage (Random& rnd)
973 void GLObjectManager<T>::removeGarbageUntilUnder (const int limit, Random& rnd)
1182 m_programs = new GLObjectManager<Program>;
1183 m_buffers = new GLObjectManager<Buffer>;
1184 m_textures = new GLObjectManager<Texture>;