eq::WGLPipe Class Reference

Equalizer default implementation of a WGL window. More...

#include <wglPipe.h>

Inheritance diagram for eq::WGLPipe:

Inheritance graph
[legend]
Collaboration diagram for eq::WGLPipe:

Collaboration graph
[legend]

List of all members.

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.


Detailed Description

Equalizer default implementation of a WGL window.

Definition at line 27 of file wglPipe.h.


Member Function Documentation

bool eq::WGLPipe::configInit (  )  [virtual]

Initialize this pipe for the WGL window system.

Returns:
true if the initialization was successful, false otherwise.

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.

Here is the call graph for this function:

void eq::WGLPipe::configExit (  )  [virtual]

Deinitialize this pipe for the WGL window system.

Returns:
true if the deinitialization was successful, false otherwise.

Implements eq::OSPipe.

Definition at line 99 of file wglPipe.cpp.

References eq::OSPipe::_pipe, and eq::Pipe::setPixelViewport().

Here is the call graph for this function:

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.

Parameters:
affinityDC the affinity device context output parameter.
Returns:
the success status.

Definition at line 105 of file wglPipe.cpp.

References eq::OSPipe::setErrorMessage().

Referenced by eq::WGLWindow::initWGLAffinityDC().

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Returns:
the device context, or 0 upon error.

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().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Aug 10 18:58:43 2009 for Equalizer 0.9 by  doxygen 1.5.8