Equalizer  1.4.1
Public Member Functions | Protected Member Functions
eq::wgl::Pipe Class Reference

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

#include <pipe.h>

+ Inheritance diagram for eq::wgl::Pipe:
+ Collaboration diagram for eq::wgl::Pipe:

List of all members.

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.

Detailed Description

Equalizer default implementation of a WGL GPU.

Definition at line 31 of file include/eq/client/wgl/pipe.h.


Constructor & Destructor Documentation

Construct a new WGL system pipe.

Version:
1.0
virtual eq::wgl::Pipe::~Pipe ( ) [virtual]

Destruct this WGL system pipe.

Version:
1.0

Member Function Documentation

virtual void eq::wgl::Pipe::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::wgl::Pipe::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::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.

Version:
1.0

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.

Parameters:
affinityDCthe affinity device context output parameter.
Returns:
the success status.
Version:
1.0

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::wgl::Pipe::wglewGetContext ( ) [inline]
Returns:
the generic WGL function table for the pipe.

Definition at line 84 of file include/eq/client/wgl/pipe.h.


The documentation for this class was generated from the following file:
Generated on Mon Nov 26 2012 14:41:51 for Equalizer 1.4.1 by  doxygen 1.7.6.1