Re: GLJPanel and displaying with a minimized window
Posted by r.jaoui on Mar 29, 2021; 8:47am
URL: https://forum.jogamp.org/GLJPanel-and-displaying-with-a-minimized-window-tp4041061p4041067.html
In this specific project I'm already using Render-to-Texture, and as far as I understand, off-screen rendering basically works the same but by attaching RenderBuffers to the FrameBuffer (right?).
If so, since the display() function itself isn't called, how can the image be rendered, even off-screen? If the display() function were to be called but an error message was raised then I'd understand why using off-screen rendering, but in this case since the display() function altogether isn't called, I can't even tell OpenGL to perform off-screen rendering (btw, I'm actually planning to use off-screen rendering later on, so it will be implemented later on anyways, I just want to be sure that it will be able to solve the issue).
The issue is that the display function also holds all the processing that needs to be done at each frame, and that includes non-rendering operations that need to be made whether the screen is rendered or not.
Thank you for the help :)