src/mesa/drivers/dri/common/dri_bufmgr.h | 5 src/mesa/drivers/dri/common/dri_bufmgr_fake.c | 294 +++++++++-------------- src/mesa/drivers/dri/i965/brw_cc.c | 31 +- src/mesa/drivers/dri/i965/brw_clip_state.c | 36 +- src/mesa/drivers/dri/i965/brw_context.h | 9 src/mesa/drivers/dri/i965/brw_gs_state.c | 36 +- src/mesa/drivers/dri/i965/brw_sf_state.c | 46 +-- src/mesa/drivers/dri/i965/brw_state_upload.c | 4 src/mesa/drivers/dri/i965/brw_vs_state.c | 32 +- src/mesa/drivers/dri/i965/brw_wm_sampler_state.c | 31 -- src/mesa/drivers/dri/i965/brw_wm_state.c | 69 ++--- src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 87 ++---- src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c | 202 +++++++++++---- 13 files changed, 440 insertions(+), 442 deletions(-)
commit diffs at http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=summary New commits: commit 62842e7145aa6e39b1fffc2dba8e2631bcc35b37 Author: Eric Anholt <[EMAIL PROTECTED]> Date: Thu Jan 3 16:08:40 2008 -0800 [intel] Add a single-entry relocation buffer cache. By avoiding the repeated relocation buffer creation/map/unmap/destroy for each new batch buffer, this improves OpenArena framerates by 30%. Caching batch buffers themselves doesn't appear to be a significant performance win over this change. commit 8abffada70fcd62e3c2dcbcdc6d00d258805326b Author: Eric Anholt <[EMAIL PROTECTED]> Date: Wed Jan 2 16:55:21 2008 -0800 [intel] Convert relocations to not be cleared out on buffer submit. We have two consumers of relocations. One is static state buffers, which want the same relocation every time. The other is the batchbuffer, which gets thrown out immediately after submit. This lets us reduce repeated computation for static state buffers, and clean up the code by moving relocations nearer to where the state buffer is computed. _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
