Mesa (master): gallium: add geometry shader support to gallium

Zack Rusin zack at kemper.freedesktop.org
Fri Dec 25 02:55:45 PST 2009


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

Author: Zack Rusin <zackr at vmware.com>
Date:   Mon Dec 14 17:11:46 2009 -0500

gallium: add geometry shader support to gallium

---

 src/gallium/auxiliary/cso_cache/cso_context.c      |   40 +++-
 src/gallium/auxiliary/cso_cache/cso_context.h      |    7 +
 src/gallium/auxiliary/draw/Makefile                |    1 +
 src/gallium/auxiliary/draw/SConscript              |    3 +-
 src/gallium/auxiliary/draw/draw_context.c          |   77 ++++-
 src/gallium/auxiliary/draw/draw_context.h          |   19 +-
 src/gallium/auxiliary/draw/draw_gs.c               |  338 ++++++++++++++++++++
 src/gallium/auxiliary/draw/draw_gs.h               |   76 +++++
 src/gallium/auxiliary/draw/draw_pipe_aaline.c      |   12 +-
 src/gallium/auxiliary/draw/draw_pipe_aapoint.c     |   12 +-
 src/gallium/auxiliary/draw/draw_pipe_clip.c        |    4 +-
 src/gallium/auxiliary/draw/draw_pipe_cull.c        |    2 +-
 src/gallium/auxiliary/draw/draw_pipe_offset.c      |    2 +-
 src/gallium/auxiliary/draw/draw_pipe_stipple.c     |    5 +-
 src/gallium/auxiliary/draw/draw_pipe_wide_line.c   |    2 +-
 src/gallium/auxiliary/draw/draw_pipe_wide_point.c  |   14 +-
 src/gallium/auxiliary/draw/draw_private.h          |   32 ++-
 .../auxiliary/draw/draw_pt_fetch_shade_pipeline.c  |   50 +++-
 src/gallium/auxiliary/draw/draw_pt_post_vs.c       |    4 +-
 src/gallium/auxiliary/draw/draw_pt_util.c          |   16 +
 .../auxiliary/draw/draw_pt_varray_tmp_linear.h     |    4 +
 src/gallium/auxiliary/draw/draw_vs_varient.c       |    5 +-
 src/gallium/auxiliary/tgsi/tgsi_dump.c             |    4 +-
 src/gallium/auxiliary/tgsi/tgsi_exec.c             |   45 +++-
 src/gallium/auxiliary/tgsi/tgsi_exec.h             |   15 +-
 src/gallium/auxiliary/tgsi/tgsi_text.c             |    4 +-
 src/gallium/drivers/cell/ppu/cell_draw_arrays.c    |    2 +-
 src/gallium/drivers/cell/ppu/cell_state_derived.c  |    8 +-
 src/gallium/drivers/cell/ppu/cell_state_emit.c     |    2 +-
 src/gallium/drivers/i915/i915_context.c            |    2 +-
 src/gallium/drivers/i915/i915_state_derived.c      |   10 +-
 src/gallium/drivers/llvmpipe/lp_state_derived.c    |    2 +-
 src/gallium/drivers/llvmpipe/lp_state_fs.c         |    3 +-
 src/gallium/drivers/nv04/nv04_vbo.c                |    2 +-
 src/gallium/drivers/nv10/nv10_vbo.c                |    1 +
 src/gallium/drivers/nv20/nv20_state_emit.c         |   16 +-
 src/gallium/drivers/nv20/nv20_vbo.c                |    2 +-
 src/gallium/drivers/nv40/nv40_draw.c               |    5 +-
 src/gallium/drivers/softpipe/sp_context.c          |    4 +
 src/gallium/drivers/softpipe/sp_context.h          |    1 +
 src/gallium/drivers/softpipe/sp_draw_arrays.c      |   23 +-
 src/gallium/drivers/softpipe/sp_screen.c           |    2 +
 src/gallium/drivers/softpipe/sp_setup.c            |    2 +-
 src/gallium/drivers/softpipe/sp_state.h            |   10 +
 src/gallium/drivers/softpipe/sp_state_derived.c    |   10 +-
 src/gallium/drivers/softpipe/sp_state_fs.c         |   59 ++++
 src/gallium/drivers/svga/svga_swtnl_draw.c         |    2 +-
 src/gallium/include/pipe/p_context.h               |    6 +
 src/gallium/include/pipe/p_defines.h               |   30 +-
 src/gallium/include/pipe/p_shader_tokens.h         |   22 +-
 src/gallium/state_trackers/python/p_context.i      |   19 ++
 src/gallium/state_trackers/python/samples/gs.py    |  254 +++++++++++++++
 src/gallium/state_trackers/python/st_device.h      |    1 +
 src/mesa/state_tracker/st_draw_feedback.c          |    3 +-
 54 files changed, 1159 insertions(+), 137 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=89d8577fb3036547ef0b47498cc8dc5c77f886e0


More information about the mesa-commit mailing list