freedreno: track maximal scissor bounds
authorRob Clark <robdclark@gmail.com>
Wed, 6 Mar 2013 15:45:58 +0000 (10:45 -0500)
committerRob Clark <robdclark@gmail.com>
Mon, 25 Mar 2013 17:05:44 +0000 (13:05 -0400)
commit732b0b5ebc5a30b6e87f67aabfb0e25d3e662d41
tree9990fab014019ba0108fea776cd14aeab3aac8d7
parent8a4750fe5e3fb5368edecbc7a0f835aada32d49e
freedreno: track maximal scissor bounds

Optimize out parts of the render target that are scissored out by taking
into account maximal scissor bounds in fd_gmem_render_tiles().

This is a big win on things like gnome-shell which frequently do partial
screen updates.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_clear.c
src/gallium/drivers/freedreno/freedreno_context.c
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_gmem.c
src/gallium/drivers/freedreno/freedreno_gmem.h
src/gallium/drivers/freedreno/freedreno_resource.c
src/gallium/drivers/freedreno/freedreno_state.c
src/gallium/drivers/freedreno/freedreno_state.h
src/gallium/drivers/freedreno/freedreno_vbo.c