qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Jim C. Brown" <jma5@umd.edu>
To: Ricardo Almeida <ric.almeida@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Graphic card
Date: Mon, 31 Oct 2005 08:39:36 -0500	[thread overview]
Message-ID: <20051031133936.GB1824@jbrown.mylinuxbox.org> (raw)
In-Reply-To: <8a6cde920510310201o27072183nbdcf2dcb42173c12@mail.gmail.com>

On Mon, Oct 31, 2005 at 10:01:45AM +0000, Ricardo Almeida wrote:
> >
> > Fast 3d and emultion does not mix that well.. the more advanced graphics
> > card you try to emulate the more complex (and also slower) the emulation
> > of that graphics card is.
> >
> 
> As I said in my previous reply, 3D calls probably don't need to be emulated.
> Just as you don't have to emulate a x86 processor if you're running in one,
> you can specify that you can only emulate some 3D card if the real hardware
> have some OpenGL driver. That way you wouldn't be emulating them, just
> redirecting the calls..,
> 
> Regards,
> Ricardo Almeida

Agreed.

One strategy that was being done is to use a custom OpenGL library (note, library
not a driver) for the qemu guest. OpenGL calls get passed to qemu directly,
which then does the 3d by calling OpenGL on the host.

Passing direct calls is doable, and takes far less of a hit. Of course there is
the cost of requiring qemu to be linked to an OpenGL library. (I suppose Mesa
is good enough for those who lack 3d cards.)

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

  reply	other threads:[~2005-10-31 13:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-30  0:35 [Qemu-devel] Graphic card Ricardo Almeida
2005-10-30  4:43 ` Mike Swanson
2005-10-30 12:02   ` Oliver Gerlich
2005-10-30 13:42     ` Henrik Nordstrom
2005-10-31 10:01       ` Ricardo Almeida
2005-10-31 13:39         ` Jim C. Brown [this message]
2005-10-31 14:58           ` Paul Brook
2005-10-31 17:01           ` Henrik Nordstrom
2005-10-30 14:31     ` Jim C. Brown
2005-10-31  9:58   ` Ricardo Almeida
2005-10-31 13:35     ` Jim C. Brown

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=20051031133936.GB1824@jbrown.mylinuxbox.org \
    --to=jma5@umd.edu \
    --cc=qemu-devel@nongnu.org \
    --cc=ric.almeida@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 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).