From: Peter Maydell <peter.maydell@linaro.org>
To: Pooja Dhannawat <dhannawatpooja1@gmail.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>,
Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [Qemu-devel] [Patch v2 1/1] blizzard: Remove support for DEPTH != 32
Date: Mon, 14 Mar 2016 15:22:08 +0000 [thread overview]
Message-ID: <CAFEAcA_LtboweFSe2WSQPk5g+ur_EvsarLp76hYzPrcfoDsZqQ@mail.gmail.com> (raw)
In-Reply-To: <1457967850-8537-1-git-send-email-dhannawatpooja1@gmail.com>
On 14 March 2016 at 15:04, Pooja Dhannawat <dhannawatpooja1@gmail.com> wrote:
> Removing support for DEPTH != 32 from blizzard template header
> and file that includes it, as macro DEPTH == 32 only used.
>
> Signed-off-by: Pooja Dhannawat <dhannawatpooja1@gmail.com>
> ---
> hw/display/blizzard.c | 24 ------------------------
> hw/display/blizzard_template.h | 30 +-----------------------------
> 2 files changed, 1 insertion(+), 53 deletions(-)
> @@ -956,22 +948,6 @@ void *s1d13745_init(qemu_irq gpio_int)
> s->line_fn_tab[0] = s->line_fn_tab[1] =
> g_malloc0(sizeof(blizzard_fn_t) * 0x10);
> break;
> - case 8:
> - s->line_fn_tab[0] = blizzard_draw_fn_8;
> - s->line_fn_tab[1] = blizzard_draw_fn_r_8;
> - break;
> - case 15:
> - s->line_fn_tab[0] = blizzard_draw_fn_15;
> - s->line_fn_tab[1] = blizzard_draw_fn_r_15;
> - break;
> - case 16:
> - s->line_fn_tab[0] = blizzard_draw_fn_16;
> - s->line_fn_tab[1] = blizzard_draw_fn_r_16;
> - break;
> - case 24:
> - s->line_fn_tab[0] = blizzard_draw_fn_24;
> - s->line_fn_tab[1] = blizzard_draw_fn_r_24;
> - break;
> case 32:
> s->line_fn_tab[0] = blizzard_draw_fn_32;
> s->line_fn_tab[1] = blizzard_draw_fn_r_32;
So are there any cases now when
surface_bits_per_pixel(qemu_console_surface(c)) can return
zero? (I don't understand the 'case 0' code in this switch
at all...)
thanks
-- PMM
next prev parent reply other threads:[~2016-03-14 15:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-14 15:04 [Qemu-devel] [Patch v2 1/1] blizzard: Remove support for DEPTH != 32 Pooja Dhannawat
2016-03-14 15:22 ` Peter Maydell [this message]
2016-03-18 8:30 ` Gerd Hoffmann
2016-03-18 15:46 ` Pooja Dhannawat
2016-03-14 17:56 ` [Qemu-devel] [PATCH v3] " Pooja Dhannawat
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFEAcA_LtboweFSe2WSQPk5g+ur_EvsarLp76hYzPrcfoDsZqQ@mail.gmail.com \
--to=peter.maydell@linaro.org \
--cc=dhannawatpooja1@gmail.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).