Mesa (master): i915g: Remove heuristic flushing.

Stephane Marchesin marcheu at kemper.freedesktop.org
Fri Aug 26 17:46:03 PDT 2011


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

Author: Stephane Marchesin <marchesin at icps.u-strasbg.fr>
Date:   Tue Aug  2 03:31:21 2011 +0200

i915g: Remove heuristic flushing.

---

 src/gallium/drivers/i915/i915_prim_emit.c |    2 --
 src/gallium/drivers/i915/i915_prim_vbuf.c |    3 ---
 2 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/gallium/drivers/i915/i915_prim_emit.c b/src/gallium/drivers/i915/i915_prim_emit.c
index 1acde97..85656cd 100644
--- a/src/gallium/drivers/i915/i915_prim_emit.c
+++ b/src/gallium/drivers/i915/i915_prim_emit.c
@@ -166,8 +166,6 @@ emit_prim( struct draw_stage *stage,
 
    for (i = 0; i < nr; i++)
       emit_hw_vertex(i915, prim->v[i]);
-
-   i915_flush_heuristically(i915, nr);
 }
 
 
diff --git a/src/gallium/drivers/i915/i915_prim_vbuf.c b/src/gallium/drivers/i915/i915_prim_vbuf.c
index d8ae1de..79db3b6 100644
--- a/src/gallium/drivers/i915/i915_prim_vbuf.c
+++ b/src/gallium/drivers/i915/i915_prim_vbuf.c
@@ -487,7 +487,6 @@ draw_arrays_fallback(struct vbuf_render *render,
 
    draw_arrays_generate_indices(render, start, nr, i915_render->fallback);
 
-   i915_flush_heuristically(i915, nr_indices);
 out:
    return;
 }
@@ -535,7 +534,6 @@ i915_vbuf_render_draw_arrays(struct vbuf_render *render,
              nr);
    OUT_BATCH(start); /* Beginning vertex index */
 
-   i915_flush_heuristically(i915, nr);
 out:
    return;
 }
@@ -659,7 +657,6 @@ i915_vbuf_render_draw_elements(struct vbuf_render *render,
                          save_nr_indices,
                          i915_render->fallback);
 
-   i915_flush_heuristically(i915, nr_indices);
 out:
    return;
 }



More information about the mesa-commit mailing list