Hi Eric,
GdkFrameClock does not help with this issue -- I tried it. If your render
time is small enough to not cause problems (frame drops) then calling
gtk_widget_queue_draw()
from the tick callback compared to calling from the draw function itself
does not give a difference. :(
On Mon, Feb 6, 2
I extracted a little project to be able to show what I am measuring:
https://github.com/circum1/gtkgl-x11egl-compare
The code is extracted-copied from several places, sorry about the
quality... I hope it compiles on other boxes, too...
It builds two binaries, egl-demo and gtk-demo -- one creates
.
> Scenes FPS are not directly tied to your monitor, unless you enable what
> we call "VSync" : i.e. your FPS are higher than 60, but you
> programmatically force it down to 60. The benefit is avoiding what we call
> "tearing", which is a display artifact that you
Hi,
I have a strange issue with GtkGlArea under linux: it seems my program runs
with a different fps than the monitor's refresh rate. (The rendering itself
is fast, faster than 1ms.)
I use a 60Hz monitor mode, and the rendering fps is around 39.5Hz. I
verified my monitor refresh rate with xrandr,