diff options
author | Chia-I Wu <[email protected]> | 2014-09-24 15:24:25 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-09-26 21:15:55 +0800 |
commit | e3451552d23b7b656bafde5c4cf63e86b87137f0 (patch) | |
tree | b74b9f3694e23cf3d33a5123b3a19ef6aa20060e /src/gallium/drivers/ilo/ilo_render_gen.h | |
parent | ce2bda300d00bf4fa92b287ff257f7c5fd17e81e (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_render_gen.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_render_gen.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/drivers/ilo/ilo_render_gen.h b/src/gallium/drivers/ilo/ilo_render_gen.h index cb5e61f0389..5024a845c49 100644 --- a/src/gallium/drivers/ilo/ilo_render_gen.h +++ b/src/gallium/drivers/ilo/ilo_render_gen.h @@ -39,10 +39,6 @@ struct gen6_draw_session { int reduced_prim; - bool hw_ctx_changed; - bool batch_bo_changed; - bool state_bo_changed; - bool kernel_bo_changed; bool prim_changed; bool primitive_restart_changed; @@ -80,7 +76,7 @@ struct gen6_rectlist_session { }; void -gen6_draw_prepare(const struct ilo_render *r, +gen6_draw_prepare(struct ilo_render *r, const struct ilo_state_vector *ilo, struct gen6_draw_session *session); |