diff options
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_render.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_render.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/gallium/drivers/ilo/ilo_render.h b/src/gallium/drivers/ilo/ilo_render.h index 1334936194b..6012e6e43b3 100644 --- a/src/gallium/drivers/ilo/ilo_render.h +++ b/src/gallium/drivers/ilo/ilo_render.h @@ -39,7 +39,6 @@ struct ilo_state_vector; enum ilo_render_action { ILO_RENDER_DRAW, - ILO_RENDER_FLUSH, ILO_RENDER_QUERY, ILO_RENDER_RECTLIST, }; @@ -64,8 +63,6 @@ struct ilo_render { void (*emit_draw)(struct ilo_render *render, const struct ilo_state_vector *vec); - void (*emit_flush)(struct ilo_render *render); - void (*emit_query)(struct ilo_render *render, struct ilo_query *q, uint32_t offset); @@ -173,15 +170,6 @@ ilo_render_emit_draw(struct ilo_render *render, } /** - * Emit PIPE_CONTROL to flush all caches. - */ -static inline void -ilo_render_emit_flush(struct ilo_render *render) -{ - render->emit_flush(render); -} - -/** * Emit PIPE_CONTROL or MI_STORE_REGISTER_MEM to save register values. */ static inline void @@ -210,4 +198,10 @@ ilo_render_invalidate_hw(struct ilo_render *render); void ilo_render_invalidate_builder(struct ilo_render *render); +int +ilo_render_get_flush_len(const struct ilo_render *render); + +void +ilo_render_emit_flush(struct ilo_render *render); + #endif /* ILO_RENDER_H */ |