[Mesa-dev] [PATCH 00/10] glUniform* micro-optimizations, part 1

Ian Romanick idr at freedesktop.org
Mon Nov 3 16:22:51 PST 2014


This is the first, and more minor, batch of micro-optimizations for the
glUniform* paths.  Other than patch 8, these probably aren't going to
make a lot of difference, even on CPU limited applications.

The next batch, which needs a bit more time to finish baking, should
have some more substantial improvements.

 src/glsl/glsl_types.h           |  18 +--
 src/mesa/main/uniform_query.cpp | 260 +++++++++++++++-------------------------
 src/mesa/main/uniforms.c        |  96 +++++++--------
 src/mesa/main/uniforms.h        |   4 +-
 4 files changed, 157 insertions(+), 221 deletions(-)


More information about the mesa-dev mailing list