Re: over 80% of time is in AWTAnimatorImpl.display() & GLDrawableHelper.displayImpl()
Posted by
gouessej on
Sep 12, 2012; 6:26pm
URL: https://forum.jogamp.org/over-80-of-time-is-in-AWTAnimatorImpl-display-GLDrawableHelper-displayImpl-tp4026033p4026143.html
Updating the texture would probably be more efficient and you should still drop the GLJPanel as it uses a FBO under the hood, it works fine on drivers and graphics cards with an excellent support of FBO. I had to wait for years to get excellent support of FBO on some Nvidia Quadro FX cards, even the 2000. If you could give a try to GLCanvas, you should notice a real difference.
Edit.: most of your work is done in the OpenGL code and you disable v-sync, you will spend most of the time in display() but it is not a problem, there is no need to worry. Just re-enable v-sync if you don't want to eat so much CPU time but with a better graphics card.