Re: Parallel Execution or Computation on GPU using JOGL.
Posted by Xerxes Rånby on Apr 12, 2018; 12:07pm URL: https://forum.jogamp.org/Parallel-Execution-or-Computation-on-GPU-using-JOGL-tp4038809p4038810.html
OpenGL supports parallel execution in one application in several forms:
Parallelism inside one GLWindow using GLSL Shaders. A GLSL pixel shader
is run in parallel for each pixel by the GPU hardware. The GLSL shader is
sent in text form using the OpenGL API to the GPU driver for compilation.
Multiple OpenGL windows. If your application uses more than one GLWindow
then you can render more than one image in parallel. Each GLWindow will use
the JOGL GLAutoDrawable API. You can use one Animator for each GLWindow.
The OpenGL code defined in the class that implements the GLAutoDrawable
instructs what each GLWindow will render.