Closed mattboran closed 5 years ago
In order to prevent openGL hangs, we should try to launch the render kernel in a second thread, and lock OpenGL screen refreshing to, say, 15fps.
So far #53 simply launches CPU rendering in a secondary thread. No fps lock is maintained. This is enough for now because GPU always renders fast enough. Will revisit later if need be
In order to prevent openGL hangs, we should try to launch the render kernel in a second thread, and lock OpenGL screen refreshing to, say, 15fps.