From: Mathias Fröhlich <mathias.froehl...@gmx.net> Hi all,
This series moves the call to check for mapped vertex buffer objects on draw from the vbo code into api_validate.c. There we already check for various conditions to validate the current draw call. Some cleanups in that area are included. Please review! Thanks Mathias Mathias Fröhlich (5): vbo: Array draw must not care about glBegin/glEnd vbo mapping. mesa: Move _mesa_all_buffers_are_unmapped to arrayobj.c. mesa: Move check for vbo mapping into api_validate.c. vbo: Remove allways true return from vbo_bind_arrays. mesa: Remove duplicate include. src/mesa/main/api_validate.c | 8 +++- src/mesa/main/arrayobj.c | 28 +++++++++++++ src/mesa/main/arrayobj.h | 4 ++ src/mesa/vbo/vbo.h | 2 +- src/mesa/vbo/vbo_exec_array.c | 92 ++++++------------------------------------- 5 files changed, 51 insertions(+), 83 deletions(-) -- 2.7.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev