View Full Version : Anyone converted DDUtil.BltAlpha?
Gadget
12-02-2004, 04:45 PM
Or do I need to convert this myself :shock:
Clootie
12-02-2004, 06:39 PM
Long time ago: http://clootie.narod.ru/delphi/download_dx90.html#D3Dex_Common
Gadget
29-06-2004, 02:13 PM
Long time ago: http://clootie.narod.ru/delphi/download_dx90.html#D3Dex_Common
Bah, it's missing the MMX alpha blend, that's what I was looking for ;)
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 :P
Anyone got a MMX alpha routine for 16 bit 5,6,5?
Gadget
29-06-2004, 02:18 PM
BTW: I did start to convert it myself but ran into opcode issues :P 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.
Clootie
29-06-2004, 07:17 PM
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...
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.