qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window


From: Jamie Lokier
Subject: Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window
Date: Mon, 8 Sep 2008 14:05:08 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

François Revol wrote:
> > Sorry, I wasn't being entirely clear in my suggestion. Cairo itself
> > is not
> > tied to any toolkit - its dependancy is on libX11 / the RENDER
> > extension.
> > So, use of Cairo is rather tangential to question of GTK vs SDL - you
> > can
> > use Cairo with either of them. That said, it may turn out that SDL
> > does
> > not expose enough of its X11 internals to allow an efficient use of
> > Cairo.
> > It would need some experimentation to determine for sure, because the
> > docs
> > aren't entirely clear on this question.
> 
> It would definitely make things much less portable...
> Cairo itself is quite a beast to port I heard... (not everyone uses
> X11...)

Cairo can work with a basic framebuffer, I think, so in principle that
should be easy to use on any target, but not accelerated.

Cairo's software renderer is said not to be particularly fast, as
those things go, in various places (including on the Cairo list last
summer).

Don't Mozilla/Firefox use Cairo these days?  Do they use it on Windows?

Regarding SDL and X11, a "raw" Xlib front end (no SDL) would not be
much code, if the intent is to do the rendering with something other
than SDL, since all it does is create a window and support a few basic
events.  (It might still not be worth the work, though).

-- Jamie




reply via email to

[Prev in Thread] Current Thread [Next in Thread]