ilo: construct SCISSOR_RECT in set_scissor_states()
authorChia-I Wu <olvaffe@gmail.com>
Thu, 30 May 2013 11:48:32 +0000 (19:48 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 7 Jun 2013 03:13:15 +0000 (11:13 +0800)
commit99725d2f8ae2e2d0dd1e80ac05b127c7f99778d3
tree21cdcb7622df4e1fe1f17098b692712dd9a7fb08
parente51806ee7ab52873c773619595962582c2abf0fe
ilo: construct SCISSOR_RECT in set_scissor_states()

This allows us to memcpy() the state in draw_vbo().  Add ilo_init_states() and
ilo_cleanup_states() that are called when contexts are created and destroyed
respectively, and properly set the initial scissor state in ilo_init_states().
src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c
src/gallium/drivers/ilo/ilo_context.c
src/gallium/drivers/ilo/ilo_gpe.h
src/gallium/drivers/ilo/ilo_gpe_gen6.c
src/gallium/drivers/ilo/ilo_gpe_gen6.h
src/gallium/drivers/ilo/ilo_state.c
src/gallium/drivers/ilo/ilo_state.h