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 / CPU @ 100% when DarkGDK window overlapped by another window

Author
Message
Phoenix73
16
Years of Service
User Offline
Joined: 27th May 2008
Location: Australia
Posted: 12th Jul 2008 18:31
@sydbod - That's a crazy result. Who would have predicted that?
kaedroho
17
Years of Service
User Offline
Joined: 21st Aug 2007
Location: Oxford,UK
Posted: 12th Jul 2008 23:25
I never get this with DBPro.

Phoenix73
16
Years of Service
User Offline
Joined: 27th May 2008
Location: Australia
Posted: 15th Jul 2008 04:06
@IanM - I tried your dbSyncOff work-around and everything works fine when the screen is either minimised or obscured. As the documentation is pretty thin for dbSyncOn/dbSyncOff/dbSync, I am not sure what affect this will have on my program's performance though.
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 15th Jul 2008 04:14
Bug reports thread?
Phoenix73
16
Years of Service
User Offline
Joined: 27th May 2008
Location: Australia
Posted: 15th Jul 2008 04:22
@Mahoney - Looked at the Bug Reports thread, but it seems that it is only for DBP, not DarkGDK.
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 15th Jul 2008 04:44
I saw a few GDK threads, but, either way, I think it would be the best place.
Phoenix73
16
Years of Service
User Offline
Joined: 27th May 2008
Location: Australia
Posted: 17th Jul 2008 08:28
I have reported this in the bug forum:

http://forum.thegamecreators.com/?m=forum_view&t=133547&b=15
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 17th Jul 2008 22:32
Sync off works differently in DGDK than DBPro.

With DBPro, it causes the system to check to see if it should sync between every command (unless in a for loop). It also injects a small wait into the sync process to give other programs a chance.

In DGDK however, it only does the wait.

For the performance hit (if any) I'd suggest you benchmark it. I don't believe it will have any, but I can't say that for certain.

Phoenix73
16
Years of Service
User Offline
Joined: 27th May 2008
Location: Australia
Posted: 18th Jul 2008 03:03
@IanM - Thanks for the feedback. I will do some more performance testing of Sync Off - initial tests see no change in CPU or frame rate.

Login to post a reply

Server time is: 2024-11-20 17:43:06
Your offset time is: 2024-11-20 17:43:06