From: Jamie Lokier <jamie@shareable.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [patch] cocoa.m - Core Graphics support
Date: Thu, 31 Jan 2008 09:46:14 +0000 [thread overview]
Message-ID: <20080131094613.GE4003@shareable.org> (raw)
In-Reply-To: <47A0F22A.9040704@codemonkey.ws>
Anthony Liguori wrote:
> VGA framebuffer operations come in as memory operations. They're
> tracked by watching what memory gets dirtied. This can only operate at
> a page-granularity so this results in scan-line granularity updates.
> The VNC front-end goes to great lengths to keep a shadowed framebuffer
> and reduce these updates to a smaller update region. You could possibly
> look at refactoring that code. However...
That update region code should probably be moved to something generic
and made into a generic display option.
Reducing update region is logically orthogonal, and could work with
any update method (e.g. local X11, remote X11, local X11-OpenGL,
remote X11-OpenGL, SDL etc.). With some of those, for some people
(especially some but not all remote setups) it might be worth it.
> I would be amazed if screen updates on OS X are so slow that it would
> make a difference if updates are in scanline granularities. The copying
> latency is nothing compared to the other latencies in QEMU. A modern
> processor can move memory at an extremely high speed.
>
> At a refresh rate of 30 times per second, this is only ~4MB of data for
> mouse movements. A typical processor can easily handle many GB of data
> per second.
That's 16MB/frame on an Apple Cinema display at 32bpp, which is
0.5GB/sec. Not too much, but not free either :-)
-- Jamie
next prev parent reply other threads:[~2008-01-31 11:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-21 16:18 [Qemu-devel] [patch] cocoa.m - Core Graphics support Mike Kronenberg
2008-01-30 18:59 ` Alexander Graf
2008-01-30 19:05 ` Alexander Graf
2008-01-30 20:30 ` Mike Kronenberg
2008-01-30 20:39 ` Johannes Schindelin
2008-01-30 21:18 ` andrzej zaborowski
2008-01-31 9:15 ` Jamie Lokier
2008-01-30 21:00 ` Pierre d'Herbemont
2008-01-30 21:54 ` Anthony Liguori
2008-01-31 9:46 ` Jamie Lokier [this message]
2008-01-31 11:38 ` Julian Seward
2008-01-31 22:40 ` Anthony Liguori
2008-01-31 23:03 ` Jamie Lokier
2008-01-31 8:29 ` Alexander Graf
2008-01-30 20:44 ` Mike Kronenberg
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=20080131094613.GE4003@shareable.org \
--to=jamie@shareable.org \
--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).