#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. | |
WGL initialization | |
| virtual bool | configInit () |
| Initialize this pipe for the WGL window system. | |
| virtual void | configExit () |
| Deinitialize this pipe for the WGL window system. | |
Definition at line 27 of file wglPipe.h.
| bool eq::WGLPipe::configInit | ( | ) | [virtual] |
Initialize this pipe for the WGL window system.
Implements eq::OSPipe.
Definition at line 42 of file wglPipe.cpp.
References eq::OSPipe::_pipe, createWGLDisplayDC(), EQINFO, eq::Pipe::getPixelViewport(), eq::PixelViewport::h, eq::PixelViewport::isValid(), eq::Pipe::setPixelViewport(), eq::PixelViewport::w, eq::PixelViewport::x, and eq::PixelViewport::y.

| void eq::WGLPipe::configExit | ( | ) | [virtual] |
Deinitialize this pipe for the WGL window system.
Implements eq::OSPipe.
Definition at line 99 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 105 of file wglPipe.cpp.
References eq::OSPipe::setErrorMessage().
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 127 of file wglPipe.cpp.
References eq::OSPipe::_pipe, EQ_UNDEFINED_UINT32, eq::Pipe::getDevice(), and eq::Pipe::setErrorMessage().
Referenced by configInit(), and eq::WGLWindow::createWGLDisplayDC().


0.9 by
1.5.8