Equalizer  1.6.1
Public Member Functions | Protected Member Functions | List of all members
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:

Public Member Functions

 Pipe (eq::Pipe *parent)
 Construct a new WGL system pipe. More...
 
virtual ~Pipe ()
 Destruct this WGL system pipe. More...
 
bool createWGLAffinityDC (HDC &affinityDC)
 Create a device context bound only to the display device of this pipe. More...
 
HDC createWGLDisplayDC ()
 Create a device context on the display device of this pipe. More...
 
WGLEWContext * wglewGetContext ()
 
WGL initialization
virtual bool configInit ()
 Initialize this pipe for the WGL window system. More...
 
virtual void configExit ()
 Deinitialize this pipe for the WGL window system. More...
 
- Public Member Functions inherited from eq::SystemPipe
 SystemPipe (Pipe *parent)
 Create a new SstemPipe for the given eq::Pipe. More...
 
virtual ~SystemPipe ()
 Destroy the SystemPipe. More...
 
PipegetPipe ()
 
const PipegetPipe () const
 
eq::fabric::Error getError () const
 

Protected Member Functions

virtual bool configInitGL ()
 Initialize this pipe for OpenGL. More...
 
- Protected Member Functions inherited from eq::SystemPipe
void setError (const uint32_t error)
 Set an error code why the last operation failed. More...
 

Detailed Description

Equalizer default implementation of a WGL GPU.

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

Constructor & Destructor Documentation

eq::wgl::Pipe::Pipe ( eq::Pipe parent)

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

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

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


The documentation for this class was generated from the following file: