diff options
author | Chia-I Wu <[email protected]> | 2014-09-19 15:24:23 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-09-19 16:02:11 +0800 |
commit | 8a2352262e27bf7d3c31a20b72eb04772d56ff42 (patch) | |
tree | db6bdccfaf3476ce8b7d7e0d9c9f711c792e270a /src/gallium/drivers/ilo/ilo_context.c | |
parent | 1887d15eede63927152f7f664061e7efe7d16185 (diff) |
ilo: rename ilo_cp_flush()
"Flush" is used for too many things already: pipe resource flush, pipe context
flush, pipe transfer region flush, and hardware pipeline flush. Rename it to
ilo_cp_submit(). As such, ILO_DEBUG=flush is renamed to ILO_DEBUG=submit.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_context.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_context.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/ilo/ilo_context.c b/src/gallium/drivers/ilo/ilo_context.c index 9e6a0681bd2..04538a144b1 100644 --- a/src/gallium/drivers/ilo/ilo_context.c +++ b/src/gallium/drivers/ilo/ilo_context.c @@ -42,11 +42,11 @@ #include "ilo_context.h" static void -ilo_context_cp_flushed(struct ilo_cp *cp, void *data) +ilo_context_cp_submitted(struct ilo_cp *cp, void *data) { struct ilo_context *ilo = ilo_context(data); - ilo_3d_cp_flushed(ilo->hw3d); + ilo_3d_cp_submitted(ilo->hw3d); } static void @@ -56,7 +56,7 @@ ilo_flush(struct pipe_context *pipe, { struct ilo_context *ilo = ilo_context(pipe); - ilo_cp_flush(ilo->cp, + ilo_cp_submit(ilo->cp, (flags & PIPE_FLUSH_END_OF_FRAME) ? "frame end" : "user request"); if (f) { @@ -119,8 +119,8 @@ ilo_context_create(struct pipe_screen *screen, void *priv) return NULL; } - ilo_cp_set_flush_callback(ilo->cp, - ilo_context_cp_flushed, (void *) ilo); + ilo_cp_set_submit_callback(ilo->cp, + ilo_context_cp_submitted, (void *) ilo); ilo->base.screen = screen; ilo->base.priv = priv; |