Skip to content
Snippets Groups Projects
Commit 3be42f9c authored by Marek Olšák's avatar Marek Olšák Committed by Marge Bot
Browse files

mesa: rewrite glPushAttrib/glPopAttrib to get rid of malloc


This was inevitable. This gets rid of the malloc/free calls and chaining
each push group in a linked list. Now the whole attribute stack is declared
statically in gl_context.

Yes, this improves performance a lot.

Acked-by: default avatarPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <mesa/mesa!6946>
parent e08b3b74
No related branches found
No related tags found
No related merge requests found
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