RustAudio / baseview

low-level window system interface for audio plugin UIs
Apache License 2.0
266 stars 57 forks source link

tweak x11 frame interval #87

Closed BillyDM closed 3 years ago

BillyDM commented 3 years ago

After tweaking the frame interval in X11, I found 14ms feels smoother than using 15ms, especially when using OpenGL.

glowcoil commented 3 years ago

I don't think this is a good idea. The shorter we make the frame interval, the more we draw twice per vblank and waste one of the frames. The right way to make things smoother would be to hook vsync.