dmuGLCtx

Inherits from: dmuGLPBuffer

#include "dmuGLCtx.h"

Overview

the dmuGLCtx is a subclass of dmuGLPbuffer that provides GLX context functionality around the PBuffer encapsulated in the dmuGLPBuffer class. This class can be usefull for performing compositing sorts of operations on incoming video or movie data. At any point in time, the latest DMBuffer that has been passed in to the object can be grab'ed. Once grabbed, the buffer is locked and safe to use. Using calles to then makeCurrent, makeCurrentRead, and makeCurrentWrite methods will then allow you to perform rendering operations to and from this buffer (which already has data in it which has been passed down the dmu chain). Once a buffer is released, then the DMBuffer which had been grabed is then passed down the chain to the object's children - A display object, or a videoOut object, for example.

Please note that this is a very useful object, but has not been tested very well. There are known problems with this class which we are trying to track down for the next release of the library.

See the source code for more info and implementation details.

Public Methods


Overview    Object List     Object Hierarchy       Sample Apps