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

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



15 jul 2010 kl. 13.39 skrev Miro Kropacek:

>> Again, I couldn't agree more. But I make applications, not VDIs :)
> Common Peter, you're clever enough to hack TOS VDI for SuperVidel,
> don't try to tell me you're scared of new VDI code ;)

I'm not scared of VDI code, I just don't think I'm the right person to implement new APIs for that kind of stuff :)

>> In short - the debate was about whether it's ok to render graphics directly to the target format if you're on <= 8bpp. Since it *has* to be done that way in >8bpp modes, my personal opinion is that it can also be done in <=8bpp modes given you know enough about the target pixel format to do so. For animated stuff, it's imperative. Otherwise you'll end up with a useless 3FPS thing. Michaels view is that this is ugly and can lead to unexpected phenomenons, which is something I don't agree with.
> I still can't help myself -- why on earth not doing this in VDI?

Again - I totally agree!

> 1. Blitting 16/24/32bpp: Tweak / improve / create API which is as far
> as possible backward compatible with 8bpp but aware of 16/24/32bpp
> 2. Direct rendering: one boolean in that new API?

A special blit mode would help a lot on standard graphics hardware - blit with on-the-fly C2P. That means the application has a simple and fast way to render data, and that the low ST-RAM bandwidth will be used efficiently.

The SuperVidel has alpha-blit capabilites. That would also be nice to have in the VDI.

-- PeP