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

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



Am Mo, 5.07.2010, 13:34 schrieb Jo Even Skarstein:

>> VDI offers no interface for True-Color mode, at least that's how I
>> understand it.

That would be an nice-to-have extension for MiNT systems...

> I don't know how SDL works. Does it draw everything to a buffer and then
> blit from this buffer to the screen?

yes, I expect it works that way, at least when you specify SDL_SWSURFACE,
the other option is SDL_HWSURFACE,... you can also specify the depth of
this surface. It's up to the application to put correctly encoded pixels
into that buffer. Some magic takes place when the surface is shown on a
system with 256 colors - it is displayed correctly, altough it is an 16bit
surface...

>Can the size of the
> buffer/framebuffer
> be changed at runtime?

yes, that's possible, at least with windows. Even if it would not support
this feature - it wouldn't be much of an problem.

-- 
Greets,
Ole