[Mesa-dev] [PATCH 0/5] Move check for mapped buffers into api_validate.

Mathias.Froehlich at gmx.net Mathias.Froehlich at gmx.net
Sun Aug 14 18:12:35 UTC 2016


From: Mathias Fröhlich <Mathias.Froehlich at 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



More information about the mesa-dev mailing list