[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Bit-Depth and Graphics stuff....



--------------------------------------------------
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?

Jo Even