Decouple MicroProfileFlip from Profiler::Present (and start a new frame in XE_SWAP)

This commit is contained in:
Dr. Chat
2016-02-07 19:23:05 -06:00
parent b696c645f5
commit 4335e41c14
3 changed files with 6 additions and 1 deletions

View File

@@ -168,6 +168,8 @@ class Profiler {
static ui::MicroprofileDrawer* drawer() { return drawer_.get(); }
// Presents the profiler to the bound display, if any.
static void Present();
// Starts a new frame on the profiler
static void Flip();
private:
static ui::Window* window_;