Hi All,
Okay, i've been playing around with the API, having alot of fun with it by the way.. and have run into some problems/questions that I need some help with.
I've modified the minimal sample application to include a background image (1024x768) and 4 sprites. The background image is a 16bit bmp the sprites, which are stationary, are 80 x 50 and are also bmp's. I can't seem to get my from rate above 22 frames per second, and I was hoping for a minimum of 20. I've tried various techniques, such as loading the surfaces in system memory, video mem, etc.. but have had no luck. Any suggestions? This is a very simple app that I can get 60fps with DirectX.
In general, I'm comparing this to the MFC application that seems to run fantastic in any resolution
and consistently performs above 60fps. What is difference about this application and it's
architecture that allows it to perform so well relative to the minimal?
Also, how well does this API do with applications that want to use standard list boxes, etc along with gapidraw graphics? Relative to GDI+ ... that is.
Comments and suggestions are appreciated.
Thanks,
Robert
Okay, i've been playing around with the API, having alot of fun with it by the way.. and have run into some problems/questions that I need some help with.
I've modified the minimal sample application to include a background image (1024x768) and 4 sprites. The background image is a 16bit bmp the sprites, which are stationary, are 80 x 50 and are also bmp's. I can't seem to get my from rate above 22 frames per second, and I was hoping for a minimum of 20. I've tried various techniques, such as loading the surfaces in system memory, video mem, etc.. but have had no luck. Any suggestions? This is a very simple app that I can get 60fps with DirectX.
In general, I'm comparing this to the MFC application that seems to run fantastic in any resolution
and consistently performs above 60fps. What is difference about this application and it's
architecture that allows it to perform so well relative to the minimal?
Also, how well does this API do with applications that want to use standard list boxes, etc along with gapidraw graphics? Relative to GDI+ ... that is.
Comments and suggestions are appreciated.
Thanks,
Robert