ilo: clean up draw and rectlist state emission
authorChia-I Wu <olvaffe@gmail.com>
Thu, 25 Sep 2014 05:22:19 +0000 (13:22 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 26 Sep 2014 13:15:55 +0000 (21:15 +0800)
commit362d2fb982069a2f7cef5b3355562ba2a6b38b85
treea2febe9d9048c20264c960deea2d95351f282f07
parentf1662e3670c576fb2f1abe96e5855c80d22128f3
ilo: clean up draw and rectlist state emission

Add these new high-level functions

  ilo_render_get_draw_dynamic_states_len()
  ilo_render_emit_draw_dynamic_states()
  ilo_render_get_rectlist_dynamic_states_len()
  ilo_render_emit_rectlist_dynamic_states()
  ilo_render_get_draw_surface_states_len()
  ilo_render_emit_draw_surface_states()

for draw and rectlist state emission.  They are implemented in the new
ilo_render_dynamic.c and ilo_render_surface.c.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/drivers/ilo/Makefile.sources
src/gallium/drivers/ilo/ilo_render_dynamic.c [new file with mode: 0644]
src/gallium/drivers/ilo/ilo_render_gen.h
src/gallium/drivers/ilo/ilo_render_gen6.c
src/gallium/drivers/ilo/ilo_render_gen7.c
src/gallium/drivers/ilo/ilo_render_surface.c [new file with mode: 0644]