ilo: make pipe_draw_info a context state
authorChia-I Wu <olvaffe@gmail.com>
Wed, 26 Jun 2013 03:52:55 +0000 (11:52 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 26 Jun 2013 08:42:46 +0000 (16:42 +0800)
commit5fb5d4f0a6208e720998bbdbfe83df1035957f4a
treea1017994126a86dbc119124f370cc439f3beacce
parent3eb6754e94c623c4c2393f23aeaafa933bee154e
ilo: make pipe_draw_info a context state

Rename ilo_finalize_states() to ilo_finalize_3d_states(), and bind
pipe_draw_info to the context when it is called.  This saves us from having to
pass pipe_draw_info around in several places.
src/gallium/drivers/ilo/ilo_3d.c
src/gallium/drivers/ilo/ilo_3d_pipeline.c
src/gallium/drivers/ilo/ilo_3d_pipeline.h
src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c
src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c
src/gallium/drivers/ilo/ilo_context.h
src/gallium/drivers/ilo/ilo_state.c
src/gallium/drivers/ilo/ilo_state.h