diff options
author | Eric Anholt <eric@anholt.net> | 2008-01-02 16:55:21 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-01-03 15:46:16 -0800 |
commit | 8abffada70fcd62e3c2dcbcdc6d00d258805326b (patch) | |
tree | d04daf5de22d6bbdb97beda35da6b33f4f1bc6c1 /src/mesa/drivers/dri/i965/brw_context.h | |
parent | 0ff3eb637bac9e100aab0a109a46e81bea9203a3 (diff) |
[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.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 05111b351a..5a6ef463ea 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -328,7 +328,6 @@ struct brw_state_pointers { struct brw_tracked_state { struct brw_state_flags dirty; void (*update)( struct brw_context *brw ); - void (*emit_reloc)( struct brw_context *brw ); GLboolean always_update; }; @@ -540,7 +539,6 @@ struct brw_context struct { struct brw_vs_prog_data *prog_data; - GLuint thread0_delta; dri_bo *prog_bo; dri_bo *state_bo; } vs; @@ -549,7 +547,6 @@ struct brw_context struct brw_gs_prog_data *prog_data; GLboolean prog_active; - GLuint thread0_delta; dri_bo *prog_bo; dri_bo *state_bo; } gs; @@ -557,7 +554,6 @@ struct brw_context struct { struct brw_clip_prog_data *prog_data; - GLuint thread0_delta; dri_bo *prog_bo; dri_bo *state_bo; dri_bo *vp_bo; @@ -567,8 +563,6 @@ struct brw_context struct { struct brw_sf_prog_data *prog_data; - GLuint thread0_delta; - GLuint sf5_delta; dri_bo *prog_bo; dri_bo *state_bo; dri_bo *vp_bo; @@ -598,9 +592,6 @@ struct brw_context dri_bo *bind_bo; dri_bo *surf_bo[BRW_WM_MAX_SURF]; - GLuint thread0_delta; - GLuint thread2_delta; - GLuint wm4_delta; dri_bo *prog_bo; dri_bo *state_bo; } wm; |