[Xcb] XCB and GLX

Jeremy Kolb jkolb@brandeis.edu
Mon Jan 17 09:43:09 PST 2005


Are their plans to XCBify GLX? Other extensions have been.  Wouldn't it
be needed down the road sometime?

Jeremy

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
> http://freedesktop.org/wiki/Software_2fxcb
> 
> and if you want to fully support xcb, without an interface, well, you have
> to re-write glx ;)
> 
> hth
> 
> Vincent TORRI
> 
> On Mon, 17 Jan 2005, Patrick Guimond wrote:
> 
> 
> 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
_______________________________________________
xcb mailing list
xcb@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xcb

> _______________________________________________
> xcb mailing list
> xcb@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb



More information about the xcb mailing list