14#ifndef OSG_GRAPHICSTHREAD
15#define OSG_GRAPHICSTHREAD 1
42 virtual void operator () (
Object*
object);
79 OpenThreads::Barrier(numThreads),
84 virtual void operator () (
Object*
object);
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables,...
Definition AlphaFunc:19
Base class for providing Windowing API agnostic access to creating and managing graphics context.
Definition GraphicsContext:30
virtual void run()
Run does the graphics thread run loop.
Definition GraphicsThread:36
virtual void releaseGLObjects(osg::State *=0) const
If State is non-zero, this function releases any associated OpenGL objects for the specified graphics...
Definition GraphicsThread:52
virtual void resizeGLObjectBuffers(unsigned int)
Resize any per context GLObject buffers to specified size.
Definition GraphicsThread:47
GraphicsOperation(const std::string &name, bool keep)
Definition GraphicsThread:37
SwapBuffersOperation()
Definition GraphicsThread:59
PreBlockOp
Definition GraphicsThread:70
@ GL_FINISH
Definition GraphicsThread:73
@ NO_OPERATION
Definition GraphicsThread:71
@ GL_FLUSH
Definition GraphicsThread:72
BarrierOperation(int numThreads, PreBlockOp op=NO_OPERATION, bool keep=true)
Definition GraphicsThread:76
virtual void release()
if this operation is a barrier then release it.
PreBlockOp _preBlockOp
Definition GraphicsThread:86
virtual void release()
if this operation is a barrier then release it.
ReleaseContext_Block_MakeCurrentOperation()
Definition GraphicsThread:93
virtual void release()
if this operation is a barrier then release it.
double _availableTime
Definition GraphicsThread:118
FlushDeletedGLObjectsOperation(double availableTime, bool keep=false)
RunOperations()
Definition GraphicsThread:125
EndOfDynamicDrawBlock(unsigned int)
void completed(osg::State *state)
~EndOfDynamicDrawBlock()
Definition GraphicsThread:142
Base class/standard interface for objects which require IO support, cloning and reference counting.
Definition Object:61
RefBlock()
Definition OperationThread:34
Operation(const std::string &name, bool keep)
Definition OperationThread:54
OperationThread is a helper class for running Operation within a single thread.
Definition OperationThread:154
Base class for providing reference counted objects.
Definition Referenced:44
Encapsulates the current applied OpenGL modes, attributes and vertex arrays settings,...
Definition State:80
#define OSG_EXPORT
Definition Export:39