Yip, Hosed is right...
Beside of that, in the meantime I found out that MS is even more insane as I thought (And I thought they're a lot).
If you go to:
http://msdn.microsoft.com/archive/defau ... f_2m9j.asp
Then you will find everything needed to define how AlphaBleding should be done in DirectDraw incl. EdgeBlendung und such stuff.
Then you look at the description of the function that's using this struct:
http://msdn.microsoft.com/archive/defau ... f_4jp3.asp
There you will read:"The IDirectDrawSurface7::BltBatchmethod is not currently implemented."
And then you feel really f***ed up the ***
This is so absolutely nasty stuff. They declared everything and documented it well. But they hadn't implemented it. So insane...
So now I have 3 options:
1) Using ColorKeying instead of AlphaChannel. I had rendered my sprites on black background with AlphaChannel. So if I would use ColorKey Blit (Using black as colorkey) with them there would be strong visible black borders around the sprites. So I will have to render them all again.
2) Write an OpenGL wrapper that wraps GapiDraw functions to OpenGL functions. Beside of full hardware acceleration I would benefit from Cross Platform/OS compatibility. And even comming PDAs that will have OpenGL or at least OpenGL ES would benefit.
3) Try to hack some nasty D3D stuff into GapiDraw that will accelerate AlphaBlt.
But the 3rd option would be the last thing I would do in my life... I don't need even more nasty MS stuff.
I think I will go with the first option for now and will do that OpenGL wrapper when the game is finished. I had planned this anyway later to support MacOSX and Linux.
Greets,
Micharl Ritter
5am|coderz