[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window |
Date: |
Mon, 8 Sep 2008 12:00:38 +0100 |
User-agent: |
Mutt/1.4.1i |
On Mon, Sep 08, 2008 at 11:53:57AM +0100, Stefano Stabellini wrote:
> Daniel P. Berrange wrote:
>
> > On Mon, Sep 08, 2008 at 11:30:09AM +0100, Stefano Stabellini wrote:
> >> I completely agree with Avi: Opengl has been around since 1992, and now
> >> you tell me that it is better not to use it because it breaks Compiz?!
> >> To say the least it would be a bad long term engineering decision.
> >
> > It would be a bad decision *if* OpenGL were the only technical solution
> > to the problem. There are a variety of possible solutions with various
> > pluses & minuses. If it is possible to do an implementation which uses
> > hardware acceleration for scaling to get the same level of performance
> > as the OpenGL proposal, it is good sense to evaluate it. Blindly going
> > for OpenGL when it has known problems without evaluating alternatives
> > would be the bad engineering decision.
>
>
> You are right that we have a variety of possible solution each one with
> its own pros and cons.
> I think removing SDL(+Opengl) for Gtk and Cairo is not a good idea *but*
> we could add another Gtk based fronted.
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.
Regards,
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, (continued)
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Anthony Liguori, 2008/09/08
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Avi Kivity, 2008/09/07
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Daniel P. Berrange, 2008/09/07
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Avi Kivity, 2008/09/07
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Stefano Stabellini, 2008/09/08
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Daniel P. Berrange, 2008/09/08
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Stefano Stabellini, 2008/09/08
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window,
Daniel P. Berrange <=
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, François Revol, 2008/09/08
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Jamie Lokier, 2008/09/08
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Anthony Liguori, 2008/09/08
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, François Revol, 2008/09/08
- Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, malc, 2008/09/05
Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Stefano Stabellini, 2008/09/04
Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window, Andreas Färber, 2008/09/04