OSG
3.4.0
|
#include <BufferObject.h>
Protected Member Functions | |
virtual | ~GLBufferObjectSet () |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
Protected Attributes | |
OpenThreads::Mutex | _mutex |
GLBufferObjectManager * | _parent |
unsigned int | _contextID |
BufferObjectProfile | _profile |
unsigned int | _numOfGLBufferObjects |
GLBufferObjectList | _orphanedGLBufferObjects |
GLBufferObjectList | _pendingOrphanedGLBufferObjects |
GLBufferObject * | _head |
GLBufferObject * | _tail |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
static bool | getThreadSafeReferenceCounting () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
Definition at line 275 of file BufferObject.h.
osg::GLBufferObjectSet::GLBufferObjectSet | ( | GLBufferObjectManager * | parent, |
const BufferObjectProfile & | profile | ||
) |
|
protectedvirtual |
void osg::GLBufferObjectSet::addToBack | ( | GLBufferObject * | to | ) |
bool osg::GLBufferObjectSet::checkConsistency | ( | ) | const |
unsigned int osg::GLBufferObjectSet::computeNumGLBufferObjectsInList | ( | ) | const |
void osg::GLBufferObjectSet::deleteAllGLBufferObjects | ( | ) |
void osg::GLBufferObjectSet::discardAllDeletedGLBufferObjects | ( | ) |
void osg::GLBufferObjectSet::discardAllGLBufferObjects | ( | ) |
void osg::GLBufferObjectSet::flushAllDeletedGLBufferObjects | ( | ) |
void osg::GLBufferObjectSet::flushDeletedGLBufferObjects | ( | double | currentTime, |
double & | availableTime | ||
) |
|
inline |
Definition at line 308 of file BufferObject.h.
|
inline |
Definition at line 309 of file BufferObject.h.
|
inline |
Definition at line 310 of file BufferObject.h.
|
inline |
Definition at line 305 of file BufferObject.h.
|
inline |
Definition at line 280 of file BufferObject.h.
void osg::GLBufferObjectSet::handlePendingOrphandedGLBufferObjects | ( | ) |
bool osg::GLBufferObjectSet::makeSpace | ( | unsigned int & | size | ) |
void osg::GLBufferObjectSet::moveToBack | ( | GLBufferObject * | to | ) |
void osg::GLBufferObjectSet::moveToSet | ( | GLBufferObject * | to, |
GLBufferObjectSet * | set | ||
) |
void osg::GLBufferObjectSet::orphan | ( | GLBufferObject * | to | ) |
void osg::GLBufferObjectSet::remove | ( | GLBufferObject * | to | ) |
|
inline |
Definition at line 299 of file BufferObject.h.
osg::ref_ptr<GLBufferObject> osg::GLBufferObjectSet::takeFromOrphans | ( | BufferObject * | bufferObject | ) |
osg::ref_ptr<GLBufferObject> osg::GLBufferObjectSet::takeOrGenerate | ( | BufferObject * | bufferObject | ) |
|
protected |
Definition at line 320 of file BufferObject.h.
|
protected |
Definition at line 326 of file BufferObject.h.
|
protected |
Definition at line 317 of file BufferObject.h.
|
protected |
Definition at line 322 of file BufferObject.h.
|
protected |
Definition at line 323 of file BufferObject.h.
|
protected |
Definition at line 319 of file BufferObject.h.
|
protected |
Definition at line 324 of file BufferObject.h.
|
protected |
Definition at line 321 of file BufferObject.h.
|
protected |
Definition at line 327 of file BufferObject.h.