I migrate my soft from gapidraw 1.04 to gapidraw 2.04 and I see a big speed reduction.
I do 25 fps with gd1.04 and only 8 fps with gd2.04.
Why ?
Do I have to look for something special when I migrate ?
I am guessing that your game runs full screen on a stationary PC. Set the flag GDSURFACE_SYSTEMMEMORY in all CreateSurface() calls and you will be set. You might also want to set the display flag GDDISPLAY_BACKBUFFERSYSMEM in the GDAPPCONFIG (if you are using CGapiApplication).
The reason for the speed difference is that GapiDraw by defaults tries to create all surfaces in video memory, and that some of the operations you use are not HW accelerated (like alpha blends / opacity).
No, I'm running it on pocket pc directly After a few test, it appears that it's the fault of the drawtext function (that is slower in gd204 than in gd104)
Once again... is it possible ?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum