qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Oliver Gerlich <olig9@gmx.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] GTK GUI for QEmu
Date: Fri, 11 Nov 2005 20:30:08 +0100	[thread overview]
Message-ID: <4374F140.4050903@gmx.de> (raw)
In-Reply-To: <4374E910.8080707@codemonkey.ws>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anthony Liguori schrieb:
> Oliver Gerlich wrote:
> 
>> Wouldn't these two things be solved by using SDL inside the GTK window?
>> In current qemu, there are neither fullscreen nor mouse moving problems.
> 
> 
> Depending on the X server settings, certain modes aren't available in
> SDL.  In particular, on the default X install in Ubuntu on my system,
> there is not a mode to handle the standard console mode in Linux which
> means you get a centered console with large bars on the edges.  It's
> very ugly.
> 
> The mouse problem occurs less frequently in SDL because of the fact that
> you're always at native resolution (so the mouse moves around the screen
> almost as quickly as it normally would.  It's definitely reproducible. 
> If you disable the mouse hiding in SDL mode, and you move the mouse
> slowly from one edge to another, you'll hit the box.
> 
>> Fabrice mentioned some time ago that SDL isn't the best choice on
>> Windows because of keyboard issues... Is that still the case?
> 
> 
> Probably.  I was hoping to punt on the issue of Win32 and instead rely
> on a native Win32 GUI.  I'm not sure GTK on Win32 is going to be that
> great from a performance perspective.
> 
> FWIW, I'm going to benchmark the my latest optimizations for fullscreen
> mode and post the results later today.  If scaling can be done with
> little performance impact, I think it's clearly the right thing to do.
> 
> Regards,
> 
> Anthony Liguori
> 
>> Oliver
>>
>> PS: Arrg... no need to wonder why the mail doesn't appear on the list
>> - I replied to Jim only. Here it is again.
>>
>>
>> _______________________________________________
>> Qemu-devel mailing list
>> Qemu-devel@nongnu.org
>> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>>
> 
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 
> 

I agree that a software scaling mode is useful, for the reasons you
stated. But nonetheless I think a resolution-switching fullscreen mode
is useful as well :) eg. because software scaling doesn't look as nice
as native resolution (at least on CRTs, it's unnecessaryly pixelated or
blurred). And if we would have a completely different GUI implementation
for Windows anyway, the GTK GUI could indeed use direct X11 calls (or
the like) to switch resolutions.

So, I pledge to include both methods (software scaling and switch to
native resolution) in the GUI and decide which mode to use based on user
preference or some clever algorithm :D

Regards,
Oliver
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDdPE+TFOM6DcNJ6cRAjphAJ9guWOfpEIrIN59aoScIYLnpzroGQCffA0y
fyB18E5nduwOHrD9ByeOaPI=
=8kkl
-----END PGP SIGNATURE-----

  reply	other threads:[~2005-11-11 19:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-09 22:07 [Qemu-devel] GTK GUI for QEmu Anthony Liguori
2005-11-10 23:32 ` Oliver Gerlich
2005-11-11  3:45   ` Jim C. Brown
2005-11-11 16:13     ` Oliver Gerlich
2005-11-11 18:55       ` Anthony Liguori
2005-11-11 19:30         ` Oliver Gerlich [this message]
2005-11-11 20:11         ` Jim C. Brown
2005-11-11 20:39           ` Anthony Liguori
2005-11-11 22:03             ` Jim C. Brown
2005-11-11 22:06               ` Anthony Liguori
2005-11-11 22:46                 ` Jernej Simonèiè
2005-11-11 15:35   ` Anthony Liguori

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=4374F140.4050903@gmx.de \
    --to=olig9@gmx.de \
    --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).