All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: iwona260909@gmail.com, Peter Maydell <peter.maydell@linaro.org>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] Dead code removal: removing code for unsupported DEPTH.
Date: Mon, 27 Mar 2017 08:20:56 +0200	[thread overview]
Message-ID: <1490595656.31035.5.camel@redhat.com> (raw)
In-Reply-To: <CAJSP0QX3z_Zn-jdi7=2qw795Ep2nG5xvWR9DqyWajnKjkCGd3g@mail.gmail.com>

  Hi,

> Some emulated graphics cards use qemu_console_surface() and that
> surface is always in 32 bits per pixel format.  Therefore, code for
> dealing with other pixel formats can be removed.

qemu_create_displaysurface() creates a displaysurface with the default
depth 32bpp.  qemu_console_resize() will create a new displaysurface,
with the given size, also with the default depth 32bpp.

qemu_console_surface() just asks for the current surface, that alone
isn't a good indicator, but often display drivers use
qemu_console_surface + qemu_console_resize.

cheers,
  Gerd

      parent reply	other threads:[~2017-03-27  6:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-16 12:01 [Qemu-devel] [PATCH] Dead code removal: removing code for unsupported DEPTH iwona260909
2017-03-16 12:01 ` iwona260909
2017-03-16 12:07   ` Peter Maydell
2017-03-16 14:12     ` Gerd Hoffmann
2017-03-16 14:26       ` Paolo Bonzini
2017-03-24 13:36       ` Stefan Hajnoczi
2017-03-24 13:40         ` Peter Maydell
2017-03-27  6:23           ` Gerd Hoffmann
2017-03-29 14:56             ` Iwona Kotlarska
2017-03-27  6:20         ` Gerd Hoffmann [this message]

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=1490595656.31035.5.camel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=iwona260909@gmail.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.