From: Mathias Fröhlich <mathias.froehl...@gmx.net> Hi Brian,
This series mostly prepares the pushdown of gl_vertex_array use into the drivers. Once it is there we can fade that out for most of the drivers and change that on a per driver base. The series cleans up when to flag changes of the array state and introduces draw as a first class citizen of struct dd_driver_functions. The series survives piglit in radeonsi, classic swrast and i965 without regressions as well as a run on intels CI system. please review best Mathias Mathias Fröhlich (9): mesa: Make draw a first place driver method. vbo: Move vbo_bind_arrays into a dd_driver_functions draw callback. mesa: Update vao internal state when setting the _DrawVAO. mesa: Set DriverFlags.NewArray together with vbo...recalculate_inputs. mesa: A change of gl_vertex_processing_mode needs an array update. vbo: Remove vbo...recalculate_inputs from vbo_exec_invalidate_state. vbo: Remove redundant set of DriverFlags.NewArray in vbo_bind_arrays. vbo: Remove now duplicate _vbo_update_inputs from dlist draw. vbo: Remove now duplicate _DrawVAO notification. src/mesa/drivers/common/driverfuncs.c | 5 +++ src/mesa/main/arrayobj.c | 6 +++ src/mesa/main/dd.h | 81 ++++++++++++++++++++++++++++++++++ src/mesa/main/state.c | 51 ++++++++++++++++----- src/mesa/state_tracker/st_context.c | 4 ++ src/mesa/vbo/vbo.h | 27 ++++++++++++ src/mesa/vbo/vbo_context.c | 63 ++++++++++++++++++++++---- src/mesa/vbo/vbo_exec.c | 7 +++ src/mesa/vbo/vbo_exec_array.c | 83 ++++++----------------------------- src/mesa/vbo/vbo_exec_draw.c | 20 ++------- src/mesa/vbo/vbo_primitive_restart.c | 14 +++--- src/mesa/vbo/vbo_save_draw.c | 13 +----- 12 files changed, 250 insertions(+), 124 deletions(-) -- 2.14.3 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev