On 11/8/05, Brian Paul
<[EMAIL PROTECTED]> wrote:

Sounds like you're exercising GLX indirect rendering.  

correct...

You're using the GLX/DRI-enabled libGL.so from Mesa or X.org , I presume?

Using the libGL.so from the Fedora Core  xorg-x11-Mesa-libGL-6.8.2-37 rpm to be specific :) 


You might have just found a simple bug in the client-side GLX code in libGL.  The code for glInterleavedArrays() is in
Mesa/src/glx/x11/vertarr.c if you want to look it over.

Ok, I took a quick look...the type we're using is GL_C4UB_V3F.
In there, vOffset is set to:

    vOffset = __glXTypeSize(vType) * cSize;

in the other case statements (before and after it), it looks like:

    vOffset = __glXTypeSize(cType) * cSize;

is the use of vType there a typo?  (probably a copy'n paste error)  or am i mis-reading things?

I'll have to take some time tomorrow to take a look at the difference between how DrawArrays and DrawElements are done.

thanks,
tom
 



 


Reply via email to