Port the GPU code to an OpenGL ES Android app.
The program on the PC would create a local web server that the app connects to.
When the phone connects it receives a list of markers and gestures, and after processing each frame it sends back a list of detected gestures so the PC can send the correct inputs to the game.
OpenGL ES is much more resource limited (particularly how many textures / buffers can be bound at once) so it might be tricky.
Port the GPU code to an OpenGL ES Android app. The program on the PC would create a local web server that the app connects to.
When the phone connects it receives a list of markers and gestures, and after processing each frame it sends back a list of detected gestures so the PC can send the correct inputs to the game.
OpenGL ES is much more resource limited (particularly how many textures / buffers can be bound at once) so it might be tricky.