diff options
author | Marek Olšák <[email protected]> | 2011-03-08 00:45:41 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-03-11 02:02:16 +0100 |
commit | 8a01cb8793485ea3bded1cc881189a0114270612 (patch) | |
tree | afb0dc17c91c4196843c923948e30072faa308fb /src/gallium/auxiliary/draw/draw_pipe_pstipple.c | |
parent | cb06f180e3a5829df1d9b60f95db7417fbcd9002 (diff) |
draw: remove unnecessary flush
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pipe_pstipple.c')
-rw-r--r-- | 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 ea62c9739fd..fe3627be867 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); |