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

Jeremy Kolb jkolb at brandeis.edu
Sat May 7 11:09:19 PDT 2005


Brian Paul wrote:
> 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.
> 

Thanks!  There will be more to come in a bit.

> 
>> 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.
> 

Alright.

Jeremy


More information about the xcb mailing list