Module: Mesa Branch: master Commit: 64d2a20480547d5897fd9d7b8fd306f2625138cb URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=64d2a20480547d5897fd9d7b8fd306f2625138cb
Author: Mathias Fröhlich <mathias.froehl...@web.de> Date: Sun Mar 4 18:15:53 2018 +0100 mesa: Make gl_vertex_array contain pointers to first order VAO members. Instead of keeping a copy of the vertex array content in struct gl_vertex_array only keep pointers to the first order information originaly in the VAO. For that represent the current values by struct gl_array_attributes and struct gl_vertex_buffer_binding. v2: Change comments. Remove gl... prefix from variables except in the i965 directory where it was like that before. Reindent because of that. Reviewed-by: Brian Paul <bri...@vmware.com> Signed-off-by: Mathias Fröhlich <mathias.froehl...@web.de> --- src/mesa/drivers/dri/i965/brw_context.h | 2 +- src/mesa/drivers/dri/i965/brw_draw.c | 28 +++--- src/mesa/drivers/dri/i965/brw_draw_upload.c | 130 ++++++++++++++------------ src/mesa/drivers/dri/i965/genX_state_upload.c | 23 +++-- src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c | 81 +++++++++------- src/mesa/main/arrayobj.c | 16 ---- src/mesa/main/attrib.c | 1 - src/mesa/main/mtypes.h | 47 +++------- src/mesa/main/varray.c | 21 ----- src/mesa/main/varray.h | 49 +++------- src/mesa/state_tracker/st_atom.c | 7 +- src/mesa/state_tracker/st_atom_array.c | 115 ++++++++++++++--------- src/mesa/state_tracker/st_cb_rasterpos.c | 26 +++--- src/mesa/state_tracker/st_draw_feedback.c | 46 ++++++--- src/mesa/tnl/t_draw.c | 95 ++++++++++--------- src/mesa/tnl/t_rebase.c | 20 ++-- src/mesa/tnl/t_rebase.h | 2 +- src/mesa/vbo/vbo.h | 4 +- src/mesa/vbo/vbo_context.c | 52 +++++------ src/mesa/vbo/vbo_exec.c | 16 ++-- src/mesa/vbo/vbo_exec_api.c | 22 ++--- src/mesa/vbo/vbo_private.h | 3 +- src/mesa/vbo/vbo_save_draw.c | 2 +- src/mesa/vbo/vbo_split.c | 2 +- src/mesa/vbo/vbo_split.h | 4 +- src/mesa/vbo/vbo_split_copy.c | 97 +++++++++++-------- src/mesa/vbo/vbo_split_inplace.c | 6 +- 27 files changed, 480 insertions(+), 437 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=64d2a20480547d5897fd9d7b8fd306f2625138cb _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit