Equalizer  1.12.0
Parallel Rendering Framework
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

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

Protected Member Functions

virtual bool configInitGL ()
 Initialize this pipe for OpenGL. More...
 
- Protected Member Functions inherited from eq::SystemPipe
EQ_API EventOCommand sendError (const uint32_t error)
 Send a pipe error event to the application node. More...
 

Additional Inherited Members

- Protected Attributes inherited from eq::SystemPipe
float _maxOpenGLVersion
 

Detailed Description

Equalizer default implementation of a WGL GPU.

Definition at line 32 of file wgl/pipe.h.

Constructor & Destructor Documentation

EQ_API eq::wgl::Pipe::Pipe ( eq::Pipe parent)
explicit

Construct a new WGL system pipe.

Version
1.0
virtual EQ_API eq::wgl::Pipe::~Pipe ( )
virtual

Destruct this WGL system pipe.

Version
1.0

Member Function Documentation

EQ_API void eq::wgl::Pipe::configExit ( )
overridevirtual

Deinitialize this pipe for the WGL window system.

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

Implements eq::SystemPipe.

EQ_API bool eq::wgl::Pipe::configInit ( )
overridevirtual

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 wgl/pipe.h.

EQ_API 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
EQ_API 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 wgl/pipe.h.


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