Merging aiglx

Kristian Høgsberg krh at bitplanet.net
Thu Mar 16 07:24:00 PST 2006


David Reveman wrote:
...

>> On a related note, I saw this commit:
>>
>> http://webcvs.freedesktop.org/xorg/xserver/xorg/GL/mesa/X/xf86glx.c?r1=1.5.8.5&r2=1.5.8.6
>>
>> and I don't understand why you need the GlxFlushContextCache() calls. 
>> In the loseCurrent case, StopUsingContext(prevglxc) is called later in 
>> DoMakeCurrent which clear the context cache.  In the destroy context 
>> case, ctx->destroy() is only called from __glXFreeContext() (except for 
>> DoCreateContext) where the context cache is also cleared.
> 
> Yes, I thought I didn't needed them either. I had them there before I
> switched to your new GLX code and it turns out it doesn't work without
> them so I put them back for now until I have time to figure out why it
> doesn't work.

Huh.  Okay, I'll add them in, they don't do any harm, and maybe someday, 
somebody will figure it out :)

Kristian




More information about the xorg mailing list