[Mesa-dev] [PATCH 0/6] Draw-optz changes

Stéphane Marchesin marcheu at chromium.org
Tue Jan 24 00:55:45 PST 2012


I picked those draw changes from Jakob's branch. I discarded the first two
commits (regresses glest) and the last one (i915g specific, works around a bug
that was already fixed properly in git). Gives me a ~10% perf improvement in
state-intensive apps like ipers on i915g.

Checked that the series doesn't regress piglit on i915g.

Jakob Bornecrantz (6):
  draw: Remove reduced_prim
  draw: Don't revalidate pipeline on backend flushes
  draw: Only run prepare when state, prim and opt changes
  draw: Flush when eltSize changes
  draw: Flush on vertex elements change
  draw: Do a full state change flush on opt and prim changes

 src/gallium/auxiliary/draw/draw_context.c   |    9 +++--
 src/gallium/auxiliary/draw/draw_pipe.c      |    3 +-
 src/gallium/auxiliary/draw/draw_private.h   |   10 +++++-
 src/gallium/auxiliary/draw/draw_pt.c        |   46 ++++++++++++++++++++------
 src/gallium/auxiliary/draw/draw_pt.h        |    2 +-
 src/gallium/auxiliary/draw/draw_pt_vsplit.c |   11 ++++--
 6 files changed, 58 insertions(+), 23 deletions(-)

-- 
1.7.6.5



More information about the mesa-dev mailing list