Closed benlansdell closed 8 years ago
Need to check performance hit from using same GPU for multiple instances...
OpenGL doesn't play well with threads (https://github.com/vispy/vispy/issues/632), so the best option might be to very crudely parallelize things. This would be done by splitting the video into chunks and running the chunks separately, with independent meshes. Once the chunks are done, a mapping between the meshes at the frames that overlap would be determined. Open a new issue for this...
See:
http://www.virtualgl.org/vgldoc/2_2_1/#hd005002
With each block we run separate mesh initializations, and then glue those meshes together (create a mapping between the two).