[Xcb] using glX with xcb

Vincent Torri vtorri at univ-evry.fr
Sun Mar 4 06:34:58 PST 2007

On Sun, 4 Mar 2007, Jeremy Kolb wrote:

> Right, not all of them are 1:1, but I believe most of them are.  The
> Choose* functions you can implement with xcb_glx_get_fbconfig and then
> you have to query the attribute list that it returns.  There should
> really be a utility function for this, I tried writing one about a year
> back but never finished it.
> Also, you shouldn't need to port glXMakeCurrent, we have a
> xcb_glx_make_current function.

well, glXMakeCurrent does a lot more than just sending a request and 
waiting for the reply.

glXMakeCurrent calls MakeContextCurrent, which calls 
SendMakeCurrentRequest. The latter is sending the request and waiting for 
the reply.

And as I don't really understand what that function (glXMakeCurrent) does, 
it's a bit difficult for me to port it correctly :/


More information about the Xcb mailing list