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_context.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_context.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_context.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_context.h b/src/gallium/drivers/ilo/ilo_context.h index ed9bba39ab5..a5c1ce0755a 100644 --- a/src/gallium/drivers/ilo/ilo_context.h +++ b/src/gallium/drivers/ilo/ilo_context.h @@ -34,6 +34,7 @@ #include "ilo_gpe.h" #include "ilo_common.h" +struct pipe_draw_info; struct u_upload_mgr; struct intel_winsys; struct intel_bo; @@ -60,6 +61,7 @@ struct ilo_context { struct u_upload_mgr *uploader; + const struct pipe_draw_info *draw; uint32_t dirty; struct ilo_vb_state vb; |