vbo: optimize resizing vertex attributes during immediate mode

Graphics / Mesa 3D Graphics Library / Mesa - Marek Olšák [amd.com] - 11 February 2020 00:34 UTC

Just move data manually instead of copying all attributes back and forth.

This increases performance by 5% for Viewperf11/Catia - first scene.

077a843c27d vbo: optimize resizing vertex attributes during immediate mode
src/mesa/vbo/vbo_exec_api.c | 115 ++++++++++++++++++++------------------------
1 file changed, 53 insertions(+), 62 deletions(-)

Upstream: cgit.freedesktop.org


  • Share