MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / timerEvent

Function timerEvent

cpp/5_Domain_Specific/bicubicTexture/bicubicTexture.cpp:296–302  ·  view source on GitHub ↗

GLUT callback functions

Source from the content-addressed store, hash-verified

294
295// GLUT callback functions
296void timerEvent(int value)
297{
298 if (glutGetWindow()) {
299 glutPostRedisplay();
300 glutTimerFunc(REFRESH_DELAY, timerEvent, 0);
301 }
302}
303
304void keyboard(unsigned char key, int /*x*/, int /*y*/)
305{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected