From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kcfz7-0002Ox-5w for qemu-devel@nongnu.org; Mon, 08 Sep 2008 08:36:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kcfz5-0002Mx-HL for qemu-devel@nongnu.org; Mon, 08 Sep 2008 08:36:48 -0400 Received: from [199.232.76.173] (port=59256 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kcfz5-0002Mn-Cq for qemu-devel@nongnu.org; Mon, 08 Sep 2008 08:36:47 -0400 Received: from smtp5-g19.free.fr ([212.27.42.35]:48355) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kcfz4-0006Hz-O5 for qemu-devel@nongnu.org; Mon, 08 Sep 2008 08:36:47 -0400 In-Reply-To: <20080908110038.GG2315@redhat.com> Subject: Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window From: "=?windows-1252?q?Fran=E7ois?= Revol" Date: Mon, 08 Sep 2008 14:38:56 +0200 CEST Message-Id: <6212707131-BeMail@laptop> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" , qemu-devel@nongnu.org > 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=3F! > > >> 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. It would definitely make things much less portable... Cairo itself is quite a beast to port I heard... (not everyone uses X11...) Fran=E7ois.