Equalizer  1.6.1
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
eq::glx::Pipe Class Reference

Default implementation of a glX system pipe. More...

#include <pipe.h>

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

Public Member Functions

 Pipe (eq::Pipe *parent)
 Construct a new glX system pipe. More...
 
virtual ~Pipe ()
 Destruct this glX pipe. More...
 
Display * getXDisplay () const
 
GLXEWContext * glxewGetContext ()
 
GLX/X11 initialization
virtual bool configInit ()
 Initialize this pipe for the GLX window system. More...
 
virtual void configExit ()
 Deinitialize this pipe for the GLX 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
 

Static Public Member Functions

static bool getGPUInfo (Display *display, GPUInfo &info)
 

Protected Member Functions

void setXDisplay (Display *display)
 Set the X display connection for this pipe. More...
 
std::string getXDisplayString ()
 
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

Default implementation of a glX system pipe.

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

Constructor & Destructor Documentation

eq::glx::Pipe::Pipe ( eq::Pipe parent)

Construct a new glX system pipe.

Version
1.0
virtual eq::glx::Pipe::~Pipe ( )
virtual

Destruct this glX pipe.

Version
1.0

Member Function Documentation

virtual void eq::glx::Pipe::configExit ( )
virtual

Deinitialize this pipe for the GLX window system.

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

Implements eq::SystemPipe.

virtual bool eq::glx::Pipe::configInit ( )
virtual

Initialize this pipe for the GLX window system.

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

Implements eq::SystemPipe.

virtual bool eq::glx::Pipe::configInitGL ( )
inlineprotectedvirtual

Initialize this pipe for OpenGL.

A temporary GL context is current during this call. The context is not the one used by the windows of this pipe.

Version
1.0

Definition at line 96 of file include/eq/client/glx/pipe.h.

Display* eq::glx::Pipe::getXDisplay ( ) const
inline
Returns
the X display connection for this pipe.
Version
1.0

Definition at line 61 of file include/eq/client/glx/pipe.h.

std::string eq::glx::Pipe::getXDisplayString ( )
protected
Returns
The string representation of this pipe's port and device setting, in the form used by XOpenDisplay().
Version
1.0
GLXEWContext* eq::glx::Pipe::glxewGetContext ( )
inline
Returns
the generic GLX function table for the pipe.

Definition at line 64 of file include/eq/client/glx/pipe.h.

void eq::glx::Pipe::setXDisplay ( Display *  display)
protected

Set the X display connection for this pipe.

This function should only be called from configInit() or configExit(). Updates the pixel viewport. Calls XSetCurrentDisplay().

Parameters
displaythe X display connection for this pipe.
Version
1.0

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