Re: [Mesa-dev] [PATCH] vbo: count min/max_index before vbo-draw_prims

2011-12-27 Thread Eric Anholt
On Sun, 25 Dec 2011 12:26:25 +0800, Liu Aleaxander aleaxan...@gmail.com wrote: On Sun, Dec 25, 2011 at 8:03 AM, Eric Anholt e...@anholt.net wrote: On Thu, 22 Dec 2011 18:55:50 +0800, Yuanhan Liu yuanhan@linux.intel.com wrote: For the case that index data is stored in element array

Re: [Mesa-dev] [PATCH] vbo: count min/max_index before vbo-draw_prims

2011-12-27 Thread Yuanhan Liu
On Tue, Dec 27, 2011 at 11:15:42AM -0800, Eric Anholt wrote: On Sun, 25 Dec 2011 12:26:25 +0800, Liu Aleaxander aleaxan...@gmail.com wrote: On Sun, Dec 25, 2011 at 8:03 AM, Eric Anholt e...@anholt.net wrote: On Thu, 22 Dec 2011 18:55:50 +0800, Yuanhan Liu yuanhan@linux.intel.com

Re: [Mesa-dev] [PATCH] vbo: count min/max_index before vbo-draw_prims

2011-12-24 Thread Eric Anholt
On Thu, 22 Dec 2011 18:55:50 +0800, Yuanhan Liu yuanhan@linux.intel.com wrote: For the case that index data is stored in element array buffer object, and user called glMultiDrawElements, count the min/max_index before calling vbo-draw_prims. vbo_get_minmax_index() isn't friendly to this

Re: [Mesa-dev] [PATCH] vbo: count min/max_index before vbo-draw_prims

2011-12-24 Thread Liu Aleaxander
On Sun, Dec 25, 2011 at 8:03 AM, Eric Anholt e...@anholt.net wrote: On Thu, 22 Dec 2011 18:55:50 +0800, Yuanhan Liu yuanhan@linux.intel.com wrote: For the case that index data is stored in element array buffer object, and user called glMultiDrawElements, count the min/max_index before

[Mesa-dev] [PATCH] vbo: count min/max_index before vbo-draw_prims

2011-12-22 Thread Yuanhan Liu
For the case that index data is stored in element array buffer object, and user called glMultiDrawElements, count the min/max_index before calling vbo-draw_prims. vbo_get_minmax_index() isn't friendly to this case. So do it while building the prim info. Signed-off-by: Yuanhan Liu