mesa: Changes to 'gallium-0.1'
Brian Paul
brianp at kemper.freedesktop.org
Sat Jan 26 00:25:02 UTC 2008
src/mesa/pipe/cell/ppu/cell_draw_arrays.c | 9 --
src/mesa/pipe/draw/draw_clip.c | 17 ----
src/mesa/pipe/draw/draw_context.c | 29 ++++----
src/mesa/pipe/draw/draw_cull.c | 31 ++++----
src/mesa/pipe/draw/draw_flatshade.c | 67 ++++++++++++-------
src/mesa/pipe/draw/draw_offset.c | 37 ++++++----
src/mesa/pipe/draw/draw_prim.c | 104 ++++++++++++------------------
src/mesa/pipe/draw/draw_private.h | 19 ++---
src/mesa/pipe/draw/draw_stipple.c | 16 ++--
src/mesa/pipe/draw/draw_twoside.c | 99 ++++++++++++++--------------
src/mesa/pipe/draw/draw_unfilled.c | 33 +++++----
src/mesa/pipe/draw/draw_validate.c | 80 ++++++++++++++++++-----
src/mesa/pipe/draw/draw_vbuf.c | 22 ++----
src/mesa/pipe/draw/draw_vertex_cache.c | 9 --
src/mesa/pipe/draw/draw_vertex_shader.c | 4 -
src/mesa/pipe/draw/draw_wide_prims.c | 51 +++++++++-----
src/mesa/pipe/i915simple/i915_prim_emit.c | 11 ---
src/mesa/pipe/softpipe/sp_draw_arrays.c | 9 --
src/mesa/pipe/softpipe/sp_prim_setup.c | 43 ++++++++++--
src/mesa/pipe/softpipe/sp_prim_vbuf.c | 4 -
src/mesa/state_tracker/st_cb_feedback.c | 24 +-----
src/mesa/state_tracker/st_cb_rasterpos.c | 11 ---
22 files changed, 388 insertions(+), 341 deletions(-)
commit diffs at http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=summary
New commits:
commit 42d38ac02fff63406cd59914a3eb1e5ad27134d0
Author: Brian <brian.paul at tungstengraphics.com>
Date: Fri Jan 25 17:22:02 2008 -0700
gallium: replace loop w/ memset in draw_vertex_cache_invalidate()
commit 1603a33fb276d7e78a2e872dfa05aa0093d1329a
Author: Brian <brian.paul at tungstengraphics.com>
Date: Fri Jan 25 17:21:05 2008 -0700
gallium: better flush logic in draw module
This is the other half of Keith's draw/flush patch.
There are now 5 flush flags to control what's flushed (post-xform vertex
cache, prim cache, vbuf, etc).
The gears slow-down in this part of the patch was due to the cull stage not
getting invoked. It was unconditional before, but is now gated by 'need_det'.
But it also needs to be gated by draw->rasterizer->cull_mode. Gears uses
back-face culling.
commit 0bfd085e2866fbbd40209dcee23f0e6240583fe8
Author: Brian <brian.paul at tungstengraphics.com>
Date: Fri Jan 25 15:59:27 2008 -0700
gallium: replace prim pipeline begin/end() functions with flush()
This is basically half of Keith's draw/flush patch.
The stage->point/line/tri() functions are now self-validating, the validator
functions are installed by the flush() function.
There were excessive calls to validate_pipeline(), however. This was caused
by draw_prim_queue_flush() keeping a local 'first' variable that always pointed
to the validate functions. Replaced 'first' with 'draw->pipeline.first'.
Performance in gears is up just slightly with this patch.
More information about the mesa-commit
mailing list