[Mesa-dev] [PATCH 2/2] mesa: move glDraw-related functions into new draw.[ch] files
brianp at vmware.com
Thu Nov 14 15:40:02 PST 2013
On 11/14/2013 04:14 PM, Ian Romanick wrote:
> On 11/13/2013 10:38 AM, Brian Paul wrote:
>> To trim down the varray.c file so it's just vertex array functions.
> Is that the only motivation?
For now, yes. I'm just trying to de-clutter varray.[ch]
> This will prevent us from optimizing the
> implementation of, say, _mesa_MultiDrawArrays.
I don't think that we're not any worse off than before. If you're
talking about using some of the vbo functions directly, this change
neither increases nor decreases the work involved in that. If you're
talking about something else, please elaborate.
> It also seems weird that
> _mesa_MultiDrawModeDrawArraysIBM and _mesa_MultiDrawElementsEXT are in
> different .c files but the same .h file.
It's the same situation as before, but I believe a step in the right
direction. The interface between main/ and vbo/ could certainly use
More information about the mesa-dev