[Mesa-dev] [PATCH] st/mesa: improved is_interleaved_arrays() checking

Jose Fonseca jfonseca at vmware.com
Thu Jun 16 03:18:49 PDT 2011


----- Original Message -----
> On Tue, 2011-06-14 at 09:39 -0600, Brian Paul wrote:
> > Good question.  I was thinking that the interleaved vs.
> > non-interleaved paths could probably be merged with a little work.
> >  I
> > don't remember the original reason for doing things as they are.
> 
> I think it enabled an easier upload path within the
> driver/state-tracker
> -- memcpy a single range to a single VBO, rather than gathering.
> Now that the upload is potentially code-generated, that may no longer
> matter as much.

Yes, for user pointer arrays it still makes sense indeed.

But for pure VBOs I don't think that detecting interleaved arrays matters.

Jose


More information about the mesa-dev mailing list