Adds timing to rendergl.c