mesa: Changes to 'gallium-0.1'

Zack Rusin zack at kemper.freedesktop.org
Tue Sep 18 05:11:51 PDT 2007


 src/mesa/pipe/cso_cache/cso_cache.c             |  164 ++++++++++
 src/mesa/pipe/cso_cache/cso_cache.h             |   72 ++++
 src/mesa/pipe/cso_cache/cso_hash.c              |  381 ++++++++++++++++++++++++
 src/mesa/pipe/cso_cache/cso_hash.h              |   62 +++
 src/mesa/pipe/draw/draw_context.c               |   16 -
 src/mesa/pipe/draw/draw_context.h               |    2 
 src/mesa/pipe/draw/draw_cull.c                  |    2 
 src/mesa/pipe/draw/draw_offset.c                |    4 
 src/mesa/pipe/draw/draw_private.h               |    2 
 src/mesa/pipe/draw/draw_twoside.c               |    2 
 src/mesa/pipe/draw/draw_unfilled.c              |    4 
 src/mesa/pipe/failover/fo_context.h             |   47 +-
 src/mesa/pipe/failover/fo_state.c               |   56 +--
 src/mesa/pipe/failover/fo_state_emit.c          |   17 -
 src/mesa/pipe/i915simple/i915_context.h         |   31 -
 src/mesa/pipe/i915simple/i915_state.c           |  147 ++++++---
 src/mesa/pipe/i915simple/i915_state_derived.c   |    6 
 src/mesa/pipe/i915simple/i915_state_dynamic.c   |   56 +--
 src/mesa/pipe/i915simple/i915_state_immediate.c |   70 ++--
 src/mesa/pipe/i915simple/i915_state_sampler.c   |    2 
 src/mesa/pipe/p_context.h                       |   50 ++-
 src/mesa/pipe/p_state.h                         |   52 +--
 src/mesa/pipe/softpipe/sp_context.c             |   18 -
 src/mesa/pipe/softpipe/sp_context.h             |   35 +-
 src/mesa/pipe/softpipe/sp_prim_setup.c          |   18 -
 src/mesa/pipe/softpipe/sp_quad.c                |   20 -
 src/mesa/pipe/softpipe/sp_quad_blend.c          |   12 
 src/mesa/pipe/softpipe/sp_quad_colormask.c      |    8 
 src/mesa/pipe/softpipe/sp_quad_coverage.c       |    6 
 src/mesa/pipe/softpipe/sp_quad_depth_test.c     |    4 
 src/mesa/pipe/softpipe/sp_quad_fs.c             |    2 
 src/mesa/pipe/softpipe/sp_quad_stencil.c        |   32 +-
 src/mesa/pipe/softpipe/sp_state.h               |   48 ++-
 src/mesa/pipe/softpipe/sp_state_blend.c         |   53 ++-
 src/mesa/pipe/softpipe/sp_state_derived.c       |   17 -
 src/mesa/pipe/softpipe/sp_state_sampler.c       |   26 +
 src/mesa/pipe/softpipe/sp_state_setup.c         |   26 +
 src/mesa/sources                                |    7 
 src/mesa/state_tracker/st_atom.c                |    5 
 src/mesa/state_tracker/st_atom.h                |    5 
 src/mesa/state_tracker/st_atom_blend.c          |   12 
 src/mesa/state_tracker/st_atom_depth.c          |  108 +++++-
 src/mesa/state_tracker/st_atom_sampler.c        |   10 
 src/mesa/state_tracker/st_atom_setup.c          |   95 +++--
 src/mesa/state_tracker/st_atom_stencil.c        |  141 --------
 src/mesa/state_tracker/st_cache.c               |  113 +++++++
 src/mesa/state_tracker/st_cache.h               |   56 +++
 src/mesa/state_tracker/st_cb_clear.c            |   67 ++--
 src/mesa/state_tracker/st_cb_drawpixels.c       |   20 -
 src/mesa/state_tracker/st_context.c             |    4 
 src/mesa/state_tracker/st_context.h             |   14 
 src/mesa/state_tracker/st_draw.c                |    2 
 52 files changed, 1591 insertions(+), 638 deletions(-)

commit diffs at http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=summary

New commits:
commit fbb2f840aef9a540401575b032edb4dfdabd10bb
Author: Zack Rusin <zack at tungstengraphics.com>
Date:   Tue Sep 18 06:24:54 2007 -0400

    move cso cache to the pipe directory

commit 29789ca026c03dff64b6286e202561faf111fde9
Author: Zack Rusin <zack at tungstengraphics.com>
Date:   Mon Sep 17 13:49:12 2007 -0400

    Fix a silly bug on setting samplers.
    
    Bind when the currently bound state is /not/ the one
    we just found/created.

commit 294401814d1d89cc731de1c22c25333aa5d59374
Author: Zack Rusin <zack at tungstengraphics.com>
Date:   Mon Sep 17 12:59:50 2007 -0400

    converting the setup state to immutable object and renaming it to rasterizer state

commit d6ac959833a8e40a27907940969c622692f749b1
Author: Zack Rusin <zack at tungstengraphics.com>
Date:   Mon Sep 17 11:55:18 2007 -0400

    Combing depth and stencil objects and making them immutable.
    
    Converting depth and stencil objects into a single state object
    (d3d10 like) and making it immutable.

commit 56edb98d975041cca2e4a3712126b151d80a045a
Author: Zack Rusin <zack at tungstengraphics.com>
Date:   Mon Sep 17 09:50:08 2007 -0400

    Fix the warning.
    
    The const is there to enforce the immutable state of the object,
    which is in reality owned by the pipe so just cast away the
    constness.

commit f117327a3f246713abfd4dc4320d4a1a7f1b811a
Author: Zack Rusin <zack at tungstengraphics.com>
Date:   Mon Sep 17 09:47:41 2007 -0400

    Make sampler an immutable state object.
    
    Switch the sample to be an immutable state object.

commit e16c045b83f5c5b4f4064df67623bb76b46b6619
Author: Zack Rusin <zack at tungstengraphics.com>
Date:   Mon Sep 17 07:56:56 2007 -0400

    Implementing a better hash, removing state_tracker dependency from the cache.
    
    Replacing mesa's main hash with one that handles collisions, moving state_tracker
    related caching to the state tracker to keep cso cache independent of it. Cleanups.

commit 9780327c5d95586a88fce94d7b47342355ead118
Author: Zack Rusin <zack at tungstengraphics.com>
Date:   Fri Sep 14 04:08:58 2007 -0400

    First stab at immutable state objects (create/bind/delete)
    
    We want our state objects to be immutable, handled via the
    create/bind/delete calls instead of struct propagation.
    Only implementing the blend state to see how it would look like
    and work.



More information about the mesa-commit mailing list