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 | a05ce904aabcc3733df1338472348c636fce2341 (patch) | |
tree | 3ae8b212d08de380f5c2c654341d4c4d0f7571d7 /src/gallium/drivers/ilo/ilo_draw.c | |
parent | 362d2fb982069a2f7cef5b3355562ba2a6b38b85 (diff) | |
download | external_mesa3d-a05ce904aabcc3733df1338472348c636fce2341.zip external_mesa3d-a05ce904aabcc3733df1338472348c636fce2341.tar.gz external_mesa3d-a05ce904aabcc3733df1338472348c636fce2341.tar.bz2 |
ilo: make ilo_render_emit_rectlist() direct
Remove emit_rectlist() and ILO_RENDER_RECTLIST indirections.
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 9e38796..8e01f6d 100644 --- a/src/gallium/drivers/ilo/ilo_draw.c +++ b/src/gallium/drivers/ilo/ilo_draw.c @@ -375,8 +375,7 @@ ilo_draw_rectlist(struct ilo_context *ilo) ilo_draw_set_owner(ilo); - max_len = ilo_render_estimate_size(ilo->render, - ILO_RENDER_RECTLIST, ilo->blitter); + max_len = ilo_render_get_rectlist_len(ilo->render, ilo->blitter); max_len += ilo_render_get_flush_len(ilo->render) * 2; if (max_len > ilo_cp_space(ilo->cp)) { |