mesa: Track buffer object use also for VAO usage.
authorMathias Fröhlich <mathias.froehlich@web.de>
Fri, 21 Dec 2018 17:41:27 +0000 (18:41 +0100)
committerMathias Fröhlich <Mathias.Froehlich@gmx.net>
Mon, 4 Mar 2019 16:03:06 +0000 (17:03 +0100)
commite727f8c8b814b9c36d4a8b52829c2bf7281765be
treec5c77fdb8fff990c9c51525460b2c2cf6d836e68
parent9e787904d0a5c0dfde509a03f31f7a0c6f2993c3
mesa: Track buffer object use also for VAO usage.

We already track the usage history for buffer objects
in a lot of aspects. Add GL_ARRAY_BUFFER and
GL_ELEMENT_ARRAY_BUFFER to gl_buffer_object::UsageHistory.

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