I see. So the optimal solution would be to do everything inside a shader, or with OpenCL, as uploading a complete image to the framebuffer is extraordinary expensive. Here's a demo of raytracing the Julia-Set with OpenCL and then displaying the resulting image in OpenGL, staying completely in video memory. https://github.com/vchuravy/qjulia_gpu
Best, Simon
