From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FGLBs-0001ER-Pn for qemu-devel@nongnu.org; Mon, 06 Mar 2006 14:16:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FGLBm-000199-E3 for qemu-devel@nongnu.org; Mon, 06 Mar 2006 14:16:17 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FGJv8-0003Vv-4B for qemu-devel@nongnu.org; Mon, 06 Mar 2006 12:54:58 -0500 Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FGJiO-0007pu-RF for qemu-devel@nongnu.org; Mon, 06 Mar 2006 12:41:49 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FGJfl-0003WJ-Bs for qemu-devel@nongnu.org; Mon, 06 Mar 2006 18:39:05 +0100 Received: from 84-72-11-61.dclient.hispeed.ch ([84.72.11.61]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Mar 2006 18:39:05 +0100 Received: from cwalther by 84-72-11-61.dclient.hispeed.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Mar 2006 18:39:05 +0100 From: Christian Walther Date: Mon, 06 Mar 2006 18:38:59 +0100 Message-ID: References: <440B69F3.1070801@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <440B69F3.1070801@codemonkey.ws> Sender: news Subject: [Qemu-devel] Re: [PATCH] Use opaque alpha channel to support Xgl 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 Anthony Liguori wrote: > I really don't like this patch as it seems like a hack but I couldn't > figure out a way to differentiate in SDL between a 24-bit depth with > a 32-bit pixel width (which is a common, non-alpha format) and a true > 32 bit depth with an alpha channel. Check SDL_Surface->format.Amask (see http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fPixelFormat). > Hopefully, this will be fixed in future versions of SDL. I'm not convinced there's something to fix in SDL rather than Qemu (but I'm not familiar with the issue), but if there is, please post this on the SDL mailing list (sdl@libsdl.org, http://news.gmane.org/gmane.comp.lib.sdl). -Christian