Mesa (master): r600g: split pipe state creating/ binding from hw state creation

Jerome Glisse glisse at kemper.freedesktop.org
Wed Jul 28 23:37:37 UTC 2010


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

Author: Jerome Glisse <jglisse at redhat.com>
Date:   Wed Jul 28 19:33:50 2010 -0400

r600g: split pipe state creating/binding from hw state creation

Split hw vs pipe states creation handling as hw states group doesn't
match pipe state group exactly. Right now be dumb about that and
rebuild all hw states on each draw call. More optimization on that
side coming.

Signed-off-by: Jerome Glisse <jglisse at redhat.com>

---

 src/gallium/drivers/r600/r600_blit.c     |   48 +-
 src/gallium/drivers/r600/r600_buffer.c   |    1 +
 src/gallium/drivers/r600/r600_context.c  |  152 ++--
 src/gallium/drivers/r600/r600_context.h  |  147 +++-
 src/gallium/drivers/r600/r600_draw.c     |   34 +-
 src/gallium/drivers/r600/r600_resource.c |    1 -
 src/gallium/drivers/r600/r600_shader.c   |   47 +-
 src/gallium/drivers/r600/r600_state.c    | 1255 +++++++++++++++++++-----------
 src/gallium/winsys/r600/drm/r600_drm.c   |    4 +-
 9 files changed, 1077 insertions(+), 612 deletions(-)

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



More information about the mesa-commit mailing list