nvgBegin/EndFrame.