Equalizer 1.0

eq::WGLPipe Class Reference

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

#include <wglPipe.h>

Inheritance diagram for eq::WGLPipe:
Collaboration diagram for eq::WGLPipe:

List of all members.

Public Member Functions

 WGLPipe (Pipe *parent)
 Construct a new WGL system pipe.
virtual ~WGLPipe ()
 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.

Detailed Description

Equalizer default implementation of a WGL GPU.

Definition at line 29 of file wglPipe.h.


Constructor & Destructor Documentation

eq::WGLPipe::WGLPipe ( Pipe parent)

Construct a new WGL system pipe.

Version:
1.0
virtual eq::WGLPipe::~WGLPipe ( ) [virtual]

Destruct this WGL system pipe.

Version:
1.0

Member Function Documentation

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

Deinitialize this pipe for the WGL window system.

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

Implements eq::SystemPipe.

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

Initialize this pipe for the WGL window system.

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

Implements eq::SystemPipe.

virtual bool eq::WGLPipe::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.

Version:
1.0

Definition at line 94 of file wglPipe.h.

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:
affinityDCthe affinity device context output parameter.
Returns:
the success status.
Version:
1.0
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.
Version:
1.0
WGLEWContext* eq::WGLPipe::wglewGetContext ( ) [inline]
Returns:
the generic WGL function table for the pipe.

Definition at line 82 of file wglPipe.h.


The documentation for this class was generated from the following file:
Generated on Sun May 8 2011 19:11:10 for Equalizer 1.0 by  doxygen 1.7.3