Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / DarkGDK FPS is capped, but uncapped when window minimised

Author
Message
Techie Lover
18
Years of Service
User Offline
Joined: 1st Aug 2006
Location:
Posted: 6th Apr 2007 23:41
Hi all, just wondering if anyone else has noticed that when you run a DarkGDK app, the fps is capped, but if you minimise the app window the cpu usage goes up (on my comp 52%).

Also if you then restore the app window and have the fps printed to the screen, it works it's way from 2000+ fps to 59/60.

Anyone have any ideas why it does this?
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 7th Apr 2007 17:17
When the application is minimized, no rendering or paint events are being pipelined, so the rendering cycle may go up very quickly. As soon as you restore your application, the framerate must drop back down to your monitor's refresh frequency. It's perfectly normal for your application to do this, but you may want to consider using timing as a means to benchmark your application's speed. This way, framerate frequencies do not matter since your objects will rely on elasped time instead.

Paul.


Abundance = Choice = Freedom - Scarcity = Dependancy = Control, Truth!
Techie Lover
18
Years of Service
User Offline
Joined: 1st Aug 2006
Location:
Posted: 7th Apr 2007 18:18
Thanks.Could you give me some guidance on the best way to go about using timing as a benchmarking tool.

congrats on DarkGDK.net btw

Login to post a reply

Server time is: 2024-09-28 23:17:08
Your offset time is: 2024-09-28 23:17:08