From: "Kevin F. Quinn" <ml@kevquinn.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] QEMU GUI
Date: Fri, 23 Jun 2006 09:17:57 +0200 [thread overview]
Message-ID: <20060623091757.3ed81e6d@c1358217.kevquinn.com> (raw)
In-Reply-To: <449B49B2.5050706@us.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 2815 bytes --]
On Thu, 22 Jun 2006 20:53:54 -0500
Anthony Liguori <aliguori@us.ibm.com> wrote:
> Kevin F. Quinn wrote:
> > Part of that should be to determine what the GUI will actually do;
>
> You're getting ahead of yourself. Just getting qemu to start with
> wxWidgets instead of SDL would be a big step in the right direction.
>
> > At this point you're talking about embedding the Qemu guest window
> > directly into the wxWidgets GUI, yes? I'm thinking the primitives
> > that the graphics driver in QEMU is emulating are not at the GL
> > level, but at the raw hardware level - I don't know how far apart
> > these things are, but I'd hazard that a GL canvas won't really help.
> >
>
> QEMU doesn't expose any real 2d acceleration to the drawing
> routines. Using GL canvas would be interesting though as you'd get
> hardware scaling with interpolation. That's a big performance win.
And scaling the guest window would be really useful...
> > I do think the ability to pass through accelerated graphics stuff
> > from the guest to the host should be a big factor. I assume this
> > is what the cirrus emulation currently does through SDL, to some
> > extent at least. This issue would make or break guest graphics
> > performance.
>
> Nope, currently SDL is used as one big bitmap viewer.
>
> > I'm ignorant of details, but from a vague hand-wavy distance it
> > should be simple enough to retain SDL for the emulation windows
> > (and SDL does seem to be the tool for the job there), with a
> > separate wxWidgets
>
> Bleh, why would you say that? SDL is pretty crappy on X. It's just
> a wrapper around XShmImage. You can access the same thing via GTK or
> any other reasonable toolkit.
Ok; my ignorance is shining through :) I thought SDL did a lot more
than that.
> SDL is mostly useful because of the number of backend drivers that it
> supports.
Had a rummage through the wxWidgets code. It uses SDL for sound support
(or can do so, at any rate) but not for video. With the GTK backend you
get an XShm image if XShm is supported (wxGTK asks GTK for
GDK_IMAGE_FASTEST). I don't find any references to XShm in the x11
backend, so I guess the raw X11 backend doesn't use it. On X you'd
normally go for the GTK backend anyway.
> Regards,
>
> Anthony Liguori
>
> > frontend GUI to manage the launch and visibility of emulation
> > windows, assist in guest creation etc.
> >
> > Perhaps it's worth asking the WxWidgets people what they might
> > suggest.
> >
> >
> >> Regards,
> >>
> >> Anthony Liguori
> >>
> >>
> >>> If someone is interested, I am ready to try to include such a GUI
> >>> in the QEMU repository even if it is not usable yet.
> >>>
> >>> Regards,
> >>>
> >>> Fabrice.
--
Kevin F. Quinn
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
prev parent reply other threads:[~2006-06-23 7:08 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-21 18:11 [Qemu-devel] QEMU GUI Fabrice Bellard
2006-06-21 19:42 ` Mike Kronenberg
2006-06-22 19:32 ` gbeauchesne
2006-06-22 19:32 ` gbeauchesne
2006-06-28 23:03 ` Joe Lee
2006-06-29 13:19 ` Daniel P. Berrange
2006-06-29 21:05 ` Joe Lee
2006-06-29 21:47 ` Daniel P. Berrange
2006-06-22 15:06 ` Luca Barbato
2006-07-01 22:47 ` Chris Wilson
2006-07-05 20:51 ` Luca Barbato
2006-07-08 2:14 ` Chris Wilson
2006-07-08 2:46 ` Johannes Schindelin
2006-07-08 6:34 ` M. Warner Losh
2006-07-08 14:34 ` wxWidgets and C: was " Jim C. Brown
2006-07-08 15:02 ` Joe Lee
2006-07-08 15:13 ` Jim C. Brown
2006-07-08 16:34 ` Kevin F. Quinn
2006-07-08 21:26 ` Oliver Gerlich
2006-07-10 0:03 ` John R.
2006-07-10 0:10 ` Jim C. Brown
2006-07-11 7:44 ` David Fraser
2006-07-11 12:40 ` Jason Gress
2006-07-11 13:17 ` Linas Žvirblis
2006-07-11 14:52 ` Oliver Gerlich
2006-07-11 15:29 ` Linas Žvirblis
2006-07-12 8:17 ` Luca Barbato
2006-07-12 13:15 ` [Qemu-devel] Insert module into kernel Tieu Ma Dau
2006-07-12 13:36 ` Paul Brook
2006-07-13 8:11 ` Tieu Ma Dau
2006-06-22 15:18 ` [Qemu-devel] QEMU GUI Christian MICHON
2006-06-30 10:28 ` Dan Sandberg
2006-06-22 21:50 ` Anthony Liguori
2006-06-23 0:18 ` Kevin F. Quinn
2006-06-23 1:53 ` Anthony Liguori
2006-06-23 7:17 ` Kevin F. Quinn [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=20060623091757.3ed81e6d@c1358217.kevquinn.com \
--to=ml@kevquinn.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).