r200: Prevent flush in middle of rendering.
authorPauli Nieminen <suokkos@gmail.com>
Tue, 11 Aug 2009 20:43:35 +0000 (23:43 +0300)
committerPauli Nieminen <suokkos@gmail.com>
Fri, 21 Aug 2009 16:12:29 +0000 (19:12 +0300)
commitfb1d0bfd47fb8790e0b350a0fad7bc0af39e70f4
treec30d9e7c9860338a1aca6fbddd57ceed2bb101b7
parent7f8f486b36dc42a3818546c704321320fcdbc94b
r200: Prevent flush in middle of rendering.

Patch adds prediction functionthat tries to predict emit size to the smallest
possible values that is quarenteed to be higher than worst case scenario in
rendering pipeline.

State emit size prediction code is in place but fix for emit sizes is included
in next patch.

Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
src/mesa/drivers/dri/r200/r200_ioctl.h
src/mesa/drivers/dri/r200/r200_tcl.c
src/mesa/drivers/dri/radeon/radeon_common.c
src/mesa/drivers/dri/radeon/radeon_common.h