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 / dbDot...really slow?

Author
Message
puppyofkosh
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location:
Posted: 15th Aug 2009 00:52
Hi all. I was just using dbDot in my program. I was trying to place 25 dots around the screen. This made my program's fps move from about 59-60 fps to 45. Even placing 3 dots around the screen lowered the framerate by about 10!

Is there something I should do to stop this?
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 15th Aug 2009 01:26
Call 'dbLockPixels' before drawing dots, and then 'dbUnlockPixels' after

puppyofkosh
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location:
Posted: 15th Aug 2009 01:54
Thanks very much!

Login to post a reply

Server time is: 2024-11-20 17:36:52
Your offset time is: 2024-11-20 17:36:52