r600g: precompute some of the hw state
authorJerome Glisse <jglisse@redhat.com>
Mon, 30 Aug 2010 01:01:51 +0000 (21:01 -0400)
committerJerome Glisse <jglisse@redhat.com>
Mon, 30 Aug 2010 19:00:55 +0000 (15:00 -0400)
commitde0b76cab22caa9fc7260f80acb8f151ccced6c5
treea8a5788f88ecf8b293b69daa435b564718a469ed
parent0bba7796a33d3c47295a9676dc82984da1615fe5
r600g: precompute some of the hw state

Idea is to build hw state at pipe state creation and
reuse them while keeping a non PM4 packet interface
btw winsys & pipe driver. This commit also force rebuild
of pm4 packet on each call to radeon_state_pm4 which
in turn slow down everythings, this will be addressed.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/r600/r600_context.h
src/gallium/drivers/r600/r600_resource.h
src/gallium/drivers/r600/r600_screen.h
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_texture.c
src/gallium/drivers/r600/radeon.h
src/gallium/winsys/r600/drm/r600_state.c
src/gallium/winsys/r600/drm/r600_states.h
src/gallium/winsys/r600/drm/radeon_priv.h
src/gallium/winsys/r600/drm/radeon_state.c