Equalizer  1.10.1
Parallel Rendering Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
eq::glx Namespace Reference

The system abstraction layer for X11 and glX. More...

Classes

class  EventHandler
 The event handler for glX/X11 windows. More...
 
class  MessagePump
 A message pump receiving and dispatching X11 events. More...
 
class  Pipe
 Default implementation of a glX system pipe. More...
 
class  WindowIF
 The interface defining the minimum functionality for a glX window. More...
 
class  Window
 Equalizer default implementation of a glX window. More...
 
class  WindowEvent
 A window-system event for a glx::WindowIF. More...
 

Functions

void XSetCurrentDisplay (Display *display)
 Set the current X display connection. More...
 
Display * XGetCurrentDisplay ()
 

Detailed Description

The system abstraction layer for X11 and glX.

Function Documentation

Display* eq::glx::XGetCurrentDisplay ( )
Returns
the current display connection for the calling thread.
void eq::glx::XSetCurrentDisplay ( Display *  display)

Set the current X display connection.

This function stores a per-thread display connection, similar to the current WGL/AGL context. It is used by some classes to retrieve the display without having to know the glx::Pipe, which sets it automatically. Applications using the GLX window system with a custom SystemPipe implementation have to set it using this function.

Parameters
displaythe current display connection to use.