Render-input-update loop, RenderingContext, simple immediate triangle