Skip to content
Snippets Groups Projects
Commit b9de4858 authored by Mathias Fröhlich's avatar Mathias Fröhlich
Browse files

mesa: Implement _mesa_array_element by walking enabled arrays.


In glArrayElement, use the bitmask trick to just walk the enabled
vao arrays. This should be about equivalent in execution time to
walk the prepare aelt_context list. Finally this will allow us to
reduce the _mesa_update_state calls in a few patches.

v2: Add comments.

Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
Signed-off-by: default avatarMathias Fröhlich <Mathias.Froehlich@web.de>
parent 7a5dea63
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment