Mesa (master): r600g: abstract the hw states out behind a vtbl.

Dave Airlie airlied at kemper.freedesktop.org
Tue Sep 7 22:51:20 UTC 2010


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Sep  8 08:30:59 2010 +1000

r600g: abstract the hw states out behind a vtbl.

this is step one towards evergreen support, it lets us plug in whole
new hw level states.

---

 src/gallium/drivers/r600/Makefile         |    3 +-
 src/gallium/drivers/r600/r600_context.c   |  235 +-------
 src/gallium/drivers/r600/r600_context.h   |   41 ++
 src/gallium/drivers/r600/r600_draw.c      |   52 +--
 src/gallium/drivers/r600/r600_hw_states.c | 1035 +++++++++++++++++++++++++++++
 src/gallium/drivers/r600/r600_shader.c    |   76 +--
 src/gallium/drivers/r600/r600_state.c     |  636 +-----------------
 7 files changed, 1103 insertions(+), 975 deletions(-)

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



More information about the mesa-commit mailing list