[Xcb] Re: [Mesa3d-dev] GLX patches

Brian Paul brian.paul at tungstengraphics.com
Sat May 7 10:19:49 PDT 2005


Jeremy Kolb wrote:
> Okay, here are my patches for making indirect glx work with XCB.  The 
> first one for glX_proto_send.py adds support for generating the XCB code 
> to handle the single requests (not vendor or render requests).
> 
> The second one for glxext.c uses XCB to send Render/RenderLarge using XCB.
> 
> All of the C code is surrounded with #ifdef/#else/#endif (symbol is 
> USE_XCB).

I've checked in your patches.


> In order to build this correctly after applying the patches you'll need 
> to edit the linux-dri config file and add -DUSE_XCB to DEFINES and -lXCB 
> to GL_LIB_DEPS, also change your paths to include the "Xlibs --with-xcb" 
> and XCB.

Perhaps you could contribute a new 'configs/linux-dri-xcb' file?

You should be able to 'include linux-dri' and just set the new variables.

-Brian


More information about the xcb mailing list