From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] VMware SVGA uses incorrect depth
Date: Mon, 2 Mar 2009 11:36:42 +0000 [thread overview]
Message-ID: <49ABC4CA.8070406@eu.citrix.com> (raw)
In-Reply-To: <fb249edb0902271221rbafe5cahe3ec7a318271b18b@mail.gmail.com>
andrzej zaborowski wrote:
> I don't think hardcoding any depth is correct (not counting the
> obvious performance disadvantage). The s->depth value is what is
> returned by the SVGA_REG_HOST_BITS_PER_PIXEL register, so it should be
> the host's color depth if possible (may be impossible for VNC, but
> easy with SDL), iirc this broke only recently.
>
The problem is that the SDL frontend is initialized after the graphic
device so it is not possible to get the host resolution from sdl.c at
the time.
That said, I think that setting the vmware svga color depth to
s->depth = 24;
s->bypp = 4;
by default is reasonable since it covers 99% of the cases out there.
prev parent reply other threads:[~2009-03-02 11:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-16 21:27 [Qemu-devel] [PATCH] VMware SVGA uses incorrect depth Brian Kress
2009-02-19 21:55 ` [Qemu-devel] " Consul
2009-02-27 19:45 ` [Qemu-devel] " Anthony Liguori
2009-02-27 20:21 ` andrzej zaborowski
2009-03-02 11:36 ` Stefano Stabellini [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=49ABC4CA.8070406@eu.citrix.com \
--to=stefano.stabellini@eu.citrix.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 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.