[Xcb] XCB and GLX

Vincent Torri Vincent.Torri@iecn.u-nancy.fr
Mon Jan 17 09:32:44 PST 2005

Xcl is an interface between XCB and Xlib programs. You can use it as you
would use Xlib. In particular, the XDisplay structure of xcl is the one
you should use and is built from a XCBConnection.

but xcl is no more supported. Compile X11 (from freedesktop.org) with xcb
support (it replaces xcl). Then X11 will use XCB. See

and if you want to fully support xcb, without an interface, well, you have
to re-write glx ;)


Vincent TORRI

On Mon, 17 Jan 2005, Patrick Guimond wrote:

> Hash: SHA1
> Hi
> I was wondering if there is any possibility of using GLX when using XCB.
> My current problem is that when using XCB, I don't have any Display
> structure that GLX would be using, only the XCBConnection.
> I looked in XCL and it seems possible to get a pointer to the
> XCBConnection from the Display structure, but I don't see any way to do
> the opposite, that is, create a Display structure from an XCBConnection.
> Would there be a way to this without initializing the connection with
> XCL? Would there be a way to use GLX only with XCB, as I try to get rid
> of XCL/Xlib as much as possible?
> Patrick Guimond
> Version: GnuPG v1.4.0 (GNU/Linux)
> iD8DBQFB6/Q50X14v95lmw4RAinQAKDRDHREBmxxNxhd6hVBxzu0mVWsvgCghDKE
> bXl7aAE61hEbxY8kxYZ5SQ4=
> =yah7
> _______________________________________________
> xcb mailing list
> xcb@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb

More information about the xcb mailing list