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

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



Hi Jo Even,

> > You are right if you point out, that this way consumes some CPU power.
> 
> That is only true when using 8 bit chunky mode, which very few does. In most 
> cases, 8 bit and less is bitplane graphics, and converting a Device 
> Independent Format bitmap to screen format in these cases is a straight 
> forward copy operation.

A straigth forward copy is also a overhead, isn't it? It takes less
cpu power than recalculation and can be done by the blitter (if your
machine has one).

But you have to distinguish two cases if you use vr_trnfm:

ssource and destination is the same: if device independant and dependant
formats are equal, no action is needed, This is the fastest way. But if
both formats differ, this is the slowest way.

source and destination are different: always a action is needed. If both
formats are eual, it is only y copy. But his takes also more time than
provide the device dependant format.

Best regards
Michael Bernstein