#include <qglvucontext.h>
Inheritance diagram for QGLVUContext::

Public Methods | |
| QGLVUContext (const QGLFormat &format, QPaintDevice *device) | |
| virtual | ~QGLVUContext () |
| virtual void | doneCurrent () |
This specialization exposes a public doneCurrent() method. This allows the user to tell the context that it is no longer active. This is necessary when the active context is switched away from a QGLContext without it knowing, as can be done when calling wglMakeCurrent(). The reason for this is to allow the use of the pbuffer WGL extension, which requires calling wglMakeCurrent with the pbuffer device and context as arguments.
QGLVUWidget uses a QGLVUContext by default, by calling setContext() to a new QGLVUContext in its constructor. For this reason, the user usually need not worry about this class, other than to be aware of it and the proper use of QGLVUWidget::DoneCurrent() and QGLVUWidget::MakeContextCurrent().
|
|
Exposes QGLContext::doneCurrent() as a public method. |
1.2.10 written by Dimitri van Heesch,
© 1997-2001