Module: Mesa Branch: master Commit: 762c9766c93697af8d7fbaa729aed118789dbe8e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=762c9766c93697af8d7fbaa729aed118789dbe8e
Author: Mathias Fröhlich <[email protected]> Date: Mon Oct 31 22:23:51 2011 +0100 mesa: Use VERT_ATTRIB_* indexed array in gl_array_object. Replace the distinct struct gl_client_array members in gl_array_object by an array of gl_client_arrays indexed by VERT_ATTRIB_*. Renumber the vertex attributes slightly to keep the old semantics of the distinct array members. Make use of the upper 32 bits in VERT_BIT_*. Update all occurances of the distinct struct members with the array equivalents. Signed-off-by: Mathias Froehlich <[email protected]> Reviewed-by: Eric Anholt <[email protected]> --- src/mesa/main/api_arrayelt.c | 38 ++++++++-------- src/mesa/main/api_validate.c | 6 +- src/mesa/main/arrayobj.c | 94 ++++++++++++++++----------------------- src/mesa/main/attrib.c | 13 ----- src/mesa/main/bufferobj.c | 11 ----- src/mesa/main/enable.c | 44 +++++++++--------- src/mesa/main/get.c | 98 ++++++++++++++++++++-------------------- src/mesa/main/getstring.c | 18 ++++---- src/mesa/main/mtypes.h | 61 +++++++++----------------- src/mesa/main/nvprogram.c | 8 ++-- src/mesa/main/state.c | 83 ++++++++++++++++++----------------- src/mesa/main/varray.c | 98 ++++++++++++++++++----------------------- src/mesa/vbo/vbo_attrib.h | 59 ++++++++++++------------ src/mesa/vbo/vbo_exec_array.c | 41 ++--------------- 14 files changed, 287 insertions(+), 385 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=762c9766c93697af8d7fbaa729aed118789dbe8e _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
