Or do I need to convert this myself :shock:
Or do I need to convert this myself :shock:
http://www.c5software.co.uk (site is being developed at the moment)
Long time ago: http://clootie.narod.ru/delphi/downl...l#D3Dex_Common
There are only 10 types of people in this world; those who understand binary and those who don't.
Bah, it's missing the MMX alpha blend, that's what I was looking forOriginally Posted by Clootie
I have a fast alpha blend that uses 32bit register but it's not as fast as an MMX routine could be. I also played around with ASM and managed to get a simple 50/50 MMX routine working but I found it wasn't that fast AND it didn't handle transparent pixels. I am just not that hot with ASM
Anyone got a MMX alpha routine for 16 bit 5,6,5?
http://www.c5software.co.uk (site is being developed at the moment)
BTW: I did start to convert it myself but ran into opcode issues There is no Move Quad instruction available in the Delphi 4 compiler, and I ain't got a clue what the binary values are for the opcodes and operands to do it using DB.
http://www.c5software.co.uk (site is being developed at the moment)
Have you compared just blitting and blitting with alpha-blending with pure pascal code? Reason I ask you about this, cos current systems are rather memory bandwidth limited than CPU power limited...
There are only 10 types of people in this world; those who understand binary and those who don't.
Bookmarks