To ease future transitions. Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> --- src/mesa/drivers/dri/i965/brw_batch.h | 31 +++++++++++++++++++++++++++++++ src/mesa/drivers/dri/i965/brw_context.h | 31 ------------------------------- 2 files changed, 31 insertions(+), 31 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_batch.h b/src/mesa/drivers/dri/i965/brw_batch.h index 7268e26..c38b92a 100644 --- a/src/mesa/drivers/dri/i965/brw_batch.h +++ b/src/mesa/drivers/dri/i965/brw_batch.h @@ -35,6 +35,37 @@ extern "C" { typedef drm_intel_bo brw_bo; +enum brw_gpu_ring { + UNKNOWN_RING, + RENDER_RING, + BLT_RING, +}; + +struct intel_batchbuffer { + /** Current batchbuffer being queued up. */ + brw_bo *bo; + /** Last BO submitted to the hardware. Used for glFinish(). */ + brw_bo *last_bo; + +#ifdef DEBUG + uint16_t emit, total; +#endif + uint16_t reserved_space; + uint32_t *map_next; + uint32_t *map; + uint32_t *cpu_map; +#define BATCH_SZ (8192*sizeof(uint32_t)) + + uint32_t state_batch_offset; + enum brw_gpu_ring ring; + bool needs_sol_reset; + + struct { + uint32_t *map_next; + int reloc_count; + } saved; +}; + #ifdef __cplusplus } #endif diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 7fc65e5..ce0ea94 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -859,37 +859,6 @@ struct brw_query_object { bool flushed; }; -enum brw_gpu_ring { - UNKNOWN_RING, - RENDER_RING, - BLT_RING, -}; - -struct intel_batchbuffer { - /** Current batchbuffer being queued up. */ - brw_bo *bo; - /** Last BO submitted to the hardware. Used for glFinish(). */ - brw_bo *last_bo; - -#ifdef DEBUG - uint16_t emit, total; -#endif - uint16_t reserved_space; - uint32_t *map_next; - uint32_t *map; - uint32_t *cpu_map; -#define BATCH_SZ (8192*sizeof(uint32_t)) - - uint32_t state_batch_offset; - enum brw_gpu_ring ring; - bool needs_sol_reset; - - struct { - uint32_t *map_next; - int reloc_count; - } saved; -}; - #define BRW_MAX_XFB_STREAMS 4 struct brw_transform_feedback_object { -- 2.5.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev