[Mesa-dev] [PATCH 0/8] Half way to remove _NEW_ARRAY.

Mathias.Froehlich at gmx.net Mathias.Froehlich at gmx.net
Tue Mar 5 08:13:10 UTC 2019


From: Mathias Fröhlich <Mathias.Froehlich at gmx.net>

Hi all,

The following series introduces functions to map and unmap all
vbos stored in a vao. Make use of those functions where possible.
On that way cleanup and fix what comes up along the way.
The series also already removes half of the state that is tracked
using the _NEW_ARRAY bit. The rest of the _NEW_ARRAY state will
be removed past some more optimization in the vbo module.

The series is tested without regressions on radeonsi using piglit and deqp.

please review!
Thanks!

Mathias

Mathias Fröhlich (8):
  mesa: Implement helper functions to map and unmap a VAO.
  mesa: Factor out _mesa_array_element.
  mesa: Use _mesa_array_element in dlist save.
  mesa: Replace _ae_{,un}map_vbos with _mesa_vao_{,un}map_arrays
  mesa: Remove _ae_{,un}map_vbos and dependencies.
  mesa: Use mapping tools in debug prints.
  vbo: Fix basevertex handling in display list compiles.
  vbo: Fix GL_PRIMITIVE_RESTART_FIXED_INDEX in display list compiles.

 src/mesa/main/api_arrayelt.c | 136 +++++++----------------------------
 src/mesa/main/api_arrayelt.h |   7 +-
 src/mesa/main/arrayobj.c     |  84 ++++++++++++++++++++++
 src/mesa/main/arrayobj.h     |  18 +++++
 src/mesa/main/draw.c         |  57 ++++-----------
 src/mesa/vbo/vbo_save_api.c  |  46 +++++++++---
 6 files changed, 177 insertions(+), 171 deletions(-)

-- 
2.20.1



More information about the mesa-dev mailing list