[Spice-devel] [PATCH 10/15] s/process_drawable/process_draw
Fabiano FidĂȘncio
fidencio at redhat.com
Tue Nov 3 08:16:12 PST 2015
On Tue, Nov 3, 2015 at 11:20 AM, Frediano Ziglio <fziglio at redhat.com> wrote:
> From: Marc-André Lureau <marcandre.lureau at gmail.com>
>
> ---
> server/red_worker.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/server/red_worker.c b/server/red_worker.c
> index d50d4dd..1849cc8 100644
> --- a/server/red_worker.c
> +++ b/server/red_worker.c
> @@ -3414,7 +3414,7 @@ static RedDrawable *red_drawable_new(RedWorker *worker)
> return red;
> }
>
> -static gboolean red_process_drawable(RedWorker *worker, QXLCommandExt *ext_cmd)
> +static gboolean red_process_draw(RedWorker *worker, QXLCommandExt *ext_cmd)
> {
> RedDrawable *red_drawable = NULL;
> Drawable *drawable = NULL;
> @@ -3886,7 +3886,7 @@ static void red_update_area_till(RedWorker *worker, const SpiceRect *area, int s
> that it is valid to call red_update_area in this case and not red_update_area_till:
> It is impossible that there was newer item then 'last' in one of the surfaces
> that red_update_area is called for, Otherwise, 'now' would have already been rendered.
> - See the call for red_handle_depends_on_target_surface in red_process_drawable */
> + See the call for red_handle_depends_on_target_surface in red_process_draw */
> red_draw_drawable(worker, now);
> release_drawable(worker, now);
> } while (now != surface_last);
> @@ -4034,7 +4034,7 @@ static int red_process_commands(RedWorker *worker, uint32_t max_pipe_size, int *
> worker->display_poll_tries = 0;
> switch (ext_cmd.cmd.type) {
> case QXL_CMD_DRAW: {
> - if (!red_process_drawable(worker, &ext_cmd))
> + if (!red_process_draw(worker, &ext_cmd))
> break;
> break;
> }
> --
> 2.4.3
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
ack!
More information about the Spice-devel
mailing list