DylanCope / ProtoEvo

An interactive real-time simulation for evolving multicellular organisms.
http://protoevo.com/
45 stars 5 forks source link

GLThread with a separate hidden window #3

Open mantoone opened 11 months ago

mantoone commented 11 months ago

Run GLComputeShaderRunner tasks in a separate thread that has a different opengl context. A new hidden window is used as the context. Removes the need to rely on ApplicationManager window and since the hidden window is not destroyed when switching to terminal only mode, the GLSL shader runs fine even if libgdx app has been exited.