mesa: Remove FLUSH_VERTICES from VAO state changes.
authorMathias Fröhlich <mathias.froehlich@web.de>
Sun, 13 May 2018 07:18:57 +0000 (09:18 +0200)
committerMathias Fröhlich <Mathias.Froehlich@gmx.net>
Thu, 17 May 2018 18:13:39 +0000 (20:13 +0200)
commit9c7be67968aaba224d518dee86dff736a4b599c6
tree262ca67274153771c463b21787e1a20fdbbffc93
parent0a2c94755688762bf091de62ce5b19363bac7f9c
mesa: Remove FLUSH_VERTICES from VAO state changes.

Pending draw calls on immediate mode or display list calls do
not depend on changes of the VAO state. So, remove calls to
FLUSH_VERTICES and flag _NEW_ARRAY as appropriate.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/main/varray.c