diff options
author | Chia-I Wu <[email protected]> | 2013-06-26 11:52:55 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-06-26 16:42:46 +0800 |
commit | 5fb5d4f0a6208e720998bbdbfe83df1035957f4a (patch) | |
tree | a1017994126a86dbc119124f370cc439f3beacce /src/gallium/drivers/ilo/ilo_state.h | |
parent | 3eb6754e94c623c4c2393f23aeaafa933bee154e (diff) |
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.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_state.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_state.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_state.h b/src/gallium/drivers/ilo/ilo_state.h index 8a0d5e7f14d..69ef9025c4f 100644 --- a/src/gallium/drivers/ilo/ilo_state.h +++ b/src/gallium/drivers/ilo/ilo_state.h @@ -126,7 +126,8 @@ void ilo_cleanup_states(struct ilo_context *ilo); void -ilo_finalize_states(struct ilo_context *ilo); +ilo_finalize_3d_states(struct ilo_context *ilo, + const struct pipe_draw_info *draw); void ilo_mark_states_with_resource_dirty(struct ilo_context *ilo, |