Re: [Mesa-dev] [PATCH] vbo: optimize vertex copying when 'wrapping'

2015-10-21 Thread Matt Turner
On Wed, Oct 21, 2015 at 3:41 PM, Brian Paul wrote: > Instead of calling memcpy() 'n' times, we can do it all at once since > the source and dest regions are all contiguous. > --- > src/mesa/vbo/vbo_exec_api.c | 16 +++- > src/mesa/vbo/vbo_save_api.c | 15 +++ > 2 files cha

[Mesa-dev] [PATCH] vbo: optimize vertex copying when 'wrapping'

2015-10-21 Thread Brian Paul
Instead of calling memcpy() 'n' times, we can do it all at once since the source and dest regions are all contiguous. --- src/mesa/vbo/vbo_exec_api.c | 16 +++- src/mesa/vbo/vbo_save_api.c | 15 +++ 2 files changed, 14 insertions(+), 17 deletions(-) diff --git a/src/mesa/v