diff options
author | Chia-I Wu <[email protected]> | 2014-09-25 16:54:28 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-09-26 21:15:55 +0800 |
commit | 24653bcd7d70c92eff85db66c58dec79bbd10234 (patch) | |
tree | 566f2dd2b2e7d38b53c86c0f68d725d32a782252 /src/gallium/drivers/ilo/ilo_render.c | |
parent | 4be7b7ee8597cd6bd38c0678deb23928a3acb59f (diff) |
ilo: give gen6_draw_session a better prefix
gen6_draw_session is not GEN dependent. Rename it to ilo_render_draw_session.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_render.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_render.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gallium/drivers/ilo/ilo_render.c b/src/gallium/drivers/ilo/ilo_render.c index 9291855c129..ae778584972 100644 --- a/src/gallium/drivers/ilo/ilo_render.c +++ b/src/gallium/drivers/ilo/ilo_render.c @@ -385,9 +385,9 @@ ilo_render_get_draw_len(const struct ilo_render *render, } static void -gen6_draw_prepare(struct ilo_render *render, - const struct ilo_state_vector *vec, - struct gen6_draw_session *session) +draw_session_prepare(struct ilo_render *render, + const struct ilo_state_vector *vec, + struct ilo_render_draw_session *session) { memset(session, 0, sizeof(*session)); session->pipe_dirty = vec->dirty; @@ -410,9 +410,9 @@ gen6_draw_prepare(struct ilo_render *render, } static void -gen6_draw_end(struct ilo_render *render, - const struct ilo_state_vector *vec, - struct gen6_draw_session *session) +draw_session_end(struct ilo_render *render, + const struct ilo_state_vector *vec, + struct ilo_render_draw_session *session) { render->hw_ctx_changed = false; @@ -428,11 +428,11 @@ void ilo_render_emit_draw(struct ilo_render *render, const struct ilo_state_vector *vec) { - struct gen6_draw_session session; + struct ilo_render_draw_session session; ILO_DEV_ASSERT(render->dev, 6, 7.5); - gen6_draw_prepare(render, vec, &session); + draw_session_prepare(render, vec, &session); /* force all states to be uploaded if the state bo changed */ if (render->state_bo_changed) @@ -451,5 +451,5 @@ ilo_render_emit_draw(struct ilo_render *render, ilo_render_emit_draw_commands(render, vec, &session); - gen6_draw_end(render, vec, &session); + draw_session_end(render, vec, &session); } |