Equalizer 1.0

eq::GLXPipe Class Reference

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

#include <glXPipe.h>

Inheritance diagram for eq::GLXPipe:
Collaboration diagram for eq::GLXPipe:

List of all members.

Public Member Functions

 GLXPipe (Pipe *parent)
 Construct a new glX system pipe.
virtual ~GLXPipe ()
 Destruct this glX pipe.
Display * getXDisplay () const
GLXEWContext * glxewGetContext ()
GLX/X11 initialization
virtual bool configInit ()
 Initialize this pipe for the GLX window system.
virtual void configExit ()
 Deinitialize this pipe for the GLX window system.

Protected Member Functions

void setXDisplay (Display *display)
 Set the X display connection for this pipe.
std::string getXDisplayString ()
virtual bool configInitGL ()
 Initialize this pipe for OpenGL.

Detailed Description

Default implementation of a glX system pipe.

Definition at line 29 of file glXPipe.h.


Constructor & Destructor Documentation

eq::GLXPipe::GLXPipe ( Pipe parent)

Construct a new glX system pipe.

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

Destruct this glX pipe.

Version:
1.0

Member Function Documentation

virtual void eq::GLXPipe::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::GLXPipe::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::GLXPipe::configInitGL ( ) [inline, protected, virtual]

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 90 of file glXPipe.h.

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

Definition at line 58 of file glXPipe.h.

std::string eq::GLXPipe::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::GLXPipe::glxewGetContext ( ) [inline]
Returns:
the generic GLX function table for the pipe.

Definition at line 61 of file glXPipe.h.

void eq::GLXPipe::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:
Generated on Sun May 8 2011 19:11:09 for Equalizer 1.0 by  doxygen 1.7.3