Mesa (master): r600g: reduce r600_reg footprint

Dave Airlie airlied at kemper.freedesktop.org
Thu May 12 23:29:20 UTC 2011


Module: Mesa
Branch: master
Commit: d79a4a612bae66581caf21a74bd745ec51a18e80
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d79a4a612bae66581caf21a74bd745ec51a18e80

Author: Dave Airlie <airlied at redhat.com>
Date:   Thu May 12 14:07:53 2011 +1000

r600g: reduce r600_reg footprint

This drops 6k of the text segment, a minor drop in the ocean, however
it also makes the code a lot cleaner and removes a lot of duplicated
information, hopefully making it more maintainable.

Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/gallium/winsys/r600/drm/evergreen_hw_context.c |  793 ++++++++++----------
 src/gallium/winsys/r600/drm/r600_hw_context.c      |  775 ++++++++++----------
 src/gallium/winsys/r600/drm/r600_priv.h            |    5 +-
 3 files changed, 785 insertions(+), 788 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=d79a4a612bae66581caf21a74bd745ec51a18e80



More information about the mesa-commit mailing list