mesa: Use the gl_vertex_array_object::Enabled bitfield.
authorMathias Fröhlich <mathias.froehlich@web.de>
Sat, 17 Nov 2018 06:13:11 +0000 (07:13 +0100)
committerMathias Fröhlich <mathias.froehlich@web.de>
Wed, 21 Nov 2018 05:27:19 +0000 (06:27 +0100)
commit1217a8448c1061d230956ac6e69a1bb3809dd6f2
treea0977d47c0f0ae6ff580b4d5e0ab3fbc5bd49f58
parent73d2d313e9fafc8e8a6ac54af1da18d476821e7a
mesa: Use the gl_vertex_array_object::Enabled bitfield.

Instead of using gl_array_attributes::Enabled use the
much more compact representation stored in
gl_vertex_array_object::Enabled using the corresponding bits.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/main/api_arrayelt.c
src/mesa/main/arrayobj.c
src/mesa/main/draw.c
src/mesa/main/enable.c
src/mesa/main/varray.c