ilo: simplify ilo_render invalidation
authorChia-I Wu <olvaffe@gmail.com>
Wed, 24 Sep 2014 07:24:25 +0000 (15:24 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 26 Sep 2014 13:15:55 +0000 (21:15 +0800)
commite3451552d23b7b656bafde5c4cf63e86b87137f0
treeb74b9f3694e23cf3d33a5123b3a19ef6aa20060e
parentce2bda300d00bf4fa92b287ff257f7c5fd17e81e
ilo: simplify ilo_render invalidation

ilo_render is based on ilo_builder.  We should only care if the builder
buffers are invalidated, or if the hardware context is invalidated.  Replace
ilo_render_invalidate() with flags by ilo_render_invalidate_builder() and
ilo_render_invalidate_hw().

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/drivers/ilo/ilo_context.c
src/gallium/drivers/ilo/ilo_draw.c
src/gallium/drivers/ilo/ilo_render.c
src/gallium/drivers/ilo/ilo_render.h
src/gallium/drivers/ilo/ilo_render_gen.h
src/gallium/drivers/ilo/ilo_render_gen6.c
src/gallium/drivers/ilo/ilo_render_gen7.c