Module: Mesa
Branch: master
Commit: 0967d77a9a2a2d1e178e2b747747ba9f9caee3c2
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0967d77a9a2a2d1e178e2b747747ba9f9caee3c2

Author: Jakob Bornecrantz <ja...@vmware.com>
Date:   Thu Dec 16 07:24:32 2010 +0100

wrapper: Flush pipe on unmap

For drivers that does DMA transfers instead of mapping directly

---

 src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c 
b/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c
index 77220cf..4ecfdbf 100644
--- a/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c
+++ b/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c
@@ -246,6 +246,7 @@ wsw_dt_unmap(struct sw_winsys *ws,
 
    pipe->transfer_unmap(pipe, wdt->transfer);
    pipe->transfer_destroy(pipe, wdt->transfer);
+   pipe->flush(pipe, 0, NULL);
    wdt->transfer = NULL;
 }
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to