Hello there!
I have been testing the latest "build 72" version of lwjgl 3.0. Fired up the "Getting started" example code and measured the time spent between the glClear,glfwSwapBuffers,glfwPollEvents. As expected nice semi consistent 16ms loop because of enabled vsync on a 60hz monitor.
Now, my problem is that when the cursor leaves the window I get noticeable loop time variations.
When the cursor leaves the window the loop sometimes finises in 14ms sometimes 20. (not that bad)
But when I hover around the window control buttons (red,yellow and green OSX window buttons) the loop time fluctuates excessively. Sometimes 0ms to 55ms.
It gets even more excessive if the cursor leaves the window and enters again while hovering above the window control buttons.
At first I thought my IDE was causing the troubles so I made a jar and quit every other application. Ran the jar from the terminal but no change.
Also tried to control the loop with a hungry sync that burns cpu cycles. This got the loop extremely precise but when the cursor leaves the window and interacts with the window control buttons the same fluctuation happens.
Thank you for your help!
My system:
OSX 10.10.3
i7 4770 cpu
AMD 7970 gpu