diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2014-09-25 12:02:33 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2014-09-26 21:15:55 +0800 |
commit | 8f284343e08bffa798c99763e4a3c234da6ab4d3 (patch) | |
tree | 05a0a5ad428dbb77008981bb910567a29737f0fa /src/gallium/drivers/ilo/ilo_draw.c | |
parent | a05ce904aabcc3733df1338472348c636fce2341 (diff) | |
download | external_mesa3d-8f284343e08bffa798c99763e4a3c234da6ab4d3.zip external_mesa3d-8f284343e08bffa798c99763e4a3c234da6ab4d3.tar.gz external_mesa3d-8f284343e08bffa798c99763e4a3c234da6ab4d3.tar.bz2 |
ilo: make ilo_render_emit_draw() direct
Remove emit_draw() and ILO_RENDER_DRAW indirections. With all emit functions
being direct now, ilo_render_estimate_size() and more can also be removed.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_draw.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_draw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/ilo/ilo_draw.c b/src/gallium/drivers/ilo/ilo_draw.c index 8e01f6d..1c9c422 100644 --- a/src/gallium/drivers/ilo/ilo_draw.c +++ b/src/gallium/drivers/ilo/ilo_draw.c @@ -320,8 +320,7 @@ draw_vbo(struct ilo_context *ilo, const struct ilo_state_vector *vec) ilo_draw_set_owner(ilo); /* make sure there is enough room first */ - max_len = ilo_render_estimate_size(ilo->render, - ILO_RENDER_DRAW, vec); + max_len = ilo_render_get_draw_len(ilo->render, vec); if (need_flush) max_len += ilo_render_get_flush_len(ilo->render); |