[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Bit-Depth and Graphics stuff....
- To: mint@lists.fishpool.fi
- Subject: Re: [MiNT] Bit-Depth and Graphics stuff....
- From: Adam Kłobukowski <atari@gabo.pl>
- Date: Mon, 05 Jul 2010 13:51:35 +0200
- 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=
- In-reply-to: <8FBF67A6BA8545EBBEAFF8646B93E527@mercatus.local>
- List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
- List-id: <mint.lists.fishpool.fi>
- List-owner: <mailto:tjhukkan@fishpool.fi>
- List-post: <mailto:mint@lists.fishpool.fi>
- List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
- List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
- References: <2d64e795294918b05c6ec6ea3bc731b7-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYPXkF0A1Y6XF1YSUYAWVNeQw==-webmailer2@server08.webmailer.hosteurope.de> <8FBF67A6BA8545EBBEAFF8646B93E527@mercatus.local>
- Sender: mint-bounce@lists.fishpool.fi
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100702 Thunderbird/3.0.5
W dniu 05.07.2010 13:34, Jo Even Skarstein pisze:
> --------------------------------------------------
> From: "m0n0" <ole@monochrom.net>
> Sent: Monday, July 05, 2010 12:49 PM
> To: "mint" <mint@lists.fishpool.fi>
> 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