Add builtin frame time measurement.
authorJarl Gullberg <jarl.gullberg@gmail.com>
Sun, 1 Oct 2017 18:06:50 +0000 (20:06 +0200)
committerJarl Gullberg <jarl.gullberg@gmail.com>
Sun, 1 Oct 2017 18:06:50 +0000 (20:06 +0200)
commitb1f90c380e6b915b5a4bdf3614e9260bbc67cd38
tree7373f9392afcb7646886330bdbbaa7525767217d
parent29863f13da3875de91204ec2a2b356ffd537a651
Add builtin frame time measurement.

GLArea automatically synchronizes to GDK's refresh rate, which may lead
to incorrect frame time measurements if it's not correctly measured.

This property is guaranteed to always contain the actual live frame
delta of the previous frame in render functions.
src/OpenTK.GLWidget/GLWidget.cs