Should I use DirectDraw ?
-
I'm developing a simple animated game and it must run on windows 2000 and above including vista. Some of us think: 1. Loading bitmaps (.png files) with DirectDraw7 will be MUCH faster than creating textures with DirectX 9. 2. Performance will be the same or better. 3. DirectX textures distorts the bitmap (.png files). 4. It will work on all windows OS because it's backward compatible. How wrong are we ?
-
I'm developing a simple animated game and it must run on windows 2000 and above including vista. Some of us think: 1. Loading bitmaps (.png files) with DirectDraw7 will be MUCH faster than creating textures with DirectX 9. 2. Performance will be the same or better. 3. DirectX textures distorts the bitmap (.png files). 4. It will work on all windows OS because it's backward compatible. How wrong are we ?
Based only on what I have read, not experienced, if you intend to use the DirectDraw interfaces you don't want to use DirectX9 because DD is only exposed through a managed class and is therefore slower. If however you want to use the DX interfaces then DX9 appears to be faster than older versions. One specific thing I have frequently read is that the FPS is higher due to a faster fill rate.
-
Based only on what I have read, not experienced, if you intend to use the DirectDraw interfaces you don't want to use DirectX9 because DD is only exposed through a managed class and is therefore slower. If however you want to use the DX interfaces then DX9 appears to be faster than older versions. One specific thing I have frequently read is that the FPS is higher due to a faster fill rate.
Thank you very much Mike.
led mike wrote:
if you intend to use the DirectDraw interfaces you don't want to use DirectX9 because DD is only exposed through a managed class and is therefore slower
If I understand you right: Using DirectDraw interfaces , with the
ddraw.lib
as part of the DirectX9 SDK is slower. But perhaps usingddraw.lib
from any other sdk is less compatible ? -
Thank you very much Mike.
led mike wrote:
if you intend to use the DirectDraw interfaces you don't want to use DirectX9 because DD is only exposed through a managed class and is therefore slower
If I understand you right: Using DirectDraw interfaces , with the
ddraw.lib
as part of the DirectX9 SDK is slower. But perhaps usingddraw.lib
from any other sdk is less compatible ?Hanan888 wrote:
But perhaps using ddraw.lib from any other sdk is less compatible ?
That is certainly possible, I have not seen any noise in regards to compatibility. You might want to do some Googling yourself because I am not directly involved in any game development currently so I don't pay much attention. I know the net is full of noise about game development though. I also don't know anything about PC game dev, I was involved with the console platforms (XBox, PS) only.
-
Hanan888 wrote:
But perhaps using ddraw.lib from any other sdk is less compatible ?
That is certainly possible, I have not seen any noise in regards to compatibility. You might want to do some Googling yourself because I am not directly involved in any game development currently so I don't pay much attention. I know the net is full of noise about game development though. I also don't know anything about PC game dev, I was involved with the console platforms (XBox, PS) only.