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

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



11 jul 2010 kl. 11.46 skrev Michael Bernstein:
>> Come on.  Doing a straight conversion -> device dependent planar
>> graphics has 0 (as in zero, null, nill) impact on compatbility if you
>> have a fallback rout. That fallback routine would be the VDI
>> transformation function.
> 
> After such long time i thought people had learned to use the operating
> system instead of work around the OS because of no side effects and
> extra speed. And many of the no side affect solutions failed with the
> next generation of Atari computers.

It's not a case of accessing the screen directly, it's a case of rendering bitmaps directly to the target format. The worst thing that can happen is garbled window contents. And it could be made optional. So if the application is running under a VDI which provides enough information about the bitmap format, speed will be better. If not, it'll spend an eternity inside vt_trnfm() and it'll still work.

> GEM show you the way by defining a device independant format an a
> function to convert beween both formats. It is always a bad idea to
> work around GEM because someone think his solution has no side
> effects, does not break compatibility and have extra benefist like
> more speed...

The worst thing that can happen is garbled window contents.

-- PeP