From mint-bounce@lists.fishpool.fi Mon Jul 5 07:53:23 2010 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=QJ0wTso+rM486vyi+Mh9MDE+6OHspyxWfA+PtyWHojM=; b=RWSc0s7jY+rTDpAemf0A/r8WoO+ir8NMbhm5jO6ql1bdn2RjgHiOfu7BZHXZdHOWk/ Xq9IKw8Th/qcRM16ERdOc2w31MxIbtjt/7aXXgNjOsu7ylSSi8YilEjg/MINnIqeSxu1 W2ggAQNOlh/BL1WcVqMB3iB0JZQvR+rwcnSY0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=Fv9hsPOEezfggI/tm/pCbatw+4pvF7JmppN4bcSAZei11Rii5+W9ggnUaMSKDRz+Tl zdj4bPmSvlg6Ulk2L4GNLjS6p2W8bmhRFlvcp8ZMwk+JIEaEm7syL6AFgD71vnHEAXCi VAJSW+RasKAXLzEays7lrVmrWw3+jaOrLmqfg= Message-ID: <4C31C747.1040205@gabo.pl> Date: Mon, 05 Jul 2010 13:51:35 +0200 From: =?UTF-8?B?QWRhbSBLxYJvYnVrb3dza2k=?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100702 Thunderbird/3.0.5 MIME-Version: 1.0 To: mint@lists.fishpool.fi Subject: Re: [MiNT] Bit-Depth and Graphics stuff.... References: <2d64e795294918b05c6ec6ea3bc731b7-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYPXkF0A1Y6XF1YSUYAWVNeQw==-webmailer2@server08.webmailer.hosteurope.de> <8FBF67A6BA8545EBBEAFF8646B93E527@mercatus.local> In-Reply-To: <8FBF67A6BA8545EBBEAFF8646B93E527@mercatus.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: atari@gabo.pl Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: W dniu 05.07.2010 13:34, Jo Even Skarstein pisze: > -------------------------------------------------- > From: "m0n0" > Sent: Monday, July 05, 2010 12:49 PM > To: "mint" > Subject: [MiNT] Bit-Depth and Graphics stuff.... > >> VDI offers no interface for True-Color mode, at least that's how I >> understand it. > > Your observations are correct - basically you must determine the pixel > layout and transform the bitmaps yourself before it can be blitted to > the screen. You can take a look at XaAES to see how this is done. > > To make it easier for you, or as an intermediate solution, you can > present the user with a list of pixel layouts to choose from. This is > done in many art-programs. > > I don't know how SDL works. Does it draw everything to a buffer and then > blit from this buffer to the screen? Can the size of the > buffer/framebuffer be changed at runtime? I think NVDI has some functions to handle and convert bit-depths. Maybe this could be implemented in XaAES? SDL does it's own conversions using asm optimized routines. Adam Kłobukowski