openantz / antz

ANTz immersive 3D data visualization engine
https://openantz.com
Other
36 stars 13 forks source link

Minimized window has higher CPU usage then empty window #230

Open saxondigital opened 8 years ago

saxondigital commented 8 years ago

Typical minimum CPU usage is < 1% when nothing is drawn (by turning off the grid and HUD.) However, when the window is minimized the CPU usage can jump up to 50%.

*Tested with W7 64 using vmware fusion on i7 MBP.

saxondigital commented 7 years ago

Can use glutWindowStatusFunc() to stop drawing when window is minimized.

'GLUT applications are encouraged to disable rendering and/or animation when windows have a status of either GLUT_HIDDEN or GLUT_FULLY_COVERED' - freeglut docs