How to implement such rendering mode, when a frame is drawn only when requested (or, maybe, also when a key is pressed or the mouse is moved) instead of re-rendering frames all the time?
I saw that this is possible on Android (https://stackoverflow.com/a/4331643/1418097), so I think there should be a way to do this on desktop, too.
And it would be especially cool to do this in LWJGL.