diff options
author | Iago Toral Quiroga <[email protected]> | 2017-01-03 09:10:13 +0100 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2017-01-04 08:14:30 +0100 |
commit | 1a8f2629e6d76517bc5b16e9f69cfa7cb4a342bd (patch) | |
tree | a6b04cc8d8678f2cf27d3423c469bbb772836078 /src/mesa/drivers/dri/i965/intel_batchbuffer.h | |
parent | ba30e0ca20c1e25e076da7f0779f71da563cf2f9 (diff) |
i965: remove brw_context dependency from intel_batchbuffer_init()
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_batchbuffer.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_batchbuffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.h b/src/mesa/drivers/dri/i965/intel_batchbuffer.h index d0ddf75866c..ee03a44c9e1 100644 --- a/src/mesa/drivers/dri/i965/intel_batchbuffer.h +++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.h @@ -39,7 +39,8 @@ extern "C" { struct intel_batchbuffer; void intel_batchbuffer_emit_render_ring_prelude(struct brw_context *brw); -void intel_batchbuffer_init(struct brw_context *brw); +void intel_batchbuffer_init(struct intel_batchbuffer *batch, dri_bufmgr *bufmgr, + bool has_llc); void intel_batchbuffer_free(struct intel_batchbuffer *batch); void intel_batchbuffer_save_state(struct brw_context *brw); void intel_batchbuffer_reset_to_saved(struct brw_context *brw); |