static void qxl_log_cmd_draw_compat(PCIQXLDevice *qxl, QXLCompatDrawable *draw,

                                    int group_id)

{

    fprintf(stderr, ": type %s effect %s",

            qxl_name(qxl_draw_type, draw->type),

            qxl_name(qxl_draw_effect, draw->effect));

    if (draw->bitmap_offset) {

        fprintf(stderr, ": bitmap %d",

                draw->bitmap_offset);

        qxl_log_rect(&draw->bitmap_area);

    }

    switch (draw->type) {

    case QXL_DRAW_COPY:

        qxl_log_cmd_draw_copy(qxl, &draw->u.copy, group_id);

        break;

    }

}

static void qxl_log_cmd_draw_compat(PCIQXLDevice *qxl, QXLCompatDrawable *draw,

                                    int group_id)

{

    fprintf(stderr, ": type %s effect %s",

            qxl_name(qxl_draw_type, draw->type),

            qxl_name(qxl_draw_effect, draw->effect));

    if (draw->bitmap_offset) {

        fprintf(stderr, ": bitmap %d",

                draw->bitmap_offset);

        qxl_log_rect(&draw->bitmap_area);

    }

    switch (draw->type) {

    case QXL_DRAW_COPY:

        qxl_log_cmd_draw_copy(qxl, &draw->u.copy, group_id);

        break;

    }

}

static void FUNC_0(PCIQXLDevice *VAR_0, QXLCompatDrawable *VAR_1,

                                    int VAR_2)

{

    fprintf(stderr, ": type %s effect %s",

            qxl_name(qxl_draw_type, VAR_1->type),

            qxl_name(qxl_draw_effect, VAR_1->effect));

    if (VAR_1->bitmap_offset) {

        fprintf(stderr, ": bitmap %d",

                VAR_1->bitmap_offset);

        qxl_log_rect(&VAR_1->bitmap_area);

    }

    switch (VAR_1->type) {

    case QXL_DRAW_COPY:

        qxl_log_cmd_draw_copy(VAR_0, &VAR_1->u.copy, VAR_2);

        break;

    }

}

static void FUNC_0(PCIQXLDevice *VAR_0, QXLCompatDrawable *VAR_1,
int VAR_2)
{ fprintf(stderr, ": type %s effect %s",
qxl_name(qxl_draw_type, VAR_1->type),
qxl_name(qxl_draw_effect, VAR_1->effect)); if (VAR_1->bitmap_offset) { fprintf(stderr, ": bitmap %d",
VAR_1->bitmap_offset); qxl_log_rect(&VAR_1->bitmap_area); } switch (VAR_1->type) { case QXL_DRAW_COPY:
qxl_log_cmd_draw_copy(VAR_0, &VAR_1->u.copy, VAR_2); break; } }