From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcArO-0001qz-Tu for qemu-devel@nongnu.org; Sat, 06 Sep 2008 23:22:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcArN-0001qX-G1 for qemu-devel@nongnu.org; Sat, 06 Sep 2008 23:22:46 -0400 Received: from [199.232.76.173] (port=39892 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcArN-0001qU-5v for qemu-devel@nongnu.org; Sat, 06 Sep 2008 23:22:45 -0400 Received: from an-out-0708.google.com ([209.85.132.248]:63913) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KcArM-0006o2-Sl for qemu-devel@nongnu.org; Sat, 06 Sep 2008 23:22:45 -0400 Received: by an-out-0708.google.com with SMTP id d18so164087and.130 for ; Sat, 06 Sep 2008 20:22:44 -0700 (PDT) Message-ID: <48C348D3.6070702@codemonkey.ws> Date: Sat, 06 Sep 2008 22:21:55 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window References: <48B81423.9050502@eu.citrix.com> <48BF4F4F.40208@codemonkey.ws> <48BFB318.206@eu.citrix.com> <20080905120214.GD1373@shareable.org> <48C16207.5090808@eu.citrix.com> <20080905165536.GA12606@redhat.com> <48C168CE.5040700@eu.citrix.com> In-Reply-To: <48C168CE.5040700@eu.citrix.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Stefano Stabellini wrote: > Daniel P. Berrange wrote: > > >> The problem with OpenGL is that it has horrible rendering issues if you >> are also using a compositing window manager like Compiz. You need an X >> server & driver which supports Redirected Direct Rendering [1]. No distro >> currently has any official support for this yet. AFAIK, the next Fedora 10 >> will be the first to support it, and even then only on Intel hardware[2]. >> ATI is still a fair way off, and NVidia support is nowhere to be seen. >> > > > I don't think this should impact our choice, these are all issues that > will be solved sooner or later (hopefully sooner). > Practically speaking, it's a royal pain. It means it has to be disabled by default. What's most annoying is that Ubuntu enables compiz by default so there are a lot of users that will be affected. There are a lot of outstanding SDL/VNC patches right now. I'm going to spend time testing/applying them tomorrow. OpenGL support is neat but I'm on the fence about whether it's the right thing to apply it. I'd like to see if it really makes a difference performance wise to render with OpenGL. I've had good results in the past using software bilinear interpolation to do scaling. If OpenGL doesn't provide a measurable performance advantage, doing it in software may be the right thing to do. Regards, Anthony Liguori >> For >> accelerated resize of windows though you shouldn't need 3d - the graphics >> driver 2-d hardware acceleration support ought to be sufficient I'd >> imagine >> >> > > SDL doesn't offer this feature, and OpenGL is not just for 3D. > > >