Equalizer
1.4.1
|
Equalizer default implementation of a WGL GPU. More...
#include <pipe.h>
Public Member Functions | |
Pipe (eq::Pipe *parent) | |
Construct a new WGL system pipe. | |
virtual | ~Pipe () |
Destruct this WGL system pipe. | |
bool | createWGLAffinityDC (HDC &affinityDC) |
Create a device context bound only to the display device of this pipe. | |
HDC | createWGLDisplayDC () |
Create a device context on the display device of this pipe. | |
WGLEWContext * | wglewGetContext () |
WGL initialization | |
virtual bool | configInit () |
Initialize this pipe for the WGL window system. | |
virtual void | configExit () |
Deinitialize this pipe for the WGL window system. | |
Protected Member Functions | |
virtual bool | configInitGL () |
Initialize this pipe for OpenGL. |
Equalizer default implementation of a WGL GPU.
Definition at line 31 of file include/eq/client/wgl/pipe.h.
eq::wgl::Pipe::Pipe | ( | eq::Pipe * | parent | ) |
Construct a new WGL system pipe.
virtual eq::wgl::Pipe::~Pipe | ( | ) | [virtual] |
Destruct this WGL system pipe.
virtual void eq::wgl::Pipe::configExit | ( | ) | [virtual] |
Deinitialize this pipe for the WGL window system.
Implements eq::SystemPipe.
virtual bool eq::wgl::Pipe::configInit | ( | ) | [virtual] |
Initialize this pipe for the WGL window system.
Implements eq::SystemPipe.
virtual bool eq::wgl::Pipe::configInitGL | ( | ) | [inline, protected, virtual] |
Initialize this pipe for OpenGL.
A temporary device context is current during this call. The device context is not the DC used by the windows of this pipe, most importantly, it is not an affinity context.
Definition at line 96 of file include/eq/client/wgl/pipe.h.
bool eq::wgl::Pipe::createWGLAffinityDC | ( | HDC & | affinityDC | ) |
Create a device context bound only to the display device of this pipe.
If the dc return parameter is set to 0 and the return value is true, an affinity dc is not needed. The returned context has to be deleted using wglDeleteDCNV when it is no longer needed.
affinityDC | the affinity device context output parameter. |
Create a device context on the display device of this pipe.
The returned device context has to be deallocated using DeleteDC.
WGLEWContext* eq::wgl::Pipe::wglewGetContext | ( | ) | [inline] |
Definition at line 84 of file include/eq/client/wgl/pipe.h.