Mesa (master): r600g: improve bo flushing
Jerome Glisse
glisse at kemper.freedesktop.org
Tue Oct 5 15:15:31 UTC 2010
Module: Mesa
Branch: master
Commit: 585e4098aa0cb68a2cfce55ced5c585bd20aba24
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=585e4098aa0cb68a2cfce55ced5c585bd20aba24
Author: Jerome Glisse <jglisse at redhat.com>
Date: Tue Oct 5 10:29:30 2010 -0400
r600g: improve bo flushing
Flush read cache before writting register. Track flushing inside
of a same cs and avoid reflushing same bo if not necessary. Allmost
properly force flush if bo rendered too and then use as a texture
in same cs (missing pipeline flush dunno if it's needed or not).
Signed-off-by: Jerome Glisse <jglisse at redhat.com>
---
src/gallium/drivers/r600/r600.h | 3 +
src/gallium/winsys/r600/drm/evergreen_hw_context.c | 816 ++++++++++----------
src/gallium/winsys/r600/drm/r600_hw_context.c | 820 ++++++++++----------
src/gallium/winsys/r600/drm/r600_priv.h | 8 +
4 files changed, 825 insertions(+), 822 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=585e4098aa0cb68a2cfce55ced5c585bd20aba24
More information about the mesa-commit
mailing list