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

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



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