When Gapidraw is running in a window (not full screen) on a PC is it still using DirectX calls to do the blit?
Question about running in a window on a PC
Concidering DirectX comes installed on all new systems running XP or 2k there's really little reason to want to remove the directX requirement, but to answer your question, it'd be significantly slower.
Yes, it comes installed on all new systems but I am finding that the people who purchase in the shareware world seem to have older systems and *GASP* dial-up. I am looking at hitting the largest possible market for the things I build.
I was just thinking that Gapidraw has all its own drawing routines so it shouldn't be hard to have it fallback and only use bitblt. Then for puzzle games and other things where drawing speed isn't the end all be all, you could use a gapilight that didn't require direct X and would run on more machines. So why not just use GDI you say? Gapidraw would still be much faster than the GDI routines and you get all the nice transparencies, etc. plus on the PDA version that extra speed is needed.
Mostly, it I am just curious how hard it is to do.
I was just thinking that Gapidraw has all its own drawing routines so it shouldn't be hard to have it fallback and only use bitblt. Then for puzzle games and other things where drawing speed isn't the end all be all, you could use a gapilight that didn't require direct X and would run on more machines. So why not just use GDI you say? Gapidraw would still be much faster than the GDI routines and you get all the nice transparencies, etc. plus on the PDA version that extra speed is needed.
Mostly, it I am just curious how hard it is to do.
tedson: It wouldn't be that hard to modify GapiDraw to use BitBlt.. It might even happen. A version GapiDraw that uses BitBlt in the final blit could be used for a number of cool things.
The reason I ask this of course is for the Pocket War screen saver. http://www.metalshard.com/viewproduct.php?productID=3
The more desktops it will run on the better off I am.
I think I have a solution for the multi-monitor problem as well. I am now running in a border-less window that is the same size as the virtual desktop rather than running as a full screen app. I had to do some finagaling to force the gapidraw based program to be in a popup, border-less, title-less, always-on-top window. It seems like opendisplay resets some of the windows's properties, so I had to add calls after opendisplay to remove the borders and titles and force the window to always be on top.
The new screen saver looks pretty good now though. If I can remove the dependence on direct X then it will run on windows 95 and NT machines as well. It would also give me an answer for people asking for Pocket War on those machines (and surprisingly there are some.)
The more desktops it will run on the better off I am.
I think I have a solution for the multi-monitor problem as well. I am now running in a border-less window that is the same size as the virtual desktop rather than running as a full screen app. I had to do some finagaling to force the gapidraw based program to be in a popup, border-less, title-less, always-on-top window. It seems like opendisplay resets some of the windows's properties, so I had to add calls after opendisplay to remove the borders and titles and force the window to always be on top.
The new screen saver looks pretty good now though. If I can remove the dependence on direct X then it will run on windows 95 and NT machines as well. It would also give me an answer for people asking for Pocket War on those machines (and surprisingly there are some.)