summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_render.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_render.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_render.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/gallium/drivers/ilo/ilo_render.h b/src/gallium/drivers/ilo/ilo_render.h
index 42c7015d4b4..dd4c3c0f95a 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_RECTLIST,
};
/**
@@ -62,9 +61,6 @@ struct ilo_render {
void (*emit_draw)(struct ilo_render *render,
const struct ilo_state_vector *vec);
- void (*emit_rectlist)(struct ilo_render *render,
- const struct ilo_blitter *blitter);
-
bool hw_ctx_changed;
/*
@@ -165,13 +161,6 @@ ilo_render_emit_draw(struct ilo_render *render,
render->emit_draw(render, vec);
}
-static inline void
-ilo_render_emit_rectlist(struct ilo_render *render,
- const struct ilo_blitter *blitter)
-{
- render->emit_rectlist(render, blitter);
-}
-
void
ilo_render_get_sample_position(const struct ilo_render *render,
unsigned sample_count,
@@ -198,4 +187,12 @@ void
ilo_render_emit_query(struct ilo_render *render,
struct ilo_query *q, uint32_t offset);
+int
+ilo_render_get_rectlist_len(const struct ilo_render *render,
+ const struct ilo_blitter *blitter);
+
+void
+ilo_render_emit_rectlist(struct ilo_render *render,
+ const struct ilo_blitter *blitter);
+
#endif /* ILO_RENDER_H */