+ void RenderPixels(int x, int y, int w, int h, uint8_t * pixels) const;
+
+
+ void SetView(View * new_view) {m_view = new_view;}
+
+ // Returns the CPU time (in seconds) it took to render the last completed frame.
+ double GetLastFrameTimeCPU() const { return m_last_frame_time / SDL_GetPerformanceFrequency(); }
+ // Returns the GPU time (in seconds) it took to render the last completed frame.
+ double GetLastFrameTimeGPU() const;
+
+ void RequestQuit() {m_no_quit_requested = false;}
+ bool QuitRequested() const {return !m_no_quit_requested;}
+
+ void ShowDebugFont(bool show = true) {m_show_debug_font = show;}
+ bool DebugFontShown() const {return m_show_debug_font;}