[Xcb] XCB and GLX

Jeremy Kolb jkolb@brandeis.edu
Mon Jan 17 11:35:02 PST 2005

Where can one find the GLX spec?


Barton C Massey wrote:
> Yes, eventually some 3D graphics extension will be added to
> XCB, probably GLX.  If someone wanted to do that work, I
> think it shouldn't be too hard given the current state of
> XCB/XML.  See
>     http://xcb.freedesktop.org/wiki/Software_2fXML_2dXCB
> If it is hard, I'd like to know, so we can figure out what
> to do about it :-).
> In the meantime, use Xlib/XCB, which is just freedesktop.org
> Xlib configured with --with-xcb: see
>   http://xcb.freedesktop.org/wiki/Software_2fxcb
> for some sketchy build insns.  This is the sanctioned
> replacement for the no-longer-supported XCL: it should let
> you freely mix Xlib stuff such as use of the Display
> structure with XCB calls.  Again, if this is problematic
> with GLX I'd like to know, so we can figure out what to do
> about it.
> We really need to update the Wiki a bit more to make it
> clear that XCL is deprecated and Xlib/XCB is now the target
> for a compatibility library.
> We also need to get Xlib/XCB to pass the X Test Suite.  If
> someone wants to help with this, such help would be
> gratefully accepted.
> 	Bart Massey
> 	bart@cs.pdx.edu
> In message <Pine.LNX.4.51.0501171848310.22723@cartan.iecn.u-nancy.fr> Vincent wrote:
>>I don't know at all. There are some posts about that on the ML.
>>On Mon, 17 Jan 2005, Jeremy Kolb wrote:
>>>Are their plans to XCBify GLX? Other extensions have been.  Wouldn't it
>>>be needed down the road sometime?
>>>Vincent Torri wrote:
>>>>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:
>>>>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
>>>xcb mailing list
>>>>xcb mailing list
>>xcb mailing list

More information about the xcb mailing list