Re: [Mesa-dev] [PATCH] vbo: reduce number of vertex buffer mappings for vertex attributes

2015-10-17 Thread Marek Olšák
This looks like a sensible thing to do, but I don't remember all the details of the vbo module. Reviewed-by: Marek Olšák Marek On Thu, Oct 15, 2015 at 9:02 PM, Brian Paul wrote: > Whenever we got a glColor, glNormal, glTexCoord, etc. call outside a > glBegin/End pair, we'd immediately map a ve

[Mesa-dev] [PATCH] vbo: reduce number of vertex buffer mappings for vertex attributes

2015-10-15 Thread Brian Paul
Whenever we got a glColor, glNormal, glTexCoord, etc. call outside a glBegin/End pair, we'd immediately map a vertex buffer to begin accumulating vertex data. In some cases, such as with display lists, this led to excessive vertex buffer mapping. For example, if we have a display list such as: g