Mesa (master): draw: remove unnecessary flush
Marek Olšák
mareko at kemper.freedesktop.org
Fri Mar 11 01:23:29 UTC 2011
Module: Mesa
Branch: master
Commit: 8a01cb8793485ea3bded1cc881189a0114270612
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a01cb8793485ea3bded1cc881189a0114270612
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Mar 8 00:45:41 2011 +0100
draw: remove unnecessary flush
---
src/gallium/auxiliary/draw/draw_pipe_pstipple.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/src/gallium/auxiliary/draw/draw_pipe_pstipple.c b/src/gallium/auxiliary/draw/draw_pipe_pstipple.c
index ea62c97..fe3627b 100644
--- a/src/gallium/auxiliary/draw/draw_pipe_pstipple.c
+++ b/src/gallium/auxiliary/draw/draw_pipe_pstipple.c
@@ -388,13 +388,6 @@ pstip_update_texture(struct pstip_stage *pstip)
uint i, j;
ubyte *data;
- /* XXX: want to avoid flushing just because we use stipple:
- *
- * Flush should no longer be necessary if driver is properly
- * interleaving drawing and transfers on a given context:
- */
- pipe->flush( pipe, PIPE_FLUSH_TEXTURE_CACHE, NULL );
-
transfer = pipe_get_transfer(pipe, pstip->texture, 0, 0,
PIPE_TRANSFER_WRITE, 0, 0, 32, 32);
data = pipe->transfer_map(pipe, transfer);
More information about the mesa-commit
mailing list