r600g: rework dirty / depth texture tracking.
authorDave Airlie <airlied@redhat.com>
Thu, 3 Feb 2011 03:12:35 +0000 (13:12 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 3 Feb 2011 04:17:05 +0000 (14:17 +1000)
commitb13b7b86b2e1165b24a2df20cb67f9f3baa17b13
treee984009ca1abccc8643dff5623d885cb443bc85b
parentd0293290ad620084d490b51693d97731a8935094
r600g: rework dirty / depth texture tracking.

this adds a flag to keep track of whether the depth texture structure
is the flushed texture or not, so we can avoid doing flushes when
we do a hw rendering from one to the other.

it also renames flushed to dirty_db which tracks if the DB copy
has been dirtied by being bound to the hw.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/r600/r600_resource.h
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_state_common.c
src/gallium/drivers/r600/r600_texture.c