From mint-bounce@lists.fishpool.fi Mon Jul 5 07:36:31 2010 Message-ID: <8FBF67A6BA8545EBBEAFF8646B93E527@mercatus.local> From: "Jo Even Skarstein" To: "mint" References: <2d64e795294918b05c6ec6ea3bc731b7-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYPXkF0A1Y6XF1YSUYAWVNeQw==-webmailer2@server08.webmailer.hosteurope.de> In-Reply-To: <2d64e795294918b05c6ec6ea3bc731b7-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYPXkF0A1Y6XF1YSUYAWVNeQw==-webmailer2@server08.webmailer.hosteurope.de> Subject: Re: [MiNT] Bit-Depth and Graphics stuff.... Date: Mon, 5 Jul 2010 13:34:44 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8089.726 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: joska@online.no Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: -------------------------------------------------- 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? Jo Even