]> git.cworth.org Git - fips/commit
Add per-frame time and latency measurements
authorCarl Worth <cworth@cworth.org>
Tue, 5 Nov 2013 17:56:07 +0000 (09:56 -0800)
committerCarl Worth <cworth@cworth.org>
Mon, 11 Nov 2013 18:31:42 +0000 (10:31 -0800)
commita61ba86b00f083f5e4afbd472937b856f1e618e7
treecbca41caa9df2e51600146bc6f0c3a7d17241a55
parentec6fb3e9d202bebf02eb8676b9de98711c64956f
Add per-frame time and latency measurements

Timing is measured with a glQueryCounter(GL_TIMESTAMP) on every frame.

Latency is measured by comparing glGetIntger(GL_TIMESTAMP) which gets
the timestamp synchronously to a glQueryCounter(GL_TIMESTAMP) which
gets the timestamp asynchronously by inserting a command into the
OpenGL queue.
context.c
context.h
eglwrap.c
glxwrap.c
metrics.c
metrics.h