i965: Ask the VBO module to actually use VBOs.
authorEric Anholt <eric@anholt.net>
Fri, 4 Oct 2013 01:52:10 +0000 (18:52 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 21 May 2014 18:38:55 +0000 (11:38 -0700)
commitb11d345ab02ad78b17439179d794c91aa229d83c
tree057f56169ec9d41d75a2aac6f5d69ee2f34040ab
parentf3ba761129e39c299fe39fa91b542f459cad9f83
i965: Ask the VBO module to actually use VBOs.

Note that this covers the Begin/End rendering path, but not user vertex
arrays (so we can't drop copy_array_to_vbo_array() code).  Improves
performance of isosurf GLVERTEX|TRIANGLES by 16.7506% +/- 4.98934%
(n=20). No difference on openarena (n=10), which was why this was reverted
back in cbde2765804a4fc62bcf092230a01376aedbf2cd.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.c