Kenneth Graunke <kenn...@whitecape.org> writes: > Register sets depend on the particular hardware generation, but don't > depend on anything in the actual OpenGL context. Computing them is > fairly expensive, and they take up a large amount of memory. Putting > them in the screen allows us to compute/allocate them once for all > contexts, saving both time and space. > > Improves the performance of a context creation/destruction > microbenchmark by about 3x on my Haswell i7-4750HQ.
Reviewed-by: Eric Anholt <e...@anholt.net>
pgpTEB6OXXS_Z.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev