Equalizer default implementation of a WGL window. More...
#include <wglPipe.h>


Public Member Functions | |
| WGLPipe (Pipe *parent) | |
| 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. | |
Equalizer default implementation of a WGL window.
Definition at line 28 of file wglPipe.h.
| bool eq::WGLPipe::configInit | ( | ) | [virtual] |
Initialize this pipe for the WGL window system.
Implements eq::OSPipe.
Definition at line 45 of file wglPipe.cpp.
References eq::OSPipe::_pipe, createWGLDisplayDC(), EQINFO, eq::Pipe::getPixelViewport(), eq::PixelViewport::isValid(), and eq::Pipe::setPixelViewport().

| void eq::WGLPipe::configExit | ( | ) | [virtual] |
Deinitialize this pipe for the WGL window system.
Implements eq::OSPipe.
Definition at line 102 of file wglPipe.cpp.
References eq::OSPipe::_pipe, and eq::Pipe::setPixelViewport().

| bool eq::WGLPipe::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. |
Definition at line 108 of file wglPipe.cpp.
References eq::OSPipe::setErrorMessage(), and eq::base::sysError().
Referenced by eq::WGLWindow::initWGLAffinityDC().


| HDC eq::WGLPipe::createWGLDisplayDC | ( | ) |
Create a device context on the display device of this pipe.
The returned device context has to be deallocated using DeleteDC.
Definition at line 131 of file wglPipe.cpp.
References eq::OSPipe::_pipe, EQ_UNDEFINED_UINT32, eq::Pipe::getDevice(), eq::Pipe::setErrorMessage(), and eq::base::sysError().
Referenced by configInit(), and eq::WGLWindow::createWGLDisplayDC().


| WGLEWContext* eq::WGLPipe::wglewGetContext | ( | ) | [inline] |
0.9.1 by
1.6.1