Render GL viewport on demand instead of every frame
openglfx with fps=-1.0 repaints every JavaFX pulse (~60fps), allocating and
rendering continuously even when idle. Set fps=0.0 so a frame is drawn only
when repaint() is called (every state change and input already does), and add
canvas resize listeners to repaint on size changes. Idle now allocates nothing.
Co-Authored-By:
Claude Opus 4.8 <noreply@anthropic.com>
Please register or sign in to comment